/* Mobile Responsive Enhancements for GAURIKEERTHANA RESIDENCY */

/* ============================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ============================================ */

/* Base Mobile Styles */
@media (max-width: 768px) {
  
  /* ============================================
     GLOBAL MOBILE IMPROVEMENTS
     ============================================ */
  
  /* Improved touch targets */
  button, .btn, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better text readability */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Improved spacing */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* ============================================
     HEADER & NAVIGATION MOBILE
     ============================================ */
  
  .header {
    position: relative;
  }
  
  /* Restructure topbar for mobile - Logo first, then contact info */
  .topbar {
    padding: 10px 0;
    font-size: 12px;
  }
  
  .topbar .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  /* Hide logo in topbar on mobile - moved to branding section below */
  .topbar .logo-mobile {
    display: none !important;
  }
  
  /* Hide mobile logo on desktop */
  @media (min-width: 768px) {
    .topbar .logo-mobile {
      display: none !important;
    }
  }
  
  .topbar .logo-mobile img {
    height: 35px;
    width: auto;
  }
  
  .topbar .logo-mobile .sitename {
    font-size: 1.2rem;
    color: #ffffff !important;
    margin: 0;
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .topbar .contact-info {
    display: none !important;
  }
  
  .topbar .contact-info a {
    display: inline-block;
    margin: 0;
    padding: 3px 0;
    word-break: break-word;
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }
  
  .topbar .contact-info span {
    display: inline-block;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 3px 0;
    word-break: break-word;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }
  
  /* Add separator between email and phone */
  .topbar .contact-info a::after {
    content: ' | ';
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.6);
  }
  
  /* Remove Bootstrap margin classes on mobile */
  .topbar .contact-info .ms-4 {
    margin-left: 0 !important;
  }
  
  /* Handle nested i tags (for icon wrappers) */
  .topbar .contact-info i {
    font-size: 11px;
    display: block;
    margin: 0 !important;
  }
  
  .topbar .contact-info i a,
  .topbar .contact-info i span {
    display: block;
    margin: 0 !important;
  }
  
  .topbar .social-links {
    margin-top: 5px;
    order: 1;
  }
  
  /* Adjust branding section on mobile */
  .branding {
    padding: 10px 0;
    min-height: 60px;
  }
  
  /* Show logo and name in branding section on mobile - moved from topbar */
  .branding .logo {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    gap: 8px;
    margin: 0;
    min-width: 0; /* Allows flex item to shrink */
    overflow: visible;
  }
  
  .branding .logo .logo-img {
    height: 35px !important;
    width: auto;
    margin-right: 8px !important;
    flex-shrink: 0;
  }
  
  .branding .logo .sitename {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.95rem;
    color: var(--heading-color, #1a3d32) !important;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0.5px;
  }
  
  /* Adjust branding container for horizontal layout - logo left, nav right */
  .branding .container {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 10px;
  }
  
  /* Position hamburger button on right side - override fixed positioning */
  .branding .mobile-nav-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    flex-shrink: 0;
    margin-left: 8px;
    width: 42px;
    height: 42px;
    font-size: 20px;
    padding: 0;
  }
  
  .sitename {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  /* Ensure mobile logo name is visible */
  .topbar .logo-mobile .sitename {
    display: block !important;
    visibility: visible !important;
  }
  
  /* ============================================
     MOBILE SIDEBAR NAVIGATION - MODERN & ACCESSIBLE
     ============================================ */
  
  /* Old Hamburger Menu Button - HIDDEN (using new mobile-nav-btn) */
  .mobile-nav-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    margin-left: auto;
    min-width: 48px;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Mobile Navigation Overlay - HIDDEN ON MOBILE */
  .mobile-nav-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removed blur for sharper menu visibility */
  }

  .mobile-nav-active .mobile-nav-overlay {
    display: none !important;
    opacity: 0 !important;
  }

  /* Navigation Menu - HIDDEN ON MOBILE */
  .navmenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 320px !important;
    max-width: 90% !important;
    height: 100vh !important;
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4), -2px 0 8px rgba(0, 0, 0, 0.2) !important;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch;
    border-left: 3px solid var(--accent-color);
  }

  /* Show sidebar when active - DISABLED - Menu hidden on mobile */
  .mobile-nav-active .navmenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  @keyframes slideInRight {
    from {
      right: -100%;
      opacity: 0;
    }
    to {
      right: 0;
      opacity: 1;
    }
  }
  
  /* Force override any main.css styles */
  .mobile-nav-active .navmenu,
  .mobile-nav-active .navmenu * {
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Sidebar Header - Enhanced with Better Contrast */
  .navmenu::before {
    content: 'Menu';
    display: block !important;
    padding: 24px 20px 20px 20px !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #1a3d32 !important;
    border-bottom: 3px solid #d4e8e0 !important;
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  /* Navigation List - FORCE DISPLAY */
  .navmenu ul {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    inset: auto !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    overflow-y: visible !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
  }

  /* Navigation Items - Better Spacing */
  .navmenu li {
    margin: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    background: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
    pointer-events: auto !important;
    transition: background 0.2s ease !important;
  }

  .navmenu li:last-child {
    border-bottom: none !important;
  }

  .navmenu li:hover {
    background: #f8f9fa !important;
  }

  /* Navigation Links - Maximum Readability & Touch Targets */
  .navmenu a,
  .navmenu a:focus {
    color: #0d1f1a !important;
    padding: 20px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    white-space: normal !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important;
    -webkit-tap-highlight-color: rgba(47, 93, 80, 0.2) !important;
    touch-action: manipulation !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 60px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.2px;
    text-shadow: none;
  }
  
  /* Active and hover states - Sharp Contrast */
  .navmenu a:hover,
  .navmenu a:active,
  .navmenu a:focus {
    pointer-events: auto !important;
    z-index: 3 !important;
    background: #e8f3f0 !important;
    color: #1a3d32 !important;
    padding-left: 28px !important;
    font-weight: 800 !important;
    box-shadow: inset 5px 0 0 #2f5d50;
    border-left: none;
  }

  .navmenu .active,
  .navmenu .active:focus {
    pointer-events: auto !important;
    z-index: 3 !important;
    background: #d4e8e0 !important;
    color: #1a3d32 !important;
    padding-left: 28px !important;
    font-weight: 800 !important;
    box-shadow: inset 5px 0 0 #2f5d50;
    border-left: none;
  }

  /* Dropdown Toggle Icon - Clear, Visible Indicators */
  .navmenu a i {
    font-size: 16px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #2f5d50 !important;
    margin-left: 12px !important;
    flex-shrink: 0 !important;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 93, 80, 0.12);
    border-radius: 50%;
    font-weight: 700;
  }

  .navmenu .dropdown > a i {
    flex-shrink: 0 !important;
  }

  .navmenu .dropdown > a {
    font-weight: 700 !important;
    color: #0d1f1a !important;
  }

  .navmenu .dropdown.active > a {
    background: #d4e8e0 !important;
    color: #1a3d32 !important;
    box-shadow: inset 5px 0 0 #2f5d50;
    font-weight: 800 !important;
  }

  .navmenu .dropdown.active > a i {
    transform: rotate(180deg) !important;
    color: #1a3d32 !important;
    background: rgba(47, 93, 80, 0.2);
  }

  /* Dropdown Menu - Enhanced with Better Contrast */
  .navmenu .dropdown ul {
    display: none !important;
    position: static !important;
    background: #f0f7f5 !important;
    border: none !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-top: 2px solid #d4e8e0 !important;
    border-bottom: 2px solid #d4e8e0 !important;
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
      max-height: 0;
    }
    to {
      opacity: 1;
      transform: translateY(0);
      max-height: 500px;
    }
  }

  .navmenu .dropdown.active > ul,
  .navmenu .dropdown > .dropdown-active {
    display: block !important;
  }

  .navmenu .dropdown ul li {
    border-bottom: 1px solid #d4e8e0 !important;
    background: #f0f7f5 !important;
    margin: 0 12px 4px 12px !important;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
  }

  .navmenu .dropdown ul li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
  }

  .navmenu .dropdown ul a {
    padding: 16px 20px 16px 52px !important;
    font-size: 16px !important;
    color: #1a3d32 !important;
    font-weight: 600 !important;
    min-height: 52px !important;
    position: relative;
    background: transparent !important;
  }

  .navmenu .dropdown ul a::before {
    content: '→';
    position: absolute;
    left: 30px;
    color: #2f5d50;
    font-size: 16px;
    opacity: 0.7;
    font-weight: 700;
    transition: all 0.2s ease;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul a:active {
    color: #0d1f1a !important;
    background: #d4e8e0 !important;
    padding-left: 56px !important;
    font-weight: 700 !important;
  }

  .navmenu .dropdown ul a:hover::before,
  .navmenu .dropdown ul a:active::before {
    left: 34px;
    opacity: 1;
    color: #1a3d32;
  }

  /* Close Button (X icon when menu is open) - HIDDEN ON MOBILE */
  .mobile-nav-active .mobile-nav-toggle {
    display: none !important;
    visibility: hidden !important;
  }

  .mobile-nav-active .mobile-nav-toggle:hover,
  .mobile-nav-active .mobile-nav-toggle:active {
    background: #1a3d32 !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(47, 93, 80, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4);
  }

  .mobile-nav-active .mobile-nav-toggle.bi-list {
    display: none !important;
  }

  .mobile-nav-active .mobile-nav-toggle.bi-x {
    display: flex !important;
    font-size: 22px !important;
    font-weight: 700;
  }

  /* Prevent body scroll when menu is open */
  .mobile-nav-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* Override main.css mobile nav styles - COMPLETE OVERRIDE */
  @media (max-width: 1199px) {
    /* Navigation menu - HIDDEN ON MOBILE */
    .mobile-nav-active .navmenu {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    
    .mobile-nav-active .navmenu > ul {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
    }
    
    /* Hide ALL nav elements on mobile */
    .mobile-nav-active .navmenu * {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
  }
  
  /* ============================================
     HERO SECTION MOBILE
     ============================================ */
  
  .hero {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .hero .btn {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 25px;
  }
  
  /* ============================================
     SECTIONS MOBILE
     ============================================ */
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  /* ============================================
     CARDS & CONTENT MOBILE
     ============================================ */
  
  .card {
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card-body {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  /* ============================================
     FORMS MOBILE
     ============================================ */
  
  .form-control, .form-select {
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
  }
  
  .form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(47, 93, 80, 0.25);
  }
  
  .form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--heading-color);
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  /* ============================================
     BOOKING FORM MOBILE
     ============================================ */
  
  .booking-grid {
    display: block;
  }
  
  .booking-form-section {
    margin-bottom: 30px;
  }
  
  .form-section {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  }
  
  .form-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
  }
  
  .form-grid {
    display: block;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group.full-width {
    width: 100%;
  }
  
  /* Availability Status Mobile */
  .availability-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
  }
  
  .availability-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .availability-text h6 {
    font-size: 1rem;
  }
  
  .availability-text p {
    font-size: 14px;
  }
  
  /* ============================================
     ADMIN DASHBOARD MOBILE
     ============================================ */
  
  .admin-navbar {
    padding: 10px 0;
  }
  
  .admin-navbar .navbar-brand {
    font-size: 1.2rem;
  }
  
  .stats-card {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .stats-number {
    font-size: 1.8rem;
  }
  
  .booking-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .booking-card .row {
    display: block;
  }
  
  .booking-card .col-md-8,
  .booking-card .col-md-4 {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .search-filters {
    padding: 20px;
  }
  
  .search-filters .row {
    display: block;
  }
  
  .search-filters .col-md-4,
  .search-filters .col-md-3,
  .search-filters .col-md-2 {
    width: 100%;
    margin-bottom: 15px;
  }
  
  /* ============================================
     ROOM AVAILABILITY MOBILE
     ============================================ */
  
  .room-availability {
    padding: 20px;
  }
  
  .availability-section {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .availability-item {
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  /* ============================================
     FOOTER MOBILE
     ============================================ */
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-top {
    padding: 30px 0;
  }
  
  .footer-about {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer-links {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin: 8px 0;
  }
  
  .footer-links a {
    color: var(--nav-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--nav-hover-color);
  }
  
  .copyright {
    padding: 20px 0;
    text-align: center;
  }
  
  .copyright .container {
    flex-direction: column;
    gap: 15px;
  }
  
  /* ============================================
     MODALS MOBILE
     ============================================ */
  
  .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .modal-content {
    border-radius: 15px;
  }
  
  .modal-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-footer {
    padding: 20px;
    border-top: 1px solid #dee2e6;
  }
  
  /* ============================================
     UTILITY CLASSES MOBILE
     ============================================ */
  
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }
  
  .p-mobile-3 {
    padding: 1rem;
  }
  
  /* Hide elements on mobile */
  .d-mobile-none {
    display: none !important;
  }
  
  /* Show elements only on mobile */
  .d-mobile-block {
    display: block !important;
  }
  
  .d-mobile-flex {
    display: flex !important;
  }
}

/* ============================================
   TABLET STYLES (768px - 1024px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  
  .container {
    max-width: 750px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .stats-card {
    padding: 25px;
  }
  
  .booking-card .row {
    display: flex;
  }
  
  .booking-card .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .booking-card .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* ============================================
   LARGE MOBILE STYLES (480px - 768px)
   ============================================ */

@media (min-width: 481px) and (max-width: 768px) {
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .availability-content {
    flex-direction: row;
    gap: 12px;
  }
  
  .booking-card .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  .booking-card .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ============================================
   SMALL MOBILE STYLES (320px - 480px)
   ============================================ */

@media (max-width: 480px) {
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Contact Info - Hidden on small screens */
  .topbar .contact-info {
    display: none !important;
  }
  
  /* Further optimize branding section for very small screens */
  .branding .logo .logo-img {
    height: 30px !important;
    margin-right: 6px !important;
  }
  
  .branding .logo .sitename {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
  }
  
  .branding .container {
    padding: 6px 10px;
    gap: 8px;
  }
  
  .branding .mobile-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-left: 6px;
  }
  
  /* Mobile Navigation - Full Width on Small Screens */
  .navmenu {
    width: 100% !important;
    max-width: 100% !important;
    right: -100% !important;
  }

  .mobile-nav-active .mobile-nav-toggle {
    right: 15px !important;
    top: 15px !important;
  }
  
  /* Better spacing on small screens */
  .navmenu a {
    padding: 18px 20px !important;
    font-size: 16px !important;
    min-height: 56px !important;
  }
  
  .navmenu .dropdown ul a {
    padding: 14px 20px 14px 45px !important;
    font-size: 15px !important;
    min-height: 50px !important;
  }
  
  /* Sidebar header on small screens */
  .navmenu::before {
    padding: 20px 15px 18px 15px !important;
    font-size: 1.3rem !important;
  }
  
  .hero {
    min-height: 50vh;
    padding: 40px 0 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 14px;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .form-section {
    padding: 15px;
  }
  
  .form-section h4 {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .stats-card {
    padding: 15px;
  }
  
  .stats-number {
    font-size: 1.5rem;
  }
  
  .booking-card {
    padding: 12px;
  }
  
  .modal-dialog {
    margin: 5px;
    max-width: calc(100% - 10px);
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 15px;
  }
}

/* ============================================
   LANDSCAPE MOBILE STYLES
   ============================================ */

@media (max-width: 768px) and (orientation: landscape) {
  
  .hero {
    min-height: 40vh;
    padding: 30px 0 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .navmenu {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus indicators */
button:focus,
.btn:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--heading-color);
  }
  
  .btn {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .header,
  .footer,
  .btn,
  .modal,
  .navmenu {
    display: none !important;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #000;
  }
}
