/* 
  Sanam Film Siwan - Responsive Styles
*/

/* 1440px and below */
@media (max-width: 1440px) {
  .nav-container {
    padding: 0 2.5rem;
  }
}

/* 1024px and below (Tablets Landscape / Small Desktops) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 5rem 0;
  }

  .split-layout {
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 300px;
  }

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

  .social-location {
    grid-template-columns: 1fr;
  }

  .instagram-section, .location-section {
    padding: 4rem 2rem;
  }

  .enquiry-form {
    padding: 2rem;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat {
    padding: 0 1.5rem;
  }
}

/* 768px and below (Tablets Portrait / Large Mobile) */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .d-md-none {
    display: flex !important;
  }

  /* Mobile Nav */
  .nav-links, .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Layouts */
  .split-layout {
    grid-template-columns: 1fr;
  }

  .about-text, .featured-text {
    order: 2;
  }

  .about-image-wrapper, .featured-img-wrapper {
    order: 1;
    margin-bottom: 2rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-text br { display: none; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero .btn-outline, .hero .btn-solid {
    width: 100%;
    text-align: center;
  }

  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem 1.5rem;
    gap: 0;
  }

  .hero-stat {
    padding: 0.8rem 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .hero-stat:nth-child(even) {
    border-right: none;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: none;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .styles-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .style-panel-tall {
    grid-row: auto;
  }

  .style-panel-wide {
    grid-column: auto;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-steps::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide floating WA on mobile (bottom bar handles it) */
  .wa-float {
    display: none;
  }

  /* Mobile Bottom Bar */
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-white);
    display: flex;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    z-index: 900;
  }

  .bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
    border-right: 1px solid rgba(0,0,0,0.06);
    text-transform: uppercase;
  }

  .bottom-btn.btn-dark {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-charcoal);
    border: none;
  }

  /* Add padding to body to prevent content from hiding behind bottom bar */
  body {
    padding-bottom: 60px;
  }
}

/* 414px and below (Standard Mobile) */
@media (max-width: 414px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .about-list {
    grid-template-columns: 1fr;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.73rem;
  }

  .enquiry-form {
    padding: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-badge {
    font-size: 0.65rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* 375px and below (Small Mobile) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }
}

/* 320px and below (Extra Small Mobile) */
@media (max-width: 320px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }
}
