@import url("https://fonts.googleapis.com/css2?family=Smooch+Sans:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Carattere&display=swap');

:root {
  --smooch-sans: "Smooch Sans", sans-serif;
  --inria-serif: "Inria Serif", serif;
  --cerattere: "Carattere", serif;
  --width: 393px;
}

html {
    font-size: 16px; /* Base font size untuk desktop */
}

body{
    overflow: hidden;
    margin: 0;
    padding: 0;
}

label {
    font-size: 1rem;
    color: #fff;
}

.slide-container {
    min-width: 400px;
    height: 100vh;
    overflow-y: hidden;
    scroll-snap-type: y mandatory;
    min-height: 500px;
}

.slide {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.slide:nth-child(1) { 
    /* background-color: #007bff;  */
    background-image: url('../spesial_03/img/flower.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide:nth-child(2) { 
    background-image: url('../spesial_03/img/flower-flip.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1);
 }
.slide:nth-child(3) { 
    background-image: url('../spesial_03/img/flower.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
 }
.slide:nth-child(4) { 
    background-image: url('../spesial_03/img/flower-flip.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1);
 }
.slide:nth-child(5) { 
    background-image: url('../spesial_03/img/flower.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide:nth-child(6) { 
    background-color: rgb(58, 154, 180);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide:nth-child(7) { 
    background-image: url('../spesial_03/img/flower.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* card */
.card {
    width: 80%;
    height: 85%;
}

.card-glass {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent */
    backdrop-filter: blur(5px);          /* blur efek kaca */
    -webkit-backdrop-filter: blur(5px);  /* Safari support */
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* drop shadow */
    border: 3px solid rgb(157, 201, 216); /* subtle border */
    padding: 2rem;
}

.card-transparent {
    background-color: transparent !important;
    border: 0;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.slide:nth-child(2) .card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #000;
    background-color: transparent;
    border: 0;
    transform: scaleX(-1);
}

.slide:nth-child(2) .card h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.slide:nth-child(2) .card p {
    font-size: 0.9rem;
}

.slide:nth-child(2) .card .box-text {
    text-align: center;
    width: 300px;
    text-align: center;
}

.slide:nth-child(3) .card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #000;
    background-color: transparent;
    border: 0;
    height: 95%;
    /* transform: scaleX(-1); */
}

.dan {
    margin: 0;
    display: inline-block;
}

.dan {
    display: inline-block;
    position: relative;
    padding: 0 1.2em; /* Memberikan ruang di sekitar teks untuk garis */
    text-transform: uppercase;
    font-weight: bold;
    color: #333; /* Warna teks */
}

.dan::before,
.dan::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px; /* Lebar garis */
    height: 1px; /* Ketebalan garis */
    background-color: #333; /* Warna garis */
    transform: translateY(-50%);
}

.dan::before {
    left: 0;
}

.dan::after {
    right: 0;
}

.slide:nth-child(3) .card p:nth-child(1) {
    font-size: 0.8rem;
    font-weight: bold;
    width: 300px;
    margin-top: -10px;
}

.slide:nth-child(3) .card p:nth-child(2) {
    font-size: 0.8rem;
    width: 300px;
}

.slide:nth-child(3) .card .box-couple {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide:nth-child(3) .card .box-couple .box-text {
    text-align: center;
}

.slide:nth-child(3) .card .box-couple .box-text h2 {
    font-size: 1.5rem;
}

.slide:nth-child(3) .card .box-couple .box-text p {
    font-size: 0.9rem;
}

.slide:nth-child(3) .card .box-couple img {
    width: 60%;
    height: auto;
}

.slide:nth-child(4) .card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #000;
    background-color: transparent;
    border: 0;
    transform: scaleX(-1);
}

.slide:nth-child(4) .card .card-child{
    width: 300px;
    height: 180px;
}

.slide:nth-child(4) .card .card-child .card-body{
    transform: scaleX(-1);
    font-size: 0.8rem;
}

.slide:nth-child(5) {
    flex-direction: column;
    height: 100%;
}

.slide:nth-child(5) .doa {
    top: 0;
    width: 100%;
    background-color: rgb(58, 154, 180);
    display: flex;
    justify-content: center;
    padding: 50px 0 50px 0;
}

.slide:nth-child(5) .doa .box-text {
    width: 300px;
    font-size: 0.8rem;
}

.slide:nth-child(5) .card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #000;
    background-color: transparent;
    border: 0;
    /* transform: scaleX(-1); */
    height: 80%;
    font-size: 0.8rem;
    width: 300px;
}

.slide:nth-child(5) .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
}

.slide:nth-child(5) .card .card-body h1 {
    width: fit-content;
}

.slide:nth-child(5) .card .card-body .box-time {
    margin-top: 50px;
    display: flex;
    justify-content: space-evenly;
    width: 300px;
}

.slide:nth-child(5) .card .card-body .box-time .box {
    /* background-color: #f88951; */
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.slide:nth-child(5) .card .card-body .box-time .box:hover{
    background-color: rgb(58, 154, 180);
    border: 0;
}

.slide:nth-child(5) .card .card-body .box-time .box:hover p{
    color: #fff;
}

.slide:nth-child(5) .card .card-body .box-time .box p {
    padding: 0;
    margin: 0;
    color: #000;
}

.slide:nth-child(5) .card .card-body .box-time .box p:nth-child(1){
    font-size: 1rem;
    font-weight: bold;
}

.slide:nth-child(6) .card .box-komentar {
    display: flex;
    flex-direction: column;
    width: 280px;
    margin-top: 10px;
    min-height: 210px;
    max-height: 210px;
}

.slide:nth-child(6) .card .box-komentar .komentar {
    font-size: 0.8rem;
    color: #fff;
    margin-top: 10px;
}

.slide:nth-child(6) .card .box-komentar .komentar p {
    margin: 0;
    padding: 0;
}

.slide:nth-child(6) .card .box-komentar .komentar .author{
    font-weight: bold;
}

.slide:nth-child(6) .card .box-komentar .komentar .date{
    font-size: 0.6rem;
    color: #fff;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    /* padding: 5px 5px; */
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    height: 30px;
    width: 30px;
    font-size: 1rem;
}

.pagination button:disabled {
    background-color: #e9e9e9;
    cursor: not-allowed;
}

.pagination button.active {
    background-color: #ff765b;
    color: white;
    border-color: #ff765b;
}

.slide:nth-child(7) .card img {
    width: 280px;
}

.slide:nth-child(7) .card .box-text {
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide:nth-child(7) .card .box-text p {
    margin-top: 20px;
    color: #000;
    font-size: 0.8rem;
    text-align: justify;
}


/* ===================================================== */

/* display */
.display-column-evenly-align-center {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
/* ===================================================== */

/* font family */
.inria-serif {
    font-family: var(--inria-serif);
}

.smooch-sans {
    font-family: var(--smooch-sans);
}

.cerattere {
    font-family: var(--cerattere);
}
/* ===================================================== */

/* font size */
.font-size-5rem {
    font-size: 5rem;
}
.font-size-4rem {
    font-size: 4rem;
}
.font-size-1-5rem {
    font-size: 1.5rem;
}
/* ===================================================== */

/* letter spacing */
.letter-spacing-1px {
    letter-spacing: 1px;
}
/* ===================================================== */

/* button */
.btn-blue {
    background-color: rgb(157, 201, 216);
    color: #fff;
}
.btn-blue:hover {
    background-color:  rgb(58, 154, 180);
    color: #fff;
}

.btn-transparent {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
}
.btn-transparent:hover {
    background-color:  rgb(58, 154, 180);
    color: #fff;
}

.btn-orange {
    width: 280px;
    background-color: #ff765b;
    color: #fff;
}
.btn-orange:hover {
    background-color:  transparent;
    color: #fff;
    border: 1px solid #fff;
}
/* ===================================================== */

/* text */
.text-orange {
    color: #ff765b;
}

.text-justify {
    text-align: justify;
}

.text-bold {
    font-weight: bold;
}

.text-07-rem {
    font-size: 0.7rem !important;
}
/* ===================================================== */

/* image */
.couple_bunga {
    width: 350px;
}

/* border */
.border-bottom {
    border-bottom: 1px solid #000 !important;
}
/* ===================================================== */

/* flex */
.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* ===================================================== */

/* rekening */

/* ===================================================== */

/* audio */
.audio-icon-wrapper {
    position: fixed; /* ganti absolute → fixed */
    bottom: 20px;
    /* right: 20px; */
    z-index: 9999;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.8;
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: none; /* default hidden */
    margin-left: 10px;
}
@keyframes rotating {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
  animation: rotating 4s linear infinite;
}
/* ===================================================== */