/* ============================================================
   Atlas Building Materials — Design System
   ============================================================ */

/* Fonts are loaded via <link> in HTML for better performance */

/* --- Custom Properties --- */
:root {
  --clr-bg: #080B11;
  --clr-surface: #0E1322;
  --clr-surface-2: #151C30;
  --clr-gold: #E5B810;
  --clr-gold-light: #F4D03F;
  --clr-copper: #C87533;
  --clr-red: #E63946;
  --clr-yellow: #FFCC00;
  --clr-text: #FFFFFF;
  --clr-text-secondary: #94A3B8;
  --clr-whatsapp: #25D366;
  --clr-border: rgba(229, 184, 16, 0.15);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 30px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* --- Reset --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}
img {
  max-width: 100%; display: block;
  height: auto; /* prevent CLS */
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Accessibility: visible focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  color: var(--clr-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}
.reveal { opacity: 0; transform: translateY(40px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,15,28,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 56px; border-radius: 6px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--clr-text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--clr-gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-copper));
  color: #0A0F1C; padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,67,0.3); }
.nav-cta::after { display: none !important; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--clr-text); transition: var(--transition); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,15,28,0.92), rgba(10,15,28,0.8));
}
.hero .container { position: relative; z-index: 2; width: 100%; max-width: 700px; }
.hero-content { width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--clr-border);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; color: var(--clr-gold);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clr-whatsapp);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.1; margin-bottom: 24px;
  color: var(--clr-text);
}
.hero h1 .highlight {
  color: var(--clr-gold);
  font-style: italic;
}
.hero p {
  font-size: 1.05rem; color: var(--clr-text-secondary);
  max-width: 580px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--clr-gold);
  color: #080B11; padding: 14px 32px;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(229,184,16,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(229,184,16,0.35); background: var(--clr-gold-light); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
  padding: 12px 30px;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-secondary:hover { transform: translateY(-3px); background: rgba(229,184,16,0.1); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--clr-whatsapp);
  color: #fff; padding: 14px 32px;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--clr-text-secondary); font-size: 0.8rem;
}
.scroll-indicator .mouse {
  width: 24px; height: 38px; border: 2px solid var(--clr-text-secondary);
  border-radius: 12px; position: relative;
}
.scroll-indicator .mouse::after {
  content: ''; width: 4px; height: 8px;
  background: var(--clr-gold); border-radius: 2px;
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ============================================================
   ABOUT / STATS
   ============================================================ */
.about { background: var(--clr-bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-text h3 {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 700; margin-bottom: 16px; color: var(--clr-text);
}
.about-text p { color: var(--clr-text-secondary); margin-bottom: 16px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.stat-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-gold);
  box-shadow: 0 8px 30px rgba(212,168,67,0.1);
}
.stat-number {
  font-family: var(--font-heading); font-size: 2.5rem;
  font-weight: 800; color: var(--clr-gold);
  margin-bottom: 4px;
}
.stat-label { font-size: 0.9rem; color: var(--clr-text-secondary); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--clr-surface); }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-copper));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-gold);
  box-shadow: 0 12px 40px rgba(212,168,67,0.12);
}
.product-card-img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 8px; margin-bottom: 20px;
  opacity: 0.85; transition: var(--transition);
  aspect-ratio: 16 / 9;
}
.product-card:hover .product-card-img { opacity: 1; }
.product-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(200,117,51,0.1));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.6rem;
}
.product-card h3 {
  font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 700; margin-bottom: 12px;
}
.product-card p { color: var(--clr-text-secondary); font-size: 0.95rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-tag {
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.15);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.78rem; color: var(--clr-gold);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands { background: var(--clr-bg); overflow: hidden; }
.marquee-wrapper { overflow: hidden; position: relative; padding: 20px 0; }
.marquee-wrapper::before, .marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--clr-bg), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--clr-bg), transparent);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marquee 35s linear infinite;
  width: max-content;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-item {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  padding: 0 36px; min-width: 260px; height: 120px;
  transition: var(--transition);
  white-space: nowrap;
}
.brand-item:hover {
  transform: translateY(-4px) scale(1.08);
}
.brand-item img {
  max-height: 90px; max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transition: var(--transition);
  will-change: transform;
}
.brand-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   LOCATION & HOURS
   ============================================================ */
.location { background: var(--clr-surface); }
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.map-container {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--clr-border);
  height: 420px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }
