:root {
  --primary: #c9184a;
  --primary-dark: #a4133c;
  --accent: #ff4d6d;
  --soft: #ffccd5;
  --bg: #fff5f7;
  --surface: #ffffff;
  --text: #2d1b2e;
  --text-muted: #7a5c6e;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(201, 24, 74, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; padding: 16px 0; position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 1.5rem; font-weight: 700; color: white; text-decoration: none; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.9); }
.search-box input { padding: 8px 16px; border: none; border-radius: 24px; width: 220px; }

.hero {
  background: linear-gradient(135deg, #a4133c 0%, #ff8fa3 100%);
  color: white; padding: 80px 0; text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 16px; font-weight: 800; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 40px; }
.hero-stat strong { display: block; font-size: 2rem; }

.section { padding: 64px 0; }
.section-title { font-size: 2rem; margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 32px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.filter-card { width: 100%; border: 0; color: inherit; cursor: pointer; font: inherit; text-align: left; }
.filter-card.is-active { outline: 3px solid var(--accent); transform: translateY(-4px); }
.empty-state { grid-column: 1 / -1; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; color: var(--text-muted); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.scientific { font-style: italic; color: var(--text-muted); font-size: 0.85rem; }
.color-dots { display: flex; gap: 6px; margin-top: 8px; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #ddd; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; background: var(--soft); color: var(--primary-dark); margin-top: 8px; }

.detail-hero { position: relative; height: 420px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; padding: 48px 24px 32px;
}
.detail-content { padding: 48px 0; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.info-box { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.info-box h2 { font-size: 1.3rem; margin-bottom: 16px; color: var(--primary-dark); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fact-item { padding: 12px; background: var(--bg); border-radius: 8px; }
.fact-item label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); }
.fact-item p { font-weight: 600; margin-top: 4px; }
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.care-item { padding: 16px; background: var(--bg); border-radius: 8px; text-align: center; }
.care-item .icon { font-size: 2rem; margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid #f0e0e4; padding: 16px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 48px 0 24px; margin-top: 64px; }
.footer-bottom { text-align: center; font-size: 0.85rem; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .detail-grid, .care-grid, .facts-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}


/* AdSense legal and contact pages */
.legal-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 56px 0;
}
.legal-hero h1 { font-size: 2.5rem; margin-bottom: 8px; }
.legal-hero p { max-width: 760px; opacity: 0.92; font-size: 1.05rem; }
.legal-page { padding: 48px 0; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.legal-content .info-box h2 { margin-top: 8px; }
.legal-content .info-box h3 { margin: 20px 0 8px; color: var(--primary-dark); }
.legal-content .info-box p,
.legal-content .info-box li { margin-bottom: 10px; color: var(--text); }
.legal-content ul { padding-left: 20px; margin: 10px 0 18px; }
.legal-meta {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: 92px;
}
.legal-meta a { display: block; margin: 8px 0; font-weight: 600; }
.contact-form label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8e2ea;
  border-radius: 8px;
  font: inherit;
  background: white;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button,
.contact-actions button {
  margin-top: 16px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover,
.contact-actions button:hover { opacity: 0.9; }
.form-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.footer-legal a { color: rgba(255,255,255,0.85); font-weight: 600; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-meta { position: static; }
}

/* Flowers homepage redesign */
body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 204, 213, .55), transparent 24rem),
    radial-gradient(circle at 86% 22%, rgba(255, 214, 10, .22), transparent 20rem),
    #fffaf8;
}
.site-header { background: rgba(116, 28, 62, .9); backdrop-filter: blur(16px); }
.floral-hero {
  background: linear-gradient(135deg, #741c3e 0%, #c9184a 48%, #ffb3c1 100%);
  text-align: left;
  padding: 96px 0 120px;
  overflow: hidden;
}
.floral-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 54px; align-items: center; }
.floral-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -.05em; max-width: 780px; }
.floral-hero p { margin: 24px 0 0; max-width: 620px; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-weight: 900; color: #ffe5ec; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.floral-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transform: rotate(-2deg); }
.floral-collage img { width: 100%; height: 220px; object-fit: cover; border-radius: 28px; box-shadow: 0 26px 70px rgba(78, 13, 39, .26); border: 8px solid rgba(255,255,255,.78); }
.floral-collage img:first-child { grid-row: span 2; height: 456px; }
.studio-section { margin-top: -72px; position: relative; z-index: 2; padding-bottom: 44px; }
.studio-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; background: #fff; border-radius: 32px; padding: 28px; box-shadow: 0 24px 70px rgba(166, 42, 85, .14); }
.mood-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.mood-buttons button {
  border: 0;
  background: #fff0f3;
  color: #8b1238;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
}
.mood-buttons button.is-active { background: #c9184a; color: white; }
.mood-result { background: linear-gradient(135deg, #fff0f3, #fff9db); border-radius: 24px; padding: 26px; }
.mood-result span { color: #a4133c; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.mood-result h3 { font-family: Georgia, serif; font-size: 2rem; margin: 10px 0; }
#flowers .cards-grid { columns: 3 260px; display: block; }
#flowers .card { display: inline-block; width: 100%; margin: 0 0 22px; border-radius: 30px; box-shadow: 0 18px 50px rgba(178, 31, 83, .12); }
#flowers .card-image { height: 260px; }
#flowers .card:nth-child(3n) .card-image { height: 340px; }
.palette-section { background: #fff; border-top: 1px solid #ffe1e8; border-bottom: 1px solid #ffe1e8; }
.palette-section .filter-card { border-radius: 999px; box-shadow: none; border: 1px solid #ffd7df; }
.care-grid { grid-template-columns: repeat(4, 1fr); }
.care-item { border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(201, 24, 74, .08); }
@media (max-width: 860px) {
  .floral-hero-grid, .studio-grid { grid-template-columns: 1fr; }
  .floral-collage img:first-child { height: 260px; }
  .care-grid { grid-template-columns: 1fr; }
}

