/* Modern Bold Coral & Teal - Baptism Template */

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

:root {
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --coral-dark: #E04E4E;
    --teal: #4ECDC4;
    --teal-light: #6FE0D7;
    --teal-dark: #3BAEA5;
    --cream: #FFF8E7;
    --cream-dark: #FFF0CC;
    --text: #2D3436;
    --text-light: #636E72;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.7; color: var(--text); background: var(--cream); overflow-x: hidden; }

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

/* Floating Bubbles */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.bubble { position: absolute; border-radius: 50%; animation: rise 15s infinite ease-in-out; }
.b1 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent); top: 20%; left: 10%; animation-delay: 0s; }
.b2 { width: 80px; height: 80px; background: radial-gradient(circle, rgba(78, 205, 196, 0.2), transparent); top: 60%; right: 15%; animation-delay: 5s; }
.b3 { width: 60px; height: 60px; background: radial-gradient(circle, rgba(255, 107, 107, 0.15), transparent); bottom: 30%; left: 20%; animation-delay: 10s; }
.b4 { width: 90px; height: 90px; background: radial-gradient(circle, rgba(78, 205, 196, 0.15), transparent); top: 40%; right: 5%; animation-delay: 7s; }

@keyframes rise {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 248, 231, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(78, 205, 196, 0.15); }
.h-wrap { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.mono { width: 50px; height: 50px; border-radius: 8px; background: linear-gradient(135deg, var(--coral), var(--teal)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: white; box-shadow: 0 3px 15px rgba(255, 107, 107, 0.3); }
.nav { display: flex; gap: 2.5rem; }
.nav-link { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem; position: relative; transition: all 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--coral), var(--teal)); transition: width 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--coral); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.toggle span { width: 24px; height: 2px; background: var(--coral); transition: all 0.3s; }

@media (max-width: 768px) {
    .toggle { display: flex; }
    .nav { position: fixed; top: 70px; left: 0; right: 0; background: rgba(255, 248, 231, 0.98); padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; transform: translateY(-150%); opacity: 0; transition: all 0.5s; }
    .nav.active { transform: translateY(0); opacity: 1; }
    .toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .toggle.active span:nth-child(2) { opacity: 0; }
    .toggle.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-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(78, 205, 196, 0.85)); }
.hero-float { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float { position: absolute; border-radius: 50%; animation: heroFloat 12s infinite; }
.f1 { width: 120px; height: 120px; background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent); top: 15%; left: 10%; animation-delay: 0s; }
.f2 { width: 90px; height: 90px; background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent); top: 60%; right: 15%; animation-delay: 4s; }
.f3 { width: 110px; height: 110px; background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent); bottom: 20%; left: 20%; animation-delay: 8s; }

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(15px, -15px); }
    66% { transform: translate(-15px, 15px); }
}

.hero-wrap { position: relative; z-index: 3; padding: 5rem 2rem; max-width: 900px; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.5rem; background: rgba(255, 255, 255, 0.9); border-radius: 30px; margin-bottom: 1.5rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.hero-tag i { font-size: 1.2rem; color: var(--teal); }
.hero-tag span { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: var(--text); }
.hero-name { font-size: 5rem; font-weight: 800; color: white; margin-bottom: 1rem; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2); letter-spacing: 1px; }
.hero-text { font-size: 1.3rem; color: white; font-weight: 500; margin-bottom: 2rem; }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; color: white; font-weight: 600; }
.meta-item i { font-size: 1.3rem; }
.timer { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: nowrap; }
.t-box { padding: 1.5rem; background: rgba(255, 255, 255, 0.9); border-radius: 12px; min-width: 85px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.t-num { font-size: 2.5rem; font-weight: 800; color: var(--coral); line-height: 1; }
.t-lbl { font-size: 0.8rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }
.nasi { padding: 1.5rem 2.5rem; background: rgba(255, 255, 255, 0.85); border-radius: 20px; display: inline-block; }
.nasi-top { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 0.5rem; font-weight: 600; }
.nasi-name { font-size: 1.6rem; font-weight: 700; color: var(--text); }
.scroll-down { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; cursor: pointer; }
.scroll-down 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-name { font-size: 3rem; }
    .timer { gap: 0.8rem; }
    .t-box { min-width: 70px; padding: 1rem; }
    .t-num { font-size: 2rem; }
}

/* Sections */
section { padding: 7rem 0; position: relative; }
.sec-h { text-align: center; margin-bottom: 4rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.sec-t { font-size: 3rem; font-weight: 700; color: var(--text); }
.line { width: 60px; height: 3px; background: linear-gradient(90deg, transparent, var(--coral), var(--teal), transparent); }

/* About */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.img-frame { position: relative; }
.img-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid white; box-shadow: 0 10px 40px rgba(255, 107, 107, 0.25); }
.frame-accent { position: absolute; top: -10px; right: -10px; width: 80px; height: 80px; background: linear-gradient(135deg, var(--coral), var(--teal)); border-radius: 50%; border: 4px solid var(--cream); box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); }
.frame-accent::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border: 3px solid white; border-radius: 50%; }
.lead { font-size: 1.4rem; font-weight: 600; color: var(--coral); margin-bottom: 1.5rem; }
.about-txt p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.quote { background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1)); padding: 1.5rem 2rem; border-left: 4px solid var(--teal); border-radius: 8px; margin: 2rem 0; position: relative; }
.quote i { position: absolute; top: 10px; left: 10px; font-size: 2rem; color: var(--teal); opacity: 0.3; }
.quote p { font-size: 1.2rem; font-weight: 600; color: var(--text); margin: 0; padding-left: 2rem; }

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

