/* Whimsical Garden Olive & Terracotta - Baptism Template */

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

:root {
    --olive: #6B8E23;
    --olive-light: #8AA850;
    --olive-dark: #556B1F;
    --terra: #E07A5F;
    --terra-light: #F4A582;
    --terra-dark: #C96646;
    --sand: #F4E8C1;
    --sand-dark: #EBD99F;
    --text: #3E3E3E;
    --text-light: #6B6B6B;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; line-height: 1.7; color: var(--text); background: var(--sand); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Merriweather', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Floating Leaves */
.leaves { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.leaf { position: absolute; width: 30px; height: 30px; background: var(--olive); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 50% 85%, 18% 100%, 0% 38%); animation: float 20s infinite ease-in-out; opacity: 0.15; }
.l1 { top: 10%; left: 8%; animation-delay: 0s; }
.l2 { top: 50%; right: 12%; animation-delay: 7s; transform: rotate(45deg); }
.l3 { bottom: 20%; left: 18%; animation-delay: 14s; transform: rotate(90deg); }

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

/* Header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(244, 232, 193, 0.95); backdrop-filter: blur(8px); box-shadow: 0 2px 15px rgba(107, 142, 35, 0.1); }
.top-box { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.logo-m { width: 52px; height: 52px; background: linear-gradient(135deg, var(--olive), var(--olive-light)); border: 2px solid var(--terra); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.6rem; color: white; box-shadow: 0 3px 12px rgba(224, 122, 95, 0.25); }
.navbar { display: flex; gap: 2.5rem; }
.nav-item { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.9rem; position: relative; transition: all 0.3s; }
.nav-item::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--olive), var(--terra)); transition: width 0.3s; }
.nav-item:hover, .nav-item.active { color: var(--olive); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }
.menu-btn { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.menu-btn span { width: 24px; height: 2px; background: var(--olive); transition: all 0.3s; }

@media (max-width: 768px) {
    .menu-btn { display: flex; }
    .navbar { position: fixed; top: 72px; left: 0; right: 0; background: rgba(244, 232, 193, 0.98); padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; transform: translateY(-150%); opacity: 0; transition: all 0.5s; }
    .navbar.active { transform: translateY(0); opacity: 1; }
    .menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-btn.active span:nth-child(2) { opacity: 0; }
    .menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-top: 80px; }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(107, 142, 35, 0.88), rgba(224, 122, 95, 0.82)); }
.hero-floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.floater { position: absolute; border-radius: 50%; animation: drift 15s infinite ease-in-out; }
.flt1 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent); top: 18%; left: 12%; animation-delay: 0s; }
.flt2 { width: 80px; height: 80px; background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent); top: 55%; right: 18%; animation-delay: 5s; }
.flt3 { width: 90px; height: 90px; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent); bottom: 22%; left: 22%; animation-delay: 10s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -12px) scale(1.08); }
}

.hero-body { position: relative; z-index: 3; padding: 5rem 2rem; max-width: 900px; }
.hero-label { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.6rem; background: rgba(255, 255, 255, 0.88); border-radius: 30px; margin-bottom: 1.8rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.hero-label i { font-size: 1.2rem; color: var(--terra); }
.hero-label span { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: var(--text); }
.hero-title-box { margin-bottom: 1.8rem; }
.hero-main { font-size: 5rem; font-weight: 700; font-style: italic; color: white; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25); }
.hero-intro { font-size: 1.3rem; color: white; font-weight: 600; margin-top: 0.8rem; }
.hero-info { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.info-bit { display: flex; align-items: center; gap: 0.5rem; color: white; font-weight: 700; }
.info-bit i { font-size: 1.3rem; }
.timer-wrap { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: nowrap; }
.t-item { padding: 1.5rem; background: rgba(255, 255, 255, 0.88); border-radius: 15px; min-width: 85px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); border: 2px solid rgba(224, 122, 95, 0.3); }
.t-value { font-size: 2.6rem; font-weight: 800; color: var(--terra); line-height: 1; }
.t-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; font-weight: 700; }
.godp { display: inline-block; padding: 1.8rem 2.8rem; background: rgba(255, 255, 255, 0.9); border: 2px solid rgba(224, 122, 95, 0.4); border-radius: 18px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); }
.godp-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--olive), var(--olive-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.8rem; }
.godp-icon i { font-size: 1.5rem; color: white; }
.godp-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 0.5rem; font-weight: 700; }
.godp-names { font-family: 'Merriweather', serif; font-size: 1.6rem; font-style: italic; color: var(--text); font-weight: 700; }
.hero-arrow { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; cursor: pointer; }
.hero-arrow i { font-size: 2rem; color: white; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
    .hero-main { font-size: 3rem; }
    .timer-wrap { gap: 1rem; }
    .t-item { min-width: 70px; padding: 1rem; }
    .t-value { font-size: 2rem; }
}

/* Sections */
section { padding: 7rem 0; }
.sec-header { text-align: center; margin-bottom: 4rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.sec-name { font-size: 3rem; font-weight: 700; font-style: italic; color: var(--olive-dark); }
.sec-deco { width: 50px; height: 50px; background: radial-gradient(circle, rgba(224, 122, 95, 0.2), transparent); border-radius: 50%; position: relative; }
.sec-deco::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; background: var(--terra); border-radius: 50%; }

/* Story */
.story { background: linear-gradient(180deg, var(--sand), var(--sand-dark)); }
.story-content { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.photo-holder { position: relative; }
.photo-holder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 5px solid white; box-shadow: 0 10px 40px rgba(107, 142, 35, 0.2); }
.photo-ornament { position: absolute; top: -12px; right: -12px; width: 70px; height: 70px; background: linear-gradient(135deg, var(--terra), var(--terra-light)); border-radius: 50%; border: 4px solid var(--sand); box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3); display: flex; align-items: center; justify-content: center; }
.photo-ornament::after { content: ''; width: 25px; height: 25px; border: 3px solid white; border-radius: 50%; }
.story-highlight { font-family: 'Merriweather', serif; font-size: 1.4rem; font-style: italic; color: var(--olive); margin-bottom: 1.5rem; font-weight: 700; }
.story-text p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.story-callout { background: linear-gradient(135deg, rgba(107, 142, 35, 0.08), rgba(224, 122, 95, 0.08)); padding: 1.5rem 2rem; border-left: 4px solid var(--terra); border-radius: 10px; margin: 2rem 0; display: flex; align-items: center; gap: 1.5rem; }
.call-icon { width: 45px; height: 45px; background: var(--terra); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.call-icon i { font-size: 1.3rem; color: white; }
.call-text { font-family: 'Merriweather', serif; font-size: 1.2rem; font-style: italic; color: var(--olive-dark); margin: 0; font-weight: 700; }

@media (max-width: 968px) {
    .story-content { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Parents */
.parents { background: var(--sand); }
.parents-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin: 0 auto 2rem; }
.par-card { background: linear-gradient(135deg, rgba(107, 142, 35, 0.1), rgba(224, 122, 95, 0.08)); border: 2px solid var(--olive-light); border-radius: 18px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 6px 25px rgba(107, 142, 35, 0.12); transition: all 0.5s; }
.par-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(224, 122, 95, 0.2); }
.par-leaf { width: 55px; height: 55px; background: var(--olive); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 50% 85%, 18% 100%, 0% 38%); margin: 0 auto 1.2rem; box-shadow: 0 3px 12px rgba(107, 142, 35, 0.3); display: flex; align-items: center; justify-content: center; }
.par-leaf i { font-size: 1.5rem; color: white; }
.par-n { font-size: 2rem; font-weight: 700; font-style: italic; color: var(--text); margin-bottom: 0.5rem; }
.par-role { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); font-weight: 700; }
.parents-family { text-align: center; font-family: 'Merriweather', serif; font-size: 2.2rem; font-weight: 700; font-style: italic; color: var(--olive-dark); }

