/* Fonts are now loaded via HTML <link> for better performance */
/* Brand font: Abril Fatface — exact match for the logo's 'atcon' lettering */

:root {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --accent: #ff6b00; /* Vibrant Orange accent */
  --accent-hover: #e05e00;
  --text-main: #0a192f;
  --text-muted: #475569;
  --border-color: rgba(10, 25, 47, 0.08);
  --header-height: 100px;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(10, 25, 47, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth native scroll */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

/* Brand Name — matches Abril Fatface used in the logo */
.brand-name {
  font-family: 'Abril Fatface', Georgia, serif;
  font-weight: 400; /* Abril Fatface only has one weight */
  font-style: normal;
  font-size: 1.25em; /* Slightly larger than surrounding body text */
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: #050f1c; /* Deep navy — darker than default text */
}

/* Inside headings, keep the same size as the surrounding text */
h1 .brand-name, h2 .brand-name, h3 .brand-name,
h4 .brand-name, h5 .brand-name, h6 .brand-name {
  font-size: 1em;
}


/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* GPU hints only for elements that truly animate */
.product-card, .feature-box {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Image Optimization Styling (Smooth Load) */
img.smooth-load {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
img.smooth-load.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Simple placeholder background (no animated shimmer) */
.product-img, .gallery-item {
  background-color: #e2e8f0;
}
.product-img:has(img.is-loaded), .gallery-item:has(img.is-loaded) {
  background: none;
}

/* Advanced Text Reveal */
.text-reveal {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}
.text-reveal span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible .text-reveal span {
  transform: translateY(0);
}

/* Advanced Image Gallery Wrapper */
.gallery-wrapper {
  display: flex;
  gap: 2rem;
  margin: 4rem 0;
}
@media(max-width: 768px) { .gallery-wrapper { flex-direction: column; } }

.gallery-item {
  flex: 1;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s ease;
}

/* Main Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05);
}
header.scrolled .logo img {
  height: 55px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  justify-self: start;
}

nav {
  justify-self: center;
}

header > .cta-btn-small {
  justify-self: end;
}
.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.logo:hover img { opacity: 0.85; transform: scale(1.03); }

nav ul { 
  list-style: none; 
  display: flex; 
  gap: 3rem; 
  margin: 0; 
  padding: 0; 
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
nav a::after {
  content: ''; 
  position: absolute; 
  width: 0; 
  height: 2px;
  bottom: 0; 
  left: 0; 
  background-color: var(--accent);
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
nav a:hover, nav a.active { color: var(--accent); }
nav a:hover::after, nav a.active::after { width: 100%; }

.cta-btn, .cta-btn-small {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  background: var(--accent); color: #ffffff;
  text-decoration: none; font-weight: 700;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative; overflow: hidden;
  border: none; cursor: pointer;
}

.cta-btn-small { padding: 12px 24px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;}
.cta-btn { padding: 18px 45px; font-size: 1.1rem; }

.cta-btn:hover, .cta-btn-small:hover {
  background: var(--accent-hover);
}

/* Glassmorphism Container */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
}

/* Hero Pages Generic */
.page-hero {
  height: 68vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 5%;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; z-index: 1;
}
.page-hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.35) 0%, rgba(10, 25, 47, 0.72) 50%, rgba(10, 25, 47, 0.95) 85%, #0a192f 100%);
  pointer-events: none;
  z-index: 2;
}
.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2.2rem 2.8rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  will-change: transform, opacity; /* GPU Acceleration */
}
.page-hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  display: inline-block;
}
.hero-gradient-text {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  display: inline-block;
}
.hero-dark, .h1-dark {
  color: #0c2340;
  -webkit-text-fill-color: #0c2340;
  filter: none;
}
.hero-blue, .h1-blue {
  color: #2563eb;
  -webkit-text-fill-color: #2563eb;
  filter: none;
}
.page-hero p {
  color: #cbd5e1 !important;
}

/* Home Hero (Custom) */
.home-hero { height: 72vh; min-height: 560px; max-height: 680px; position: relative; overflow: hidden; }

.home-hero .page-hero-bg { 
  background-image: url('assets/hero_pavers_pattern.webp'); 
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%; 
  animation: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.home-hero h1 {
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.home-hero .h1-line1 {
  display: inline-block;
  font-size: 4.2rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
  background: linear-gradient(90deg, #0c2340 0%, #10335e 40%, #1c52cf 75%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-dot {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  display: inline-block;
  margin-left: -2px;
}

.home-hero .h1-line2 {
  display: inline-block;
  font-size: 4.2rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: #2563eb;
  -webkit-text-fill-color: #2563eb;
  letter-spacing: -1px;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 0;
}

.home-hero .cta-btn {
  margin-top: 1.5rem;
  padding: 14px 32px;
  border-radius: 40px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.45);
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.home-hero .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.65);
}

.home-hero p {
  font-size: 1.1rem;
  color: #334155;
  max-width: 650px;
  margin: 0.8rem auto 1.5rem;
}

/* Sections */
section { 
  padding: 120px 5%; 
  position: relative; 
  content-visibility: auto; 
  contain-intrinsic-size: auto 800px;
}
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title h2 { font-size: 3.5rem; margin-bottom: 1rem; }
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--text-muted); font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

