@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@200;300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf6f0;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.welcome {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/couple.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.welcome-overlay {
    background: url('/assets/images/floral-overlay.png') center/cover, linear-gradient(to bottom, rgba(253,246,240,0.5), rgba(242,101,94,0.3));
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 1.5s ease-in-out;
}

.welcome-content h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5em;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.welcome-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.welcome-content h3 {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 25px;
}

.welcome-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    font-weight: 200;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    margin-bottom: 20px;
}

.hero {
    position: relative;
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/images/couple.jpg') no-repeat center/cover;
    color: white;
    border-radius: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 1.5s ease-in-out;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4em;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: 200;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-elegant {
    padding: 12px 40px;
    font-size: 1.1em;
    background: linear-gradient(to right, #f2615e, #f7c6c5);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.btn-elegant:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #d94f4c, #e6b3b2);
}

.btn-back {
    margin-top: 15px;
    padding: 8px 25px;
    font-size: 0.9em;
}

.main-photo {
    text-align: center;
    margin: 15px auto;
}

.photo-frame {
    position: relative;
    display: inline-block;
    padding: 33px;
    background: url('/assets/images/floral-frame.png') center/contain no-repeat;
    border-radius: 10px;
    
}

.main-photo img {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    border: 2px solid #f2615e;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1.5s ease-in-out;
}

.slideshow-section {
    text-align: center;
    margin: 20px auto;
}

.slideshow {
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid #f2615e;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.slideshow img {
    width: 100%;
    display: none;
    border-radius: 15px;
    transition: opacity 1s ease-in-out;
}

.slideshow img.active {
    display: block;
    opacity: 1;
}

.countdown-section {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(to bottom, #f7c6c5, #fdf6f0);
    border-radius: 15px;
    border: 1px solid #f7c6c5;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 1.5s ease-in-out forwards;
}

.countdown-section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    color: #f2615e;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: #fdf6f0;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #f7c6c5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 80px;
}

.countdown-item span {
    display: block;
    font-size: 2em;
    font-weight: 600;
    color: #f2615e;
}

.section {
    text-align: center;
    margin: 50px 0;
    padding: 30px;
    background: linear-gradient(to bottom, #f7c6c5, #fdf6f0);
    border-radius: 15px;
    border: 1px solid #f7c6c5;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 1.5s ease-in-out forwards;
    position: relative;
    overflow: visible;
}

.section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    color: #f2615e;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: url('/assets/images/floral-accent.png') no-repeat top left;
    background-size: contain;
    opacity: 0.6;
    z-index: -1;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    will-change: opacity, transform;
    animation: fadeInAccent 1.5s ease-in-out forwards;
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url('/assets/images/floral-accent.png') no-repeat top right;
    background-size: contain;
    opacity: 0.6;
    z-index: -1;
    filter: drop-shadow(-2px 2px 4px rgba(0,0,0,0.2));
    will-change: opacity, transform;
    animation: fadeInAccent 1.5s ease-in-out forwards;
    transform: scaleX(-1); /* Cerminkan gambar untuk simetri */
}

.events ul {
    list-style: none;
    padding: 0;
}

.events li {
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events li i {
    margin-right: 8px;
    color: #f2615e;
}

.gift p {
    max-width: 500px;
    margin: 12px auto;
    padding: 12px;
    font-size: 1.1em;
    background: #fdf6f0;
    border-radius: 8px;
    border: 1px solid #f7c6c5;
}

.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.audio-btn {
    padding: 10px;
    font-size: 1em;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.decor-left, .decor-right {
    position: fixed;
    top: 0;
    width: 120px;
    height: 100vh;
    background: url('/assets/images/floral-border.png') repeat-y center;
    z-index: 500;
}

.decor-left {
    left: 0;
}

.decor-right {
    right: 0;
}

.decor-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/assets/images/floral-particles.png') repeat;
    opacity: 0.2;
    z-index: -1;
    animation: float 20s infinite linear;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242,101,94,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(242,101,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(242,101,94,0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInAccent {
    from { opacity: 0; }
    to { opacity: 0.6; }
}

@keyframes float {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

@media (max-width: 768px) {
    .welcome-content h1 { font-size: 2.5em; }
    .welcome-content h2 { font-size: 2em; }
    .welcome-content h3 { font-size: 1.2em; }
    .welcome-overlay { padding: 20px; }
    .hero { padding: 80px 15px; }
    .hero h1 { font-size: 3em; }
    .hero-subtitle { font-size: 1.2em; }
    .section { padding: 20px; }
    .section h2 { font-size: 2.5em; }
    .main-photo img { max-width: 250px; }
    .photo-frame { padding: 15px; }
    .slideshow { max-width: 100%; }
    .decor-left, .decor-right { width: 60px; }
    .decor-particles { background-size: 200px; }
    .countdown-item { min-width: 60px; padding: 10px 15px; }
    .countdown-item span { font-size: 1.5em; }
    .section::before, .section::after {
        width: 200px;
        height: 200px;
        opacity: 0.7;
        animation: fadeInAccent 1.5s ease-in-out forwards;
    }
}

.admin-panel {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.admin-panel nav {
    margin-bottom: 30px;
}

.admin-panel nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #f2615e;
    font-weight: 600;
}

.admin-panel nav a:hover {
    color: #d94f4c;
}

.admin-panel form {
    max-width: 500px;
    margin: 0 auto;
}

.admin-panel .form-control {
    border: 1px solid #f7c6c5;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}