/* ============================================
   RESPONSIVE STYLES — Hali Lynea Events
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 90px 0;
    --container-padding: 0 30px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .intro .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro-image {
    order: -1;
  }

  .intro-image img {
    height: 450px;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-text {
    text-align: center;
  }

  .about-text .divider {
    margin-left: auto;
    margin-right: auto;
  }

  .about-text .signature {
    text-align: center;
  }

  .service-block {
    gap: 40px;
    margin-bottom: 80px;
  }

  .service-block-image img {
    height: 420px;
  }

  .gallery-slide {
    min-width: 340px;
    height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --- Mobile Large (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
    --container-padding: 0 24px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 600px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-scroll {
    display: none;
  }

  .intro .container {
    gap: 40px;
  }

  .intro-image img {
    height: 400px;
  }

  .intro-image::after {
    display: none;
  }

  .intro-text {
    text-align: center;
  }

  .intro-text .divider {
    margin-left: auto;
    margin-right: auto;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .service-block-image img {
    height: 350px;
  }

  /* Hide flywheel on mobile, show slideshow */
  .gallery-flywheel {
    display: none;
  }

  .gallery-mobile {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
  }

  .gallery-mobile-track {
    position: relative;
    width: 100%;
    height: 400px;
  }

  .gallery-mobile-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .gallery-mobile-slide.active {
    opacity: 1;
  }

  .gallery-mobile-prev,
  .gallery-mobile-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: var(--color-brown);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .gallery-mobile-prev:hover,
  .gallery-mobile-next:hover {
    background: rgba(255, 255, 255, 1);
  }

  .gallery-mobile-prev:active,
  .gallery-mobile-next:active {
    transform: translateY(-50%) scale(0.92);
  }

  .gallery-mobile-prev {
    left: 12px;
  }

  .gallery-mobile-next {
    right: 12px;
  }

  .gallery-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
  }

  .gallery-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(83, 57, 50, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
  }

  .gallery-mobile-dot.active {
    background: var(--color-brown);
    transform: scale(1.25);
  }

  .testimonial-quote {
    font-size: 1.05rem;
  }

  .testimonial-slide {
    padding: 0 20px;
  }

  .carousel-nav {
    gap: 20px;
    margin-top: 40px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .cta-section {
    padding: 100px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* --- Mobile Small (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 20px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 14px 30px;
    font-size: 0.65rem;
  }

  .intro-image img {
    height: 350px;
  }

  .about-image img {
    height: 400px;
  }

  .gallery-mobile-track {
    height: 320px;
  }

  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .testimonial-quote::before {
    font-size: 3.5rem;
    top: -30px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}
