@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7; /* Apple-style light gray */
  --bg-tertiary: #FDFCF0; /* Light beige for warmth */
  
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  
  /* Brand Accents */
  --accent-citrus: #FFA700;
  --accent-lemon: #FFDF00;
  --accent-currant: #B41E3A;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --section-padding: 8rem 2rem;
}

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

html {
  scroll-behavior: auto; /* Managed by GSAP/Lenis usually, keep auto for native as baseline */
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Base Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  padding: var(--section-padding);
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: var(--max-width);
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--accent-citrus);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Utility Backgrounds & Text */
.bg-secondary { background-color: var(--bg-secondary); }
.center { text-align: center; }
.highlight {
  background: linear-gradient(120deg, var(--accent-citrus), var(--accent-currant));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight-text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
}

/* Sections */
.section-header {
  margin-bottom: 4rem;
}
.section-desc {
  max-width: 600px;
  margin: 1.5rem 0;
}
.center .section-desc {
  margin: 1.5rem auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin: 1.5rem 0 2.5rem;
  color: var(--text-secondary);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-bottle {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  will-change: transform;
}

/* Story Section */
.story-container {
  max-width: 800px;
  text-align: center;
}
.story-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Flavors Section */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--bg-primary);
  border-radius: 32px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-image-wrapper {
  height: 400px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-bottle {
  max-height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-bottle {
  transform: scale(1.05);
}

.flavor-notes {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Production Section */
.production-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.prod-text, .prod-visual {
  flex: 1;
}

.quality-list {
  list-style: none;
  margin-top: 2rem;
}

.quality-list li {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quality-list li::before {
  content: '✓';
  color: var(--accent-citrus);
  font-weight: bold;
}

/* Interactive Section */
.interactive-section {
  height: 200vh; /* For scroll pinning */
  position: relative;
  overflow: hidden;
}

.container-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: sticky;
  top: 0;
}

.interactive-canvas {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin-top: 2rem;
}

.floating-bottle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-height: 400px;
  opacity: 0; 
  /* GSAP will animate this */
}

.float-fruit {
  position: absolute;
  font-size: 4rem;
  opacity: 0;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.f1 { top: 20%; left: 20%; }
.f2 { top: 70%; right: 20%; font-size: 5rem; }
.f3 { top: 30%; right: 30%; font-size: 3rem; }

/* Contact & Footer */
.contact-container {
  max-width: 600px;
}

.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input, .form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.footer {
  padding: 4rem 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-container, .production-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-section {
    padding-top: 6rem;
  }
  h1 { font-size: 3.5rem; }
  .nav-links { display: none; /* simple hidden for mobile, can add hamburger later */ }
}
