/* ============================================================
   VIKAS MARMO — Shared Product Page Stylesheet
   stone.css · All three product pages share this file
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Root Variables ────────────────────────────── */
:root {
  --cream:        #FAF8F4;
  --cream-deep:   #F2EDE5;
  --stone:        #C8BFB0;
  --stone-dark:   #8B8178;
  --gold:         #B8965A;
  --gold-light:   #D4AF72;
  --ink:          #1C1712;
  --ink-soft:     #3A342C;
  --ink-muted:    #6B6259;
  --white:        #FFFFFF;
  --border:       rgba(184,150,90,0.25);
  --border-light: rgba(200,191,176,0.4);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --max-w: 1200px;
  --section-gap: 100px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(28,23,18,0.08); }

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.nav-logo .sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* merged duplicate .nav-links declarations */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  background: var(--ink);
  color: var(--cream) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500 !important;
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; border-color: var(--gold); color: var(--white) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}
/* invisible bridge so dropdown doesn't vanish on mouse movement */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 16px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color 0.15s, background 0.15s;
}
.dropdown-menu li a:hover { color: var(--ink); background: var(--cream-deep); }

/* ── Breadcrumb ────────────────────────────────── */
.breadcrumb {
  margin-top: 72px;
  padding: 14px 48px;
  border-bottom: 1px solid var(--border-light);
  background: var(--cream-deep);
}
.breadcrumb nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.breadcrumb nav a { color: var(--gold); transition: opacity 0.2s; }
.breadcrumb nav a:hover { opacity: 0.7; }
.breadcrumb nav span { color: var(--stone-dark); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-content {
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold); display: block; }
.hero-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 44px;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-top: 4px;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-visual { position: relative; height: 100%; min-height: 80vh; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 40px; left: 40px;
  z-index: 2;
  background: rgba(28,23,18,0.85);
  backdrop-filter: blur(8px);
  padding: 16px 22px;
  color: var(--cream);
  border-left: 3px solid var(--gold);
}
.hero-badge .bdg-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 500;
}
.hero-badge .bdg-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 300; }

/* ── Buttons ───────────────────────────────────── */
/* shared base for all solid/outline buttons */
.btn-primary, .btn-secondary, .btn-primary-light, .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone);
  transition: border-color 0.25s, color 0.25s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost .arrow { font-size: 1rem; }

/* ── Section Shell ─────────────────────────────── */
.section { padding: var(--section-gap) 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 60px; }
.section-tag {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* ── Product Grid ──────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}
.product-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.product-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); z-index: 2; }

.product-card-img { height: 260px; overflow: hidden; position: relative; }
.product-card-img img { height: 100%; transition: transform 0.6s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-img .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,23,18,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .card-overlay { opacity: 1; }

.product-card-body { padding: 24px 28px 28px; }
.product-card-tag {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.product-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.spec-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-weight: 500;
}

/* ── Feature Strip ─────────────────────────────── */
.feature-strip { background: var(--ink); color: var(--cream); padding: 60px 48px; }
.feature-strip .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item { padding: 0 36px; border-right: 1px solid rgba(200,191,176,0.15); }
.feature-item:first-child { padding-left: 0; }
.feature-item:last-child { border-right: none; }
.feature-item .icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--gold-light);
}
.feature-item p { font-size: 0.8rem; color: rgba(250,248,244,0.6); line-height: 1.7; font-weight: 300; }

/* ── Spec Table ────────────────────────────────── */
.spec-section { background: var(--cream-deep); }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--stone);
}
.spec-block { background: var(--cream); padding: 36px 40px; }
.spec-block h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.83rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .key { color: var(--ink-muted); font-weight: 300; letter-spacing: 0.04em; }
.spec-row .val { color: var(--ink); font-weight: 500; letter-spacing: 0.04em; text-align: right; }

/* ── Applications ──────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  border: 1px solid var(--border-light);
  padding: 32px;
  transition: border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.app-card:hover { border-color: var(--gold); }
.app-card:hover::before { transform: scaleX(1); }
.app-card .app-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.app-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.app-card p { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.7; font-weight: 300; }

/* ── CTA Section ───────────────────────────────── */
.cta-section {
  background: var(--ink);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'VIKAS MARMO';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 600;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.06em;
}
.cta-section .inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-section .cta-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-section h2 em { font-style: italic; color: var(--gold-light); }
.cta-section p { font-size: 0.9rem; color: rgba(250,248,244,0.55); line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary-light {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  transition: background 0.25s, opacity 0.25s;
}
.btn-primary-light:hover { opacity: 0.85; }

.btn-outline-light {
  padding: 14px 28px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,248,244,0.3);
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }

/* ── Why Us Strip ──────────────────────────────── */
.why-strip { padding: 72px 48px; background: var(--cream-deep); }
.why-strip .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
.why-strip h3 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; line-height: 1.2; }
.why-strip h3 em { font-style: italic; color: var(--gold); }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.why-item h5 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 4px; text-transform: uppercase; }
.why-item p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.65; font-weight: 300; }

/* ── Footer ────────────────────────────────────── */
footer { background: var(--ink); color: var(--cream); padding: 60px 48px 32px; }
footer .footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(200,191,176,0.15);
}
footer .footer-brand .brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
  display: block;
  margin-bottom: 4px;
}
footer .footer-brand .sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
footer .footer-brand p { font-size: 0.8rem; color: rgba(250,248,244,0.5); line-height: 1.7; font-weight: 300; max-width: 280px; }
footer h5 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 20px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 0.82rem; color: rgba(250,248,244,0.55); transition: color 0.2s; font-weight: 300; }
footer ul li a:hover { color: var(--cream); }
footer .footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(250,248,244,0.3);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ── Gold Divider ──────────────────────────────── */
.divider { display: flex; align-items: center; gap: 20px; margin: 60px 0; }
.divider::before,
.divider::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.divider-gem { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ── Page-Specific Accent Colors ───────────────── */
/* White Marble page */
.page-white-marble .page-accent { --accent: var(--gold); }
/* Granite page */
.page-granite .hero { background: var(--cream); }
/* Blocks page */
.page-blocks .hero { background: var(--cream); }

/* ── Animations ────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 50vw; min-height: 320px; }
  .hero-visual::before { background: linear-gradient(to bottom, var(--cream) 0%, transparent 30%); }
  .hero-content { padding: 60px 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-item { border-right: none; padding: 0; }
  .why-strip .inner { grid-template-columns: 1fr; gap: 40px; }
  footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .section { padding: var(--section-gap) 24px; }
  .breadcrumb { padding: 14px 24px; }
  .hero-content { padding: 48px 24px; }
  .product-grid,
  .product-grid.two-col,
  .product-grid.four-col { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .feature-strip { padding: 48px 24px; }
  .feature-strip .inner { grid-template-columns: 1fr; }
  .cta-section { padding: 72px 24px; }
  .why-items { grid-template-columns: 1fr; }
  .why-strip { padding: 48px 24px; }
  footer { padding: 48px 24px 24px; }
  footer .footer-top { grid-template-columns: 1fr; }
  footer .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}