/* Grid Layouts & Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 2.5rem; 
  justify-content: center;
}
.grid-4 { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 2rem; 
  justify-content: center;
}

@media (min-width: 1600px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Filter Buttons */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.filter-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Product Cards */
.product-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { border-color: rgba(255, 107, 0, 0.4); box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08); }

/* ── Stock Status Dot — small indicator at bottom of card ── */
.stock-dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  cursor: default;
}
/* Colours */
.stock-dot-indicator.in-stock  { background: #10b981; }
.stock-dot-indicator.low-stock { background: #f59e0b; }
.stock-dot-indicator.out-of-stock { background: #ef4444; }

/* Pulse ring on low-stock dot */
.stock-dot-indicator.low-stock::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  animation: stock-ring 1.6s ease-in-out infinite;
  opacity: 0;
}
@keyframes stock-ring {
  0%   { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Stock Chip — small text badge used at the bottom of product cards ── */
.stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.4;
}
.stock-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stock-chip.in-stock {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.25);
}
.stock-chip.in-stock .chip-dot { background: #10b981; }
.stock-chip.low-stock {
  background: rgba(245,158,11,0.1);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.25);
}
.stock-chip.low-stock .chip-dot {
  background: #f59e0b;
  animation: chip-pulse 1.5s ease-in-out infinite;
}
.stock-chip.out-of-stock {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.25);
}
.stock-chip.out-of-stock .chip-dot { background: #ef4444; }
@keyframes chip-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.45; transform:scale(0.65); }
}

/* ── Legacy .stock-badge (used on product-detail hero & sidebar) ── */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
  pointer-events: none;
}
.stock-badge.in-stock  { background: rgba(16,185,129,0.12); color:#059669; border:1px solid rgba(16,185,129,0.3); }
.stock-badge.low-stock { background: rgba(245,158,11,0.12);  color:#d97706; border:1px solid rgba(245,158,11,0.3); }
.stock-badge.out-of-stock { background: rgba(239,68,68,0.12); color:#dc2626; border:1px solid rgba(239,68,68,0.3); }
.stock-badge .stock-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.stock-badge.in-stock  .stock-dot { background:#10b981; }
.stock-badge.low-stock .stock-dot { background:#f59e0b; animation: pulse-dot 1.8s ease infinite; }
.stock-badge.out-of-stock .stock-dot { background:#ef4444; }
.stock-dot::after { content:''; position:absolute; inset:0; border-radius:50%; }
@keyframes pulse-dot { 0%{transform:scale(1);opacity:.8;} 60%{transform:scale(2.4);opacity:0;} 100%{transform:scale(1);opacity:0;} }

.product-img { 
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden; 
  position: relative; 
  background-color: #0f172a;
}
.product-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.8s ease; 
  filter: brightness(0.88); 
}
.product-card:hover .product-img img { transform: scale(1.08); filter: brightness(1); }

/* ── Product Card Multi-Image Slideshow ── */
.product-img.card-slideshow {
  position: relative;
  overflow: hidden;
}
.product-img.card-slideshow .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  filter: brightness(0.88);
  pointer-events: none;
  z-index: 1;
}
.product-img.card-slideshow .slide-img.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.product-card:hover .product-img.card-slideshow .slide-img.active {
  transform: scale(1.08);
  filter: brightness(1);
}
.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  background: rgba(10, 25, 47, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: auto;
}
.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.slide-dot.active {
  background: var(--accent);
  width: 16px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

/* Helper classes for specific image scaling overrides */
.product-img.bg-studio, .gallery-item.bg-studio {
  background-color: #eae7e2;
}
.product-img.bg-terrazzo {
  background-color: #35302A;
}
.gallery-item.bg-terrazzo-1 {
  background-color: #968A7E;
}
.gallery-item.bg-terrazzo-2 {
  background-color: #786E64;
}
.product-img img.img-contain, .gallery-item img.img-contain {
  object-fit: contain;
  height: 100%;
  top: 0;
}

.product-content { 
  padding: 2rem; 
  flex-grow: 1; 
  display:flex; 
  flex-direction: column;
  justify-content: space-between;
}
.product-content h3 { font-size: 1.6rem; margin-bottom: 0.75rem; color: var(--text-main); transition: color 0.3s; }
.product-card:hover .product-content h3 { color: var(--accent); }
.product-content p { color: var(--text-muted); margin-bottom: 1.25rem; flex-grow:1; line-height: 1.6; }

/* Bottom row: explore link + stock dot side by side */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}
.explore-link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;}
.explore-link i { transition: transform 0.3s; }
.product-card:hover .explore-link i { transform: translateX(8px); }

/* Detail Pages Content */
.detail-content { max-width: 1000px; margin: 0 auto; }
.detail-content h2 { font-size: 2.5rem; margin-bottom: 2rem; margin-top: 4rem;}
.detail-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--bg-card); border-radius: 8px; overflow:hidden;}
.spec-table th, .spec-table td { padding: 1.2rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.spec-table th { background: rgba(255,255,255,0.03); color: var(--accent); font-weight: 600; }
.spec-table tr:last-child td { border-bottom: none; }

/* Image Grid for Details */
.image-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0;}
.image-gallery img { width: 100%; border-radius: 8px; height: 300px; object-fit:cover;}

/* Features / Specs */
.feature-box { text-align: left; padding: 2.5rem; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); transition: all 0.3s;}
.feature-box:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.feature-icon { color: var(--accent); font-size: 2.5rem; margin-bottom: 1.5rem; background: rgba(255, 107, 0, 0.1); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%;}
.feature-box h4 { font-size: 1.4rem; margin-bottom: 1rem; }
.feature-box p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats */
.stats-container { display: flex; gap: 4rem; margin-top: 2rem; }
.stat-item h4 { font-size: 4rem; color: var(--accent); margin-bottom: 0rem; line-height: 1;}
.stat-item p { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 10px;}

