:root {
    --primary-color: #228B22; /* Hijau dominan */
    --secondary-color: #8B4513; /* Coklat kayu */
    --background-image: url('hutan.jpg'); /* Ganti dengan URL image background Anda */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: ('hutan.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    overflow-x: hidden;
    transition: background 0.5s ease;
}

.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.page.active {
    display: flex;
}

.cover-content, .beranda-content, .undangan-content, .input-content, .penerima-content, .terima-kasih-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

h1, h2 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: 20px;
}

p, ul {
    font-size: 1.1em;
    line-height: 1.6;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    transition: background 0.3s ease;
}

button:hover {
    background: var(--secondary-color);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

#participant-list {
    list-style: none;
    padding: 0;
}

#participant-list li {
    background: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

/* Tambahan: Styling untuk Peta */
#map {
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsif */
@media (max-width: 768px) {
    .cover-content, .beranda-content, .undangan-content, .input-content, .penerima-content, .terima-kasih-content {
        padding: 20px;
        margin: 10px;
    }
    h1, h2 {
        font-size: 1.5em;
    }
    p, ul {
        font-size: 1em;
    }
    button {
        padding: 10px 20px;
    }
    #map {
        height: 250px; /* Lebih kecil di mobile */
    }
}

/* ... (kode CSS sebelumnya tetap sama) ... */

/* Tambahan untuk Map Section */
.map-section {
    margin-top: 30px;
    text-align: center;
}

.map-section h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: 15px;
}

#map {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsif untuk Map */
@media (max-width: 768px) {
    #map {
        height: 300px;
    }
}

/* ... (sisanya tetap sama) ... */

/* Styling untuk Map Container */
.map-container {
    margin-top: 30px;
    text-align: center;
}

.map-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.map-container iframe {
    width: 100%;
    max-width: 600px; /* Maksimal lebar untuk desktop */
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px; /* Tinggi lebih kecil di mobile */
        max-width: 100%; /* Lebar penuh */
    }
}

