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

:root {
    --red: #8B1538;
    --gold: #D4AF37;
    --light-gold: #F4D03F;
    --dark: #1d1d1f;
    --light: #f5f5f7;
    --gray: #86868b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.nav-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--red);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
    z-index: -1;
    opacity: 0.95;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: hero-fade-in 1.2s ease-out;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.om-top {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    display: inline-block;
    animation: om-float 3s ease-in-out infinite;
}

@keyframes om-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-date {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 60px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    animation: scroll-bounce 2s infinite;
}

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

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* ==================== SECTION BLOCKS ==================== */
.section-block {
    padding: 100px 20px;
    min-height: auto;
    position: relative;
    background: white;
}

.section-block.dark {
    background: var(--dark);
    color: white;
}

.section-block.promise-section {
    background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
    color: white;
}

.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: section-fade-in 0.8s ease-out;
}

@keyframes section-fade-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-block.dark .section-title {
    color: white;
}

.section-block.promise-section .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    font-weight: 400;
}

.section-block.dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-block.promise-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== PERSON CARDS ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.person-card {
    padding: 50px 40px;
    text-align: center;
    border-radius: 20px;
    background: var(--light);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: card-slide-up 0.8s ease-out;
}

@keyframes card-slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.person-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.person-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.person-card .role {
    font-size: 0.95rem;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.person-card .description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

.divider-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart {
    font-size: 2rem;
    animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* ==================== DETAILS SECTION ==================== */
.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.detail-item {
    display: flex;
    gap: 30px;
    animation: detail-slide 0.8s ease-out;
}

@keyframes detail-slide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-icon {
    font-size: 2.5rem;
    min-width: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.detail-text p {
    margin: 0;
}

.detail-label {
    font-size: 0.95rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-block.dark .detail-label {
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.section-block.dark .detail-value {
    color: white;
}

.coming-soon-banner {
    padding: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-block.dark .coming-soon-banner {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.banner-text {
    font-size: 1.1rem;
    color: var(--red);
    font-weight: 500;
}

.section-block.dark .banner-text {
    color: var(--light-gold);
}

/* ==================== TIMELINE ==================== */
.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    animation: timeline-fade 0.8s ease-out;
}

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

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--light);
    border: 3px solid var(--red);
    transition: all 0.4s ease;
}

.timeline-dot.active {
    background: var(--red);
    box-shadow: 0 0 0 8px rgba(139, 21, 56, 0.1);
}

.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 60px;
    background: rgba(139, 21, 56, 0.2);
    top: 35px;
    left: 6.5px;
}

.section-block.dark .timeline-item:not(:last-child) .timeline-marker::after {
    background: rgba(212, 175, 55, 0.2);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 4px 0;
}

.section-block.dark .timeline-content p {
    color: rgba(255, 255, 255, 0.6);
}

.timeline-description {
    margin-top: 10px !important;
    font-size: 1rem !important;
    color: var(--red) !important;
    font-weight: 500;
}

.section-block.dark .timeline-description {
    color: var(--light-gold) !important;
}

/* ==================== PROMISE SECTION ==================== */
.promise-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: promise-fade-in 1s ease-out;
}

@keyframes promise-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.om-symbol {
    font-size: 4rem;
    display: inline-block;
    margin-bottom: 30px;
    animation: om-glow 2s ease-in-out infinite;
}

@keyframes om-glow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.promise-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.promise-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.promise-highlight {
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promise-highlight p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
}

/* ==================== RSVP SECTION ==================== */
.rsvp-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: rsvp-fade 0.8s ease-out;
}

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

.rsvp-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-button {
    display: inline-block;
    padding: 18px 60px;
    background: white;
    color: var(--red);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: scale(0.98);
}

.contact-info {
    font-size: 0.95rem;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    animation: footer-fade-in 0.8s ease-out;
}

@keyframes footer-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.blessing {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-gold);
    font-weight: 500;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-date {
    font-size: 1rem;
    color: var(--gray);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .om-top {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .divider-card {
        display: none;
    }

    .details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .promise-title {
        font-size: 2rem;
    }

    .promise-text {
        font-size: 1.1rem;
    }

    .section-block {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .detail-item {
        gap: 20px;
    }

    .detail-icon {
        font-size: 2rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }

    .rsvp-message {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .section-block {
        padding: 40px 20px;
    }
}
