@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ================================================================
   SAF Woodworks — Public Website Styles (Premium Edition)
   ================================================================ */

:root {
  --navy: #1a2a3a;
  --navy-dark: #0f1d2a;
  --navy-mid: #243548;
  --gold: #c8a55a;
  --gold-light: #ddb96e;
  --gold-pale: #f5ead4;
  --bg: #f8f6f2;
  --card-bg: #ffffff;
  --text: #2c3e50;
  --muted: #7a8a99;
  --border: #e8e3da;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(26,42,58,.06);
  --shadow-md: 0 8px 30px rgba(26,42,58,.1);
  --shadow-lg: 0 16px 60px rgba(26,42,58,.15);
  --gradient-gold: linear-gradient(135deg, #c8a55a, #ddb96e, #e8c97d);
  --gradient-navy: linear-gradient(135deg, #0f1d2a, #1a2a3a, #243548);
  --gradient-premium: linear-gradient(135deg, #0f1d2a 0%, #1a2a3a 30%, #2a3f55 60%, #1a2a3a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
}

a { color: var(--gold); transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ---- Scroll Reveal Animations -------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navbar -------------------------------------------------- */
.navbar {
  padding: .8rem 0;
  transition: all .3s ease;
  background: rgba(15, 29, 42, .75) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1030;
}
.navbar.scrolled {
  background: rgba(15, 29, 42, .97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-logo {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem 1rem !important;
  color: rgba(255,255,255,.8) !important;
  transition: color .2s, background .2s;
  border-radius: 8px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }
.navbar-nav .nav-link.active { background: rgba(200,165,90,.15); }

/* Mobile navbar menu background fix */
.navbar-toggler {
  border-color: rgba(200,165,90,.4) !important;
  padding: .35rem .6rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(200,165,90,.25); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200,165,90,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(15, 29, 42, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 0 16px 16px;
    padding: 1rem;
    margin-top: .5rem;
    border: 1px solid rgba(200,165,90,.15);
    border-top: none;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
  }
  .navbar-nav .nav-link {
    padding: .65rem 1rem !important;
    border-radius: 8px;
    margin-bottom: 2px;
  }
  .navbar-nav .nav-link:hover {
    background: rgba(200,165,90,.12) !important;
  }
  .navbar-nav .nav-link.active {
    background: rgba(200,165,90,.2) !important;
    color: var(--gold) !important;
    font-weight: 600;
  }
  .d-flex.align-items-center.ms-lg-3 {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(200,165,90,.15);
    justify-content: center;
  }
}

/* ---- Language Switcher --------------------------------------- */
.lang-switcher {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}
.lang-btn {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .05em;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-btn.active {
  background: var(--gold);
  color: #fff;
}

/* ---- Buttons ------------------------------------------------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); transition: all .25s ease; letter-spacing: .01em; }
.btn-gold {
  background: var(--gold); color: #fff; border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light); border-color: var(--gold-light); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,165,90,.35);
}
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.btn-outline-navy { color: var(--navy); border: 2px solid var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-width: 2px; }

/* ================================================================
   HERO SECTION — Premium Cinematic Design
   ================================================================ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image layer */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 25s ease-in-out infinite alternate;
  filter: brightness(0.7);
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Multi-layer gradient overlay */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    linear-gradient(180deg, rgba(15,29,42,.4) 0%, rgba(15,29,42,.2) 40%, rgba(15,29,42,.85) 100%),
    linear-gradient(135deg, rgba(15,29,42,.92) 0%, rgba(26,42,58,.75) 30%, rgba(36,53,72,.6) 60%, rgba(200,165,90,.08) 100%);
  background-size: 100% 100%, 200% 200%;
  animation: gradientShift 10s ease-in-out infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 0%, 0% 50%; }
  50% { background-position: 0% 0%, 100% 50%; }
  100% { background-position: 0% 0%, 0% 50%; }
}

/* Floating animated shapes */
.hero-animated-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-animated-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatShape 12s ease-in-out infinite;
}
.shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,165,90,0.15), transparent 70%);
  top: 5%; right: -8%;
  animation-delay: 0s !important;
  animation-duration: 18s !important;
}
.shape-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(200,165,90,0.1), transparent 70%);
  bottom: 15%; left: 3%;
  animation-delay: 3s !important;
  animation-duration: 20s !important;
}
.shape-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  top: 35%; right: 18%;
  animation-delay: 5s !important;
  animation-duration: 14s !important;
}
.shape-4 {
  width: 100px; height: 100px;
  border: 2px solid rgba(200,165,90,0.15);
  top: 20%; left: 35%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 2s !important;
  animation-duration: 22s !important;
}
.shape-5 {
  width: 140px; height: 140px;
  border: 1px solid rgba(200,165,90,0.1);
  bottom: 20%; right: 25%;
  animation-delay: 7s !important;
  animation-duration: 16s !important;
}
/* Bonus: Sparkle particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles .particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  animation: sparkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes sparkle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  30% { opacity: 1; transform: translateY(-20px) scale(1); }
  70% { opacity: .6; transform: translateY(-60px) scale(.8); }
  100% { opacity: 0; transform: translateY(-100px) scale(0); }
}
@keyframes floatShape {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.8); }
  20% { opacity: 1; }
  50% { transform: translate(30px, -40px) rotate(180deg) scale(1.1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-20px, 20px) rotate(360deg) scale(0.8); }
}

/* Hero content (above layers) */
.hero-section .container { z-index: 5; }

