﻿/*------------------------------------------------------------------
  MEDIA.CSS - Responsive Styles
  
  Breakpoints:
  - 1200px: Large Desktop
  - 992px:  Tablet Landscape / Small Desktop
  - 768px:  Tablet Portrait
  - 576px:  Mobile
  - 480px:  Small Mobile
  - 360px:  Extra Small Mobile
  
  Approach: Desktop-First (max-width)
------------------------------------------------------------------*/
@media (max-width: 768px) {
  :root {
    --base-font-size: 15px;
    --header-height: var(--header-height-mobile);
    --section-padding-vertical: var(--section-padding-vertical-mobile);
  }
  .hero-content { padding: 15px; font-size: 0.9rem; }
  .journeys-grid { grid-template-columns: 1fr; }
  .nav { display: none; } /* Для мобильного меню */
  .bars { display: block; } /* Показать гамбургер */
}
/* ===========================================
   1. Large Desktop (≤ 1200px)
   =========================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .destinations-grid,
  .fleet-grid {
    gap: 1.25rem;
  }
}

/* ===========================================
   2. Tablet Landscape / Small Desktop (≤ 992px)
   =========================================== */
@media (max-width: 992px) {
  /* Root Variables */
  :root {
    --base-font-size: 16px;
    --section-padding-vertical: 5rem;
  }

  /* Typography */
  h1 { font-size: 2.5rem; }
  h2, .section-title { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.3rem; }

  /* Container */
  .container {
    max-width: 960px;
  }

  /* Navigation */
  .nav {
    gap: 1rem;
  }

  .nav__link {
    padding: 0.5rem 0.1rem;
    font-size: 0.95rem;
  }

  /* Hero / Swiper */
  .swiper {
    max-height: 600px;
  }

  .slide-content {
    width: clamp(280px, 70%, 700px);
    padding: 1.5rem 2rem;
  }

  .slide-content h1 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
  .slide-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

  /* Grid Layouts */
  .journeys-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destinations-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards */
  .destination-card img,
  .fleet-card img {
    height: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
  }

  .footer__nav > * {
    flex: 1 50%;
  }
}

/* ===========================================
   3. Tablet Portrait (≤ 768px)
   =========================================== */
