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

:root {
  --pink: #f4a7b9;
  --rose: #c0395a;
  --sage: #8aab8a;
  --cream: #fdf6f0;
  --dark: #2c1a1a;
  --card-bg: #fff8f5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(253, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0ddd5;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--rose); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--rose); }

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f9c8d4 0%, #fde8e8 60%, transparent 80%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: morphBlob 8s ease-in-out infinite;
  z-index: 0;
}
@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
  66% { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-sub { font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.15; margin-bottom: 1.2rem; }
.hero-content h1 em { color: var(--rose); font-style: italic; }
.hero-desc { font-size: 1.1rem; color: #7a5a5a; margin-bottom: 2rem; }
.hero-flower {
  position: absolute;
  font-size: 8rem;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  animation: float 4s ease-in-out infinite;
  z-index: 1;
}
@keyframes float {
  0%,100% { transform: translateY(-50%) rotate(-5deg); }
  50% { transform: translateY(calc(-50% - 20px)) rotate(5deg); }
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #a02f4c; transform: translateY(-2px); }

/* MARQUEE */
.marquee-wrap { overflow: hidden; background: var(--rose); padding: .7rem 0; }
.marquee { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 18s linear infinite; }
.marquee span { color: #fff; font-weight: 500; font-size: .95rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
.about {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 6rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1.2rem; color: var(--rose); }
.about-text p { font-size: 1.05rem; line-height: 1.8; color: #5a3a3a; margin-bottom: 1rem; }
.about-img { font-size: 8rem; flex-shrink: 0; }

/* SHOP */
.shop { padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.shop h2, .gallery h2, .testimonials h2, .contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--rose);
}
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(192,57,90,.08);
  transition: transform .3s, box-shadow .3s;
  opacity: 0;
  transform: translateY(30px);
}
.card.visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(192,57,90,.15); }
.card-img { font-size: 4rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: #7a5a5a; margin-bottom: 1rem; }
.price { font-weight: 700; font-size: 1.1rem; color: var(--rose); display: block; margin-bottom: 1rem; }
.btn-cart {
  padding: .6rem 1.5rem;
  background: transparent;
  border: 2px solid var(--rose);
  color: var(--rose);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.btn-cart:hover { background: var(--rose); color: #fff; }

/* GALLERY */
.gallery { padding: 6rem 2.5rem; background: #fef0f3; }
.gallery h2 { color: var(--rose); }
.masonry {
  column-count: 3;
  column-gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.masonry-item {
  break-inside: avoid;
  background: var(--card-bg);
  border-radius: 16px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  padding: 2rem;
  min-height: 150px;
}
.masonry-item.tall { min-height: 260px; }

/* TESTIMONIALS */
.testimonials { padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testi-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border-left: 4px solid var(--pink);
  box-shadow: 0 4px 16px rgba(192,57,90,.06);
}
.testi-card p { font-style: italic; line-height: 1.7; margin-bottom: 1rem; color: #5a3a3a; }
.testi-card span { font-weight: 600; color: var(--rose); }

/* CONTACT */
.contact { padding: 6rem 2.5rem; background: #fef0f3; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem;
  border: 1.5px solid #f0c0cc;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--rose); }
.contact-form .btn-primary { align-self: center; }
.success-msg { display: none; text-align: center; margin-top: 1.5rem; font-size: 1.1rem; color: var(--rose); font-weight: 600; }

/* FOOTER */
footer { text-align: center; padding: 2rem; background: var(--dark); color: #f4a7b9; font-size: .95rem; }

/* TOAST */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--rose);
  color: #fff;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-flower { display: none; }
  .about { flex-direction: column; text-align: center; }
  .masonry { column-count: 2; }
}
@media (max-width: 480px) {
  .masonry { column-count: 1; }
}
