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

:root {
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --ease-custom: cubic-bezier(0.32, 0.72, 0, 1);
  --color-forest: #10b981; /* Emerald green highlight */
  --color-lake: #38bdf8; /* Sky/lake blue highlight */
  --color-volcano: #ffffff; /* Pure white */
}

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

body {
  font-family: var(--font-sans);
  background-color: #05140b; /* Rich deep forest background */
  color: #e2e8f0; /* Soft white/slate text for reading */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Base Editorial Typography */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
}

/* Custom transitions and animations */
.transition-custom {
  transition: all 800ms var(--ease-custom);
}

/* Grain Noise Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Bright cinematic overlay for background video (fresh green-blue mist) */
.video-overlay {
  background: radial-gradient(circle at center, rgba(5, 20, 11, 0.3) 0%, rgba(5, 20, 11, 0.75) 70%, rgba(5, 20, 11, 0.95) 100%),
              linear-gradient(to bottom, rgba(5, 20, 11, 0.2) 0%, rgba(5, 20, 11, 0.98) 100%);
}

/* Double-Bezel Architecture - Ethereal Deep Glass */
.double-bezel-outer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: 2rem; /* 32px */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
              inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 800ms var(--ease-custom), border-color 800ms var(--ease-custom), box-shadow 800ms var(--ease-custom);
}

.double-bezel-inner {
  background: rgba(10, 26, 17, 0.85); /* Deep emerald inner core */
  border-radius: calc(2rem - 8px); /* 24px */
  height: 100%;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
  transition: background 800ms var(--ease-custom);
}

.double-bezel-outer:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(56, 189, 248, 0.3); /* Sky blue highlight */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(56, 189, 248, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.double-bezel-outer:hover .double-bezel-inner {
  background: rgba(15, 38, 25, 0.9);
}

/* Reveal on scroll styling */
.reveal-element {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(8px);
  transition: opacity 1000ms var(--ease-custom), 
              transform 1000ms var(--ease-custom), 
              filter 1000ms var(--ease-custom);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom Glow Orbs for Lake/Forest Look */
.glow-orb {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Custom Hamburger Animation */
.hamburger-line {
  transition: transform 400ms var(--ease-custom), opacity 400ms var(--ease-custom);
}
.menu-open .hamburger-line-1 {
  transform: translateY(6px) rotate(45deg);
}
.menu-open .hamburger-line-2 {
  opacity: 0;
}
.menu-open .hamburger-line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

