/* ═══════════════════════════════════════════════════════════
   Natura Laut Megah — styles.css
   ═══════════════════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  --deep-teal:   #0d2b2e;
  --sea-green:   #1a4a40;
  --leaf:        #2d7a5e;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --text-light:  rgba(245,240,232,0.82);
}

/* ─── BASE ─── */
html, body {
  height: 100%;
  font-family: 'Jost', sans-serif;
  background: var(--deep-teal);
  color: var(--cream);
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
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: 80px;
  /*background: linear-gradient(180deg, rgba(13,43,46,0.97) 0%, rgba(13,43,46,0.0) 100%);*/
  background-color: var(--cream);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(13,43,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}

/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 46px; height: 46px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { line-height: 1; }
.logo-text .name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  color: var(--deep-teal);
  display: block;
}
.logo-text .tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-teal);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-teal);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 9px 22px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--deep-teal); }

/* ═══════════════════════════════════════════════════════════
   HERO / CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide.prev   { opacity: 0; z-index: 0; }

/* ─── SLIDE BACKGROUNDS (Unsplash) ─── */
/*obsolte 
.slide-1 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.55) 0%, rgba(13,43,46,0.22) 60%, rgba(13,43,46,0.72) 100%),
    url('https://images.unsplash.com/photo-1581092583537-20d51b4b4f1b?w=1920&q=85&fit=crop');
}*/
.slide-1 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.55) 0%, rgba(13,43,46,0.22) 60%, rgba(13,43,46,0.72) 100%),
    url('/assets/GLYCERINE_PLANT_AI.png');
}
/*obsolete
.slide-2 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.55) 0%, rgba(13,43,46,0.22) 60%, rgba(13,43,46,0.72) 100%),
    url('https://images.unsplash.com/photo-1474511320723-9a56873867b5?w=1920&q=85&fit=crop');
}
   
.slide-3 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.42) 0%, rgba(13,43,46,0.18) 60%, rgba(13,43,46,0.70) 100%),
    url('https://images.unsplash.com/photo-1504701954957-2010ec3bcec1?w=1920&q=85&fit=crop');
}*/
.slide-2 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.55) 0%, rgba(13,43,46,0.22) 60%, rgba(13,43,46,0.72) 100%),
    url('/assets/CHARCOAL_KILN_AI.png');
}
.slide-3 {
  background-image:
    linear-gradient(160deg, rgba(13,43,46,0.55) 0%, rgba(13,43,46,0.22) 60%, rgba(13,43,46,0.72) 100%),
    url('/assets/SARGASSUM_HARVEST.jpeg');
}
/* ─── HERO OVERLAY ─── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13,43,46,0.90) 0%, transparent 45%),
    linear-gradient(to right, rgba(13,43,46,0.60) 0%, transparent 55%);
  z-index: 2;
  pointer-events: none;
}

/* ─── HERO CONTENT ─── */
.hero-content {
  position: absolute;
  bottom: 130px;
  left: 80px;
  z-index: 3;
  max-width: 620px;
}

.slide-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s 0.3s, transform 0.7s 0.3s;
}
.slide.active .slide-label { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s 0.5s, transform 0.8s 0.5s;
}
.slide.active .hero-title { opacity: 1; transform: translateY(0); }
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-top: 22px;
  max-width: 440px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s 0.75s, transform 0.8s 0.75s;
}
.slide.active .hero-sub { opacity: 1; transform: translateY(0); }

/* ─── CAROUSEL CONTROLS ─── */
.carousel-controls {
  position: absolute;
  bottom: 52px;
  left: 80px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ctrl-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.45);
  background: rgba(13,43,46,0.4);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.ctrl-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
}
.ctrl-btn svg { width: 18px; height: 18px; }

.dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dot {
  width: 24px; height: 2px;
  background: rgba(201,168,76,0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.dot.active {
  width: 44px;
  background: var(--gold);
}

.slide-counter {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(201,168,76,0.7);
}

/* ─── PRODUCT TAGS (right side) ─── */
.product-tags {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-tag {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  cursor: default;
  transition: color 0.3s;
  padding: 6px 0;
  border-left: 1px solid rgba(201,168,76,0.18);
  padding-left: 8px;
}
.p-tag.active-tag,
.p-tag:hover {
  color: var(--gold-light);
  border-left-color: var(--gold);
}

/* ─── PROGRESS BAR ─── */
.progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 5;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── SCROLL HINT ─── */
.scroll-hint {
  position: absolute;
  bottom: 56px;
  right: 60px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
}
.scroll-hint span {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
  background: var(--deep-teal);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.14;
  color: var(--cream);
}
.about-headline em { font-style: italic; color: var(--gold-light); }

.gold-line {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 28px 0;
}
.about-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-light);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(201,168,76,0.18);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.8rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════════════════════ */
.products {
  background: var(--sea-green);
  padding: 80px;
}
.section-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.12);
}
.product-card {
  background: var(--sea-green);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.product-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.product-card:hover { background: rgba(26,74,64,0.85); }
.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
  display: block;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.product-desc {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-light);
}
.product-spec {
  margin-top: 24px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(201,168,76,0.22);
  padding-top: 18px;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--deep-teal);
  padding: 100px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.cta-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--cream);
}
.cta-text h2 em { font-style: italic; color: var(--gold-light); }
.cta-text p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.86rem;
  color: var(--text-light);
  margin-top: 16px;
  max-width: 420px;
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.btn-primary {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--deep-teal);
  padding: 16px 38px;
  text-decoration: none;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.3);
  padding: 16px 38px;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: #070f10;
  padding: 48px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-copy {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(245,240,232,0.35);
}
.footer-location {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
