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

:root {
  --bg:          #0a0a0a;
  --surface:     #111111;
  --text:        #ffffff;
  --text-dim:    rgba(255, 255, 255, 0.55);
  --glow-amber:  rgba(255, 185, 70, 0.18);
  --glow-warm:   rgba(255, 140, 40, 0.10);
  --accent:      rgba(255, 200, 100, 0.80);
  --nav-height:  72px;
  --font:        'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

/* ────────────────────────────────────────────
   Navbar
──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.48);
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  /* Tint the logo white if it's a dark SVG/PNG */
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ────────────────────────────────────────────
   Hero
──────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.45;
  transform: scale(1.3); /* slight scale so parallax doesn't show edges */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.30) 0%,
    rgba(10, 10, 10, 0.10) 50%,
    rgba(10, 10, 10, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-content p {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ────────────────────────────────────────────
   Product sticky-scroll sections
──────────────────────────────────────────── */

/* Tall wrapper — provides the scroll distance that drives the animation */
.product-scroll {
  height: 250vh;
  position: relative;
}

/* Sticky frame — pins in the viewport while user scrolls through the wrapper */
.product-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* Vignette — darkens edges */
.product-sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.50) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Warm radial glow behind the fixture */
.glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200vmax;
  height: 200vmax;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 200, 80, 0.36) 0%,
    rgba(255, 180, 65, 0.28) 10%,
    rgba(255, 160, 50, 0.20) 22%,
    rgba(255, 140, 40, 0.13) 34%,
    rgba(255, 120, 30, 0.07) 46%,
    rgba(255, 100, 25, 0.03) 58%,
    rgba(255, 90, 20, 0.01) 70%,
    rgba(255, 90, 20, 0.00) 80%
  );
  pointer-events: none;
  opacity: 1;
}

/* Fixture image */
.product-img.product-img--large {
  max-width: min(900px, 95vw);
  max-height: 95vh;
}

.product-img {
  position: relative;
  z-index: 2;
  max-width: min(720px, 90vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  will-change: transform;
}

/* ────────────────────────────────────────────
   Product label — opacity driven by JS scroll
──────────────────────────────────────────── */
.product-label {
  position: absolute;
  right: 33vw;
  bottom: calc(14vh + 64px);
  z-index: 10;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  color: #ffffff;
  letter-spacing: 0.06em;
  text-align: right;
  pointer-events: none;
  opacity: 0;
}

/* ────────────────────────────────────────────
   EXPLORE button — opacity driven by JS scroll
──────────────────────────────────────────── */
.explore-btn {
  position: absolute;
  bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  opacity: 0;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.explore-btn:hover {
  color: #fff;
  border-color: rgba(255, 200, 100, 0.80);
  background: rgba(255, 185, 70, 0.08);
  box-shadow:
    0 0 20px rgba(255, 190, 80, 0.25),
    inset 0 0 20px rgba(255, 190, 80, 0.06);
}

/* ────────────────────────────────────────────
   Footer
──────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.70rem;
  letter-spacing: 0.12em;
}

/* ────────────────────────────────────────────
   Product page (products/*.html)
──────────────────────────────────────────── */
.product-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-bottom: 80px;
}

.product-page .product-image-hero {
  max-width: min(560px, 80vw);
  height: auto;
  filter:
    drop-shadow(0 0 40px rgba(255, 200, 100, 0.55))
    drop-shadow(0 0 100px rgba(255, 150, 50, 0.30));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.product-page .product-info {
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
}

.product-page .product-name {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.product-page .product-description {
  font-size: 0.90rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ────────────────────────────────────────────
   Contact page
──────────────────────────────────────────── */
.contact-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-inner {
  width: min(560px, 90vw);
  padding: 60px 0;
}

.contact-inner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 48px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 190, 80, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 190, 80, 0.08);
}

.form-group textarea {
  min-height: 140px;
}

.submit-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  padding: 16px 44px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.submit-btn:hover {
  border-color: rgba(255, 200, 100, 0.80);
  background: rgba(255, 185, 70, 0.08);
  box-shadow: 0 0 20px rgba(255, 190, 80, 0.20);
}

/* ────────────────────────────────────────────
   Responsive
──────────────────────────────────────────── */
@media (max-width: 600px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .explore-btn {
    bottom: 10vh;
    padding: 12px 28px;
  }
}