/* Gold accent line above title */
.hero-accent {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: 1.25rem;
  animation: accentGrow .8s ease-out .3s both;
}
@keyframes accentGrow {
  from { width: 0; opacity: 0; }
  to { width: 60px; opacity: 1; }
}

/* Tagline above title */
.hero-tagline {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: .75rem;
  animation: fadeSlideUp .6s ease-out .5s both;
  background: rgba(200,165,90,.1);
  padding: .35em 1.2em;
  border-radius: 20px;
  border: 1px solid rgba(200,165,90,.2);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
  animation: fadeSlideUp .8s ease-out .7s both;
}
.hero-title .title-highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero-title .title-highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px; right: 0;
  height: 8px;
  background: rgba(200,165,90,.2);
  border-radius: 4px;
  z-index: -1;
  animation: highlightGrow 1s ease-out 1.2s both;
}
@keyframes highlightGrow {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  font-weight: 400;
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
  animation: fadeSlideUp .8s ease-out .9s both;
}

.hero-actions {
  animation: fadeSlideUp .8s ease-out 1.1s both;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-actions .btn-gold {
  padding: .8rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(200,165,90,.35);
  position: relative;
  overflow: hidden;
}
.hero-actions .btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.hero-actions .btn-gold:hover::before { transform: translateX(100%); }
.hero-actions .btn-outline-light {
  padding: .8rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  border-width: 2px;
}

/* Animated fade slide up */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats bar with glassmorphism */
.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeSlideUp .8s ease-out 1.3s both;
}
.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  position: relative;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
}
.stat-item:first-child { border-radius: 12px 0 0 12px; }
.stat-item:last-child { border-radius: 0 12px 12px 0; }
.stat-item:not(:last-child) { border-right: none; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 25px rgba(200,165,90,.35);
  line-height: 1.1;
}
.stat-text {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-top: .2rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  animation: fadeSlideUp 1s ease-out 2s both;
}
.hero-scroll-indicator a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .3s;
}
.hero-scroll-indicator a:hover { color: var(--gold); }
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
  margin-bottom: .3rem;
}
.scroll-mouse::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 3px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: .3; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
}
/* ---- Section Headers ----------------------------------------- */
.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  background: var(--gold-pale);
  padding: .35em 1em;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: .5rem;
}
.section-desc {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Product Cards ------------------------------------------- */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,165,90,.3);
  font-size: 3.5rem;
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .3em .8em;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-title {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.product-desc {
  color: var(--muted);
  font-size: .85rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.product-price.quote {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---- Services ------------------------------------------------ */
.services-section {
  background: #fff;
  position: relative;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 70px; height: 70px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  transition: all .3s;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(200,165,90,.3);
}
.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.service-card p { color: var(--muted); font-size: .85rem; }

/* ---- About --------------------------------------------------- */
.about-section { background: #fff; }
.about-image {
  position: relative;
  text-align: center;
  padding: 3rem;
}
.about-logo {
  width: 250px; height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--gold);
  box-shadow: 0 0 0 12px rgba(200,165,90,.1), var(--shadow-lg);
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(200,165,90,.1), 0 16px 60px rgba(26,42,58,.15); }
  50% { box-shadow: 0 0 0 18px rgba(200,165,90,.15), 0 16px 60px rgba(26,42,58,.2); }
}
.about-badge {
  position: absolute;
  bottom: 2rem; right: 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.badge-text { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.about-features { margin-top: 1.5rem; }
.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  font-weight: 500;
}
.feature-item i { font-size: 1.2rem; }

/* ---- CTA Section (Animated Gradient) ------------------------- */
.cta-section {
  background: var(--gradient-premium);
  background-size: 300% 300%;
  animation: ctaGradient 10s ease-in-out infinite;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(200,165,90,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(200,165,90,0.08) 0%, transparent 50%);
  pointer-events: none;
}
@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: .5rem;
}
.cta-text { color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }

/* ---- Page Header (Animated for inner pages) ------------------ */
.page-header {
  background: var(--gradient-navy);
  padding: 7rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { color: #fff; font-size: 2.2rem; }
.page-header p { color: rgba(255,255,255,.6); }
.page-header-sm { padding: 5.5rem 0 1.5rem; text-align: left; }
.page-header .breadcrumb { --bs-breadcrumb-divider: '/'; }
.breadcrumb-item a { color: var(--gold); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* Animated page header */
.animated-header {
  background: linear-gradient(135deg, #0f1d2a 0%, #1a2a3a 40%, #2a3f55 70%, #1a2a3a 100%);
  background-size: 300% 300%;
  animation: headerGradient 8s ease-in-out infinite;
}
.animated-header .page-header-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.animated-header .page-header-shapes .shape-1 {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,165,90,0.1), transparent 70%);
  top: -50px; right: 10%;
  animation: floatShape 10s ease-in-out infinite;
}
.animated-header .page-header-shapes .shape-2 {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,165,90,0.06), transparent 70%);
  bottom: -30px; left: 15%;
  animation: floatShape 14s ease-in-out infinite 3s;
}
@keyframes headerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Filter Sidebar ------------------------------------------ */
.filter-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.filter-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold-pale);
}
.filter-subtitle {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .5rem;
}
.filter-list {
  list-style: none;
  padding: 0;
}
.filter-list li { margin-bottom: 2px; }
.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s;
}
.filter-list a:hover { background: var(--gold-pale); color: var(--navy); }
.filter-list a.active { background: var(--navy); color: #fff; }
.filter-list a.active .badge { background: var(--gold) !important; }

/* ---- Product Detail ------------------------------------------ */
.product-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  min-height: 300px;
}
.product-detail-img img { width: 100%; display: block; }
.product-placeholder-lg {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(200,165,90,.3);
  font-size: 4rem;
  gap: 1rem;
}
.product-placeholder-lg span { font-size: 1rem; }
.gallery-thumb {
  width: 80px; height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
  border: 2px solid transparent;
}
.gallery-thumb:hover { opacity: 1; border-color: var(--gold); }
.product-detail-title { font-size: 2rem; margin-bottom: .5rem; }
.product-detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
}
.product-detail-price.quote {
  font-size: 1.3rem;
  color: var(--gold);
}
.product-detail-desc {
  color: #555;
  line-height: 1.8;
  font-size: .95rem;
}

