/* ==========================================
   Travel Inn Airport Hotel - Main Styles
   ========================================== */

/* ========== CSS Variables ========== */
:root {
  /* Colors */
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --accent: #10b981;
  --dark: #1f2937;
  --dark-light: #374151;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --error: #ef4444;
  --success: #10b981;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
  color: var(--dark-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Container ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

/* ========== Header ========== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.header-contact a {
  color: var(--white);
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.header-main {
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    height: 70px; /* Desktop */
    max-width: 100%;
}

/* ========== Navigation ========== */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-navigation a {
  color: var(--dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

.btn-book {
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 6px;
  font-weight: 600;
}

.btn-book::after {
  display: none;
}

.btn-book:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8)), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.hero-feature i {
  color: var(--secondary);
  font-size: 1.5rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ========== Quick Booking Form ========== */
.quick-booking {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ========== Section Headers ========== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-title {
  color: var(--dark);
  margin-bottom: 15px;
}

.section-description {
  color: var(--gray);
  font-size: 1.1rem;
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a2540;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.pulse-animation {
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.error-field {
    border-color: #ef4444 !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}


body {
    opacity: 1; /* default visible */
    transition: opacity 0.5s ease;
}

body.preload {
    opacity: 0;
}



/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

/* ========== Room Cards ========== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.room-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.room-image {
  height: 250px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.1);
}

.room-content {
  padding: 25px;
}

.room-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.room-meta {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.room-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.room-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 400;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--dark);
  color: var(--light-gray);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-widget h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--light-gray);
}

.footer-widget a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-section {
    height: auto;
    min-height: 500px;
    padding: 60px 0;
  }
  
  .booking-form {
    grid-template-columns: 1fr;
  }
  
  .header-top .container {
    flex-direction: column;
    text-align: center;
  }
  
  .header-contact a {
    margin: 0 10px;
  }
}

/* ==========================================
   BOOKING PAGE & ROOM DETAIL STYLES
   Append this to assets/css/main.css
   ========================================== */

/* ========== Page Header ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.page-header p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

/* ========== Booking Layout ========== */
.booking-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.booking-search {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.booking-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.btn-search-booking {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.booking-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* ========== Multi-Step Form ========== */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-section h2 {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ========== Price Summary ========== */
.price-summary {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #d1d5db;
}

.summary-row.total {
  border-bottom: none;
  border-top: 2px solid var(--primary);
  margin-top: 10px;
  padding-top: 15px;
  font-size: 1.2rem;
}

.summary-row strong {
  color: var(--primary);
}

/* ========== Booking Review ========== */
.booking-review {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.review-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d1d5db;
}

.review-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.review-section h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.review-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.review-item.total {
  font-size: 1.3rem;
  border-top: 2px solid var(--primary);
  margin-top: 15px;
  padding-top: 15px;
}

.payment-note {
  background: #fef3c7;
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.payment-note i {
  color: #f59e0b;
  font-size: 1.2rem;
}

/* ========== Terms Checkbox ========== */
.terms-checkbox {
  margin: 25px 0;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 6px;
}

.terms-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

/* ========== Form Actions ========== */
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-next {
  margin-left: auto;
}

/* ========== Progress Indicator ========== */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: var(--transition);
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
}

.progress-step.completed .step-number::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 3px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
}

.progress-step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.progress-line {
  width: 80px;
  height: 2px;
  background: var(--light-gray);
  margin: 0 10px;
}

/* ========== Booking Sidebar Info ========== */
.booking-sidebar-info {
  position: sticky;
  top: 120px;
}

.info-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 i {
  color: var(--primary);
  font-size: 1.3rem;
}

.info-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* ========== Room Detail Page ========== */
.room-single {
  background: var(--white);
}

.room-gallery-section {
  padding: 0;
}

.room-gallery {
  max-width: 1400px;
  margin: 0 auto;
}

.main-image {
  height: 500px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Room Layout ========== */
.room-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.room-main-content {
  padding-right: 20px;
}

.room-main-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* ========== Room Quick Info ========== */
.room-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 30px;
  background: var(--light-gray);
  border-radius: 12px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  font-size: 2rem;
  color: var(--primary);
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 600;
}

.info-item span {
  font-size: 1.1rem;
  color: var(--dark);
}

/* ========== Room Description ========== */
.room-description {
  margin-bottom: 40px;
}

.room-description h2 {
  margin-bottom: 20px;
}

.room-description p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ========== Room Amenities ========== */
.room-amenities {
  margin-bottom: 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--light-gray);
  border-radius: 8px;
}

.amenity-item i {
  color: var(--primary);
  font-size: 1.3rem;
}

.amenity-item span {
  font-size: 0.95rem;
}

/* ========== Room Policies ========== */
.room-policies {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 12px;
}

.room-policies ul {
  list-style: none;
  padding: 0;
}

.room-policies li {
  padding: 10px 0;
  border-bottom: 1px solid #d1d5db;
}

.room-policies li:last-child {
  border-bottom: none;
}

/* ========== Booking Sidebar (Room Detail) ========== */
.room-sidebar {
  position: sticky;
  top: 120px;
}

.booking-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--light-gray);
  margin-bottom: 25px;
}

.booking-price {
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 25px;
}

.booking-price .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.booking-price .per-night {
  color: var(--gray);
  font-size: 1rem;
}

.booking-form-vertical .form-group {
  margin-bottom: 20px;
}

.booking-features {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid var(--light-gray);
}

.booking-features .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
}

.booking-features i {
  color: var(--success);
  font-size: 1.1rem;
}

/* ========== Contact Card ========== */
.contact-card {
  background: var(--primary);
  color: var(--white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.contact-card p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}


/* ========== Rooms Filter ========== */
.rooms-filter {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.rooms-filter form {
  display: flex;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.filter-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .booking-layout,
  .room-layout {
    grid-template-columns: 1fr;
  }
  
  .room-sidebar,
  .booking-sidebar-info {
    position: static;
  }
  
  .room-main-content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .booking-form-container {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .booking-progress {
    flex-direction: column;
  }
  
  .progress-line {
    width: 2px;
    height: 40px;
  }
  
  .room-quick-info {
    grid-template-columns: 1fr;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .main-image {
    height: 300px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
  
  .rooms-filter form {
    flex-direction: column;
  }
  
  .filter-group {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 50px 0 30px;
  }
  
  .booking-price .price {
    font-size: 2.5rem;
  }
  
  .room-main-content h1 {
    font-size: 2rem;
  }
}

/* ========== Print Styles ========== */
@media print {
  .site-header,
  .site-footer,
  .booking-sidebar-info,
  .room-sidebar,
  .booking-progress {
    display: none;
  }
}

/* ==========================================
   BOOKING PAGE MOBILE RESPONSIVENESS FIXES
   Add this to the end of assets/css/main.css
   ========================================== */

/* ========== Fix Container Width Issues ========== */
.booking-layout {
  max-width: 100%;
  padding: 0;
}

.booking-form-container {
  width: 100%;
  box-sizing: border-box;
}

/* ========== Fix Long Room Dropdown Text ========== */
.form-group select {
  width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group select option {
  white-space: normal;
  padding: 10px;
  line-height: 1.4;
}

/* ========== Mobile Responsive Fixes (768px and below) ========== */
@media (max-width: 768px) {
  
  /* Fix booking section padding */
  .booking-section {
    padding: 30px 0;
  }
  
  /* Fix booking layout grid */
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  
  /* Fix booking form container */
  .booking-form-container {
    padding: 25px 20px;
    margin: 0;
    border-radius: 12px;
  }
  
  /* Fix form sections */
  .form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* Fix form rows - make them single column */
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Fix form groups */
  .form-group {
    width: 100%;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 15px;
  }
  
  /* Fix long room dropdown text */
  .form-group select {
    height: auto;
    min-height: 48px;
    padding-right: 35px;
  }
  
  #room_id option {
    font-size: 14px;
    padding: 8px;
  }
  
  /* Fix price summary */
  .price-summary {
    padding: 20px;
    margin: 25px 0;
  }
  
  .summary-row {
    font-size: 0.95rem;
    flex-wrap: wrap;
  }
  
  .summary-row.total {
    font-size: 1.1rem;
  }
  
  /* Fix booking review */
  .booking-review {
    padding: 20px;
  }
  
  .review-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }
  
  .review-section h3 {
    font-size: 1rem;
  }
  
  .review-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 10px 0;
  }
  
  .review-item strong {
    font-size: 0.95rem;
  }
  
  /* Fix form actions */
  .form-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  
  .btn-next {
    margin-left: 0;
  }
  
  /* Fix buttons */
  .btn-large {
    padding: 16px 30px;
    font-size: 1rem;
  }
  
  /* Fix progress indicator */
  .booking-progress {
    margin-top: 40px;
    padding-top: 25px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .progress-step {
    min-width: 80px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
  
  .progress-line {
    width: 50px;
    margin: 0 5px;
  }
  
  /* Fix booking sidebar */
  .booking-sidebar-info {
    position: static;
    padding: 0;
  }
  
  .info-card {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .info-card h3 {
    font-size: 1rem;
  }
  
  .info-card p {
    font-size: 0.9rem;
  }
  
  /* Fix booking search card */
  .booking-search-card .booking-search {
    flex-direction: column;
  }
  
  .booking-search input {
    width: 100%;
  }
  
  .btn-search-booking {
    width: 100%;
  }
  
  /* Fix terms checkbox */
  .terms-checkbox {
    padding: 15px;
    margin: 20px 0;
  }
  
  .terms-checkbox label {
    font-size: 0.9rem;
  }
  
  /* Fix availability success message */
  .availability-success {
    padding: 12px 15px;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  /* Fix step description */
  .step-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  /* Fix payment note */
  .payment-note {
    padding: 12px;
    font-size: 0.85rem;
    flex-direction: column;
    text-align: center;
  }
}

/* ========== Extra Small Mobile (480px and below) ========== */
@media (max-width: 480px) {
  
  /* Fix page header */
  .page-header {
    padding: 50px 0 30px;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  /* Further reduce form container padding */
  .booking-form-container {
    padding: 20px 15px;
    border-radius: 10px;
  }
  
  .form-section h2 {
    font-size: 1.3rem;
  }
  
  /* Smaller price summary */
  .price-summary {
    padding: 15px;
  }
  
  .summary-row {
    font-size: 0.9rem;
  }
  
  .summary-row.total {
    font-size: 1rem;
  }
  
  /* Smaller booking review */
  .booking-review {
    padding: 15px;
  }
  
  .review-item {
    font-size: 0.9rem;
  }
  
  /* Fix info cards */
  .info-card {
    padding: 15px;
  }
  
  /* Fix progress on very small screens */
  .booking-progress {
    padding: 0 10px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  .progress-line {
    width: 40px;
  }
}

/* ========== Fix Container Width Globally ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* ========== Landscape Phone Fix ========== */
@media (max-width: 812px) and (orientation: landscape) {
  .booking-form-container {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .form-actions {
    flex-direction: row;
  }
  
  .form-actions .btn {
    width: auto;
    flex: 1;
  }
}

/* ========== Fix Modal Responsiveness ========== */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 0 10px;
  }
  
  .modal-header {
    padding: 25px 20px 15px;
  }
  
  .modal-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .modal-header h3 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 0 20px 25px;
  }
  
  .modal-body p {
    font-size: 0.95rem;
  }
  
  .modal-footer {
    padding: 15px 20px 25px;
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* ========== Fix Loading Overlay on Mobile ========== */
@media (max-width: 768px) {
  .spinner {
    width: 50px;
    height: 50px;
  }
  
  #loading-text {
    font-size: 1rem;
  }
}

/* ========== Prevent Horizontal Scroll ========== */
.booking-section,
.booking-layout,
.booking-form-container,
.booking-sidebar-info {
  max-width: 100%;
  overflow-x: hidden;
}

/* ========== Touch-Friendly Improvements ========== */
@media (max-width: 768px) {
  /* Increase tap targets */
  .btn,
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 44px; /* iOS recommended minimum */
  }
  
  /* Better spacing for touch */
  .form-group {
    margin-bottom: 20px;
  }
  
  /* Fix checkbox tap area */
  .terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  
  /* Better close button on modal */
  .modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
}

/* ========== Fix Select Dropdown Arrow on Mobile ========== */
@media (max-width: 768px) {
  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
}

/* ========== Ensure Proper Zoom Behavior ========== */
@media (max-width: 768px) {
  /* Prevent zoom on input focus (iOS) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ========== Dark Mode Safe Colors ========== */
@media (prefers-color-scheme: dark) {
  .booking-form-container,
  .info-card,
  .modal-content {
    /* Keep light background for readability */
    background: white;
  }
}