@import url('./fonts.css');

/* ============================================
   Maison Bloom Bali — Static Stylesheet
   ============================================ */

:root {
  --background: #faf6ee;
  --foreground: #322b24;
  --card: #fdfaf3;
  --secondary: #ebe2d2;
  --muted: #efe7d7;
  --muted-foreground: #6e655a;
  --border: #ddd1be;
  --gold: #c69a5a;
  --gold-light: #e6c98f;
  --sage: #8a9881;
  --blush: #f0dfd5;
  --ivory: #faf6ee;
  --ink: #322b24;

  --shadow-soft: 0 20px 60px -30px rgba(50, 43, 36, 0.25);
  --shadow-elegant: 0 30px 80px -40px rgba(50, 43, 36, 0.35);
  --shadow-gold: 0 10px 40px -15px rgba(198, 154, 90, 0.4);
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(198, 154, 90, 0.35); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.gold-rule { display: inline-block; height: 1px; width: 3rem; background: var(--gold); vertical-align: middle; }
.italic { font-style: italic; font-weight: 300; color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem 2.5rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.25em; font-weight: 500;
  transition: all 0.5s var(--ease-luxe); cursor: pointer;
  border: 1px solid transparent;
}
.btn-luxe { background: var(--ink); color: var(--ivory); }
.btn-luxe:hover { background: rgba(50, 43, 36, 0.85); }
.btn-gold { background: var(--gold); color: var(--ivory); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: #b88a4d; }
.btn-ghost { border-color: rgba(50, 43, 36, 0.3); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-xl { padding: 1.15rem 2.75rem; }
.btn-sm { padding: 0.85rem 1.5rem; }
.btn-block { width: 100%; }

/* ============== Navbar ============== */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.5rem 0; transition: all 0.7s var(--ease-luxe);
}
.navbar.scrolled {
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 209, 190, 0.6);
  padding: 0.85rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; letter-spacing: 0.02em; }
.brand-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); margin-top: 0.25rem; }
.nav-links { display: none; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: rgba(50, 43, 36, 0.8); transition: color 0.5s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: none; }
.nav-toggle { display: block; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-menu { display: none; background: var(--background); border-top: 1px solid rgba(221, 209, 190, 0.6); margin-top: 0.85rem; }
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem 0; }
.mobile-menu a { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.25em; }
@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ============== Hero ============== */
.hero {
  position: relative; min-height: 100vh; width: 100%; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ken-burns 18s var(--ease-luxe) infinite alternate;
}
@keyframes ken-burns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(250,246,238,0.3), rgba(250,246,238,0.1) 40%, var(--background)); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(250,246,238,0.6), transparent 60%); }
.hero-content {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; padding: 10rem 0 6rem;
}
.hero-row { max-width: 720px; animation: fade-up 1s var(--ease-luxe) both; }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.hero-eyebrow .eyebrow { color: rgba(50,43,36,0.7); }
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
}
.hero p {
  margin-top: 2rem; max-width: 560px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300; line-height: 1.6;
  color: rgba(50,43,36,0.75);
}
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-scroll { margin-top: 5rem; display: flex; align-items: center; gap: 1.5rem; color: rgba(50,43,36,0.6); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== Petals ============== */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute; top: 0;
  border-radius: 70% 30% 70% 30% / 30% 70% 30% 70%;
  box-shadow: 0 0 10px rgba(198,154,90,0.35);
  animation: petal-fall linear infinite;
  filter: blur(0.3px);
}
@keyframes petal-fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translate3d(var(--drift, 40px), 110vh, 0) rotate(360deg); opacity: 0; }
}

/* ============== Section base ============== */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 9rem 0; } }
.section-secondary { background: var(--secondary); }
.section-blush { background: rgba(240, 223, 213, 0.4); }
.section-dark { background: var(--ink); color: var(--ivory); }
.section-header { max-width: 640px; margin-bottom: 5rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .eyebrow-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-header.center .eyebrow-row { justify-content: center; }
.section-header h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }

/* ============== Services ============== */
.services-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 3rem;
  border-top: 1px solid rgba(221, 209, 190, 0.6);
  border-left: 1px solid rgba(221, 209, 190, 0.6);
  transition: background 0.7s var(--ease-luxe);
}
.service-card:hover { background: var(--background); }
.service-card .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 2rem; stroke-width: 1.2; }
.service-card h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.service-card p { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 300; line-height: 1.7; }
.service-card .more { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(50,43,36,0.6); transition: color 0.5s; }
.service-card:hover .more { color: var(--gold); }
.service-card .more .line { height: 1px; width: 2rem; background: currentColor; display: inline-block; }

/* ============== Collections ============== */
.collections-head {
  display: flex; flex-direction: column; gap: 2rem;
  align-items: flex-start; margin-bottom: 4rem;
}
@media (min-width: 768px) { .collections-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.collections-head .desc { max-width: 360px; color: var(--muted-foreground); font-weight: 300; }
.products {
  display: grid; gap: 4rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product .image-zoom { aspect-ratio: 4 / 5; background: var(--secondary); margin-bottom: 1.5rem; overflow: hidden; }
.product .image-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-luxe); }
.product:hover .image-zoom img { transform: scale(1.06); }
.product-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.product .desc { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 300; }
.product .price { color: var(--gold); white-space: nowrap; margin-top: 0.5rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 500; }
.product-actions { margin-top: 1.25rem; display: flex; gap: 0.75rem; }

