/* =============================================
   MARIFAH - Responsive Styles
   Mobile-first approach
   ============================================= */

/* ===========================================
   TABLET (768px and up)
   =========================================== */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero__content {
    max-width: 100%;
    order: 2;
  }

  .hero__visual {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__info {
    justify-content: center;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about__content {
    max-width: 100%;
    text-align: center;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews */
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
    text-align: center;
  }
}

/* ===========================================
   MOBILE LANDSCAPE (640px and up)
   =========================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 60px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  section {
    padding: var(--space-16) 0;
  }

  /* Header */
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header__actions {
    gap: var(--space-2);
  }

  .lang-switcher {
    padding: var(--space-1) var(--space-2);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .hero__description {
    font-size: var(--text-base);
  }

  .hero__info {
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }

  .hero__float--1,
  .hero__float--2 {
    display: none;
  }

  /* Dishes */
  .dishes-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Reviews */
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .review-card {
    padding: var(--space-6);
  }

  .review-card__quote {
    font-size: 3rem;
  }

  .reviews__tripadvisor {
    flex-direction: column;
    gap: var(--space-2);
  }

  /* Promo Banner */
  .promo-banner {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    max-width: none;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
  }

  /* Buttons */
  .btn {
    width: 100%;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ===========================================
   MOBILE PORTRAIT (480px and down)
   =========================================== */
@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__visual {
    margin: 0 calc(-1 * var(--space-4));
  }

  .hero__image-wrapper {
    border-radius: 0;
  }

  .section__title {
    font-size: var(--text-3xl);
  }

  .dish-card__content {
    padding: var(--space-4);
  }

  .cta__title {
    font-size: var(--text-3xl);
  }

  .cta__text {
    font-size: var(--text-base);
  }

  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }
}

/* ===========================================
   LARGE SCREENS (1440px and up)
   =========================================== */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .hero__title {
    font-size: clamp(3.5rem, 4vw, 5rem);
  }

  .dishes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__float,
  .steam {
    animation: none;
  }
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
  .header,
  .footer,
  .cta,
  .mobile-menu,
  .hero__steam {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }
}