@media (max-width: 640px) {
    .parents-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Events */
.events { background: linear-gradient(180deg, var(--sand-dark), var(--sand)); }
.events-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.event-box { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(107, 142, 35, 0.15); transition: all 0.5s; }
.event-box:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(224, 122, 95, 0.25); }
.ev-photo { position: relative; height: 280px; overflow: hidden; }
.ev-photo img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s; }
.event-box:hover .ev-photo img { transform: scale(1.1); }
.ev-layer { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(107, 142, 35, 0.4), rgba(224, 122, 95, 0.5)); }
.ev-mark { width: 75px; height: 75px; margin: -37px auto 0; background: linear-gradient(135deg, var(--terra), var(--terra-light)); border: 4px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(224, 122, 95, 0.4); position: relative; }
.ev-mark i { font-size: 2rem; color: white; }
.ev-details { padding: 2rem; text-align: center; }
.ev-head { font-size: 1.8rem; font-weight: 700; font-style: italic; color: var(--olive-dark); margin-bottom: 1.5rem; }
.ev-specs { margin-bottom: 1.5rem; }
.spec { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text); }
.spec i { font-size: 1rem; color: var(--olive); }
.ev-location { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; }
.ev-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; background: linear-gradient(135deg, var(--olive), var(--olive-light)); color: white; text-decoration: none; border-radius: 25px; font-weight: 700; transition: all 0.3s; box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3); }
.ev-link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4); }

