body {
    min-height: 100vh;

    background-image: url("/Pictures/holdHands.jpeg");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}


body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.hero-section {
    min-height: 100vh;
}

.story-section {
    background-color: #FEFBEA;
    padding: 80px 30px;
    margin-top: 100px;
    border-radius: 20px;
}

.custom-btn {
    background-color: #E8DEFC;
    color: black;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    margin: 10px;
    border-radius: 8px;
    font-weight: 500;
}
.custom-btn:hover {
    background-color: #9C92B0;
}

.names {
    font-family: 'Great Vibes', cursive;
    font-size: 64px;
    margin-bottom: 20px;
}

.smallNames {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    margin-bottom: 20px;
}


.main-card {
    background-color: #fefbea9f;
    border-radius: 25px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    max-width: 500px;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-card {
    background-color: #fefbeae9;
    border-radius: 25px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    max-width: 500px;
    position: relative;

    animation: fadeIn 5s ease;
}

.wedding-date {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #555;
}

#countdown {
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #444;
}

#countdown span {
    font-weight: bold;
}


/* Curtains */
/* Curtain overlay covering the whole site */
#curtain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: all;
}

/* Curtain panels */
.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;

    /* Purple / lavender fabric effect */
    background:#9c8edb 30%;
    transition: transform 1.8s ease;
}

/* Left curtain */
.curtain-left {
    left: 0;
}

/* Right curtain */
.curtain-right {
    right: 0;
}

/* Center button container */
.curtain-center {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Enter button */
#enter-btn {
    padding: 18px 40px;
    font-size: 22px;
    border-radius: 12px;
    border: none;

    background: #E8DEFC; /* lavender */
    color: #3a2d63;

    font-weight: 500;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);

    transition: transform 0.2s ease, background 0.2s ease;
}

/* Button hover */
#enter-btn:hover {
    background: #cfc3f2;
    transform: scale(1.05);
}

/* Animation states */
.open-left {
    transform: translateX(-100%);
}

.open-right {
    transform: translateX(100%);
}


.petal {
    position: fixed;
    top: -20px;
    width: 12px;
    height: 12px;

    background: radial-gradient(circle, #e8defc, #cbb7f5);

    border-radius: 50% 50% 50% 0;

    opacity: 0.9;

    animation: fall linear forwards;
}

@keyframes fall {

    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    50% {
        transform: translateY(50vh) translateX(40px) rotate(180deg);
    }

    100% {
        transform: translateY(110vh) translateX(-40px) rotate(360deg);
    }

}