/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Gabriela', serif;
    background-color: #fff; /* Default white background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

svg {
    display: block; /* Ensures no inline spacing issues */
    overflow: hidden; /* Prevents elements from exceeding their container */
}

/* Hero Section */
.hero {
    animation: landing 1.5s forwards;
    text-align: center;
}

@keyframes landing {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 50px 0;
    text-align: center;
}

.title {
    font-size: 2rem;
    font-family: 'Kurale', serif;
    color: #8B0000; /* Dark red */
}

.subtitle {
    font-size: 1.5rem;
    font-family: 'Gabriela', serif;
}

/* Timer Styles */
.timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: 'Gabriela', serif;
    margin-top: 20px;
}

.timer div {
    font-size: 1.5rem;
    text-align: center;
}

.timer span {
    display: block;
    font-size: 1rem;
    color: #555;
}

/* Animation for Elements */
.muncul {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

.flower {
    transform: scale(0);
    transition: 0.5s;
    opacity: 0;
}

.flower.muncul {
    transform: scale(1);
    opacity: 1;
}

.opening {
    transform: translateY(100px);
    opacity: 0;
    transition: 0.5s;
}

.opening.muncul {
    opacity: 1;
    transform: translateY(0);
}

/* Info Section */
#info-section {
    background-color: #fef2f2;
}

#info-section .info-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease-in-out;
}

#info-section .info-box h1 {
    font-size: 2.5rem; 
    font-weight: bold; 
    color: #8B0000; /* Dark red */
}

#info-section .info-box p {
    font-size: 1.5rem; 
    color: #333;
}

#info-section .info-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #e3342f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#info-section .info-box a:hover {
    background-color: #cc1f1a;
}

/* Wave Animation */
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 100px;
}

.parallax > use {
    animation: moveForever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes moveForever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Schedule Section */
.schedule-item {
    animation: fadeInLeft 1s ease-in-out;
}

.schedule-item:nth-child(even) {
    animation: fadeInRight 1s ease-in-out;
}

/* Audio Player */
.audio-player {
    width: 15rem;
    height: 3rem;
}

.controls {
    display: flex;
    align-items: center;
    width: 70%;
    margin-top: 10px;
}

.player-button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 40px;
    margin-right: 5px;
}

/* Animations */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }

    #info-section .info-box {
        margin-bottom: 20px;
    }
}

.hidden {
    display: none;
}

#custom-modal {
    backdrop-filter: blur(10px);
}
