/* =============================================
   RESPONSIVE.CSS – Breakpoints for all devices
   ============================================= */

/* ---- Large desktop: ≥ 1400px ---- */
@media (min-width: 1400px) {
  :root {
    --section-padding: 120px;
  }
}

/* ---- Laptop / small desktop: ≤ 1100px ---- */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    gap: 52px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }

  /* Shrink nav a bit */
  .nav__link {
    font-size: 0.7rem;
    padding: 7px 9px;
  }
}

/* ---- Tablet: ≤ 900px ---- */
@media (max-width: 900px) {
  :root {
    --section-padding: 72px;
  }

  /* Header */
  .header__nav,
  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  /* Keep logo text on tablet */
  .header__logo-text {
    display: flex;
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-wrap::before {
    display: none;
  }

  .about__badge {
    left: auto;
    right: 20px;
    bottom: 16px;
  }

  .about__content {
    max-width: 100%;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item:first-child {
    grid-column: span 2;
  }

  /* Social */
  .social__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .social__profile {
    max-width: 100%;
  }

  .social__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Mobile: ≤ 600px ---- */
@media (max-width: 600px) {
  :root {
    --section-padding: 56px;
  }

  /* Header: hide text, just show icon logo */
  .header__logo-text {
    display: none;
  }

  .header__logo-img {
    width: 44px;
    height: 44px;
  }

  /* Services switch – keep side-by-side */
  .services__switch {
    width: 100%;
    justify-content: center;
  }

  .services__switch-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 18px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  /* Social */
  .social__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 56px 40px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Booking */
  .booking__actions {
    flex-direction: column;
    align-items: center;
  }

  /* Lightbox nav */
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* ---- Extra small: ≤ 400px ---- */
@media (max-width: 400px) {
  .services__switch-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .hero__title {
    font-size: 2.2rem;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
