/* ============================================================
   KUMOWEAVE ORGANICS — PREMIUM DESIGN SYSTEM
   ============================================================ */

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

:root {
  /* Colors from Live Site Analysis */
  --bg-main: oklch(0.928 0.037 75); /* #EAE3D6 Warm Beige */
  --fg-dark: oklch(0.21 0.013 55); /* #33332F Dark Gray */
  --brand-primary: rgb(79, 107, 74); /* #4F6B4A Forest Green */
  --brand-secondary: rgb(122, 92, 62); /* #7A5C3E Earth Brown */
  --brand-muted: rgba(122, 92, 62, 0.4);
  --white: #ffffff;
  --overlay-dark: rgba(30, 20, 10, 0.35);
  --modal-bg: oklch(0.18 0.045 145); /* Deep Dark Forest Green */

  /* Spacing & Radii */
  --nav-h: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --container: 1280px;
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--fg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageLoad 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes pageLoad {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { display: block; max-width: 100%; border-radius: var(--radius-md); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.1; }
button { cursor: pointer; border: none; background: none; font-family: inherit; transition: var(--transition-fast); }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--brand-muted); border-radius: 10px; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(234, 227, 214, 0.85); /* Blurred bg-main */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(122, 92, 62, 0.08);
  transition: all var(--transition-smooth);
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.05); }
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  height: 100%; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: rgba(51, 51, 47, 0.7);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg-dark); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.cart-trigger { position: relative; color: var(--fg-dark); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--brand-primary); color: white;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 0.65rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* --- Hero --- */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); animation: zoomOut 15s forwards;
}
@keyframes zoomOut { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 70%);
}
.hero-content {
  max-width: var(--container); margin: 0 auto;
  padding: 0 80px; color: var(--white);
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.5s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-content h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 24px; }
.hero-content p { font-size: 1.25rem; max-width: 500px; opacity: 0.9; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; }

/* --- Buttons --- */
.btn {
  padding: 16px 36px; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; display: inline-flex; align-items: center;
}
.btn-primary { background: var(--brand-primary); color: var(--white); }
.btn-primary:hover { background: #3d553a; transform: translateY(-4px); box-shadow: 0 12px 24px rgba(79, 107, 74, 0.25); }
.btn-outline { border: 1.5px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(255,255,255, 0.15); }

/* --- Section Helpers --- */
section { padding: 120px 40px; }
.section-intro { text-align: center; margin-bottom: 80px; }
.label-small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-secondary); margin-bottom: 12px; display: block; }

/* --- Values --- */
.values-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
}
.value-item { text-align: center; }
.value-icon { font-size: 2rem; color: var(--brand-primary); margin-bottom: 20px; }
.value-item h3 { margin-bottom: 16px; font-size: 1.5rem; }
.value-item p { color: rgba(51, 51, 47, 0.7); font-size: 0.95rem; }

/* --- Collections --- */
.collections-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.collection-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 0.8; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.collection-card:hover img { transform: scale(1.1); }
.collection-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: var(--white); transform: translateY(10px); transition: transform 0.4s;
}
.collection-card:hover .collection-info { transform: translateY(0); }
.collection-info h3 { font-size: 1.5rem; margin-bottom: 4px; }
.collection-info span { font-size: 0.9rem; border-bottom: 1px solid var(--white); padding-bottom: 2px; }

/* --- Mission --- */
.mission { background: rgba(122, 92, 62, 0.03); }
.mission-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.mission-text h2 { font-size: 3.5rem; margin-bottom: 30px; }
.mission-text p { font-size: 1.1rem; color: var(--fg-dark); opacity: 0.8; margin-bottom: 30px; }
.mission-img img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--radius-lg); }

/* --- Footer --- */
.footer { padding: 100px 40px 40px; background: var(--bg-main); border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px;
}
.footer-logo img { height: 40px; margin-bottom: 24px; }
.footer-links h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; color: var(--brand-secondary); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.95rem; opacity: 0.7; }
.footer-links a:hover { opacity: 1; color: var(--brand-primary); }

.newsletter h3 { margin-bottom: 20px; font-size: 1.25rem; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; border-radius: var(--radius-md); border: 1px solid var(--brand-muted);
  background: transparent; font-family: inherit; font-size: 0.95rem;
}
.newsletter-form button { background: var(--brand-primary); color: white; padding: 0 20px; border-radius: var(--radius-md); }

/* --- Modal Base --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000;
  display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.coming-soon-modal {
  background: var(--modal-bg); color: var(--white);
  padding: 60px 40px; border-radius: var(--radius-lg);
  width: 90%; max-width: 500px; text-align: center; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-close { 
  position: absolute; top: 20px; right: 20px; font-size: 1.5rem; 
  color: rgba(255,255,255,0.6); width: 36px; height: 36px; 
  background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border-radius: 20px;
  padding: 6px 16px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.coming-soon-modal h2 {
  font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1; margin-bottom: 24px;
  font-family: 'Playfair Display', serif; font-weight: 600;
}
.coming-soon-modal p {
  font-size: clamp(0.9rem, 3vw, 1.1rem); opacity: 0.8; margin-bottom: 30px;
}
.modal-divider {
  border: 0; border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 24px;
}
.modal-brand {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; opacity: 0.6;
}
/* --- Reveal on Scroll --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--transition-smooth); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .mission-inner { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-content { padding: 0 40px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 768px) {
  .values-grid, .collections-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-content h1 { font-size: 3.5rem; }
}

/* --- Cool New Transitions --- */
.product-card {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.product-card img, .collection-card img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}
.product-card:hover img, .collection-card:hover img {
  transform: scale(1.05);
}

.cart-trigger { transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.cart-trigger:hover { transform: scale(1.1); }

