/* SOOID showcase site — base styles */

:root {
  --color-bg: #f7f3ec;
  --color-bg-alt: #ffffff;
  --color-text: #2b241d;
  --color-text-muted: #6b6157;
  --color-accent: #3c2a1e;
  --color-border: #e5ddd0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a:hover { color: var(--color-text-muted); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--color-text-muted);
}

.lang-switch a.active,
.lang-switch a:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-image {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image .img-placeholder { aspect-ratio: 16/9; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn:hover { opacity: 0.85; }

/* Section generic */
.section {
  padding: 72px 24px;
}

.section-alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

/* Ingredient cards */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.ingredient-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 32px;
}

.ingredient-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ingredient-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ingredient-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.ingredient-card .learn-more {
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  display: inline-block;
}

/* Product showcase (no price / no cart) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-card {
  text-align: center;
}

.product-card .img-placeholder {
  aspect-ratio: 1;
  border-radius: 14px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Image placeholder utility (swap for real <img> later) */
.img-placeholder {
  background: linear-gradient(135deg, #e9e1d3, #d8cdb9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  width: 100%;
}

/* Science page specifics */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stat-row .stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-row .stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg-alt);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--color-accent);
  color: #f2ece2;
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #cfc3b0;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #f2ece2;
  opacity: 0.85;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}
