/*==================================================
THE HERITAGE PAANLEAF - Master Luxury Edition
==================================================*/

:root {
  --emerald: #0d2d28;
  --emerald-dark: #0b2319;
  --emerald-light: #143f38;
  --cream: #f8f5ef;
  --gold: #c7a15b;
  --gold-light: #e5ca93;
  --dark: #081613;
  --text: #3d3d3d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: min(1320px, 92%);
  margin: auto;
}

/*==================================================
Navigation
==================================================*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 999;
  transition: .45s;
  background: rgba(8, 22, 19, 0.4);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(8, 22, 19, 0.95);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: min(1380px, 92%);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Enlarged Brand Logo & Text */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  height: 140px;
  width: auto;
  transition: 0.3s ease;
  object-fit: contain;
}

.navbar.scrolled .brand img {
  height: 110px;
}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  position: relative;
  transition: .35s;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: .45s;
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after {
  width: 100%;
}

/* WhatsApp Nav Link Accent */
nav a.nav-wa-btn {
  color: var(--gold);
  font-weight: 600;
  border: 1px solid var(--gold);
  padding: 8px 18px;
  border-radius: 4px;
}

nav a.nav-wa-btn::after {
  display: none;
}

nav a.nav-wa-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.35s ease;
}

/*==================================================
Hero Section
==================================================*/

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(130deg, #081613, #0d2d28);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 40%, rgba(199,161,91,.12), transparent 42%);
}

.hero-container {
  width: min(1380px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-left {
  color: white;
}

.hero-subtitle {
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 25px;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 100px;
  font-weight: 600;
  line-height: .92;
  letter-spacing: -3px;
}

.hero-left h1 span {
  display: block;
  margin: 14px 0;
  color: var(--gold);
}

.hero-copy {
  margin-top: 35px;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.8;
  color: #d8d1c5;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  margin-top: 45px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 18px 42px;
  border: 1px solid var(--gold);
  color: white;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: .4s;
  isolation: isolate;
  z-index: 1;
  cursor: pointer;
}

.btn-primary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: .65s;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  color: var(--dark);
}

/* Hero Image */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right img {
  width: 95%;
  filter: drop-shadow(0 50px 80px rgba(0,0,0,.45));
  transition: .7s;
}

.hero-right img:hover {
  transform: translateY(-10px) scale(1.03);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: var(--gold);
}

/*==================================================
Common & Pattern Backgrounds
==================================================*/

section {
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 25px;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 600;
  margin-top: 15px;
  line-height: 1.15;
  color: var(--emerald);
}

.section-title.light h2 {
  color: white;
}

.section-title p {
  max-width: 700px;
  margin: 25px auto 0;
  color: #ddd5c8;
  font-size: 18px;
}

/* 10% Opacity Custom Packaging Vine Pattern Overlay (Zoomed 30% to 455px) */
.beginning,
.collection,
.legacy {
  position: relative;
  overflow: hidden;
}

.beginning::before,
.collection::before,
.legacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/packaging-pattern.jpg");
  background-repeat: repeat;
  background-size: 1000px; /* Zoomed 30% larger */
  opacity: 0.10; /* Exactly 10% opacity */
  pointer-events: none;
  z-index: 1;
}

.beginning .container,
.collection .container,
.legacy .container {
  position: relative;
  z-index: 2;
}

/*==================================================
THE BEGINNING (Version 2 Structure)
==================================================*/

.beginning {
  background: #f7f2e8;
  padding: 160px 0;
}

.beginning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.beginning-image img {
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}

.beginning-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: var(--emerald);
  margin-bottom: 30px;
  line-height: 1.2;
}

.beginning-content p {
  color: #444;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 22px;
}

.beginning-content .highlight-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--emerald);
  line-height: 1.6;
  margin-top: 30px;
}

/*==================================================
THE CRAFT (Version 2 Structure)
==================================================*/

.craft {
  background: var(--emerald);
  padding: 160px 0;
  color: white;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.craft-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  overflow: hidden;
  transition: .4s;
}

.craft-card:hover {
  transform: translateY(-12px);
}

.craft-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.craft-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  margin: 30px 30px 15px;
}

.craft-card p {
  margin: 0 30px 35px;
  color: #d7cfbf;
  line-height: 1.8;
}

/*==================================================
THE EXPERIENCE (Clean Deep Emerald #0b2319)
==================================================*/

.experience {
  position: relative;
  padding: 180px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--emerald-dark); /* Exact same color as footer */
}

.experience-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  color: white;
  margin: auto;
}

.experience-content span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
}

.experience-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  margin: 25px 0;
  line-height: 1.1;
}