/* Form */
.form-group { margin-bottom: 1.5rem; position: relative; }
form input, form textarea { width: 100%; padding: 18px 20px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-main); font-family: 'Inter', sans-serif; transition: all 0.3s; font-size:1rem;}
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1); }

/* Footer */
footer { background: #0a192f; color: #f8fafc; padding: 6rem 5% 2rem; border-top: 1px solid var(--border-color); margin-top: 5rem;}
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 4rem; margin-bottom: 2rem; }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 2rem; color: #ffffff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; color: #64748b; font-size: 0.9rem; flex-wrap: wrap; }
.footer-bottom a#admin-panel-btn:hover { background: rgba(255,107,0,0.15); border-color: rgba(255,107,0,0.4); color: rgba(255,107,0,0.8); }
footer .brand-name { font-family: 'Abril Fatface', Georgia, serif; color: inherit; }

/* FAQ Accordion */
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; width: 100%;}
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: border-color 0.3s;}
.faq-question { width: 100%; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; background: none; border: none; color: var(--text-main); font-size: 1.1rem; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; text-align: left; transition: color 0.3s;}
.faq-question:hover { color: var(--accent); }
.faq-question i { transition: transform 0.3s; }
.faq-item.active { border-color: rgba(255,107,0,0.4); }
.faq-item.active .faq-question { color: var(--accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease-out, opacity 0.4s ease-out; padding: 0 1.5rem; background: rgba(10, 25, 47, 0.02); }
.faq-item.active .faq-answer { max-height: 300px; opacity: 1; padding: 0 1.5rem 1.5rem; }

/* Quote Modal Overlay */
.quote-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.quote-modal-overlay.active { opacity: 1; pointer-events: all; }
.quote-modal { background: var(--bg-dark); width: 90%; max-width: 500px; border-radius: 16px; padding: 3rem; border: 1px solid rgba(255, 107, 0, 0.4); transform: translateY(50px) scale(0.95); opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.8);}
.quote-modal-overlay.active .quote-modal { transform: translateY(0) scale(1); opacity: 1; }
.quote-modal h3 { font-size: 2rem; margin-bottom: 2rem; }
.close-modal-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-muted); cursor: pointer; transition: color 0.3s; }
.close-modal-btn:hover { color: var(--accent); }

/* Mobile Navigation Logic */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1000;
}
.nav-mobile-cta {
  display: none;
}