.hours-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px;
}
.hours-card h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  font-weight: 700; margin-bottom: 24px;
  color: var(--clr-gold);
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.hours-table td { padding: 12px 0; font-size: 0.95rem; }
.hours-table td:first-child { color: var(--clr-text-secondary); }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table tr.today td { color: var(--clr-gold); font-weight: 600; }
.lunch-notice {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 14px 18px;
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--clr-red);
}
.contact-row {
  display: flex; flex-direction: column; gap: 12px; margin-top: 24px;
}
.contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: var(--clr-text-secondary);
}
.contact-item svg { color: var(--clr-gold); flex-shrink: 0; }

/* Home Page Featured Cards */
.product-card[style*="background-image"] {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 0;
}
/* Blurred background layer */
.product-card[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  -webkit-filter: blur(4px);
  z-index: 0;
}
/* Dark gradient overlay for text legibility */
.product-card[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 11, 17, 0.95) 0%,
    rgba(8, 11, 17, 0.75) 40%,
    rgba(8, 11, 17, 0.4) 100%
  );
  z-index: 1;
}
.product-card-content {
  position: relative;
  z-index: 2;
  padding: 24px 22px;
  width: 100%;
}
.product-card[style*="background-image"] h3 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.product-card[style*="background-image"] p {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--clr-surface), var(--clr-bg));
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212,168,67,0.06) 0%, transparent 70%);
}
.cta .container { position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; margin-bottom: 16px;
}
.cta p {
  color: var(--clr-text-secondary); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto 36px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Brands Static Grid (For Brands Page) */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.brands-grid .brand-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition);
}
.brands-grid .brand-item:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 168, 67, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.brands-grid .brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition);
}
.brands-grid .brand-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand p { color: var(--clr-text-secondary); margin-top: 12px; font-size: 0.9rem; }
.footer h4 {
  font-family: var(--font-heading); font-size: 1rem;
  font-weight: 700; margin-bottom: 16px; color: var(--clr-gold);
}
.footer-links a {
  display: block; padding: 4px 0; font-size: 0.9rem;
  color: var(--clr-text-secondary); transition: var(--transition);
}
.footer-links a:hover { color: var(--clr-gold); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px; text-align: center;
  font-size: 0.85rem; color: var(--clr-text-secondary);
}

/* ============================================================
   SHOWROOM GALLERY
   ============================================================ */
