@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #fef9f6;
  --card-bg: #fff;
  --primary: #c0507e;
  --primary-light: #d4739b;
  --text: #3a2e35;
  --text-muted: #8a7e83;
  --border: #f0e5e8;
  --blush: #fdf0f5;
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(254,249,246,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 18px 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; z-index: 200; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: all 0.3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.hero { position: relative; min-height: 80vh; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1487530811176-3780de880c2d?auto=format&fit=crop&w=1400&q=80') center/cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5)); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 600px; }
.hero-content h1 { font-family: var(--font-title); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; line-height: 1.15; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

.btn { display: inline-flex; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

.section { padding: 100px 0; }
.section-title { font-family: var(--font-title); font-size: 2.5rem; margin-bottom: 50px; text-align: center; }
.bg-blush { background: var(--blush); }
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero h1 { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 15px; }
.page-hero p { color: var(--text-muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(192,80,126,0.1); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; }
.card h3 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 8px; }
.price { color: var(--primary); font-weight: 700; margin-top: 12px; }

/* 3D Flower Spinner */
.flower-3d-wrapper { height: 200px; display: flex; align-items: center; justify-content: center; perspective: 600px; }
.flower-spinner { width: 200px; height: 200px; position: relative; transform-style: preserve-3d; animation: spinFlower 10s linear infinite; }
.petal { position: absolute; font-size: 3rem; top: 50%; left: 50%; transform-origin: center; }
.p1 { transform: translate(-50%,-50%) rotateY(0deg) translateZ(80px); }
.p2 { transform: translate(-50%,-50%) rotateY(72deg) translateZ(80px); }
.p3 { transform: translate(-50%,-50%) rotateY(144deg) translateZ(80px); }
.p4 { transform: translate(-50%,-50%) rotateY(216deg) translateZ(80px); }
.p5 { transform: translate(-50%,-50%) rotateY(288deg) translateZ(80px); }
@keyframes spinFlower { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* Masonry */
.masonry { columns: 3; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; }
.masonry-item img { width: 100%; display: block; transition: transform 0.5s; }
.masonry-item:hover img { transform: scale(1.04); }

.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.footer { padding: 50px 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg); flex-direction: column; padding: 100px 40px 40px; gap: 20px; transition: right 0.4s; box-shadow: -5px 0 30px rgba(0,0,0,0.1); z-index: 150; }
  .nav-links.active { right: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero { min-height: 70vh; }
}
