:root {
    /* Warna Dasar */
    --color-cream: #3b0a0f;
    --color-gold: #d4af37;
    --color-dark-gold: #a97c28;
    --color-soft-white: #fef8f1;
    --color-text-dark: #2b1d1c;

    /* Background dan Shape */
    --bg-main: var(--color-cream);
    --bg-shape: var(--color-soft-white);
    --shape-border: var(--color-gold);

    --bg-overlay: #ffffff94;
    /* Overlay lebih lembut */

    /* Teks */
    --text-in-shape: var(--color-text-dark);
    --text-heading: var(--color-dark-gold);
    --text-body: var(--color-text-dark);

    /* Tombol */
    --btn-background: var(--color-gold);
    --btn-text: var(--color-soft-white);
    --btn-hover: var(--color-dark-gold);
    --btn-border: var(--color-gold);

    /* Gelombang (aksen visual) */
    --wave1: #822727;
    --wave2: #a63b3b;
    --wave3: #fff;
}

body {
    font-family: "Poppins";
}

.btn,
#playPauseBtn {
    background-color: var(--btn-background);
    border-color: var(--btn-border) !important;
    color: var(--btn-text);
}

.btn:hover,
#playPauseBtn:hover {
    background-color: var(--btn-hover);
}

.btn:active,
#playPauseBtn:active {
    background-color: var(--color-dark-gold);
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
}

#frist-layer {
    background-color: var(--color-soft-white) !important;
}

#frist-layer {
    position: relative;
    z-index: 1;
}

#frist-layer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-soft-white);
    opacity: 0.6;
    z-index: -1;
}

#frist-layer .bg-background {
    background-size: cover;
    background-position: center center;
}

#frist-layer .the-box {
    border: 1px solid var(--color-text-dark) !important;
    border-radius: 20% !important;
    -webkit-border-radius: 20% !important;
    -moz-border-radius: 20% !important;
    -ms-border-radius: 20% !important;
    -o-border-radius: 20% !important;
    background-color: #fffdf836 !important;
}

#frist-layer .the-box .display-name {
    font-family: 'Great Vibes';
    width: 140px;
}

#frist-layer .the-box .display-name .h1 {
    color: var(--color-text-dark) !important;
    font-size: 70px !important;
}

#frist-layer .the-box .display-name .h1:first-child {
    margin-bottom: -20px;
    left: 0 !important;
    text-align: start;
}

#frist-layer .the-box .display-name .h1:last-child {
    margin-top: -20px;
    left: 0 !important;
    text-align: end;
}

#frist-layer .the-box h2 {
    font-size: 17px;
    color: var(--color-text-dark);
}

#frist-layer .the-box .bride {
    font-size: 30px;
    font-family: 'Courgette';
    color: var(--color-text-dark);
}

#frist-layer .the-box .box-invitation {
    color: var(--color-text-dark);

}

.bg-overlay {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.8;
}

.foto-main {
    width: 220px;
    height: 320px;
}

.foto-main .profil {
    width: 145px;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    border-radius: 30%;
    -webkit-border-radius: 30%;
    -moz-border-radius: 30%;
    -ms-border-radius: 30%;
    -o-border-radius: 30%;
}

.foto-main .border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 100%;
    border: none !important;
}

#opening .the-box {
    background-color: var(--bg-overlay);
    width: 90% !important;
    padding: 20px;
    height: 90% !important;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

#opening .the-box h2 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

#opening .the-box h1 {
    font-family: 'Playfair Display';
    color: var(--color-text-dark);
    font-weight: 500;

}

#opening .the-box .text-date {
    color: var(--color-text-dark);

}

section {
    overflow: hidden;
}

#frist-layer .bird-overlay {
    z-index: 1001;
    width: 100%;
}

#frist-layer #open-btn {
    z-index: 1002;

}

.bird-overlay {
    width: 300px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    top: 100px;
    z-index: -1;
}

.home-l {
    position: absolute;
    left: -100px;
    bottom: -20px;
    width: 200px;
}

.home-r {
    position: absolute;
    right: -70px;
    bottom: -30px;
    width: 180px;
}
.f-bush {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 100px;
}

.bush {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#save-date .the-boxs {
    background-color: var(--bg-overlay);
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

#save-date .the-box {
    background-color: transparent !important;
    color: var(--color-text-dark) !important;
}

#save-date .the-box span {
    font-size: 26px;
    font-family: 'Lobster';
}

#save-date .date {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-dark);
}

#the-doa .bg-white {
    background-color: var(--bg-overlay) !important;
    color: var(--color-text-dark) !important;

}

#bride {
    color: var(--color-text-dark) !important;
}


#bride .the-box {
    background-color: var(--bg-overlay);
    border-radius: 30px;
    color: var(--color-text-dark) !important;

}

#bride .the-box h2 {
    font-size: 28px;
    font-family: 'Lora';
    color: var(--color-text-dark) !important;
}

.mariposa {
    position: absolute;
    width: 45px;
    right: 35px;
    bottom: 50px;
}

/* event layer */
#event .card {
    background-color: var(--bg-overlay) !important;
}

#event .text-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-block;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 2px;
    transform: rotate(180deg);
    /* Memutar teks */
    padding: 20px 10px;
    text-align: center;
}

#event .text-vertical h3 {
    color: var(--color-text-dark);
}

