/* =============================================
   ODYSSEY — Premium Olive Oil
   Design System: Dark charcoal + Olive green
   ============================================= */

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

:root {
  --green:      #7bc23a;
  --green-dark: #5a9028;
  --green-logo: #8aaa3c;
  --dark:       #171715;
  --dark-2:     #1e1e1c;
  --dark-3:     #252522;
  --cream:      #f4efe6;
  --cream-2:    #e8e1d4;
  --white:      #ffffff;
  --muted:      #9a9488;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Raleway', system-ui, sans-serif;

  --radius: 4px;
  --transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* ---- UTILITIES ---- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

h2 em {
  font-style: italic;
  color: var(--green);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(123,194,58,0.06);
}

.btn--green {
  background: var(--green);
  color: var(--dark);
  border: 1px solid var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ---- SCROLL REVEAL ---- */

.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal        { transform: translateY(30px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(23,23,21,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.nav__logo-icon {
  height: 44px;
  width: auto;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--green-logo);
  margin-top: 1px;
  transition: opacity 0.25s;
}
.nav__logo:hover .nav__logo-name { opacity: 0.75; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--green); }

.nav__cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(123,194,58,0.5) !important;
  border-radius: var(--radius);
  color: var(--green) !important;
}
.nav__cta:hover { background: rgba(123,194,58,0.1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 1.2rem; }
.nav__mobile a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.nav__mobile a:hover { color: var(--green); }
.nav__mobile.open { display: block; }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(90,144,40,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(123,194,58,0.05) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.hero__content {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}
.hero__title em {
  font-style: italic;
  color: var(--green);
}

.hero__sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  max-width: 440px;
}

.hero__sub--detail {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(123,194,58,0.6);
  margin-top: -0.4rem;
}

.hero__flame {
  position: relative;
  flex-shrink: 0;
  width: min(38vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__flame-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: flameBreathe 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(123,194,58,0.25));
  position: relative;
  z-index: 2;
}

.hero__flame-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123,194,58,0.18) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes flameBreathe {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(123,194,58,0.2));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 60px rgba(123,194,58,0.45));
  }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8) translateY(0); }
  50%       { opacity: 1;   transform: scaleY(1)   translateY(8px); }
}

/* ============================================
   STORY
   ============================================ */

.story {
  padding: 1.5rem 0 6rem;
  background: var(--dark-2);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.story__image {
  position: relative;
}

.story__image img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

.story__image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  background: var(--green);
  color: var(--dark);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-sans);
}
.story__image-badge span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
}
.story__image-badge strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.story__text h2 { margin-top: 0.2rem; }

.story__text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}
.story__text p strong { color: var(--cream); font-weight: 500; }

.story__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green);
}
.stat span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   PRODUCTS
   ============================================ */

.products {
  padding: 8rem 0;
  background: var(--dark);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  border-color: rgba(123,194,58,0.3);
  transform: translateY(-4px);
}

.product-card__img {
  background: var(--dark-2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 3rem 2rem 0;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.product-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(123,194,58,0.08), transparent 70%);
}

.product-card__img img {
  height: 320px;
  width: auto;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img {
  transform: translateY(-8px) scale(1.03);
}

.product-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--white);
}

.product-card__volume {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.product-card__tags span {
  padding: 0.3rem 0.9rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(123,194,58,0.25);
  border-radius: 999px;
  color: var(--green);
}

/* ============================================
   LABEL STRIP
   ============================================ */

.label-strip {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.label-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6rem;
  align-items: center;
}

.label-strip__img {
  width: 160px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.label-strip__text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.label-strip__facts {
  display: flex;
  gap: 3rem;
}

.label-strip__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.label-strip__facts strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
}
.label-strip__facts span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.label-strip__note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  font-style: italic;
  border-left: 2px solid rgba(123,194,58,0.3);
  padding-left: 1rem;
}

/* ============================================
   VALUES
   ============================================ */

.values {
  padding: 8rem 0;
  background: var(--dark);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.value-card:hover {
  border-color: rgba(123,194,58,0.2);
  background: rgba(123,194,58,0.03);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  color: var(--green);
}
.value-card__icon svg { width: 100%; height: 100%; }

.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  padding: 8rem 0;
  background: var(--dark-2);
  text-align: center;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__inner p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 440px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.footer__brand-icon {
  height: 44px;
  width: auto;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--green-logo);
  margin-top: 1px;
}

.footer__logo p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: 2rem;
}
.footer__nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.footer__nav a:hover { color: var(--green); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(154,148,136,0.5);
}

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

@media (max-width: 1024px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__bottle { width: min(42vw, 380px); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__inner {
    flex-direction: column;
    padding: 6rem 2rem 3rem;
    gap: 2rem;
  }
  .hero__content { max-width: 100%; }
  .hero__flame { width: 55vw; }
  .hero__title { font-size: clamp(2.6rem, 10vw, 4rem); }

  .story { padding: 5rem 0; }
  .story__grid { grid-template-columns: 1fr; gap: 3rem; }
  .story__image { display: none; }

  .products__grid { grid-template-columns: 1fr; }
  .product-card__img { min-height: 280px; }
  .product-card__img img { height: 240px; }

  .label-strip__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
  }
  .label-strip__img { width: 120px; margin: 0 auto; }
  .label-strip__facts { flex-wrap: wrap; gap: 1.5rem; }

  .values__grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .story__stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero__content { padding-bottom: 55vw; }
}