/* ============== Weddings ============== */
.weddings-grid { display: grid; gap: 4rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .weddings-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.weddings-text .eyebrow-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.weddings-text .eyebrow-row .eyebrow { color: rgba(250,246,238,0.6); }
.weddings-text .gold-rule { background: var(--gold); }
.weddings-text h2 { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 2rem; }
.weddings-text p { color: rgba(250,246,238,0.7); font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem; max-width: 460px; }
.weddings-list { display: grid; grid-template-columns: 1fr; row-gap: 0.75rem; column-gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .weddings-list { grid-template-columns: 1fr 1fr; } }
.weddings-list li { font-size: 0.875rem; font-weight: 300; color: rgba(250,246,238,0.85); display: flex; gap: 0.75rem; }
.weddings-list li::before { content: "✦"; color: var(--gold); }
.weddings-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .weddings-images { gap: 1.5rem; } }
.weddings-images .image-zoom { aspect-ratio: 3 / 4; overflow: hidden; }
.weddings-images .image-zoom:first-child { margin-top: 3rem; }
.weddings-images img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-luxe); }
.weddings-images .image-zoom:hover img { transform: scale(1.06); }

/* ============== Delivery ============== */
.cities {
  display: grid; gap: 1px;
  background: rgba(221, 209, 190, 0.6);
  border: 1px solid rgba(221, 209, 190, 0.6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cities { grid-template-columns: repeat(3, 1fr); } }
.city { background: var(--background); padding: 2.5rem; text-align: center; transition: background 0.7s var(--ease-luxe); }
.city:hover { background: var(--secondary); }
.city .name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin-bottom: 0.75rem; }

/* ============== Why us ============== */
.reasons { border-top: 1px solid rgba(221, 209, 190, 0.6); border-bottom: 1px solid rgba(221, 209, 190, 0.6); }
.reason {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
  padding: 2.5rem 0.5rem; border-bottom: 1px solid rgba(221, 209, 190, 0.6);
  transition: background 0.7s var(--ease-luxe);
}
.reason:last-child { border-bottom: none; }
.reason:hover { background: var(--secondary); }
.reason .num { grid-column: span 2; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); }
.reason h3 { grid-column: span 10; font-size: 1.5rem; }
.reason p { grid-column: span 12; color: var(--muted-foreground); font-weight: 300; max-width: 560px; }
@media (min-width: 768px) {
  .reason { padding: 3rem 1.5rem; }
  .reason .num { grid-column: span 1; font-size: 1.75rem; }
  .reason h3 { grid-column: span 4; font-size: 1.85rem; }
  .reason p { grid-column: span 7; }
}

/* ============== Testimonials ============== */
.testimonials { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.testimonial { text-align: center; }
.stars { color: var(--gold); letter-spacing: 0.4em; margin-bottom: 1.5rem; }
.testimonial blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.6rem; line-height: 1.3; margin-bottom: 2rem; }
.testimonial .name { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500; }
.testimonial .city-name { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; font-weight: 300; }

/* ============== Contact ============== */
.contact-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.contact h2 { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 2rem; }
.contact .lead { color: var(--muted-foreground); font-weight: 300; max-width: 460px; margin-bottom: 3rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 0.25rem; flex-shrink: 0; }
.contact-list .eyebrow { display: block; margin-bottom: 0.25rem; }
.contact-list .val { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.3; }

.contact-form { background: var(--secondary); padding: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .contact-form { padding: 3.5rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; margin-bottom: 0.75rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); font-weight: 500; }
.form-field input, .form-field textarea {
  width: 100%; height: 3rem; padding: 0 1rem; background: var(--background);
  border: 1px solid var(--border); font-family: inherit; font-size: 0.95rem; color: var(--foreground);
  transition: border-color 0.3s;
}
.form-field textarea { height: auto; padding: 1rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }

/* ============== Footer ============== */
.footer { background: var(--ink); color: var(--ivory); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(250,246,238,0.15); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .name { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; margin-bottom: 0.5rem; }
.footer-brand .tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(250,246,238,0.55); margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(250,246,238,0.7); font-weight: 300; max-width: 460px; }
.footer-col .label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(250,246,238,0.55); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.875rem; font-weight: 300; color: rgba(250,246,238,0.85); transition: color 0.4s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(250,246,238,0.55); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .links { display: flex; gap: 2rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ============== Toast ============== */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(2rem);
  background: var(--ink); color: var(--ivory); padding: 1rem 2rem;
  font-size: 0.8rem; letter-spacing: 0.05em;
  box-shadow: var(--shadow-elegant); z-index: 100; opacity: 0;
  transition: all 0.5s var(--ease-luxe); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