#event .content {
    border-left: 1.4px solid var(--color-text-dark);
    color: var(--color-text-dark);
    padding: 20px 30px;
}

#event .content .the-date {
    font-size: 28px;
    font-weight: bold;
    border-top: 1px solid var(--color-text-dark);
    border-bottom: 1px solid var(--color-text-dark);
}

#event .content .alamat {
    font-size: 13px;
}

#mini-maps {
    background-color: var(--color-soft-white);
}

#mini-maps h2 {
    color: var(--color-text-dark);
}

#the-gallery .content iframe,
#the-gallery .content img {
    border: 2px solid var(--btn-border);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#love-story h2 {
    color: var(--color-text-dark);
}


#love-story .timeline-item {
    color: var(--color-text-dark);
    font-weight: 400;
    padding: 10px;
    background-color: var(--bg-overlay) !important;
    border-radius: 10px;
}

#love-story h3 {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 24px;
}

#love-story .text-muted {
    color: var(--color-text-dark) !important;
    font-weight: 500;
    font-size: 14px;
}

/* love-story layer */

#bank {
    color: var(--color-text-dark) !important;
}

#bank h2 {
    color: var(--color-text-dark) !important;
}

#bank .accordion-button.gift-button {
    background-color: var(--color-text-dark);
    color: #f1f1f1 !important;
}

#bank .accordion-button.gift-button.collapsed {
    background-color: var(--color-dark-gold);
    color: #f9f9f9;
}

/* form controll */
/* Styling umum untuk select */
.form-control,
select.form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-text-dark);
    padding: 10px;
    font-size: 1rem;
    color: var(--color-text-dark);
    width: 100%;
    outline: none;
    transition: all 0.3s ease-in-out;
    appearance: none;
    /* Menghilangkan default arrow pada beberapa browser */
}

/* Efek saat focus */
.form-control:focus,
select.form-control:focus {
    border-bottom: 2px solid var(--color-dark-gold);
    box-shadow: 0px 4px 10px rgba(140, 150, 0, 0.3);
    outline: none;
}

.form-control::placeholder {
    color: #5c5c5c;
}

/* Placeholder atau default option */
select.form-control option {
    color: #333;
    background: white;
}

/* Styling saat disabled */
.form-control:disabled,
select.form-control:disabled {
    background: transparent;
    border-bottom: 2px dashed var(--background-soft);
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    background-color: #c6c6c637;
}

/* Placeholder atau opsi pertama pada select saat disabled */
select.form-control:disabled option {
    color: var(--color-text-dark);
}

/* form controll */

/* rsvp layer */
#rsvp .btn.btn-success {
    background-color: var(--btn-background);
    color: var(--color-cream);
    font-weight: bold;
    border: 2px solid var(--btn-background);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Efek hover */
#rsvp .btn.btn-success:hover {
    background-color: var(--color-cream);
    color: var(--btn-background);
    border-color: var(--color-cream);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Efek saat tombol ditekan */
#rsvp .btn.btn-success:active {
    transform: scale(0.95);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.15);
}

#rsvp small {
    color: var(--text-button) !important;
}

/* rsvp layer */

/* chat-room layer */
#chat-room .btn.btn-primary {
    background-color: var(--btn-background);
    color: var(--color-cream);
    font-weight: bold;
    border: 2px solid var(--btn-background);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Efek hover */
#chat-room .btn.btn-primary:hover {
    background-color: var(--color-cream);
    color: var(--btn-background);
    border-color: var(--color-cream);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Efek saat tombol ditekan */
#chat-room .btn.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.15);
}

#chat-room .the-chat {
    background-color: var(--color-cream);
    color: var(--text-primary);
}

#chat-room .card,
#rsvp .card {
    background-color: var(--bg-overlay) !important;
}

#chat-room label,
#rsvp label {
    color: var(--color-text-dark);
}

/* chat-room layer */

#closing #Gallerycarousel2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1 !important;
}

#closing #Gallerycarousel2 img {
    width: 100%;
    min-height: 90vh !important;
    filter: brightness(70%);
    object-fit: cover;
    object-position: center center;
}

#closing {
    min-height: 90vh;
}

#closing .box-closing {
    height: 100% !important;
}

#closing h2 {
    font-family: 'Playfair Display';
    font-weight: 600;
}

.flowers {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: end;
}

.flowers img {
    transform-origin: bottom center;
    animation: swayFlower infinite ease-in-out;
}

/* Ukuran dan durasi animasi berbeda */
.flowers img:nth-child(1) {
    width: 30px;
    animation-duration: 4s;
}

.flowers img:nth-child(2) {
    width: 20px;
    animation-duration: 6s;
}

.flowers img:nth-child(3) {
    width: 20px;
    animation-duration: 5s;
}

/* Keyframes untuk gerakan bolak-balik */
@keyframes swayFlower {
    0% {
        transform: rotate(0deg) translateX(0px);
    }

    50% {
        transform: rotate(8deg) translateX(5px);
    }

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

.main-background {
    filter: brightness(70%);
    -webkit-filter: brightness(70%);
}

.main-background h3 {
    font-family: 'Great Vibes' !important;
    font-size: 60px;
    color: var(--color-text-dark) !important;
}


.main-background h2 {
    color: var(--color-text-dark) !important;

}