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

:root {
  --bg: #091421;
  --surface: #16202e;
  --surface-high: #212b39;
  --surface-highest: #2b3544;
  --gold: #e9c176;
  --gold-dim: #c5a059;
  --on-surface: #d9e3f6;
  --on-surface-muted: #d1c5b4;
  --outline: #9a8f80;
  --outline-variant: #4e4639;
  --font-serif: 'Noto Serif', Georgia, serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --max-w: 1440px;
  --radius: 0px;
  --transition: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
.label { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
p { color: var(--on-surface-muted); line-height: 1.75; }

/* ── Container ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 5rem); }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border: none; padding: 1rem 2rem; transition: var(--transition);
}
.btn-primary {
  background: var(--gold); color: #0a0e14;
}
.btn-primary:hover { background: #f5d08a; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(233,193,118,0.25); }
.btn-ghost {
  background: transparent; color: var(--on-surface); border: 1px solid var(--outline);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem clamp(1.5rem, 5vw, 5rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(9,20,33,0.88);
  backdrop-filter: blur(32px);
  border-color: var(--outline-variant);
}
.nav-logo img { height: 40px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--on-surface-muted);
  transition: color 0.3s; padding-bottom: 4px;
  position: relative;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-links > li > a:hover { color: var(--gold); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--gold); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 1.5rem); left: 0;
  min-width: 220px; background: rgba(22,32,46,0.97);
  backdrop-filter: blur(20px); border: 1px solid var(--outline-variant);
  padding: 0.5rem 0;
}
.dropdown:hover .dropdown-menu { display: block; animation: fadeDown 0.3s ease; }
.dropdown-menu a {
  display: block; padding: 0.75rem 1.5rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--on-surface-muted); transition: color 0.2s, background 0.2s;
}
.dropdown-menu a:hover { color: var(--gold); background: rgba(233,193,118,0.06); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--on-surface); transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(9,20,33,0.92) 0%, rgba(9,20,33,0.6) 50%, rgba(9,20,33,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-content .label { margin-bottom: 1.5rem; }
.hero-content h1 { margin-bottom: 1.5rem; color: var(--on-surface); }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 540px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--outline); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1); } }

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative; min-height: 60vh; display: flex; align-items: flex-end;
  padding-bottom: 5rem; overflow: hidden; padding-top: 80px;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,33,1) 0%, rgba(9,20,33,0.5) 60%, rgba(9,20,33,0.3) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .label { margin-bottom: 1rem; }
.page-hero-content h1 { color: var(--on-surface); }

/* ── Section Titles ── */
.section-title { margin-bottom: 4rem; }
.section-title .label { margin-bottom: 1rem; }
.section-title h2 { margin-bottom: 1rem; }
.section-title p { max-width: 560px; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 0 auto; }

/* ── Gold Divider ── */
.gold-line { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0; }
.gold-line.center { margin: 1.5rem auto; }

/* ── Brand Cards ── */
.brands-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5px;
}
.brand-card {
  position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
  background: var(--surface);
}
.brand-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.brand-card:hover img { transform: scale(1.06); }
.brand-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,33,0.95) 0%, rgba(9,20,33,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
  transition: background 0.5s;
}
.brand-card:hover .brand-card-overlay { background: linear-gradient(to top, rgba(9,20,33,0.98) 0%, rgba(9,20,33,0.4) 70%, rgba(9,20,33,0.1) 100%); }
.brand-card-name { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.25rem; }
.brand-card-cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.brand-card-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 36px; height: 36px;
  border: 1px solid rgba(233,193,118,0.4); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-8px); transition: 0.4s;
  color: var(--gold);
}
.brand-card:hover .brand-card-arrow { opacity: 1; transform: none; }

/* ── Category Cards ── */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.cat-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  background: var(--surface); cursor: pointer;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,33,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem;
}
.cat-card h3 { margin-bottom: 0.5rem; }
.cat-card .label { color: var(--gold-dim); }
.cat-card .btn { margin-top: 1.5rem; opacity: 0; transform: translateY(12px); transition: 0.4s; }
.cat-card:hover .btn { opacity: 1; transform: none; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--surface); border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant); padding: 3rem 0;
}
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--outline); margin-top: 0.5rem; }

