/* ================================================
   SUPPLY SOLUTIONS — INTERIOR DESIGN RESPONSIVE CSS
   Add AFTER interior-design.css:
   <link rel="stylesheet" href="interior-responsive.css">
   ================================================ */

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }
img { max-width: 100%; height: auto; display: block; }

/* ─── FLUID TYPOGRAPHY ─── */
.hero-content h1  { font-size: clamp(1.8rem, 5vw, 3.5rem); }
.main-heading     { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
.stats-content h2 { font-size: clamp(1.4rem, 3vw, 2.5rem); }
.form-header h2   { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }

/* ─── NAVBAR ─── */
.navbar { height: 70px; }
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 100%;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy-dark, #0f1419);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ─── DESKTOP NAV ─── */
@media (min-width: 769px) {
  .nav-wrapper { min-height: 70px; }
  .nav-menu { display: flex; align-items: center; }
}

/* ─── DESKTOP DROPDOWN ─── */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  z-index: 2000;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { padding: 0; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: #f9f5ef;
  color: var(--gold, #c9a55c);
}

/* Desktop arrow on dropdown <a> */
.dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* ─── PARALLAX OFF on touch ─── */
@media (hover: none) {
  .statistics-banner { background-attachment: scroll; }
}

/* ======================================================
   TABLET — max-width: 1024px
   ====================================================== */
@media (max-width: 1024px) {

  /* Services grid: stack */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Exterior grid: stack */
  .exterior-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Stats: column */
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }

  /* Footer: 2 cols */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .statistics-banner {
    background-attachment: scroll;
    padding: 70px 0;
  }

  .creative-services,
  .exterior-design { padding: 70px 0; }
}

/* ======================================================
   MOBILE — max-width: 768px
   ====================================================== */
@media (max-width: 768px) {

  /* ── Hamburger ── */
  .hamburger { display: flex !important; }

  .nav-menu {
    position: fixed !important;
    top: 70px;
    left: -100% !important;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.active { left: 0 !important; }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0ebe0;
  }

  .nav-menu > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    width: 100%;
  }

  /* Hide desktop arrow on mobile */
  .dropdown > a::after { display: none !important; }

  /* Mobile dropdown arrow via separate ::after */
  .dropdown > a {
    position: relative;
  }

  .dropdown > a .arrow-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  /* Mobile dropdown: hidden by default */
  .dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    box-shadow: none;
    border-radius: 0;
    background: #f9f5ef;
    width: 100%;
    min-width: unset;
    padding: 0;
    border-left: 3px solid var(--gold, #c9a55c);
  }

  .dropdown.open .dropdown-menu { display: block !important; }

  .dropdown.open > a .arrow-icon {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .dropdown-menu li a {
    padding: 12px 24px 12px 32px;
    font-size: 0.9rem;
  }

  /* ── Hero ── */
  .hero-header { height: 350px; }

  /* ── Creative Services ── */
  .creative-services { padding: 60px 0; }

  .services-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Service cards: 1 col */
  .service-cards-grid { grid-template-columns: 1fr; gap: 1rem; }

  .card-image { height: 180px; }

  .btn-dark { width: 100%; text-align: center; }

  /* ── Statistics ── */
  .statistics-banner {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .stats-grid { flex-direction: column; gap: 1.5rem; }
  .stat-number { font-size: clamp(2.5rem, 8vw, 3.5rem); }

  /* ── Exterior Design ── */
  .exterior-design { padding: 60px 0; }

  .exterior-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Gallery: 2 cols on mobile */
  .design-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large,
  .gallery-item.tall { grid-row: span 1; }

  /* ── Contact Form ── */
  .contact-form-section { padding: 60px 0; }

  .contact-form input,
  .contact-form textarea { width: 100%; font-size: 1rem; }

  .btn-gold { width: 100%; }

  /* ── Footer ── */
  .footer { padding: 50px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── General ── */
  .container { padding: 0 16px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .scroll-top { bottom: 80px; left: 16px; width: 42px; height: 42px; font-size: 1.2rem; }
}

/* ======================================================
   SMALL MOBILE — max-width: 480px
   ====================================================== */
@media (max-width: 480px) {
  .hero-header { height: 280px; }
  .design-gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item.large,
  .gallery-item.tall { grid-row: span 1; }
  .service-cards-grid { grid-template-columns: 1fr; }
}