.experience-content p {
  font-size: 22px;
  color: #ece4d5;
  line-height: 1.8;
  max-width: 720px;
  margin: auto;
}

/*==================================================
COLLECTION (Version 1 Editorial Layout)
==================================================*/

.collection {
  padding: 180px 0;
  background: #f7f2e8;
}

.collection-header {
  text-align: center;
  margin-bottom: 120px;
}

.collection-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--emerald);
  margin: 18px 0;
}

.collection-header p {
  font-size: 20px;
  max-width: 650px;
  margin: auto;
  line-height: 1.8;
  color: #666;
}

.collection-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 140px;
}

.collection-item.reverse {
  direction: rtl;
}

.collection-item.reverse .collection-content {
  direction: ltr;
}

.collection-photo img {
  height: 550px;
  object-fit: cover;
  border-radius: 22px;
  transition: .5s;
}

.collection-photo img:hover {
  transform: translateY(-8px);
}

.collection-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
  color: var(--emerald);
  margin-bottom: 25px;
}

.collection-content p {
  font-size: 20px;
  line-height: 2;
  color: #555;
  max-width: 500px;
}

/*==================================================
PACKAGING EXPERIENCE
==================================================*/

.packaging {
  position: relative;
  padding: 180px 0;
  background: var(--emerald);
  overflow: hidden;
  color: white;
}

.packaging-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.packaging-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 76px;
  line-height: 1.05;
  margin: 25px 0 40px;
  color: white;
}

.packaging-left p {
  font-size: 20px;
  line-height: 2;
  max-width: 520px;
  color: #ddd5c8;
}

.packaging-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.packaging-right img {
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(0,0,0,.30);
  transition: .6s;
}

.packaging-right img:hover {
  transform: translateY(-12px);
}

/*==================================================
THE LEGACY
==================================================*/

.legacy {
  padding: 180px 0;
  background: #f7f2e8;
}

.legacy-header {
  text-align: center;
  margin-bottom: 120px;
}

.legacy-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 78px;
  color: var(--emerald);
  margin: 18px 0;
}

.legacy-copy {
  max-width: 800px;
  margin: auto;
  font-size: 20px;
  line-height: 1.9;
  color: #444;
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: auto;
  padding-left: 120px;
}

.timeline-line {
  position: absolute;
  left: 55px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 120px;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 18px;
}

.timeline-dot {
  position: absolute;
  left: 46px;
  top: 18px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  border: 5px solid var(--cream);
}

.timeline-content {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.10);
}

.timeline-content img {
  height: 320px;
  object-fit: cover;
}

.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  margin: 30px;
  color: var(--emerald);
}

.timeline-content p {
  margin: 0 30px 35px;
  line-height: 1.9;
  color: #666;
}

/*==================================================
VISIT HERITAGE
==================================================*/

.visit {
  padding: 180px 0;
  background: linear-gradient(135deg, #081613, #0d2d28);
  text-align: center;
  color: white;
}

.visit h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 78px;
  line-height: 1.05;
  margin: 25px 0;
}

.visit p {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 20px;
  line-height: 2;
  color: #ddd5c8;
}

.visit-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/*==================================================
FOOTER (Address Removed, Emerald #0b2319 Background)
==================================================*/

.footer {
  background: #071310;
  padding: 90px 0 50px;
  color: white;
}

.footer-logo {
  width: 250px; /* Doubled in size */
  height: auto;
  margin-bottom: 30px;
  object-fit: contain;
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns */
  gap: 50px;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.footer-grid h4 {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: #cfc7bc;
  margin-bottom: 12px;
  line-height: 1.8;
  transition: .3s;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width: 1200px) {
  .brand-text {
    font-size: 18px;
  }
}

@media(max-width: 992px) {
  .brand-text {
    display: none; /* Hide text on smaller mobile screens for space */
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--dark);
    padding: 100px 40px 40px;
    gap: 30px;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  nav.active {
    right: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-container,
  .beginning-grid,
  .craft-grid,
  .collection-item,
  .packaging-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .collection-item.reverse {
    direction: ltr;
  }

  .packaging-right {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline-line,
  .timeline-dot {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 70px;
  }

  .section-title h2,
  .collection-header h2,
  .packaging-left h2,
  .legacy-header h2,
  .visit h2,
  .experience-content h2 {
    font-size: 54px;
  }
}

@media(max-width: 576px) {
  .brand img {
    height: 100px;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .hero-buttons,
  .visit-buttons {
    flex-direction: column;
  }

  .hero-copy,
  .beginning-content p,
  .collection-content p,
  .packaging-left p,
  .visit p {
    font-size: 16px;
  }

  .footer-logo {
    width: 220px;
  }
}