/* ── Feature Section ── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.feature-img { position: relative; overflow: hidden; min-height: 600px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-content {
  background: var(--surface); display: flex; flex-direction: column;
  justify-content: center; padding: clamp(3rem, 8vw, 6rem);
}
.feature-content .label { margin-bottom: 1.5rem; }
.feature-content h2 { margin-bottom: 1.5rem; }
.feature-content p { margin-bottom: 2rem; }

/* ── Showroom Gallery ── */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 3px;
}
.showroom-item { overflow: hidden; cursor: pointer; background: var(--surface); }
.showroom-item.wide { grid-column: span 2; }
.showroom-item.tall { grid-row: span 2; }
.showroom-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.4s;
}
.showroom-item:hover img { transform: scale(1.08); filter: brightness(1.1); }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,15,28,0.97); align-items: center; justify-content: center;
  flex-direction: column;
}
#lightbox.open { display: flex; animation: fadeIn 0.3s; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
#lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px;
  border: 1px solid var(--outline); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--on-surface);
  font-size: 1.2rem; transition: 0.3s;
}
#lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border: 1px solid var(--outline); background: rgba(9,20,33,0.7);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--on-surface); font-size: 1.5rem; transition: 0.3s;
}
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
#lightbox-prev { left: 1.5rem; }
#lightbox-next { right: 1.5rem; }

/* ── Brand Page Hero ── */
.brand-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.brand-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.brand-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(9,20,33,0.9) 0%, rgba(9,20,33,0.4) 40%, transparent 100%),
              linear-gradient(to top, rgba(9,20,33,1) 0%, transparent 30%);
}
.brand-hero-content { position: relative; z-index: 2; max-width: 600px; }
.brand-logo-hero { height: 60px; filter: brightness(0) invert(1); margin-bottom: 2rem; object-fit: contain; }

/* ── Products Grid ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; }
.product-card { background: var(--surface); overflow: hidden; }
.product-card-img { aspect-ratio: 1; overflow: hidden; background: var(--surface-high); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-info { padding: 1.5rem; }
.product-card-info .label { margin-bottom: 0.5rem; font-size: 0.65rem; }
.product-card-info h4 { font-family: var(--font-serif); margin-bottom: 0.5rem; }
.product-card-info p { font-size: 0.9rem; }

/* ── About / Text Pages ── */
.text-content { max-width: 800px; }
.text-content h3 { font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--on-surface); }
.text-content h3:first-child { margin-top: 0; }
.text-content p { margin-bottom: 1.5rem; }
.text-content ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.text-content ul li { padding-left: 1.5rem; position: relative; color: var(--on-surface-muted); line-height: 1.75; }
.text-content ul li::before { content: ''; position: absolute; left: 0; top: 0.75rem; width: 6px; height: 1px; background: var(--gold); }

/* ── Values Cards ── */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 4rem; }
.value-card { background: var(--surface); padding: 3rem; border-top: 1px solid var(--outline-variant); transition: border-color 0.3s; }
.value-card:hover { border-top-color: var(--gold); }
.value-card h4 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 1rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1px; }
.contact-info { background: var(--surface); padding: clamp(3rem, 6vw, 5rem); }
.contact-info h2 { margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2.5rem; }
.contact-icon { width: 44px; height: 44px; border: 1px solid var(--outline-variant); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: 1rem; }
.contact-item h4 { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.contact-item p, .contact-item a { color: var(--on-surface-muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--gold); }
.contact-map { background: var(--surface-high); min-height: 500px; }
.contact-map iframe { width: 100%; height: 100%; border: none; min-height: 500px; filter: invert(90%) hue-rotate(180deg) brightness(0.9) saturate(0.7); }

/* ── Coming Soon ── */
.coming-soon {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 80px;
}
.coming-soon-inner { max-width: 500px; }
.coming-soon-inner h1 { margin-bottom: 1.5rem; }
.coming-soon-inner p { margin-bottom: 3rem; }
.coming-soon-badge {
  display: inline-block; border: 1px solid var(--gold-dim);
  padding: 0.5rem 1.5rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
}

/* ── Footer ── */
footer {
  background: var(--surface); border-top: 1px solid var(--outline-variant);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 4rem; margin-bottom: 4rem;
}
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9rem; max-width: 260px; }
.footer-col h5 { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--on-surface-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--outline-variant); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--outline); }
.footer-bottom a { color: var(--gold-dim); }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-img { min-height: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(9,20,33,0.98); padding: 6rem 2rem 2rem; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--outline-variant); display: block; }
  .dropdown-menu { position: static; border: none; background: transparent; backdrop-filter: none; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 0.5rem 1rem; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .showroom-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
}