@media (max-width: 768px) {
  /* Root Variables */
  :root {
    --section-padding-vertical: 4rem;
  }

  /* Typography */
  h1 { font-size: 2.2rem; }
  h2, .section-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
  h3 { font-size: 1.5rem; }

  /* ===== Mobile Navigation ===== */
  .bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color-headings);
  }

  .bars i {
    font-size: 1.6rem;
  }

  .bars span {
    font-size: 0.65rem;
    font-weight: bold;
    margin-top: 2px;
    text-transform: uppercase;
  }

  .bars.active i::before {
    content: "\f00d"; /* Font Awesome close icon */
  }

  /* Mobile Nav Wrapper */
  .nav-wrapper {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background-color: var(--color-white, #fff);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding-top: var(--header-height, 80px);
  }

  .nav-wrapper.active {
    display: block;
    right: 0;
  }

  /* Mobile Nav Items */
  .nav {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav__item {
    margin: 0;
    border-bottom: 1px solid var(--color-light-grey, #dee2e6);
  }

  .nav__item:last-child {
    border-bottom: none;
  }

  .nav__link {
    display: block;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link:focus {
    background-color: var(--color-cream, #f8f9fa);
    color: var(--color-navy);
  }

  /* Mobile Dropdown */
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    min-width: auto;
    padding: 0;
    background-color: var(--color-cream, #f8f9fa);
  }

  .nav__item--dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    font-weight: normal;
    text-align: left;
    font-size: 0.95rem;
  }

  /* Mobile CTA Button */
  .nav__item--cta {
    padding: 1rem 1.5rem;
    border-bottom: none;
  }

  .nav__item--cta .nav__link--button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    border-radius: 4px;
  }

  .nav__item--cta .nav__link--button:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
  }

  /* Overlay for mobile menu */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  /* ===== Hero Section ===== */
  .hero-container {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content {
    padding: 1.5rem;
    width: 95%;
    max-width: 500px;
  }

  .hero-content h1 { font-size: 1.8rem; }
  .hero-content h2 { font-size: 1.3rem; }
  .hero-content h3 { font-size: 1.1rem; }

  .hero-bg {
    min-height: 50vh;
  }

  /* Swiper */
  .swiper {
    height: 60vh;
    max-height: 500px;
  }

  .slide-content {
    width: 85%;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1rem;
  }

  /* ===== Section Padding ===== */
  .section-padding {
    padding: 3rem 1rem;
  }

  .section-padding--colored {
    padding: 3rem 1rem;
  }

  /* ===== Cards ===== */
  .journey-card img { height: 220px; }
  .destination-card img { height: 280px; }
  .fleet-card img { height: 250px; }

  .destination-card .destination-info,
  .fleet-card .fleet-info {
    padding: 1.25rem;
  }

  /* ===== Brand Philosophy ===== */
  .brand-philosophy p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* ===== Charter Section ===== */
  .charter-events p {
    padding: 0 1rem;
  }

  /* ===== Testimonials ===== */
  .testimonial-slider {
    padding: 0 1rem;
  }

  .testimonial-slider blockquote {
    font-size: 1.1rem;
  }

  /* ===== Tables ===== */
  .expedition-table {
    font-size: 14px;
    margin: 15px 0;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .expedition-table th,
  .expedition-table td {
    padding: 10px 8px;
    white-space: nowrap;
  }

  /* ===== Footer ===== */
  .footer {
    padding-top: 3rem;
    text-align: center;
  }

  .footer__nav {
    flex-direction: column;
    align-items: center;
  }

  .footer__nav > * {
    flex: 1 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .footer__addr {
    margin-bottom: 2rem;
  }

  .social-links {
    justify-content: center;
  }

  /* ===== Forms ===== */
  .contact-form {
    padding: 1.5rem;
    margin: 0 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ===========================================
   4. Mobile (≤ 576px)
   =========================================== */
@media (max-width: 576px) {
  /* Root Variables */
  :root {
    --base-font-size: 15px;
    --section-padding-vertical: 3rem;
    --header-height: var(--header-height-mobile, 60px);
  }

  /* Typography */
  h1 { font-size: 1.8rem; }
  h2, .section-title { font-size: 1.5rem; margin-bottom: 1.25rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }

  p { font-size: 0.95rem; }

  /* Container */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* ===== Header ===== */
  .header {
    height: var(--header-height-mobile, 60px);
    padding: 10px 15px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .logo img {
    max-height: 50px;
  }

  /* ===== Hero / Swiper ===== */
  .hero-container {
    height: 60vh;
    min-height: 350px;
  }

  .swiper {
    height: calc(100dvh - var(--header-height-mobile, 60px));
    max-height: 450px;
  }

  .swiper-slide {
    align-items: flex-start;
    padding-top: 20px;
  }

  .swiper-slide img,
  .swiper-slide picture {
    object-position: center top;
  }

  .slide-content {
    width: 92%;
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(3px);
  }

  .slide-content h1 { font-size: 1.5rem; }
  .slide-content h2 { font-size: 1.2rem; }
  .slide-content h3 { font-size: 1rem; }
  .slide-content p { font-size: 0.9rem; }

  .slide-content .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .swiper-pagination {
    bottom: 15px;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  /* ===== Grid Layouts ===== */
  .journeys-grid,
  .destinations-grid,
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* ===== Cards ===== */
  .journey-card {
    margin-bottom: 0;
  }

  .journey-card img { height: 200px; }
  .journey-card h3 { 
    font-size: 1.3rem; 
    padding: 0 1rem;
    margin-top: 1rem;
  }
  .journey-card p { 
    padding: 0 1rem; 
    font-size: 0.9rem;
  }
  .journey-card .btn { 
    margin: 0 1rem 1rem; 
  }

  .destination-card img { height: 250px; }
  .destination-card h3 { font-size: 1.2rem; }
  .destination-card .destination-info { padding: 1rem; }

  .fleet-card img { height: 220px; }
  .fleet-card h3 { font-size: 1.2rem; }
  .fleet-card .fleet-info { padding: 1rem; }

  /* ===== Specs & Cabin Cards ===== */
  .specs-card {
    padding: 1.5rem;
  }

  .cabin-card {
    margin-bottom: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  /* ===== Buttons ===== */
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .btn--outline {
    width: auto;
  }

  /* ===== Sections ===== */
  .section-padding {
    padding: 2.5rem 1rem;
  }

  .brand-philosophy p {
    font-size: 0.95rem;
  }

  .charter-events p {
    font-size: 0.95rem;
  }

  /* ===== Testimonials ===== */
  .testimonial-slider blockquote {
    font-size: 1rem;
    padding: 0;
  }

  .testimonial-slider blockquote footer {
    font-size: 0.9rem;
  }

  /* ===== Footer ===== */
  .footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__logo img {
    width: 120px;
    height: auto;
    margin: 0 auto;
  }

  .footer__btn {
    margin: 0.6em auto;
  }

  .footer ul {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a img {
    width: 28px;
  }

  .subscribe-form {
    flex-direction: column;
    max-width: 280px;
    margin: 1rem auto 0;
  }

  .subscribe-form input[type="email"] {
    text-align: center;
  }

  .sub-footer {
    padding: 15px 10px;
  }

  .legal {
    font-size: 0.85rem;
  }

  /* ===== Forms ===== */
  .contact-form {
    padding: 1.25rem 1rem;
    margin: 0 10px;
    border-radius: 8px;
  }

  .contact-title {
    font-size: 1.3rem;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="date"],
  .contact-form select,
  .contact-form textarea {
    padding: 0.7rem 0.75rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .contact-form button[type="submit"] {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .cruise-form {
    padding: 1.5rem 1rem;
    margin: 1rem;
  }

  /* ===== Tables ===== */
  .expedition-table {
    font-size: 13px;
  }

  .expedition-table th,
  .expedition-table td {
    padding: 8px 6px;
  }
}

/* ===========================================
   5. Small Mobile (≤ 480px)
   =========================================== */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 1.6rem; }
  h2, .section-title { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }

  /* Header */
  .header {
    padding: 8px 10px;
  }

  .logo img {
    max-height: 45px;
  }

  .bars i {
    font-size: 1.4rem;
  }

  .bars span {
    font-size: 0.6rem;
  }

  /* Hero */
  .hero-container {
    height: 55vh;
    min-height: 300px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 { font-size: 1.4rem; }
  .hero-content h2 { font-size: 1.1rem; }

  /* Swiper */
  .swiper {
    max-height: 400px;
  }

  .slide-content {
    padding: 0.8rem;
  }

  .slide-content h1 { font-size: 1.3rem; }
  .slide-content h2 { font-size: 1rem; }

  /* Cards */
  .journey-card img { height: 180px; }
  .destination-card img { height: 220px; }
  .fleet-card img { height: 200px; }

  /* Tables - Hide extra columns */
  .expedition-table {
    font-size: 12px;
    margin: 10px 0;
  }

  .expedition-table th,
  .expedition-table td {
    padding: 6px 4px;
    word-wrap: break-word;
  }

  /* Hide columns 4+ on very small screens */
  .expedition-table th:nth-child(n+4),
  .expedition-table td:nth-child(n+4) {
    display: none;
  }

  /* Navigation */
  .nav-wrapper {
    width: 100%;
    right: -100%;
  }

  /* Buttons */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ===========================================
   6. Extra Small Mobile (≤ 360px)
   =========================================== */
@media (max-width: 360px) {
  /* Typography */
  h1 { font-size: 1.4rem; }
  h2, .section-title { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }

  /* Container */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Header */
  .logo img {
    max-height: 40px;
  }

  /* Cards */
  .journey-card img { height: 160px; }
  .destination-card img { height: 200px; }
  .fleet-card img { height: 180px; }

  /* Hero */
  .hero-container {
    height: 50vh;
    min-height: 280px;
  }

  .slide-content h1 { font-size: 1.1rem; }
  .slide-content h2 { font-size: 0.9rem; }

  /* Tables - Show only first 2 columns */
  .expedition-table th:nth-child(n+3),
  .expedition-table td:nth-child(n+3) {
    display: none;
  }

  /* Forms */
  .contact-form {
    padding: 1rem 0.75rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.6rem;
  }
}

/* ===========================================
   7. Desktop Only (≥ 769px)
   =========================================== */
@media (min-width: 769px) {
  /* Hide mobile menu toggle */
  .bars {
    display: none;
  }

  /* Show desktop navigation */
  .nav-wrapper {
    display: block;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding-top: 0;
    overflow: visible;
  }

  .nav {
    flex-direction: row;
    display: flex;
  }

  .nav__item {
    border-bottom: none;
  }

  .nav-overlay {
    display: none !important;
  }

  /* Hover effects on desktop */
  .destination-card:hover img,
  .fleet-card:hover img,
  .journey-card:hover {
    transform: scale(1.02);
  }

  .journey-card:hover {
    transform: translateY(-5px);
  }
}

/* ===========================================
   8. Large Desktop (≥ 1400px)
   =========================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  h1 { font-size: 3.2rem; }
  h2, .section-title { font-size: 2.5rem; }

  .destinations-grid,
  .fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .swiper {
    max-height: 800px;
  }

  .slide-content {
    width: clamp(400px, 50%, 900px);
  }
}

/* ===========================================
   9. Landscape Mobile Orientation
   =========================================== */
@media (max-width: 896px) and (orientation: landscape) {
  .hero-container {
    height: 100vh;
    min-height: auto;
  }

  .swiper {
    height: 100vh;
    max-height: none;
  }

  .slide-content {
    padding: 0.8rem 1.5rem;
  }

  .slide-content h1 { font-size: 1.3rem; }
  .slide-content h2 { font-size: 1rem; }

  .header {
    height: 50px;
  }

  .logo img {
    max-height: 40px;
  }
}

/* ===========================================
   10. High Resolution Displays (Retina)
   =========================================== */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  /* Sharper borders and shadows */
  .card,
  .journey-card,
  .destination-card,
  .fleet-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  /* Crisp text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===========================================
   11. Touch Device Optimizations
   =========================================== */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .nav__link {
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }

  /* Remove hover effects that don't work on touch */
  .destination-card:hover img,
  .fleet-card:hover img {
    transform: none;
  }

  .journey-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  }

  /* Dropdown behavior for touch */
  .dropdown-menu {
    display: none;
  }

  .nav__item--dropdown.touched .dropdown-menu {
    display: block;
  }
}

/* ===========================================
   12. Reduced Motion Preference
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .swiper-wrapper {
    transition: none !important;
  }

  .swiper {
    --swiper-wrapper-transition-timing-function: none;
  }

  .destination-card img,
  .fleet-card img,
  .journey-card {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===========================================
   13. Dark Mode Support (Optional)
   =========================================== */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode
  :root {
    --color-white: #1a1a1a;
    --color-cream: #2d2d2d;
    --color-navy: #e8e8e8;
    --text-color-body: #e0e0e0;
    --text-color-headings: #ffffff;
    --color-light-grey: #404040;
  }

  body {
    background-color: #121212;
  }

  .header {
    background-color: rgba(30, 30, 30, 0.95);
  }
  */
}

/* ===========================================
   14. Print Styles
   =========================================== */
@media print {
  /* Hide non-essential elements */
  .header,
  .footer,
  .sub-footer,
  .nav-wrapper,
  .bars,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination,
  .btn,
  .social,
  .video-background,
  .nav-overlay {
    display: none !important;
  }

  /* Reset colors for printing */
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
  }

  /* Ensure images print */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Show URLs for links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Page margins */
  @page {
    margin: 2cm;
  }

  /* Prevent breaks inside cards */
  .journey-card,
  .destination-card,
  .fleet-card {
    page-break-inside: avoid;
  }

  /* Hero section adjustments */
  .hero-container {
    height: auto;
    min-height: auto;
  }

  .hero-content {
    position: static;
    transform: none;
    background: none;
    color: black;
  }

  /* Tables */
  .expedition-table th,
  .expedition-table td {
    border: 1px solid #ccc !important;
  }

  .expedition-table th:nth-child(n+3),
  .expedition-table td:nth-child(n+3) {
    display: table-cell;
  }
}
/* Мобильная адаптация карточек кают */
@media (max-width: 768px) {
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .fleet-card figure {
    height: 220px;
  }
  
  .fleet-info {
    padding: 1.5rem;
  }
}

/* Стили для кнопки в конце блока кают */
.text-center .btn--primary {
  min-width: 280px;
  text-align: center;
}

/* Улучшение testimonial на странице */
.testimonial {
  background: var(--color-cream);
  padding: 2rem;
  border-left: 5px solid var(--color-accent-gold);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-color-body);
}

.testimonial p {
  margin-bottom: 1rem;
}

.testimonial span {
  font-weight: 700;
  font-style: normal;
  color: var(--arctic-blue);
  display: block;
  text-align: right;
}

/* Дополнительная типографика для цен и выделений */
.price {
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
/* ===========================================
   15. High Contrast Mode
   =========================================== */
@media (prefers-contrast: high) {
  :root {
    --color-accent-gold: #ffd700;
    --color-navy: #000080;
  }

  .btn {
    border: 2px solid currentColor;
  }

  a {
    text-decoration: underline;
  }

  .nav__link::after {
    height: 3px;
  }

  input,
  select,
  textarea {
    border-width: 2px;
  }
}

/* ===========================================
   16. iOS Specific Fixes
   =========================================== */
@supports (-webkit-touch-callout: none) {
  /* Fix for 100vh on iOS */
  .hero-container {
    height: 100vh;
    height: -webkit-fill-available;
  }

  .swiper {
    height: calc(100vh - var(--header-height));
    height: calc(-webkit-fill-available - var(--header-height));
  }

  .nav-wrapper {
    height: 100vh;
    height: -webkit-fill-available;
  }

  /* Fix for fixed positioning on iOS */
  .header {
    position: -webkit-sticky;
    position: sticky;
  }

  /* Momentum scrolling */
  .nav-wrapper {
    -webkit-overflow-scrolling: touch;
  }

  .expedition-table {
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 768px) {
  .nav-wrapper.active .nav {
    display: flex !important;
    flex-direction: column;
  }
}