/* Parents */
.parents { background: linear-gradient(180deg, var(--cream), var(--cream-dark)); }
.parents-card { max-width: 600px; margin: 0 auto; padding: 3rem; background: white; border: 3px solid var(--teal); border-radius: 20px; text-align: center; box-shadow: 0 10px 40px rgba(78, 205, 196, 0.2); }
.p-deco { width: 60px; height: 60px; background: linear-gradient(135deg, var(--coral), var(--teal)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); }
.p-deco i { font-size: 1.8rem; color: white; }
.p-deco:last-child { margin: 1.5rem auto 0; }
.p-names { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.p-name { font-size: 2.2rem; font-weight: 700; color: var(--coral); }
.p-sep { font-size: 1.8rem; color: var(--teal); }
.p-surname { font-size: 2rem; font-weight: 600; color: var(--text); }

/* Events */
.events { background: var(--cream); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.evt { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(78, 205, 196, 0.15); transition: all 0.5s; }
.evt:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(255, 107, 107, 0.25); }
.evt-img { position: relative; height: 280px; overflow: hidden; }
.evt-img img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s; }
.evt:hover .evt-img img { transform: scale(1.1); }
.evt-over { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.5)); }
.evt-icon { width: 75px; height: 75px; margin: -37px auto 0; background: linear-gradient(135deg, var(--coral), var(--teal)); border: 4px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3); position: relative; }
.evt-icon i { font-size: 2rem; color: white; }
.evt-body { padding: 2rem; text-align: center; }
.evt-title { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }
.evt-det { margin-bottom: 1.5rem; }
.det { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-light); }
.det i { font-size: 1rem; color: var(--teal); }
.evt-addr { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; }
.evt-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; background: linear-gradient(135deg, var(--coral), var(--teal)); color: white; text-decoration: none; border-radius: 25px; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); }
.evt-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4); }

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

/* RSVP */
.rsvp { background: linear-gradient(135deg, var(--cream), var(--cream-dark), var(--cream)); }
.rsvp-intro { text-align: center; max-width: 700px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.8; }
.form { max-width: 700px; margin: 0 auto; background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(78, 205, 196, 0.15); border: 2px solid var(--teal-light); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.f-group { margin-bottom: 1.5rem; }
.f-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.f-group input, .f-group textarea { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid var(--teal-light); border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--text); transition: all 0.3s; }
.f-group input:focus, .f-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2); }
.f-group textarea { resize: vertical; min-height: 120px; }
.radio-set { display: flex; flex-direction: column; gap: 1rem; }
.radio { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; padding: 0.8rem; border-radius: 10px; transition: all 0.3s; }
.radio:hover { background: var(--cream); }
.radio input[type="radio"] { display: none; }
.r-dot { width: 20px; height: 20px; border: 2px solid var(--teal-light); border-radius: 50%; position: relative; flex-shrink: 0; transition: all 0.3s; }
.radio input:checked + .r-dot { border-color: var(--teal); }
.radio input:checked + .r-dot::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: var(--teal); border-radius: 50%; }
.f-btn { width: 100%; padding: 1.2rem 2rem; background: linear-gradient(135deg, var(--coral), var(--teal)); color: white; border: none; border-radius: 30px; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.5s; display: flex; align-items: center; justify-content: center; gap: 0.8rem; box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3); }
.f-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4); }
.f-msg { display: none; padding: 1.2rem; border-radius: 10px; margin-top: 1.5rem; text-align: center; font-weight: 600; }
.f-msg.show { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.f-ok { background: rgba(139, 195, 139, 0.15); color: #2d7a2d; border: 2px solid rgba(139, 195, 139, 0.3); }
.f-err { background: rgba(195, 139, 139, 0.15); color: #7a2d2d; border: 2px solid rgba(195, 139, 139, 0.3); }

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

/* Footer */
.footer { background: linear-gradient(180deg, var(--teal-dark), var(--teal)); color: white; padding: 5rem 0 1.5rem; }
.f-main { text-align: center; margin-bottom: 3rem; }
.f-name { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.f-det { display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 1rem; font-weight: 500; }
.f-nav { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.f-nav a { color: white; text-decoration: none; font-weight: 600; transition: all 0.3s; opacity: 0.9; }
.f-nav a:hover { opacity: 1; }
.f-deco { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 2rem; }
.f-deco span { width: 10px; height: 10px; border-radius: 50%; background: white; opacity: 0.7; }
.f-copy { text-align: center; font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 640px) {
    .f-name { font-size: 2rem; }
    .f-det { flex-direction: column; gap: 0.5rem; }
}

/* 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; }
}


