/* =====================
   CSS VARIABLES
===================== */
:root {
  --cream: #f7f3ec;
  --parchment: #ede8de;
  --sage: #6b7c5c;
  --sage-dark: #4e5c42;
  --sage-light: #dde5d4;
  --brown: #7a5c3a;
  --brown-light: #c4a882;
  --text: #2e2a24;
  --text-muted: #7a7168;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* =====================
   SCROLL ANIMATIONS
===================== */
section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
section.visible {
  opacity: 1;
  transform: none;
}

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border: 2px solid var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,124,92,0.3);
}

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

/* =====================
   SECTION HELPERS
===================== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* =====================
   HEADER
===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-leaf {
  font-size: 1.5rem;
  color: var(--sage);
}

.logo h1 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.logo .tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--sage); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 24px 16px;
  gap: 4px;
  background: rgba(247, 243, 236, 0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--parchment);
  letter-spacing: 0.05em;
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  overflow: hidden;
  background: var(--sage-light);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(107,124,92,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196,168,130,0.15) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b7c5c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s ease forwards;
}

.hero-badge {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  opacity: 0;
  animation: fadeUp 0.8s 1s ease forwards;
}

/* =====================
   SHOP
===================== */
.shop {
  padding: 100px 0;
  background: var(--cream);
}

.shop-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 40px;
  background: var(--parchment);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.shop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,124,92,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,124,92,0.2);
}
.shop-card:hover::before { opacity: 1; }

.shop-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.shop-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.shop-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  flex: 1;
}
.shop-card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.shop-card:hover .shop-card-cta { color: var(--sage-dark); }

/* =====================
   ABOUT
===================== */
.about {
  padding: 100px 0;
  background: var(--parchment);
}

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

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: var(--sage-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px dashed rgba(107,124,92,0.3);
  overflow: hidden;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* =====================
   GALLERY
===================== */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--parchment);
  aspect-ratio: 1;
  position: relative;
}
.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gallery-item img {
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

/* Placeholder if no image */
.gallery-item:not(:has(img[src])),
.gallery-item img[src="images/img4.jpg"] {
  background: var(--sage-light);
}

/* =====================
   CONTACT
===================== */
.contact {
  padding: 100px 0;
  background: var(--sage);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
}

.contact .section-label { color: var(--brown-light); }
.contact .section-title { color: var(--white); }
.contact p { color: rgba(255,255,255,0.8); margin-bottom: 36px; }

.contact .btn-primary {
  background: var(--white);
  color: var(--sage);
  border-color: var(--white);
}
.contact .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.social-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.social-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: var(--sage-dark);
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 500px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-copy { margin-top: 24px !important; font-size: 0.78rem !important; }

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 80vh; padding: 60px 20px 40px; }
  .hero-headline { font-size: 2.8rem; }

  .shop-cards { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image-placeholder { aspect-ratio: 3/2; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }

  .section-inner { padding: 0 20px; }
  .shop, .about, .gallery, .contact { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-badge { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
}
