/* Elegant Classic Navy & Gold - Baptism Template */

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

:root {
    --navy: #1A374D;
    --navy-light: #2A4A65;
    --navy-dark: #0F2334;
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gold-dark: #D4AF37;
    --ivory: #FFFFF0;
    --ivory-dark: #FFF9E0;
    --text: #2C2C2C;
    --text-light: #666666;
}

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

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

/* Gold Particles */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.particle { position: absolute; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: sparkle 8s infinite; opacity: 0; }
.p1 { top: 15%; left: 10%; animation-delay: 0s; }
.p2 { top: 40%; right: 15%; animation-delay: 2s; }
.p3 { bottom: 30%; left: 20%; animation-delay: 4s; }
.p4 { top: 70%; right: 25%; animation-delay: 6s; }
.p5 { top: 25%; left: 30%; animation-delay: 1s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 240, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(26, 55, 77, 0.1); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.mono { width: 55px; height: 55px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.8rem; color: var(--gold); box-shadow: 0 3px 15px rgba(255, 215, 0, 0.3); }
.menu { display: flex; gap: 2.5rem; }
.m-link { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem; position: relative; transition: all 0.3s; }
.m-link::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--gold); transition: width 0.3s; }
.m-link:hover, .m-link.active { color: var(--navy); }
.m-link:hover::after, .m-link.active::after { width: 100%; }
.burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }

@media (max-width: 768px) {
    .burger { display: flex; }
    .menu { position: fixed; top: 75px; left: 0; right: 0; background: rgba(255, 255, 240, 0.98); padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; transform: translateY(-150%); opacity: 0; transition: all 0.5s; }
    .menu.active { transform: translateY(0); opacity: 1; }
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.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; }
.h-bg { position: absolute; inset: 0; z-index: 1; }
.h-bg img { width: 100%; height: 100%; object-fit: cover; }
.h-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 55, 77, 0.92), rgba(42, 74, 101, 0.88)); }
.h-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.h-part { position: absolute; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: twinkle 5s infinite; box-shadow: 0 0 15px var(--gold); }
.hp1 { top: 20%; left: 15%; animation-delay: 0s; }
.hp2 { top: 50%; right: 20%; animation-delay: 2s; }
.hp3 { bottom: 25%; left: 25%; animation-delay: 4s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.h-content { position: relative; z-index: 3; padding: 5rem 2rem; max-width: 900px; }
.h-badge { width: 70px; height: 70px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4); }
.h-badge i { font-size: 2rem; color: var(--navy); }
.h-title-wrap { margin-bottom: 1.5rem; }
.h-pre { font-size: 1.1rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; font-weight: 600; }
.h-name { font-size: 5rem; font-weight: 600; font-style: italic; color: white; letter-spacing: 2px; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3); }
.h-subtitle { font-size: 1.2rem; color: rgba(255, 255, 255, 0.95); font-weight: 500; margin-bottom: 2.5rem; }
.h-details { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.h-d-item { display: flex; align-items: center; gap: 0.5rem; color: white; font-weight: 600; }
.h-d-item i { font-size: 1.2rem; color: var(--gold); }
.h-d-sep { color: var(--gold); }
.countdown { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: nowrap; }
.cd-unit { padding: 1.5rem; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); border: 2px solid var(--gold); border-radius: 12px; min-width: 85px; }
.cd-val { font-size: 2.8rem; font-weight: 700; color: white; line-height: 1; }
.cd-txt { font-size: 0.8rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; font-weight: 600; }
.godparents { display: inline-block; padding: 1.5rem 3rem; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 215, 0, 0.3); border-radius: 20px; }
.gp-line { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 0.8rem; }
.gp-line:last-child { margin: 0.8rem auto 0; }
.gp-label { font-size: 0.85rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.gp-names { font-family: 'Crimson Text', serif; font-size: 1.6rem; font-style: italic; color: white; font-weight: 600; }
.h-scroll { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; cursor: pointer; }
.h-scroll i { font-size: 2rem; color: var(--gold); }

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

@media (max-width: 768px) {
    .h-name { font-size: 3rem; }
    .countdown { gap: 1rem; }
    .cd-unit { min-width: 70px; padding: 1rem; }
    .cd-val { font-size: 2rem; }
    .h-d-sep { display: none; }
}

/* Sections */
section { padding: 7rem 0; }
.s-head { text-align: center; margin-bottom: 4rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.s-title { font-size: 3rem; font-weight: 600; font-style: italic; color: var(--navy); }
.s-line { width: 60px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* About */
.about { background: linear-gradient(180deg, var(--ivory), var(--ivory-dark)); }
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.a-lead { font-family: 'Crimson Text', serif; font-size: 1.5rem; font-style: italic; color: var(--navy); margin-bottom: 1.5rem; font-weight: 600; }
.about-txt p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.q-box { background: linear-gradient(135deg, rgba(26, 55, 77, 0.05), rgba(255, 215, 0, 0.05)); padding: 1.5rem 2rem; border-left: 4px solid var(--gold); border-radius: 8px; margin: 2rem 0; position: relative; }
.q-box i { position: absolute; top: 10px; left: 10px; font-size: 2rem; color: var(--gold); opacity: 0.3; }
.q-box p { font-family: 'Crimson Text', serif; font-size: 1.2rem; font-style: italic; color: var(--navy); margin: 0; padding-left: 2rem; font-weight: 600; }
.pic-wrap { position: relative; }
.pic-wrap img { width: 100%; border-radius: 16px; border: 8px solid white; box-shadow: 0 10px 40px rgba(26, 55, 77, 0.2); }
.pic-frame-tl, .pic-frame-tr, .pic-frame-bl, .pic-frame-br { position: absolute; width: 30px; height: 30px; border-style: solid; border-color: var(--gold); }
.pic-frame-tl { top: -12px; left: -12px; border-width: 3px 0 0 3px; }
.pic-frame-tr { top: -12px; right: -12px; border-width: 3px 3px 0 0; }
.pic-frame-bl { bottom: -12px; left: -12px; border-width: 0 0 3px 3px; }
.pic-frame-br { bottom: -12px; right: -12px; border-width: 0 3px 3px 0; }

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

/* Parents */
.parents { background: var(--ivory); }
.p-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin: 0 auto 2rem; }
.p-card { background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(26, 55, 77, 0.05)); border: 2px solid var(--gold); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 6px 25px rgba(26, 55, 77, 0.1); transition: all 0.5s; }
.p-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(255, 215, 0, 0.2); }
.pc-ornament { width: 50px; height: 50px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; margin: 0 auto 1.2rem; box-shadow: 0 3px 12px rgba(255, 215, 0, 0.3); position: relative; }
.pc-ornament::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border: 2px solid white; border-radius: 50%; }
.pc-name { font-size: 2rem; font-weight: 600; font-style: italic; color: var(--navy); margin-bottom: 0.5rem; }
.pc-role { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); font-weight: 600; }
.p-surname { text-align: center; font-family: 'Crimson Text', serif; font-size: 2.2rem; font-weight: 600; font-style: italic; color: var(--navy); }

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

