/* ============================================
   Culture Origins — one-page static site
   Palette extracted from brand reference:
   Terracotta #D0441D | Olive #474000 | Tan #8B8050
   ============================================ */

:root {
  --terracotta: #D0441D;
  --terracotta-dark: #A8360F;
  --olive: #474000;
  --olive-light: #5C5416;
  --tan: #8B8050;
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --ink: #26200F;
  --ink-soft: #5B5340;

  --font-display: 'Urbanist', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Caveat', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(38, 32, 15, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--terracotta-dark);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 6px;
  border-radius: 6px;
}

.lang-btn.active { color: var(--terracotta-dark); background: rgba(208, 68, 29, 0.1); }
.lang-sep { color: rgba(38,32,15,0.3); }

/* ============ HERO ============ */
.hero {
  min-height: 88vh;
  background-size: cover;
  background-position: center 25%;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.hero .eyebrow { color: #F4C9A8; }

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(52px, 9vw, 92px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero-sub {
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.hero-sub2 {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid var(--terracotta);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: transparent;
  border-color: #fff;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 28px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }

.section-terracotta {
  background: linear-gradient(135deg, var(--terracotta-dark), var(--terracotta) 70%);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-col.reverse .col-media { order: 2; }
.two-col.reverse .col-text { order: 1; }

.rounded-img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(38,32,15,0.18);
}

.eyebrow-dark { color: var(--terracotta-dark); }
.eyebrow-light { color: rgba(255,255,255,0.85); }

.section h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--ink);
}

.light-heading { color: #fff !important; }
.light-text { color: rgba(255,255,255,0.92) !important; }

.section-lead {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 8px;
}

.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ CATEGORY GRID ============ */
.category-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 10px 30px rgba(38,32,15,0.12);
  transition: transform 0.3s ease;
}

.category-card:hover { transform: translateY(-6px); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 10px 12px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(38,32,15,0) 0%, rgba(38,32,15,0.75) 75%);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--olive);
  color: rgba(255,255,255,0.85);
  padding: 72px 28px 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #E8C9A0;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #fff; }

.growit-link {
  font-weight: 700;
  color: #F4C9A8 !important;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.social-links a:hover { background: var(--terracotta); }

.footer-bottom {
  background: var(--tan);
  padding: 18px 28px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(38,32,15,0.85);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse .col-media { order: 1; }
  .two-col.reverse .col-text { order: 2; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 64px 20px; }
}

@media (max-width: 520px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 56px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category-card { transition: none; }
}
