/* ============================================
   FLORAL FREEDOM — Main Stylesheet
   Palette: Sage green, dusty rose, cream, warm gold
   ============================================ */

:root {
  --sage: #7d9b76;
  --sage-light: #a8bf9e;
  --sage-dark: #4a6b45;
  --blush: #e8c4b8;
  --blush-light: #f5e6e0;
  --blush-deep: #c9967f;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --gold: #c9a86c;
  --gold-light: #e4c99a;
  --dark: #2c2416;
  --dark-mid: #4a3d2a;
  --text: #3d3226;
  --text-light: #6b5d4e;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;

  --radius: 2px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(44,36,22,0.08);
  --shadow-lg: 0 12px 48px rgba(44,36,22,0.14);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.section-sage { background: var(--cream-dark); }
.section-blush { background: var(--blush-light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 500; }
em { font-style: italic; color: var(--sage-dark); }
p { font-size: 1rem; color: var(--text-light); }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header { margin-bottom: 3rem; }
.section-header .section-title { margin-bottom: 0.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
}
.btn-outline-dark:hover { background: var(--sage-dark); color: var(--white); }

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,246,240,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,108,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 1rem;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}

.mobile-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  border-radius: 50% 0 50% 0;
  opacity: 0.07;
  animation: float 8s ease-in-out infinite;
}

.p1 { width: 300px; height: 300px; background: var(--sage); top: -80px; right: 15%; animation-delay: 0s; }
.p2 { width: 200px; height: 200px; background: var(--blush); bottom: 20%; left: 5%; animation-delay: 2s; }
.p3 { width: 150px; height: 150px; background: var(--gold); top: 40%; right: 5%; animation-delay: 4s; }
.p4 { width: 250px; height: 250px; background: var(--sage-light); bottom: -50px; right: 30%; animation-delay: 1s; }
.p5 { width: 100px; height: 100px; background: var(--blush-deep); top: 20%; left: 30%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  padding: 4rem 4rem 4rem 6rem;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 400px;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  z-index: 1;
}

.hero-img-placeholder {
  width: 420px;
  height: 500px;
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--cream-dark) 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Floral illustration inside hero */
.floral-illustration {
  position: relative;
  width: 200px;
  height: 280px;
}

.fi-stem {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 180px;
  background: var(--sage-dark);
  border-radius: 2px;
}

.fi-flower {
  position: absolute;
  border-radius: 50%;
  animation: sway 4s ease-in-out infinite;
}

.f1 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, var(--gold-light), var(--blush));
  top: 20px; left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.f2 {
  width: 60px; height: 60px;
  background: radial-gradient(circle, var(--blush), var(--blush-deep));
  top: 60px; left: 20px;
  animation-delay: 1s;
}

.f3 {
  width: 55px; height: 55px;
  background: radial-gradient(circle, var(--sage-light), var(--sage));
  top: 70px; right: 20px;
  animation-delay: 2s;
}

.fi-leaf {
  position: absolute;
  width: 50px;
  height: 25px;
  background: var(--sage);
  border-radius: 50% 0;
}

.l1 { bottom: 80px; left: 30px; transform: rotate(-30deg); }
.l2 { bottom: 120px; right: 25px; transform: rotate(40deg); background: var(--sage-dark); }
.l3 { bottom: 60px; right: 35px; transform: rotate(20deg); opacity: 0.7; }

@keyframes sway {
  0%, 100% { transform: translateX(-50%) rotate(-3deg); }
  50% { transform: translateX(-50%) rotate(3deg); }
}

/* ── CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 1.5rem;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}

.cat-card--large { background: var(--sage-dark); color: var(--white); }
.cat-card--large h3, .cat-card--large p { color: var(--white); }
.cat-card--large p { opacity: 0.85; }

.cat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cat-card h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--dark); }
.cat-card p { font-size: 0.85rem; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-img {
  height: 220px;
  background: linear-gradient(135deg, var(--blush-light), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

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

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

.product-badge.sold-out { background: var(--text-light); }

.product-info { padding: 1.5rem; }
.product-category {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.product-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--dark); margin-bottom: 0.4rem; }
.product-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--dark); font-weight: 500; }
.product-action { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); border-bottom: 1px solid var(--sage-dark); padding-bottom: 1px; transition: var(--transition); }
.product-action:hover { color: var(--dark); border-color: var(--dark); }
.product-action.sold { color: var(--text-light); border-color: var(--text-light); cursor: default; }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text .section-title { margin-bottom: 1.5rem; }
.why-text p { margin-bottom: 1.5rem; max-width: 400px; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.why-list li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
}

.why-card:hover { box-shadow: var(--shadow); border-color: var(--sage-light); }

.wc-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}

.why-card h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--dark); margin-bottom: 0.3rem; }
.why-card p { font-size: 0.85rem; }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}

.testi-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-mid);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.testi-name {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo-leaf { color: var(--sage-light); }
.footer-brand .logo-text { color: var(--cream); font-family: var(--font-serif); font-size: 1.4rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(250,246,240,0.6); margin-top: 1rem; max-width: 240px; }

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: rgba(250,246,240,0.7);
  margin-bottom: 0.6rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--cream); }

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(250,246,240,0.7);
  margin-bottom: 0.4rem;
}

.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201,168,108,0.4);
  padding-bottom: 1px;
  transition: var(--transition);
}
.social-links a:hover { color: var(--white); border-color: var(--white); }

.footer-newsletter p { font-size: 0.85rem; color: rgba(250,246,240,0.6); margin-bottom: 1rem; }

.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-form input {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(250,246,240,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  padding: 0.75rem;
  background: var(--sage-dark);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--sage); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(250,246,240,0.4); }
.footer-bottom a { color: var(--gold-light); }
.footer-bottom a:hover { color: var(--white); }

/* ── SHOP PAGE ── */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--cream-dark);
  text-align: center;
}
.page-hero .section-eyebrow { margin-bottom: 0.5rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--dark); }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 4rem 0 6rem;
}

.shop-filters { position: sticky; top: 6rem; align-self: start; }

.filter-section { margin-bottom: 2.5rem; }
.filter-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.filter-options { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}
.filter-option:hover { color: var(--sage-dark); }
.filter-option input { accent-color: var(--sage-dark); }

.shop-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.results-count { font-size: 0.85rem; color: var(--text-light); }

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 4rem 0 6rem;
}

.contact-info h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--dark); margin-bottom: 1rem; }
.contact-info p { font-size: 0.9rem; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--dark); margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.85rem; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form-card h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--dark); margin-bottom: 2rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  border-radius: var(--radius);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  background: var(--white);
}

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

/* ── GALLERY ── */
.gallery-masonry {
  columns: 3;
  column-gap: 1.5rem;
  padding: 4rem 0 6rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush-light), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-item:hover { transform: scale(0.98); box-shadow: var(--shadow-lg); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 8rem 2rem 2rem; }
  .hero-image-frame { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .mobile-nav.open { display: flex; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .hero-actions { flex-direction: column; }
}