/* ---- Inquiry Card -------------------------------------------- */
.inquiry-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}
.inquiry-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
}

/* ---- Contact ------------------------------------------------- */
.contact-info-card { }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all .3s;
}
.contact-item:hover .contact-icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
}
.contact-icon.whatsapp { background: #dcf8c6; color: #25d366; }
.contact-item:hover .contact-icon.whatsapp { background: #25d366; color: #fff; }
.contact-item h6 { margin-bottom: .1rem; font-family: 'Inter', sans-serif; font-size: .88rem; }
.contact-item p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.contact-item a { color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--gold); }

/* ---- Footer -------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.footer-heading {
  color: var(--gold);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: .75rem;
  font-family: 'Inter', sans-serif;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  padding: .25rem 0;
  font-size: .88rem;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--gold); padding-left: .3rem; }
.footer-links.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.footer-links.contact-info i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-desc { font-size: .88rem; line-height: 1.7; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 1.5rem 0; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.social-links { display: flex; gap: .75rem; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s;
}
.social-links a:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(200,165,90,.3);
}

/* ---- Helpers ------------------------------------------------- */
.bg-gold { background: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }

/* ---- Forms --------------------------------------------------- */
.form-label { font-weight: 600; font-size: .85rem; color: var(--navy); }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  padding: .7rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(200,165,90,.18);
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 0; }
  .stat-item { padding: .75rem 1.25rem; }
  .stat-num { font-size: 1.6rem; }
  .about-image { padding: 1.5rem; }
  .about-logo { width: 180px; height: 180px; }
  .about-badge { bottom: 1rem; right: 1rem; }
  .lang-switcher { margin-top: .5rem; }
  .section-title { font-size: 1.6rem; }
  .cta-section { padding: 3.5rem 0; }
  .hero-scroll-indicator { display: none; }

  /* Service cards 2-col on tablet */
  .service-card { padding: 1.5rem 1rem; }
  .service-icon { width: 56px; height: 56px; font-size: 1.4rem; }

  /* Product cards compact */
  .product-img { height: 200px; }
  .product-body { padding: 1rem; }
}