/* Program */
.program { background: linear-gradient(180deg, var(--ivory-dark), var(--ivory)); }
.prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.prog-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(26, 55, 77, 0.12); transition: all 0.5s; }
.prog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(26, 55, 77, 0.2); }
.pr-img { position: relative; height: 280px; overflow: hidden; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s; }
.prog-card:hover .pr-img img { transform: scale(1.1); }
.pr-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 55, 77, 0.4), rgba(255, 215, 0, 0.3)); }
.pr-ico { width: 75px; height: 75px; margin: -37px auto 0; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: 4px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4); position: relative; }
.pr-ico i { font-size: 2rem; color: var(--navy); }
.pr-cont { padding: 2rem; text-align: center; }
.pr-title { font-size: 1.8rem; font-weight: 600; font-style: italic; color: var(--navy); margin-bottom: 1.5rem; }
.pr-info { margin-bottom: 1.5rem; }
.info-i { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text); }
.info-i i { font-size: 1rem; color: var(--gold-dark); }
.pr-address { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; }
.pr-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold); text-decoration: none; border-radius: 25px; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 15px rgba(26, 55, 77, 0.3); }
.pr-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 55, 77, 0.4); }

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

/* RSVP */
.rsvp { background: var(--ivory); }
.rsvp-lead { text-align: center; max-width: 700px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.8; }
.rsvp-form { max-width: 700px; margin: 0 auto; background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(26, 55, 77, 0.12); border: 2px solid var(--gold-light); }
.rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.rf-field { margin-bottom: 1.5rem; }
.rf-field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.rf-field input, .rf-field textarea { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid var(--gold-light); border-radius: 10px; font-family: 'Raleway', sans-serif; font-size: 1rem; color: var(--text); transition: all 0.3s; }
.rf-field input:focus, .rf-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15); }
.rf-field textarea { resize: vertical; min-height: 120px; }
.rf-radios { display: flex; flex-direction: column; gap: 1rem; }
.rf-radio { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; padding: 0.8rem; border-radius: 10px; transition: all 0.3s; }
.rf-radio:hover { background: var(--ivory); }
.rf-radio input[type="radio"] { display: none; }
.rf-dot { width: 20px; height: 20px; border: 2px solid var(--gold-light); border-radius: 50%; position: relative; flex-shrink: 0; transition: all 0.3s; }
.rf-radio input:checked + .rf-dot { border-color: var(--gold); }
.rf-radio input:checked + .rf-dot::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: var(--gold); border-radius: 50%; }
.rf-submit { width: 100%; padding: 1.2rem 2rem; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold); border: none; border-radius: 30px; font-family: 'Raleway', 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(26, 55, 77, 0.3); }
.rf-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26, 55, 77, 0.4); }
.rf-alert { display: none; padding: 1.2rem; border-radius: 10px; margin-top: 1.5rem; text-align: center; font-weight: 600; }
.rf-alert.show { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.rf-success { background: rgba(139, 195, 139, 0.15); color: #2d7a2d; border: 2px solid rgba(139, 195, 139, 0.3); }
.rf-error { background: rgba(195, 139, 139, 0.15); color: #7a2d2d; border: 2px solid rgba(195, 139, 139, 0.3); }

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

/* Footer */
.ft { background: linear-gradient(180deg, var(--navy-dark), var(--navy)); color: white; padding: 5rem 0 1.5rem; }
.ft-top { text-align: center; margin-bottom: 3rem; }
.ft-name { font-family: 'Crimson Text', serif; font-size: 2.5rem; font-weight: 600; font-style: italic; color: var(--gold); margin-bottom: 1rem; }
.ft-info { display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 1rem; }
.ft-dot { color: var(--gold); }
.ft-menu { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.ft-menu a { color: white; text-decoration: none; font-weight: 600; transition: all 0.3s; opacity: 0.9; }
.ft-menu a:hover { opacity: 1; color: var(--gold); }
.ft-ornament { width: 100px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 2rem; }
.ft-cr { text-align: center; font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 640px) {
    .ft-name { font-size: 2rem; }
    .ft-info { flex-direction: column; gap: 0.5rem; }
    .ft-dot { 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; }
}


