@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --sky: #0077B6;
  --sky-light: #90E0EF;
  --sun: #FFB703;
  --sun-dark: #FB8500;
  --coral: #E63946;
  --coral-light: #FFCCD5;
  --teal: #2A9D8F;
  --teal-light: #E9F5F3;
  --sand: #FFF8EE;
  --sand-dark: #F4E8D0;
  --ink: #1A1A2E;
  --ink-soft: #4A4860;
  --ink-muted: #8A8AA0;
  --border: rgba(0, 119, 182, 0.15);
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; font-weight: 300; background: var(--sand); color: var(--ink); min-height: 100vh; }

/* ── FLOAT BAR ── */
.float-bar { position: fixed; top: 1.2rem; right: 1.2rem; z-index: 1000; display: flex; gap: 0.75rem; align-items: center; }

.float-btn { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 50px; padding: 0.5rem 0.9rem; display: flex; align-items: center; gap: 6px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--ink-soft); box-shadow: 0 2px 12px rgba(0,0,0,0.10); transition: transform 0.2s, box-shadow 0.2s; user-select: none; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,0.13); }
.float-btn .ico { font-size: 18px; line-height: 1; }

.badge { position: absolute; top: -6px; right: -6px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 500; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.2s; }
.badge.on { opacity: 1; transform: scale(1); }

/* ── DROPDOWNS ── */
.dropdown { position: fixed; top: 4.2rem; right: 1.2rem; z-index: 999; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.14); width: 320px; max-height: 420px; overflow: hidden; display: none; flex-direction: column; }
.dropdown.open { display: flex; }

.dd-head { padding: 1rem 1.2rem 0.75rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.dd-head h3 { font-size: 14px; font-weight: 500; color: var(--ink); }
.dd-close { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--ink-muted); line-height: 1; }

.dd-list { overflow-y: auto; flex: 1; padding: 0.5rem 0; }
.dd-empty { padding: 1.5rem 1.2rem; text-align: center; color: var(--ink-muted); font-size: 13px; }

.dd-item { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1.2rem; gap: 0.75rem; border-bottom: 0.5px solid rgba(0,0,0,0.05); }
.dd-item:last-child { border-bottom: none; }
.dd-item-name { font-size: 13px; color: var(--ink-soft); flex: 1; line-height: 1.3; }
.dd-rm { background: none; border: none; cursor: pointer; font-size: 15px; color: var(--ink-muted); padding: 2px 4px; border-radius: 4px; transition: color 0.15s, background 0.15s; }
.dd-rm:hover { color: var(--coral); background: var(--coral-light); }

.dd-foot { padding: 0.75rem 1.2rem; border-top: 1px solid var(--border); }
.send-btn { width: 100%; padding: 0.65rem; background: var(--sky); color: #fff; border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.2s; }
.send-btn:hover { background: var(--sun-dark); }

/* ── HERO ── */
.hero { position: relative; height: 100vh; min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #005f92; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/HappyBirthday.avif'); background-size: cover; background-position: center 40%; opacity: 0.55; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,60,100,0.3), rgba(0,20,50,0.6)); }
.hero-c { position: relative; text-align: center; padding: 2rem; max-width: 720px; }
.hero-eye { font-size: 11px; font-weight: 300; letter-spacing: 0.35em; text-transform: uppercase; color: var(--sky-light); margin-bottom: 1.5rem; opacity: 0; animation: fu 0.8s ease 0.3s forwards; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(56px, 9vw, 108px); font-weight: 400; color: #fff; line-height: 1.0; opacity: 0; animation: fu 0.8s ease 0.6s forwards; }
.hero-title em { font-style: italic; color: var(--sun); }
.hero-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.8); margin-top: 1.5rem; line-height: 1.7; opacity: 0; animation: fu 0.8s ease 0.9s forwards; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; animation: fu 0.8s ease 1.4s forwards; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

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

/* ── INTRO ── */
.intro { max-width: 640px; margin: 0 auto; padding: 5rem 2rem 3rem; text-align: center; }
.intro p { font-family: 'Playfair Display', serif; font-size: clamp(17px, 2.5vw, 21px); font-style: italic; color: var(--ink-soft); line-height: 1.8; }
.divider { display: flex; align-items: center; gap: 1rem; margin: 0 auto 1rem; max-width: 360px; padding: 0 2rem; }
.div-line { flex: 1; height: 0.5px; background: var(--sun); opacity: 0.5; }
.div-dot { width: 7px; height: 7px; background: var(--sun); border-radius: 50%; flex-shrink: 0; }

/* ── SECTION LABELS ── */
.sec-label { text-align: center; padding: 3rem 2rem 0.25rem; }
.sec-label .eye { font-size: 10px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--teal); }
.sec-label h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 38px); font-weight: 400; color: var(--ink); margin-top: 0.4rem; }

/* ── GRID ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; max-width: 1080px; margin: 2rem auto 4rem; padding: 0 1.5rem; }

/* ── CARDS ── */
.card { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--card-shadow); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,119,182,0.13); }