@media(max-width: 990px) {
  .grid-2 { grid-template-columns: 1fr; }
  .home-hero .h1-line1 { font-size: 4rem; letter-spacing: -1px; }
  .home-hero .h1-line2 { font-size: 2.5rem; letter-spacing: 2px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  :root { --header-height: 80px; }
  header { display: flex; justify-content: space-between; }
  header > .cta-btn-small { display: none !important; }
  .mobile-menu-btn { display: block; }
  .logo img { height: 55px; }
  header.scrolled .logo img { height: 50px; }
  .page-hero-content { padding: 1.5rem 1.2rem; border-radius: 18px; }
  
  nav {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 2rem;
      border-bottom: 1px solid var(--glass-border);
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      transition: clip-path 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  nav.mobile-open {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  nav ul { 
      flex-direction: column; 
      gap: 1.5rem;
      align-items: center;
  }
  .nav-mobile-cta { display: block; }
  
  .footer-content { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 2.5rem; }
  
  .gallery-item { height: 260px; }
  .spec-table {
      display: block;
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
  }
}

@media(max-width: 480px) {
  :root { --header-height: 70px; }
  .logo img { height: 48px; }
  header.scrolled .logo img { height: 44px; }
  
  section { padding: 60px 5%; }
  .home-hero .h1-line1 { font-size: 3rem; letter-spacing: -1px; white-space: normal; }
  .home-hero .h1-line2 { font-size: 1.8rem; letter-spacing: 1px; margin-top: 0.4rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 16px; margin-bottom: 1rem; }
  .home-hero p { font-size: 1.15rem; margin: 1.5rem auto 2rem auto; }
  .page-hero h1 { font-size: 2.2rem; }
  .section-title h2 { font-size: 2rem; }
  .cta-btn { padding: 14px 28px; font-size: 0.95rem; }
}

/* Disable fixed parallax on touch devices — causes severe GPU jank */
@media (hover: none), (max-width: 768px) {
  .page-hero-bg { background-attachment: scroll; }
}
/* Unified Contact Section Styling */
.contact-grid-container {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}

.contact-info-panel {
  padding: 4rem;
  background: linear-gradient(135deg, rgba(255,107,0,0.03) 0%, rgba(0,0,0,0) 100%);
  position: relative;
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--border-color);
}

.contact-form-panel {
  padding: 4rem;
  background: rgba(10, 25, 47, 0.02);
}

@media (max-width: 990px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel::after {
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
  }
  
  .contact-info-panel, .contact-form-panel {
    padding: 3rem 2rem;
  }
}

/* Map Section */
.map-container {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.08);
  filter: grayscale(30%) brightness(0.97);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.map-container:hover {
  filter: grayscale(0%) brightness(1);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Map Wrapper (card + map stacked) */
.map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Floating Info Card above map on desktop */
@media (min-width: 900px) {
  .map-wrapper {
    display: block; /* let card overlay the map */
  }

  .map-info-card {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    width: 300px;
  }

  .map-container {
    height: 520px;
  }
}

/* Map Info Card */
.map-info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.12);
  transition: box-shadow 0.3s ease;
}

.map-info-card:hover {
  box-shadow: 0 24px 50px rgba(10, 25, 47, 0.18);
}

.map-info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--accent);
  color: #ffffff;
}

.map-info-card-header strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.map-info-card-header span {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.9);
}

.map-pin-icon {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.map-pin-icon i { width: 18px; height: 18px; }

.map-info-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-directions-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}


.map-directions-btn i { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .map-container { height: 350px; }
}

/* ── Stock Badge System ──────────────────────────────────────────────────── */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.stock-badge.in-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.stock-badge.low-stock {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Animated pulse dot */
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.stock-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: stock-pulse 1.8s ease infinite;
}
.stock-badge.in-stock  .stock-dot { background: #10b981; }
.stock-badge.in-stock  .stock-dot::after { background: #10b981; }
.stock-badge.low-stock .stock-dot { background: #f59e0b; }
.stock-badge.low-stock .stock-dot::after { background: #f59e0b; }
.stock-badge.out-of-stock .stock-dot { background: #ef4444; }
.stock-badge.out-of-stock .stock-dot::after { background: #ef4444; animation: none; }

@keyframes stock-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  60%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Brochure Download Banner
   ═══════════════════════════════════════════════════════════════════════ */
.brochure-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #0a192f 0%, #112240 60%, #0d2137 100%);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
}

/* Animated glow blob */
.brochure-banner-glow {
  position: absolute;
  top: -60px;
  right: 100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: brochure-float 5s ease-in-out infinite;
}
@keyframes brochure-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.06); }
}

/* Left side */
.brochure-banner-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
  min-width: 260px;
}

.brochure-banner-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.brochure-banner-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.25);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 0.6rem;
}

.brochure-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.brochure-banner-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1rem;
}

.brochure-banner-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brochure-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 99px;
}

/* Right side — buttons */
.brochure-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.brochure-btn-download {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,107,0,0.35);
}
.brochure-btn-download:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,107,0,0.5);
  color: #fff;
}
.brochure-btn-download:active { transform: translateY(0); }

.brochure-btn-view {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
.brochure-btn-view:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .brochure-banner {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
  .brochure-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .brochure-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ── Floating WhatsApp Button & Badges ── */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover {
  background: #20ba59;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.whatsapp-float-btn:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-btn-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.28, 1.4);
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
  .whatsapp-float-btn .whatsapp-float-text {
    display: none;
  }
}

.btn-whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-action:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff !important;
}

