/* Responsive Styles */

/* Tablet (768px and up) */
@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-6);
  }

  /* Typography Scale */
  .hero__title {
    font-size: var(--text-7xl);
  }

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

  .section__title--large {
    font-size: var(--text-6xl);
  }

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

  /* Header */
  .header__nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  /* Hero */
  .hero__description {
    font-size: var(--text-lg);
  }

  .hero__signup-form {
    flex-direction: row;
  }

  .hero__signup-input {
    flex: 1;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services__content {
    order: 1;
  }

  .services__image {
    order: 2;
    height: 350px;
  }

  /* Experience */
  .experience__grid {
    grid-template-columns: 1fr 1fr;
  }

  .experience__image {
    height: 350px;
  }

  /* Get Started */
  .getstarted__content-overlay {
    padding: var(--space-12);
    max-width: 600px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }

  .about__image {
    height: 400px;
  }

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

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

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

  /* CTA */
  .cta__buttons {
    flex-direction: row;
  }

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

  .footer__contact {
    text-align: left;
  }

  .footer__brand {
    text-align: left;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .newsletter__form {
    flex-direction: row;
    max-width: 400px;
    margin: 0;
  }

  .newsletter__input {
    flex: 1;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  :root {
    --container-padding: var(--space-10);
  }

  /* Typography Scale */
  .hero__title {
    font-size: var(--text-8xl);
  }

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

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

  /* Section Spacing */
  .section {
    padding: 6rem 0;
  }

  /* Large Title */
  .section__title--large {
    font-size: var(--text-7xl);
  }

  /* Get Started */
  .getstarted__content-overlay {
    padding: var(--space-16);
    max-width: 700px;
  }

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

  /* Regions - 5 columns for 5 regions */
  .regions__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .region-card:nth-child(4),
  .region-card:nth-child(5) {
    grid-column: span 1;
  }

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

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

  .footer__nav {
    text-align: left;
  }

  .footer__contact {
    text-align: left;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .hero__title {
    font-size: 7rem;
  }

  .section__title--large {
    font-size: 6rem;
  }

  /* Regions - 5 columns layout */
  .regions__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Mobile First - Small Screen Adjustments */
@media (max-width: 767px) {
  /* Reduce spacing on mobile */
  .section {
    padding: var(--space-12) 0;
  }

  /* Stack buttons on mobile */
  .hero__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
  }

  /* Full width cards on mobile */
  .card,
  .region-card,
  .package-card {
    max-width: 100%;
  }

  /* Footer columns stack */
  .footer__nav {
    text-align: center;
  }

  .footer__nav-list {
    align-items: center;
  }
}

/* Animations for larger screens */
@media (min-width: 768px) {
  .card,
  .region-card,
  .package-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
  }

  .card:hover,
  .package-card:hover {
    transform: translateY(-8px);
  }
}

/* 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;
  }
}

/* Print Styles */
@media print {
  .header,
  .mobile-nav,
  .cta,
  .newsletter {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }

  .card,
  .region-card,
  .package-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