@media (max-width: 768px) {
    .events-list { grid-template-columns: 1fr; }
}

/* RSVP */
.rsvp { background: var(--sand); }
.rsvp-note { text-align: center; max-width: 700px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.8; }
.contact-form { max-width: 700px; margin: 0 auto; background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(107, 142, 35, 0.15); border: 2px solid var(--olive-light); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.cf-col { margin-bottom: 1.5rem; }
.cf-col label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.cf-col input, .cf-col textarea { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid var(--olive-light); border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 1rem; color: var(--text); transition: all 0.3s; }
.cf-col input:focus, .cf-col textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15); }
.cf-col textarea { resize: vertical; min-height: 120px; }
.cf-options { display: flex; flex-direction: column; gap: 1rem; }
.cf-option { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; padding: 0.8rem; border-radius: 10px; transition: all 0.3s; }
.cf-option:hover { background: var(--sand); }
.cf-option input[type="radio"] { display: none; }
.cf-mark { width: 20px; height: 20px; border: 2px solid var(--olive-light); border-radius: 50%; position: relative; flex-shrink: 0; transition: all 0.3s; }
.cf-option input:checked + .cf-mark { border-color: var(--olive); }
.cf-option input:checked + .cf-mark::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: var(--olive); border-radius: 50%; }
.cf-btn { width: 100%; padding: 1.2rem 2rem; background: linear-gradient(135deg, var(--terra), var(--terra-light)); color: white; border: none; border-radius: 30px; font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; cursor: pointer; transition: all 0.5s; display: flex; align-items: center; justify-content: center; gap: 0.8rem; box-shadow: 0 5px 20px rgba(224, 122, 95, 0.3); }
.cf-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(224, 122, 95, 0.4); }
.cf-notice { display: none; padding: 1.2rem; border-radius: 10px; margin-top: 1.5rem; text-align: center; font-weight: 700; }
.cf-notice.show { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.cf-yay { background: rgba(139, 195, 139, 0.15); color: #2d7a2d; border: 2px solid rgba(139, 195, 139, 0.3); }
.cf-nay { background: rgba(195, 139, 139, 0.15); color: #7a2d2d; border: 2px solid rgba(195, 139, 139, 0.3); }

@media (max-width: 640px) {
    .cf-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 2rem; }
}

/* Footer */
.bottom { background: linear-gradient(180deg, var(--olive-dark), var(--olive)); color: white; padding: 5rem 0 1.5rem; }
.bottom-main { text-align: center; margin-bottom: 3rem; }
.b-title { font-family: 'Merriweather', serif; font-size: 2.5rem; font-weight: 700; font-style: italic; margin-bottom: 1rem; }
.b-detail { display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 1rem; font-weight: 600; }
.b-bullet { color: var(--terra-light); }
.b-links { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.b-links a { color: white; text-decoration: none; font-weight: 700; transition: all 0.3s; opacity: 0.9; }
.b-links a:hover { opacity: 1; color: var(--sand); }
.b-ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.b-ornament span { width: 60px; height: 2px; background: rgba(255, 255, 255, 0.4); }
.b-ornament i { font-size: 1.5rem; color: var(--terra-light); }
.b-footer { text-align: center; font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 640px) {
    .b-title { font-size: 2rem; }
    .b-detail { flex-direction: column; gap: 0.5rem; }
    .b-bullet { display: none; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}