.card-icos { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; gap: 5px; }
.cico { width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(255,255,255,0.88); backdrop-filter: blur(4px); box-shadow: 0 1px 6px rgba(0,0,0,0.15); transition: transform 0.15s, background 0.15s; user-select: none; }
.cico:hover { transform: scale(1.12); }
.cico.selected-cake { background: var(--sun-dark); box-shadow: 0 0 0 2px var(--sun-dark); }
.cico.selected-heart { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }

.img-wrap { width: 100%; height: 190px; overflow: hidden; background: #C8E6F5; position: relative; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.card:hover .img-wrap img { transform: scale(1.04); }

.card-body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.cnum { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.ctitle { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.cdesc { font-size: 13px; font-weight: 300; color: var(--ink-soft); line-height: 1.65; flex: 1; }

.cacts { display: flex; gap: 7px; margin-top: 0.9rem; flex-wrap: wrap; }
.abtn { flex: 1; min-width: 120px; padding: 0.55rem 0.75rem; border-radius: 8px; border: 1.5px solid; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background 0.18s, color 0.18s, transform 0.15s; user-select: none; }
.abtn:active { transform: scale(0.97); }
.bw { border-color: var(--sun-dark); color: var(--sun-dark); background: rgba(251,133,0,0.06); }
.bw:hover, .bw.selected { background: var(--sun-dark); color: #fff; }
.bm { border-color: var(--teal); color: var(--teal); background: rgba(42,157,143,0.06); }
.bm:hover, .bm.selected { background: var(--teal); color: #fff; }

/* ── SECTION BACKGROUNDS ── */
.bg-alt { background: var(--teal-light); }
.bg-sky { background: #EAF4FA; }

/* ── CLOSING ── */
.closing { background: var(--sky); padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1200&q=70'); background-size: cover; background-position: center 60%; opacity: 0.22; }
.closing-c { position: relative; max-width: 580px; margin: 0 auto; }
.closing-c p { font-family: 'Playfair Display', serif; font-size: clamp(19px, 3vw, 27px); font-style: italic; color: #fff; line-height: 1.75; }
.closing-sig { margin-top: 2.5rem; font-size: 12px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sky-light); opacity: 0.9; }

/* ── CONFIRM PAGE ── */
#confirm-page { display: none; position: fixed; inset: 0; z-index: 2000; background: var(--sand); overflow-y: auto; padding: 3rem 1.5rem; }
.conf-inner { max-width: 600px; margin: 0 auto; }
.conf-inner h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem; }
.conf-inner > p { font-size: 14px; color: var(--ink-soft); margin-bottom: 2rem; line-height: 1.6; }
.conf-sec { margin-bottom: 2rem; }
.conf-sec h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.conf-list { list-style: none; }
.conf-list li { display: flex; align-items: center; gap: 10px; padding: 0.65rem 0; border-bottom: 0.5px solid var(--border); font-size: 14px; color: var(--ink-soft); }
.conf-list li:last-child { border-bottom: none; }
.conf-acts { display: flex; gap: 10px; margin-top: 2rem; flex-wrap: wrap; }
.conf-acts button { flex: 1; min-width: 140px; padding: 0.75rem 1rem; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.conf-acts button:active { transform: scale(0.98); }
.btn-conf { background: var(--sky); color: #fff; border: none; }
.btn-conf:hover { background: var(--teal); }
.btn-back { background: none; border: 1.5px solid var(--border); color: var(--ink-soft); }
.btn-back:hover { background: var(--sand-dark); }
.sent-msg { display: none; text-align: center; padding: 2rem; font-family: 'Playfair Display', serif; font-size: 20px; font-style: italic; color: var(--teal); }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-title { font-size: 50px; }
  .dropdown { width: calc(100vw - 2.4rem); }
  .float-bar { right: 0.8rem; top: 0.8rem; }
}

/* ── PROCESS PAGE ── */
.process-body { background: var(--sand-dark); }
 
.process-wrap { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem; }
 
.process-back-btn { background: none; border: 1.5px solid var(--border); border-radius: 8px; color: var(--ink-soft); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; padding: 0.6rem 1.1rem; cursor: pointer; margin-bottom: 2.5rem; display: inline-block; transition: background 0.2s; }
.process-back-btn:hover { background: var(--sand); }
 
.process-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem; }
 
.process-subtitle { font-size: 14px; color: var(--ink-muted); margin-bottom: 2.5rem; line-height: 1.6; }
 
.process-link { color: var(--sky); text-decoration: none; }
.process-link:hover { text-decoration: underline; }
 
.process-sections { display: flex; flex-direction: column; gap: 2rem; }
 
.process-section { }
 
.process-section-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 400; color: var(--sky); margin-bottom: 0.6rem; }
 
.process-text { font-size: 14px; color: var(--ink-soft); line-height: 1.75; margin-top: 0.75rem; }
.process-text:first-of-type { margin-top: 0; }
 
.process-text-italic { font-style: italic; }
 
.process-footer { margin-top: 3rem; padding-top: 2rem; border-top: 0.5px solid var(--border); }
 