.showroom {
  background: var(--clr-bg);
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
@media (min-width: 769px) {
  .showroom-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 280px 280px;
  }
  .showroom-item:nth-child(1) { grid-column: span 4; grid-row: span 1; }
  .showroom-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .showroom-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .showroom-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .showroom-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
}
.showroom-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  height: 100%;
  min-height: 250px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.showroom-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.showroom-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,28,0.95) 0%, rgba(10,15,28,0.4) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.showroom-item:hover {
  border-color: var(--clr-gold);
  box-shadow: 0 12px 40px rgba(212,168,67,0.15);
}
.showroom-item:hover img {
  transform: scale(1.08);
}
.showroom-item:hover .showroom-overlay {
  opacity: 1; transform: translateY(0);
}
.showroom-overlay h3 {
  font-family: var(--font-heading); font-size: 1.2rem;
  color: var(--clr-gold); font-weight: 700; margin-bottom: 4px;
}
.showroom-overlay p {
  font-size: 0.85rem; color: var(--clr-text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Progressive enhancement: elements remain visible if GSAP animation doesn't fire */
  .reveal,
  .product-card,
  .showroom-item,
  .stat-card,
  .hours-card,
  .map-container {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Floating top navbar with logo pill on mobile */
  .navbar {
    background: rgba(10, 15, 28, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 8px 0 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
  }
  .navbar .nav-logo img {
    height: 40px;
  }
  .nav-links { display: none !important; }
  .mobile-toggle { display: flex !important; }

  /* Hero Section scaling */
  .hero {
    padding: 140px 0 60px;
    align-items: center;
    min-height: 70vh;
  }
  .hero-bg {
    background-size: contain;
    background-position: center 80px;
    background-repeat: no-repeat;
  }
  .hero-bg::after {
    background: linear-gradient(135deg, rgba(10,15,28,0.92), rgba(10,15,28,0.85));
  }
  .hero-content {
    max-width: 100%;
    padding: 0 4px;
  }
  .hero-badge {
    margin-bottom: 16px;
    padding: 6px 16px;
  }
  .hero h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }
  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }
  .btn-primary, .btn-whatsapp {
    width: auto; flex: 1;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .scroll-indicator {
    display: none;
  }

  /* Section Spacing & Compactness */
  .section-padding {
    padding: 40px 0;
  }
  
  .section-title { font-size: clamp(1.2rem, 4vw, 1.8rem); }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 32px; }
  .container { padding: 0 16px; }

  /* Stats grid scaling */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-number {
    font-size: 1.6rem;
  }

  /* Products grid layout and scaling */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-card {
    padding: 16px 14px;
  }
  .product-card-img {
    height: 120px;
    margin-bottom: 14px;
  }
  .product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  
  .product-card[style*="background-image"] {
    min-height: 200px;
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .brands-grid .brand-item {
    height: 70px;
    padding: 12px;
  }

  /* Showroom grid */
  .showroom-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .showroom-item {
    min-height: 200px;
  }
  .showroom-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 16px;
    background: linear-gradient(to top, rgba(10,15,28,0.95) 0%, rgba(10,15,28,0.3) 100%);
  }

  /* Brand Marquee speed and scaling */
  .marquee-track {
    animation-duration: 45s;
    gap: 24px;
  }
  .brand-item {
    padding: 0 20px;
    min-width: 180px;
    height: 90px;
  }
  .brand-item img {
    max-height: 60px;
    max-width: 150px;
  }

  /* Map and Hours padding */
  .location-grid {
    gap: 24px;
  }
  .map-container {
    height: 260px;
  }
  .hours-card {
    padding: 20px;
  }
  .hours-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .hours-table td {
    padding: 8px 0;
    font-size: 0.88rem;
  }

  /* Call-to-action */
  .cta h2 {
    font-size: 1.8rem;
  }
  .cta p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  /* Footer layout */
  .footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   MOBILE DRAWER NAVIGATION
   ============================================================ */
.mobile-drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--clr-surface);
  border-left: 1px solid var(--clr-border);
  box-shadow: -4px 0 30px rgba(0,0,0,0.5);
  z-index: 2000;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-drawer.open { right: 0; }
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px;
}
.drawer-logo { height: 40px; border-radius: 4px; }
.drawer-close {
  font-size: 1.5rem; color: var(--clr-text-secondary);
  transition: var(--transition);
}
.drawer-close:hover { color: var(--clr-gold); }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.drawer-nav a {
  padding: 12px 16px; font-size: 1.05rem; font-weight: 500;
  color: var(--clr-text); border-radius: 8px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.drawer-nav a:hover, .drawer-nav a:active {
  background: rgba(212,168,67,0.1);
  color: var(--clr-gold);
  border-left-color: var(--clr-gold);
}
.drawer-cta { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.drawer-cta a { justify-content: center; padding: 12px; font-size: 0.95rem; }

/* Category Quick Tags */
.category-quick-tags {
  display: flex;
  justify-content: space-around;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 20px 10px;
  margin-top: 0px;
  margin-bottom: 30px;
}
.category-tag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--clr-text-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: var(--transition);
}
.category-tag-item svg {
  color: var(--clr-gold);
  width: 24px;
  height: 24px;
  transition: var(--transition);
}
.category-tag-item:hover {
  color: var(--clr-gold);
  transform: translateY(-2px);
}

/* Direct Specialist Access Card */
.direct-specialist-card {
  background: #111625; /* Dark navy/blue background */
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  margin: 40px auto;
  max-width: 500px;
  box-shadow: var(--shadow);
}
.direct-specialist-card h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.direct-specialist-card p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 28px;
}
.direct-specialist-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn-direct-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #10B981; /* Green whatsapp color */
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(16,185,129,0.25);
}
.btn-direct-whatsapp:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16,185,129,0.35);
}
.btn-direct-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #FFFFFF;
  border: 2px solid var(--clr-gold);
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-direct-phone:hover {
  background: rgba(229, 184, 16, 0.1);
  transform: translateY(-2px);
}

/* Brands 2-Column Grid (For Brands Page) */
.brands-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.brands-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brands-grid-2col .brand-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: var(--transition);
}
.brands-grid-2col .brand-item:hover {
  transform: translateY(-3px);
  border-color: var(--clr-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.brands-grid-2col .brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none !important; /* Full color brand logos as requested! */
  opacity: 1 !important;
  transition: var(--transition);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
}

/* Print styles */
@media print {
  .navbar, .scroll-indicator, .marquee-wrapper, .cta, .mobile-bottom-nav { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
