body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #333;
}

body.intro-active {
    overflow: hidden;
}

section {
    padding: 80px 20px;
}

/* #intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
} */

.hero {
    height: 100vh;
    background: url('../images/hero-video-new.gif') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 70px;
    font-family: 'Playfair Display', serif;
}

.hero span {
    color: #ffc0cb;
}

.countdown div {
    display: inline-block;
    margin: 10px;
    font-size: 24px;
}

.timeline {
    max-width: 800px;
    margin: auto;
}

.timeline-item {
    margin: 40px 0;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.event {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery img {
    width: 100%;
    border-radius: 10px;
}

.location iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.rsvp-button {
    display: inline-block;
    padding: 15px 30px;
    background: #e63946;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

#petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#intro-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
}

#envelope-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: white;
}

#envelope-image {
    max-height: 100vh;
    max-width: 120vw;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    margin-top: 2em;
}

#envelope-video {
    display: none;
    max-height: 100vh;
    max-width: 120vw;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tap-text {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}