/* ============================================================
   RESPONSIVE CSS - Mobile-First Breakpoints
   Base styles (mobile) are in main.css
   This file adds styles for larger screens using min-width
   ============================================================ */

/* ============================================================
   TABLET (>= 768px)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --container-padding: 1.5rem;
    --header-height: 80px;
  }

  /* Typography scale up */
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-2xl); }

  /* Grid */
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  /* Section */
  .section {
    padding: var(--space-20) 0;
  }

  /* Hero */
  .hero__title {
    font-size: var(--text-6xl);
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Navigation - side drawer grows */
  .nav {
    max-width: 380px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Features strip */
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About values */
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tour detail */
  .tour-detail__grid {
    grid-template-columns: 1fr 350px;
  }

  .tour-detail__sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
    align-self: start;
  }

  /* Category cards */
  .category-card {
    aspect-ratio: 3 / 2;
  }

  /* Page header */
  .page-header {
    padding: calc(var(--header-height) + var(--space-16)) var(--container-padding) var(--space-16);
  }
}

/* ============================================================
   DESKTOP (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  /* Typography */
  h1 { font-size: 3.5rem; }
  h2 { font-size: var(--text-5xl); }

  /* Grid */
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  /* Header - desktop nav */
  .header__menu-btn {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    border-left: none;
    overflow: visible;
  }

  .nav__overlay {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    gap: var(--space-1);
  }

  .nav__link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }

  /* Language toggle in header on desktop */
  .lang-toggle {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: var(--space-4);
    padding-left: var(--space-4);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero__title {
    font-size: 4rem;
    letter-spacing: 4px;
  }

  .hero__subtitle {
    font-size: var(--text-xl);
  }

  /* Section */
  .section-header {
    margin-bottom: var(--space-16);
  }

  /* Features strip */
  .features-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  /* About values */
  .about-values {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact grid - form + sidebar */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Cards - hover animations enhance */
  .card:hover {
    transform: translateY(-8px);
  }
}

/* ============================================================
   LARGE DESKTOP (>= 1440px)
   ============================================================ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }

  h1 { font-size: 4rem; }

  .hero__title {
    font-size: 4.5rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .back-to-top,
  .lang-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
