@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-bg: #faf8f5;
  --color-text: #2d2926;
  --color-text-light: #6b635b;
  --color-accent: #7a6b5d;
  --color-accent-hover: #5e5047;
  --color-border: #e8e2db;
  --color-card-bg: #ffffff;
  --color-hero-overlay: rgba(45, 41, 38, 0.45);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1100px;
  --radius: 6px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent-hover); }

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

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

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.site-nav { display: flex; gap: 1.8rem; }

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav a:hover, .site-nav a.active { color: var(--color-text); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: .3s;
}

.menu-toggle span { top: 9px; }
.menu-toggle span::before { content: ''; top: -7px; }
.menu-toggle span::after { content: ''; top: 7px; }

/* HERO */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* SECTION */
.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card-image img { transform: scale(1.05); }

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--color-text-light);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ARTICLE PAGE */
.article-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,41,38,0.7) 0%, transparent 60%);
}

.article-hero-title {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  padding: 0 1.5rem;
  color: #fff;
  z-index: 2;
}

.article-hero-title h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.article-content p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
  font-size: 1rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.article-content strong { font-weight: 600; }

/* INFO BOXES */
.info-box {
  background: var(--color-card-bg);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.info-box p { margin-bottom: 0; color: var(--color-text-light); }

/* TYPE LIST (for bouquet subtypes) */
.type-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.type-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.type-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.type-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* NAV BACK */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.nav-back::before { content: '\2190'; }

/* FOOTER */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner a { color: rgba(255,255,255,0.8); }
.footer-inner a:hover { color: #fff; }

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

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.breadcrumb a { color: var(--color-accent); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { height: 380px; }
  .hero h1 { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .type-list { grid-template-columns: 1fr; }
  .article-hero { height: 280px; }
  .article-hero-title h1 { font-size: 1.8rem; }
  .article-content { padding: 2rem 1.5rem 3rem; }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    gap: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
}