@media (max-width: 767.98px) {
  /* Hero mobile */
  .hero-section { min-height: 100svh; }
  .hero-title { font-size: 1.9rem; line-height: 1.15; }
  .hero-tagline { font-size: .65rem; }
  .hero-subtitle { font-size: .92rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; padding: .75rem 1.5rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stat-item { padding: .6rem 1rem; flex: 1 1 100px; }
  .stat-item:first-child { border-radius: 10px 10px 0 0; border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:last-child { border-radius: 0 0 10px 10px; border-right: none; }
  .stat-num { font-size: 1.4rem; }
  .stat-text { font-size: .6rem; }

  /* About section compact */
  .about-image { padding: 1rem; }
  .about-logo { width: 140px; height: 140px; border-width: 4px; }
  .about-badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 1rem; }
  .feature-item { font-size: .88rem; }

  /* Contact cards */
  .contact-icon { width: 40px; height: 40px; font-size: 1rem; }
  .contact-item h6 { font-size: .82rem; }
  .contact-item p { font-size: .82rem; }

  /* Footer compact */
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-desc { font-size: .82rem; }
  .footer-links li { font-size: .82rem; }

  /* General spacing */
  section.py-5 { padding: 2.5rem 0 !important; }
  .section-header.mb-5 { margin-bottom: 2rem !important; }

  /* Page headers */
  .page-header { padding: 5.5rem 0 2rem; }
  .page-header h1 { font-size: 1.6rem; }

  /* Product detail */
  .product-detail-title { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
  .hero-section { padding: 0 .5rem; }
  .hero-title { font-size: 1.65rem; }
  .hero-actions .btn { font-size: .9rem; padding: .7rem 1.2rem; border-radius: 12px; }
  .hero-stats { margin-top: 2rem; }
  .product-img { height: 180px; }
  .filter-card { position: static; margin-bottom: 1.5rem; }
  .hero-animated-shapes .shape { display: none; }
  .hero-particles { display: none; }

  /* Shrink CTA */
  .cta-title { font-size: 1.3rem; }
  .cta-text { font-size: .85rem; }
  .cta-section .btn { font-size: .88rem; }

  /* Inquiry form compact */
  .inquiry-card { padding: 1.25rem; }
  .inquiry-card h3 { font-size: 1.1rem; }

  /* Gallery thumbs */
  .gallery-thumb { width: 60px; height: 45px; }
}

/* ---- Print --------------------------------------------------- */
@media print {
  .navbar, .site-footer, .cta-section { display: none !important; }
}

/* ---- Safe area for notched phones ---------------------------- */
@supports (padding: env(safe-area-inset-bottom)) {
  .navbar { padding-left: max(.75rem, env(safe-area-inset-left)); padding-right: max(.75rem, env(safe-area-inset-right)); }
  .site-footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .hero-section { padding-bottom: env(safe-area-inset-bottom); }
}
