/* Import */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Great+Vibes&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ovo&display=swap');
/* Define custom fonts */
@font-face {
    font-family: 'NewIconScript';
    src: url('../fonts/New-Icon-Script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Juana';
    src: url('../fonts/Juana.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.hint-text {
    font-size: 0.7rem;
    color: #b0b0b0; /* light grey */
    margin-top: 8px;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.5px;
    animation: fadeIn 1.5s ease-in-out;
}
/* Dancing Script font classes */
.dancing-script {
    font-family: 'Dancing Script', cursive;
}

.dancing-script-light {
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

.dancing-script-medium {
    font-family: 'Dancing Script', cursive;
    font-weight: 500;
}

.dancing-script-semibold {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
}

.dancing-script-bold {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}
/* Fleur De Leah - Elegant Script Font */
.fleur-de-leah {
    font-family: 'Fleur De Leah', cursive;
    font-weight: 400; /* Only regular weight available */
}

/* Ovo - Medium Contrast Serif */
.ovo-font {
    font-family: 'Ovo', serif;
    font-weight: 400; /* Only regular weight available */
}

/* Playfair Display - Transitional Serif */
.playfair-regular {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.playfair-medium {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.playfair-semibold {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.playfair-bold {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.playfair-extrabold {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.playfair-black {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

/* Italic versions */
.playfair-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Styles for different letters */
.first-letter {
    font-family: 'NewIconScript', cursive;
    font-size: 28px; /* Adjust as needed */
}

.second-letter {
    font-family: 'Juana', serif;
    font-size: 26px; /* Adjust as needed */
}

/* General Global Setting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    /*background: linear-gradient(to right, #24243e, #302b63, #0f0c29);*/
    background: #F8F4FF;
    font-family: "Roboto", sans-serif;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'Amoresa';
    src: url('../fonts/Amoresa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Jellyka Delicious Cake';
    src: url('../fonts/Jellyka Delicious Cake.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*============================================================================================
    # Animation
============================================================================================*/
.reveal.active {
    opacity: 1;
}

.active.fade-bottom {
    animation: fade-bottom 1s ease-in-out;
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-top-1 {
    animation: growth 0.5s ease-in-out;
}

.fade-top-2 {
    animation: growth 0.8s ease-in-out;
}

.fade-top-3 {
    animation: growth 1s ease-in-out;
}

.fade-top-4 {
    animation: growth 1.2s ease-in-out;
}

@keyframes growth {
    0% {
        transform: scale(0);
        opacity: 0;
        /* transform: translateY(-50px);
        opacity: 0; */
    }

    100% {
        transform: scale(1);
        opacity: 1;
        /* transform: translateY(0);
        opacity: 1; */
    }
}

.divider {
    margin-top: 20px;
    margin-bottom: 10px;
    width: 50%;
    height: 20px;
}

/*============================================================================================
    # Background Animation
============================================================================================*/
.petal-container {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* So petals don't block clicks */
    overflow: hidden; /* Keep petals inside container */
}

/* Make the petals look like flower petals */
.petal {
    position: absolute;
    left: -10px; /* Keep your left offset */
    background: radial-gradient(
        ellipse at center, 
        #7f0a05 30%,    /* deep red */
        #a10e06 60%,    /* slightly lighter red */
        #cc1b08 100%    /* brighter red */
    );
    border-radius: 60% 40% 40% 60% / 70% 80% 20% 30%;
    opacity: 0.8;
    filter: drop-shadow(0 0 2px rgba(127, 10, 5, 0.6)); /* subtle glow with matching color */
    animation: fall 60s linear forwards;
    transform-origin: center;
    /* Make the petals softly rotate and flutter */
}

/* Keep your existing keyframes, just tweak for better rotation & opacity fade */
@keyframes fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(var(--translate-x), var(--translate-y), 0) rotate(720deg);
    opacity: 0;
  }
}

/*============================================================================================
    # Card
============================================================================================*/
.card {
    display: block;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    background: white;
    border-radius: 3px;
    font-size: 14px;
    line-height: 16px;
    font-family: "Roboto", sans-serif;
    position: relative;
    overflow: hidden;
}

/* No scroll class - prevents scrolling initially */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

/* Footer hidden by default */
.footer {
    display: none;
}

/* Intro section - IMPORTANT: Keep all existing styles */
.card section.intro {
    background: url(../images/intro-bg.png), linear-gradient(to right, #F8F4FF, #f9fcff, #F8F4FF);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    border-bottom: 1px solid rgb(195, 195, 195);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 500;
}

/* Grid wrapper - Keep all existing grid properties */
.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
    grid-template-rows: repeat(4, 1fr); /* 5 rows */
    width: 100%;
    height: 100vh;
    position: relative;
}

/* Make sure grid items are visible */
.grid-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Envelope container */
.envelope-container {
    grid-column: 1 / span 2; /* columns 1-2 */
    grid-row: 1 / span 2; /* rows 1-2 */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(10%, 10%);
    z-index: 2;
        width: 300px;   /* or a % like 50% */
    height: 300px;  /* adjust size as needed */
    cursor: pointer;
    margin-top: 40px;
}

/* Letter container */
.letter-container {
    grid-column: 2 / 4; /* columns 2-3 */
    grid-row: 2 / 5; /* rows 3-5 */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-10%, -10%);
    z-index: 3;
    margin-top: 100px;
}


/*============================================================================================
    # Intro
============================================================================================*/
.card section.intro {
  background: url(../images/intro-bg.png),
              linear-gradient(to right, #F8F4FF, #f9fcff, #F8F4FF);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  border-bottom: 1px solid rgb(195, 195, 195);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 500;
}

/* === 3x5 GRID LAYOUT === */
.grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
  grid-template-rows: repeat(4, 1fr); /* 5 rows */
  width: 100%;
  height: 100vh;
  position: relative;
}

/* === Grid Items === */
.grid-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Envelope (spans 2 columns × 2 rows) === */
.envelope-container {
  grid-column: 1 / span 2; /* columns 1–2 */
  grid-row: 1 / span 2;    /* rows 1–2 */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(5%, 5%); /* same as desktop */
  z-index: 2;
}

.envelope-image {
  width: 100%;
  max-width: 700px;
}

.main-fallback-logo {
  position: absolute;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  transform: translate(165%, -70%); /* gentle overlap into center */
}

/* === Letter (spans columns 2–3, rows 3–5) === */
.letter-container {
  grid-column: 2 / 4; /* columns 2–3 */
  grid-row: 2 / 5;    /* rows 3–5 */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-10%, -10%); /* overlap upward toward envelope */
  z-index: 3;
  margin-top: 100px;
}

.letter-image {
  width: 100%;
  max-width: 700px;
}

.letter-content {
  position: absolute;
  text-align: center;
}

/* === Typography === */
.letter-content img {
  width: 60%;
  height: auto;
  margin: 30px auto 20px;
}

.letter-content h2 {
  font-size: 56px;
  font-family: 'Imperial Script', cursive;
  margin: 8px 0;
  line-height: 1.2; /* increase this value for more vertical gap */
}

.letter-content p {
  font-size: 36px;
  font-family: "Ovo", serif;
  margin: 3px 0;
}

.letter-content .date { 
  font-size: 18px;
  margin-top: 6px;
}

.letter-content .location {
  font-size: 14px;
  font-family: "Playfair Display", serif;
  color: black;
  margin-top: 5px;
}

/* === Blank === */
.blank {
  background: transparent;
}

/* === Mobile View (same layout as desktop) === */
@media (max-width: 768px) {
  .grid-wrapper {
    grid-template-columns: 1fr 1fr 1fr; /* same as desktop */
    grid-template-rows: repeat(4, 1fr); /* same as desktop */
    height: 100vh;
  }

  .envelope-container {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    transform: translate(5%, 5%); /* same as desktop */
    z-index: 2;
  }

  .letter-container {
    grid-column: 2 / 4;
    grid-row: 2 / 5;
    transform: translate(-10%, -10%); /* same as desktop */
    z-index: 3;
    margin-top: 100px;
  }

  .envelope-image {
    width: 100%;       /* slightly smaller for mobile */
    max-width: 500px;
  }

  .letter-image {
    width: 100%;
    max-width: 500px;
  }

  .main-fallback-logo {
    font-size: 2.2rem; /* scale down text a bit */
  }

  .letter-content h2 {
    font-size: 58px;
    line-height: 1.2; /* increase this value for more vertical gap */
  }

  .letter-content p {
    font-size: 54px;
  }

  .letter-content img {
    width: 60%;

  }
  .letter-content .date {
    font-size: 18px;
  }

  .letter-content .location {
    font-size: 14px;
  }

}


/*============================================================================================
    # Event Info
============================================================================================*/
.card section.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 50px 0;

    background-image:
        url(../images/bg.png),
        linear-gradient(to right, #F8F4FF, #f9fcff, #F8F4FF);

    background-repeat: no-repeat, repeat;
    background-position: center -20px, center;
    background-size: 420px 100vh, auto;

    background-attachment: fixed, scroll;

    min-height: 100vh;
}

/* Remove or comment out this whole mobile fallback block */
@media (max-width: 768px) {
  .card section.info {
    background-attachment: scroll, scroll !important;
    background-position: top center, center;
    background-size: 420px auto, auto;
    background-repeat: repeat, repeat;
  }
}


.card section.info .assalamualaikum {
    width: 80%;
    height: 30%;
    object-fit: cover;
    position: relative;
    z-index: 500;
}

.card section.info .event-info {
    width: 75%;
    text-align: center;
    position: relative;
    z-index: 500;
}

.card section.info .event-info h2 {
    font-family: "Playfair Display", cursive;
    color: black;
    margin-top: 10px;
}

#lokasi-section2 {
    width: 200px;
    max-width: 200px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    text-align: center; /* or left/right as preferred */
    margin: 0 auto; /* Centers the container */
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.card section.info .event-info h3 {
    font-size: 16px;
    font-weight: 500;
    font-family: "Ovo", sans-serif;
    color: black;
}

.card section.info .event-info p {
    font-family: "Ovo", sans-serif;
    color: black;
}

.card section.info .event-info .one {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.card section.info .event-info .three,
.card section.info .event-info .four {
    margin-bottom: 15px;
}

.card section.info .event-info .one p,
.card section.info .event-info .three p,
.card section.info .event-info .four p,
.card section.info .event-info .five p {
    color: black;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 1px;
}

.card section.info .event-info .one .parent {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
}

.card section.info .event-info .one .parent p {
    font-size: 18px;
    font-weight: 700;
    font-family: "Ovo", sans-serif;
    color: black;
}

.card section.info .event-info .two {
    display: flex;
    flex-direction: column;
    align-items: center; /* center everything */
    margin-top: 40px;
    margin-bottom: 20px;
    gap: 10px; /* gap between items */
}

.card section.info .event-info .schedule-item p{
    font-size: 66px;
    font-family: 'Imperial Script', cursive;
    font-weight: 500;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}.card section.info .event-info .chedule-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* center everything */
    margin-top: 40px;
    margin-bottom: 20px;
    gap: 10px; /* gap between items */
}

.card section.info .event-info .two p {
    font-size: 66px;
    font-family: 'Imperial Script', cursive;
    font-weight: 500;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}

.card section.info .event-info .two p:nth-child(2) {
    font-size: 48px; /* make & smaller */
    margin: -10px 0; /* pull it closer to names */
    line-height: 1; 
}


.card section.info .event-info .three .title,
.card section.info .event-info .four .title,
.card section.info .event-info .five .title {
    margin-top: 30px;
}

.card section.info .event-info .three .title,
.card section.info .event-info .four .title,
.card section.info .event-info .five .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}




/*============================================================================================
    # Countdown Timer
============================================================================================*/
.card section.info .countdown .counter h1,
.card section.info .countdown .counter h2,
.card section.info .countdown .counter h3,
.card section.info .countdown .counter h4,
.card section.info .countdown .counter h5 {
    font-family: "Bebas Neue", Arial, sans-serif;
    font-weight: 400;
    color: black;
    padding: 0;
    margin: 0;
}

.card section.info .countdown .counter p,
.card section.info .countdown .counter span {
    color: #d6d6d6b3;
    font-family: "Ovo", sans-serif;
}


.card section.info .countdown .container {
    flex-grow: 1;
    margin: 0 auto;
    position: relative;
    width: auto;
}

@media screen and (min-width: 1024px) {
    .card section.info .countdown .container {
        max-width: 960px;
    }
}

@media screen and (min-width: 1204px) {
    .card section.info .countdown .container {
        max-width: 1140px;
    }

    .card section.info .countdown .container {
        max-width: 1140px;
    }
}

.card section.info .countdown .hero {
    background: transparent;
    min-height: 70vh;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero {
        min-height: auto;
    }
}

.card section.info .countdown .hero .hero-body .campaign {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.card section.info .countdown .hero.connect-page {
    min-height: auto;
}

.card section.info .countdown .hero .hero-body {
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero .hero-body {
        padding: 2rem 0;
    }
}

.card section.info .countdown .section.pair .pair-steps .step .step-number .value {
    color: black;
    font-weight: 700;
    font-size: 3rem;
}

.card section.info .countdown .hero .hero-body .counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero .hero-body .counter {
        margin: 2rem 0 0;
    }
}

.card section.info .countdown .hero .hero-body .counter .title {
    color: black;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px #0003;
}

.card section.info .countdown .hero .hero-body .counter .counter-boxes {
    display: flex;
    flex-direction: row;
    margin-bottom: -80px;
}

.card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box {
    box-shadow: 0 5px 10px #0000004d;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 75px;
    height: 100px;
    margin-right: 4px;
    text-shadow: 0 1px 0 #0000004d;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box {
        width: 55px;
        height: 70px;
    }
    .card section.info .countdown .hero .hero-body .counter .counter-boxes {
    display: flex;
        flex-direction: row;
        margin-bottom: 2px;
    }
}

.card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box h1 {
    color: black;
    padding: 8px 0 0;
    margin: 0;
    font-size: 2.5rem;
    line-height: 2rem;
    font-family: "Ovo", sans-serif;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box h1 {
        font-size: 2rem;
    }
}

.card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box span {
    color: #9c9c9c;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Ovo", sans-serif;
}

@media screen and (max-width: 768px) {
    .card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box span {
        font-size: 10px;
        letter-spacing: 0;
    }
}

.card section.info .countdown .hero .hero-body .counter .counter-boxes .count-box:last-of-type {
    margin-right: 0;
}

.card section.info .countdown .container {
    width: 100%;
    z-index: 500;
}



/*============================================================================================
    # Aturcara
============================================================================================*/
.card section.info .aturcara {
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 500;
    position: relative;
}

.card section.info .aturcara p {
    font-family: "Ovo", sans-serif;
    text-align: center;
    letter-spacing: 1px;
    color: #111111;
    font-size: 18px;
}

.card section.info .aturcara .title {
    color: #111111;
    font-family: "Ovo", sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 300;
}

.card section.info .aturcara .one,
.card section.info .aturcara .two,
.card section.info .aturcara .three,
.card section.info .aturcara .four,
.card section.info .aturcara .five {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card section.info .aturcara .one p,
.card section.info .aturcara .two p,
.card section.info .aturcara .three p,
.card section.info .aturcara .four p, 
.card section.info .aturcara .schedule-item p {
    color: #111111;
    font-weight: 300;
    font-size: 34px;
    font-family: 'Imperial Script', cursive;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.card section.info .aturcara .one h2,
.card section.info .aturcara .two h2,
.card section.info .aturcara .three h2,
.card section.info .aturcara .four h2,
.card section.info .aturcara .schedule-item h2 {

    color: #111111;
    font-size: 18px;
    font-family: "Ovo", cursive;
    letter-spacing: 1px;
    text-align: center;
}
.card section.info .aturcara .five h2  {
    font-family: "Ovo", sans-serif;
    text-align: center;
    letter-spacing: 1px;
    color: #111111;
    font-size: 18px;
    margin-top: 50px;
    width: 260px;
    font-weight: normal;
}
.card section.info .aturcara .six h2  {
    font-family: "Playfair Display", cursive;
    text-align: center;
    letter-spacing: 1px;
    color: #111111;
    font-size: 28px;
    margin-top: 20px;
    width: 260px;
    font-weight: normal;
    margin-bottom: 50px;
}
.card section.info .aturcara .one p:nth-child(2),
.card section.info .aturcara .two p:nth-child(2),
.card section.info .aturcara .three p:nth-child(2),
.card section.info .aturcara .four p:nth-child(2) {
    color: darkgrey;
}



/*============================================================================================
    # Ucapan
============================================================================================*/
.card section.info .ucapan .container {
    position: relative;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    z-index: 500;
}

.card section.info .ucapan .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 85%;
}

.card section.info .ucapan .content p {
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    text-align: center;
}

.card section.info .ucapan img {
    width: 100%;
    height: auto;
}



/*============================================================================================
    # RSVP
============================================================================================*/
.card section.info .rsvp {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    z-index: 500;
    font-size: 20px;
}

.card section.info .rsvp h2 {
    text-transform: uppercase;
    color: #111111;
    text-align: center;
    margin-bottom: 24px;
    font-family: "Ovo", sans-serif;
}

.card section.info .rsvp .container-message {
    width: 80%;
    height: 450px;
    overflow-y: auto;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);

    /* 🌫 Frosted Glass Effect */
    background: rgba(255, 255, 255, 0.15); /* translucent background */
    backdrop-filter: blur(20px);            /* glass blur */
    -webkit-backdrop-filter: blur(20px);    /* Safari support */

    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* centers horizontally */
    color: black;   /* ensure text visible */
}


.card section.info .rsvp .container-message .content {
    overflow: hidden;
    width: 100%;
    white-space: normal;
    text-overflow: ellipsis;
    border-bottom: 1px solid #DDDDDD;
}

.card section.info .rsvp .container-message .content p {
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    text-align: left;
}

.card section.info .rsvp .container-message .content p.name {
    color: #985474;
    margin-top: 10px;
}

.card section.info .rsvp .container-message .content p.name::before {
    content: '--';
    color: rgb(56, 54, 54);
    font-size: 0.9em;
    margin-right: 8px;
}

.card section.info .rsvp .container-message .content p.name::after {
    content: '--';
    color: rgb(43, 40, 40);
    font-size: 16px;
    margin-left: 8px;
}

.card section.info .rsvp .container-message .content p.message {
    color: rgb(50, 49, 49);
    margin-top: 10px;
    margin-bottom: 10px;
}

.card section.info .rsvp .container-message .content-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card section.info .rsvp .container-message .content-empty p.empty-message {
    color: darkgray;
    text-align: center;
}


.card section.info .rsvp .container-message::-webkit-scrollbar {
    width: 2px;
    background-color: #ADD8E6;
}

.card section.info .rsvp .container-message::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgb(114, 243, 243);
    -webkit-box-shadow: inset 0 0 6px rgb(1, 66, 66);
    background-color: navy;
    border-radius: 12px;
}

.card section.info .rsvp .beri-ucapan-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 50px;
    gap: 5px;
}

.card section.info .rsvp .beri-ucapan-button button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    padding: 16px 0;
    border-radius: 12px;
    cursor: pointer;
    gap: 10px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Ovo', serif;
    font-size: 16px;
    transition: all 0.3s ease;

    /* 🌫️ Liquid Glass Core */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                inset 0 0 15px rgba(255, 255, 255, 0.1);
}


.card section.info .rsvp .beri-ucapan-button button:hover {
    /* background: linear-gradient(90deg, #E5BDF6, #D8DEDE) !important; */
    /* background: linear-gradient(to right, #24243e, #302b63, #0f0c29); */
    background: #F8F4FF;
    opacity: 0.8;
}

.card section.info .rsvp .beri-ucapan-button button .bx {
    font-size: 16px;
    color: darkcyan;
}

.card section.info .rsvp .beri-ucapan-button button span {
    font-size: 14px;
    font-weight: 500;
    font-family: "Ovo", sans-serif;
}


/*============================================================================================
    # Footer
============================================================================================*/
.footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.footer ul.menu {
    max-width: 420px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;

    height: 4rem;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
    
    background: rgba(255, 255, 255, 0.15); /* translucent glass base */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3); /* soft frosted edge */
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25),
                inset 0 0 40px rgba(255, 255, 255, 0.1); /* soft glow */
    color: #fff;
}


.footer ul.menu li {
    cursor: pointer;
    text-align: center;
    flex: 1;
}
.footer ul.menu span {
    display: block;
    text-align: center;
    font-size: 8px;
    color: #333;
    font-family: "Arial", sans-serif;
}
.footer .bx {
    color: black;
    font-size: 1.5rem;
    font-weight: 500;
}

.footer .menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #333;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.footer .menu-item:hover,
.footer .menu-item.active {
  background-color: #d1d1d1; /* lighter grey for subtle highlight */
  color: #222; /* slightly darker text */
  cursor: pointer;
  transform: scale(1.00);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.footer .menu-item i {
  font-size: 24px;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.footer .menu-item:hover i,
.footer .menu-item.active i {
  color: #222;
}


/*============================================================================================
    # Bottom Toggle (mobile-optimized)
============================================================================================*/
.toggle-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 70px;

  max-width: 400px;
  margin: 0 auto;

  /* Glass effect (moderate by default) */
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.25);

  padding: 20px;
  border-radius: 16px;
  color: #fff;

  /* GPU-friendly show/hide */
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  z-index: 1000;
}

@media (max-width: 768px) {
  .toggle-menu {
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }
}

.toggle-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toggle-menu h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: black;
  text-transform: uppercase;
  font-family: "Ovo", sans-serif;
}

.toggle-menu .calendar,
.toggle-menu .location,
.toggle-menu .music,
.toggle-menu .rsvp,
.toggle-menu .contact,
.toggle-menu .money,
.toggle-menu .gift,
.toggle-menu .ucapan-tetamu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Calendar specific */
.toggle-menu .calendar p {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.toggle-menu .calendar p span {
  font-size: 16px;
  font-family: 'Ovo', serif;
  color: black;
}

.toggle-menu .calendar .button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  color: #c4a897;
}

.toggle-menu .calendar .button button,
.toggle-menu .calendar .button a {
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #0b0b0b !important;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.23),
              inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.toggle-menu .calendar .button button:hover,
.toggle-menu .calendar .button a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.toggle-menu .calendar .button button .bx {
  font-size: 20px;
  margin-right: 5px;
  color: white;
}

.toggle-menu .calendar .button button .bxl-google,
.toggle-menu .location .button button .bxl-google {
  background:
    linear-gradient(to bottom left, transparent 49%, #fbbc05 50%) 0 25% / 48% 40%,
    linear-gradient(to top left, transparent 49%, #fbbc05 50%) 0 75% / 48% 40%,
    linear-gradient(-40deg, transparent 53%, #ea4335 54%),
    linear-gradient(45deg, transparent 46%, #4285f4 48%),
    #34a853;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.toggle-menu .calendar .button span,
.toggle-menu .calendar .button a span,
.toggle-menu .location .button button span {
  font-size: 16px;
  font-family: 'Ovo', serif;
}

/* Location specific */
.toggle-menu .location p {
  font-size: 16px;
  font-weight: 300;
  font-family: 'Ovo', serif;
  color: black;
  text-align: center;
}

.toggle-menu .location .button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.toggle-menu .location .button button {
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 35px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  color: #060606 !important;
  transition: transform 0.2s ease, opacity 0.2s ease;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.23),
              inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.toggle-menu .location .button button:hover {
  background: #F8F4FF;
  opacity: 0.9;
  transform: translateY(-1px);
}

.toggle-menu .location .button button .bx,
.toggle-menu .location .button button .fa-waze {
  font-size: 20px;
  margin-right: 5px;
}

/* RSVP */
#music-menu {
  padding: 20px 6px;
}

.toggle-menu .music p {
  font-size: 16px;
  font-family: 'Ovo', serif;
  color: black;
  text-align: center;
}

.toggle-menu .rsvp .button {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.toggle-menu .rsvp .button button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  padding: 8px 6px;
  border-radius: 10px;
  gap: 5px;
  cursor: pointer;
  font-family: 'Ovo', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.23),
              inset 0 0 12px rgba(255, 255, 255, 0.1);
}

.toggle-menu .rsvp .button button:hover {
  background: #F8F4FF;
  opacity: 0.9;
  transform: translateY(-1px);
}

.toggle-menu .rsvp .button button i {
  font-size: 24px;
}

.toggle-menu .rsvp .button #btn-hadir i {
  color: green;
}

.toggle-menu .rsvp .button #btn-tidak-hadir i {
  color: red;
}

/* Contact */
.toggle-menu .contact .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

/* ... keep your existing contact inner styles unchanged ... */

/* Ucapan form */
.toggle-menu .ucapan-tetamu form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.toggle-menu .ucapan-tetamu form label {
  text-align: center;
  color: black;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Ovo', serif;
}

.toggle-menu .ucapan-tetamu form input,
.toggle-menu .ucapan-tetamu form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  outline: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  font-family: 'Ovo', serif;
}

.toggle-menu .ucapan-tetamu form textarea {
  resize: none;
}

.toggle-menu .ucapan-tetamu .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  margin-top: 20px;
}

.toggle-menu .ucapan-tetamu .button button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(170%);
  -webkit-backdrop-filter: blur(10px) saturate(170%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.23);
  font-family: 'Ovo', serif;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toggle-menu .ucapan-tetamu .button button:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.toggle-menu .ucapan-tetamu .button button i {
  font-size: 24px;
}

/* Success message */
.toggle-menu .success-message {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 16px 20px 16px;
  gap: 10px;
}

.toggle-menu .success-message i {
  font-size: 64px;
  color: greenyellow;
}

.toggle-menu .success-message p {
  font-size: 16px;
  font-weight: 300;
  font-family: 'Ovo', serif;
  color: black;
}
/*============================================================================================
    # Dropdown
============================================================================================*/
/* Styling for the Pax Dropdown in Ucapan Menu */
#pax-dropdown-container {
    display: flex; /* Enables flexbox layout */
    justify-content: space-between; /* Pushes label to left, select to right */
    align-items: center; /* Vertically aligns label and select */
    margin-bottom: 20px; /* Spacing below this row, adjust as needed */
    padding: 5px 0; /* Optional: add some vertical padding if needed */
}

#pax-dropdown-container label {
    margin-right: 15px; /* Space between label and dropdown */
    font-size: 0.95rem; /* Adjust as needed */
    color: black; /* Changed to white */
}

#pax {
    appearance: none; /* Remove default system appearance */
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #ffffff; /* Background of the select */
    border: 1px solid #ced4da; /* Border color */
    border-radius: 8px; /* Rounded corners for a softer look */
    padding: 10px 35px 10px 15px; /* Top/Bottom, Right (for arrow space), Left */
    font-size: 1rem; /* Text size */
    color: black; /* Text color */
    cursor: pointer;
    min-width: 80px; /* Minimum width, adjust for content */
    text-align: center; /* Center the selected number */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow for depth */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

    /* Custom dropdown arrow using SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center; /* Position arrow on the right */
    background-size: 12px 12px; /* Size of the arrow */
}

#pax:hover {
    border-color: #adb5bd;
}

#pax:focus {
    outline: none; /* Remove default focus outline */
    border-color: #86b7fe; /* Highlight border on focus */
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25); /* Focus shadow, adjust color to your theme */
}

/* Styling for the options within the dropdown (browser dependent) */
#pax option {
    padding: 10px;
    background-color: #fff;
    color: #495057;
}

/*============================================================================================
    # Kehadiran
============================================================================================*/
/* Kehadiran Summary Section Styling */
.kehadiran-summary {
    display: flex;
    justify-content: space-evenly; /* Distributes space evenly around items */
    align-items: stretch;          /* Makes items of equal height */
    gap: 20px;                     /* Space between the Hadir and Tidak Hadir blocks */
   margin-top: 10px;              /* Space below the "KEHADIRAN" title */
    padding: 10px 0;
}

.kehadiran-item {
    padding: 25px 20px;
    border-radius: 12px;           /* Softer rounded corners */
    text-align: center;
    color: #333;                   /* Default dark text color */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer, more diffused shadow */
    flex: 1;                       /* Allows items to grow and share space */
    max-width: 220px;              /* Prevents items from becoming too wide on larger screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover */
    backdrop-filter: blur(5px);
}

.kehadiran-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

.kehadiran-item .kehadiran-label {
    font-size: 1rem;               /* Clear label size */
    color: #555;                   /* Medium-dark gray for the label */
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Ovo", sans-serif;
}

.kehadiran-item .kehadiran-count {
    font-size: 2.8rem;             /* Prominent count size */
    font-weight: 600;
    color: #000000; /* A warm, elegant color for the count - adjust to your theme's accent */
    line-height: 1;                /* Ensures tight line height for the number */
    font-family: "Ovo", sans-serif;
}


/*============================================================================================
    # Wishlist
============================================================================================*/
/* Wishlist Styles */
/* 🌫 Outer container */
#gift-menu .wishlist-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background-image: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(173,216,230,0.15));
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.1);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 🧊 Each wishlist item */
#gift-menu .wishlist-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    background-image: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(173,216,230,0.1));
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    color: black;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#gift-menu .wishlist-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* 📸 Image */
#gift-menu .wishlist-item-image {
    margin-right: 12px;
    flex-shrink: 0;
}

#gift-menu .wishlist-item-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 📝 Info */
#gift-menu .wishlist-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#gift-menu .wishlist-item-name {
    font-weight: bold;
    font-size: 1.1em;
    color: black;
    margin-bottom: 8px;
}

/* 🎁 Buttons */
#gift-menu .wishlist-item-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    font-family: 'Ovo', serif;
}

/* 💎 Glassy button */
#gift-menu .wishlist-button {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.9em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 0 8px rgba(255, 255, 255, 0.2);
}

#gift-menu .wishlist-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


#gift-menu .link-button {
    background-color: #007bff; /* Blue for link */
}
#gift-menu .link-button:hover {
    background-color: #0056b3;
}

#gift-menu .tempah-button {
    background-color: #28a745; /* Green for tempah */
}
#gift-menu .tempah-button:hover {
    background-color: #1e7e34;
}

#gift-menu .wishlist-button.reserved {
    background-color: #6c757d; /* Grey for reserved/disabled */
    opacity: 0.7;
    pointer-events: none; /* Disable clicks on reserved link button */
}
#gift-menu .tempah-button.reserved {
    background-color: #5a6268;
}
#gift-menu .tempah-button.reserved:hover {
    background-color: #5a6268;
}


#gift-menu .tempah-button i.fas.fa-check {
    margin-left: 5px;
}

/* Ensure the gift menu itself has some basic styling if not already done */
/* For example, from your previous setup: */
/*
.toggle-menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #333; // Example background
    color: white;
    padding: 20px;
    box-sizing: border-box;
    transition: bottom 0.5s ease-in-out;
    z-index: 1000;
    max-height: 70vh; // Example max height
    overflow-y: auto;
}

.toggle-menu.active {
    bottom: 0;
}
*/


/*============================================================================================
    # Image Carousel
============================================================================================*/
.gallery-section {
    text-align: center;
    padding: 1rem 1rem;
    margin-bottom: -30px;
}

.gallery-section h2.gallery-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Swiper Container */
.gallery-swiper {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gift-menu {
    font-family: 'Ovo', serif !important;
}

.qr-modal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
.qr-code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 10px;
    background-color: #f9f9f9;
    width: 90%;
    max-width: 500px;
}

.qr-info-text {
    display: flex;
    flex-direction: column;
    color: black;
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    width: 45%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 0 15px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    gap: 10px;
    font-weight: bold;
    color: #050505;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.custom-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.apple i {
    border: 1px solid black;  /* Black border */
    border-radius: 4px;       /* Optional: rounded corners */
    padding: 4px;             /* Optional: spacing inside the border */
    background: black;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  background-color: grey !important;
  opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
  background-color: rgb(65, 65, 65) !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: grey !important;
  opacity: 0.6;       /* Makes arrows a bit transparent */
  font-size: 10px;    /* Smaller size, default is usually around 27px */
  width: 10px;        /* Adjust width */
  height: 10px;       /* Adjust height */
}

/* If arrows use SVG fill */
.swiper-button-prev svg,
.swiper-button-next svg {
  fill: grey !important;
}
.no-messages {
  font-family: "Ovo", serif;
}

/*============================================================================================
    # Image Carousel
============================================================================================*/

    #player {
        position: fixed;
        top: 0;
        z-index: 999;
    }

#floatingBarWrapper {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: 100%;
    z-index: 9000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#floatingBarWrapper.show {
    opacity: 1;
    visibility: visible;
    display: flex; /* still ensure it becomes flex when shown */
}

    #floatingBarWrapper {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }


    #floatingBarWrapper.sticky {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    /* Styles for the actual floating bar */
#floatingBar {
    /* Glassmorphism background */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    
    /* Glass border with subtle highlight */
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    
    /* Layout and styling */
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 2px 10px;
    border-radius: 25px;
    margin-top: 5px;
    white-space: nowrap;
    
    /* Smooth transitions */
    transition: all 0.3s ease;
    
    /* Text shadow for better readability on glass */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Optional: Add hover effect */
#floatingBar:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}


    #videoTitleWrapper {
        max-width: 180px;  /* Adjust width to fit your layout */
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    #videoTitle {
        display: inline-block;
        white-space: nowrap;
        padding-left: 100%; /* Start from outside the wrapper */
        animation: scroll-left 10s linear infinite;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0%);
        }
        100% {
            transform: translateX(-100%);
        }
    }


    #playPauseButton {
        width: 25px; /* Make width and height equal for circle */
        height: 25px;
        border-radius: 50%; /* Make it round */
        background-color: rgba(255, 255, 255, 0.1); /* White with 90% transparency */
        display: flex;
        justify-content: center; /* Center bars horizontally */
        align-items: flex-end; /* Align bars to the bottom */
        gap: 2px; /* Add small gap between bars */
        cursor: pointer;
        /* padding: 0 5px; /* Remove specific padding */
        box-sizing: border-box;
    }
        /* Apply animation when the .playing class is added */
    #playPauseButton.playing .audio-bar:nth-child(1) {
      animation: bounce 1.2s infinite ease-in-out 0s;
    }
    
    #playPauseButton.playing .audio-bar:nth-child(2) {
      animation: bounce 1.2s infinite ease-in-out 0.2s; /* Delay second bar */
    }
    
    #playPauseButton.playing .audio-bar:nth-child(3) {
      animation: bounce 1.2s infinite ease-in-out 0.4s; /* Delay third bar */
    }
    @keyframes bounce {
        0%, 100% {
            height: 4px;
            background-color: #fff;
        }
        50% {
            height: 14px;
            background-color: #ff4f4f;
        }
    }

    .audio-bar {
        width: 3px;
        height: 4px;
        background-color: #fff;
        border-radius: 1px;
        transition: height 0.3s ease;
    }
 /*------------------------------------------------------*/
    /* Fallback Logo */
    .logo-container {
        position: relative;
        display: inline-block;
    }

    .fallback-logo {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);     /* Light transparent base */
        backdrop-filter: blur(15px) saturate(180%);  /* Enhanced glass effect */
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        /* Remove font-family from here since each letter will have its own */
        font-weight: 700;              /* Bolder text */
        color: rgba(60, 60, 60, 0.85);  /* Clean dark grey */
        text-transform: uppercase;
        font-size: 36px; /* This will be overridden by individual letter styles */
        letter-spacing: 1px;           /* Reduced from 2px to accommodate different fonts */
        box-shadow: 
            0 8px 32px rgba(31, 38, 135, 0.37),
            0 4px 16px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        gap: 2px; /* Add small gap between letters */
    }

    /* Optional: Add a subtle gradient overlay - Keep your existing animation */
    .fallback-logo::before {
        content: '';
        position: absolute;
        top: 0;
        left: -50%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            45deg, 
            transparent, 
            rgba(255, 255, 255, 0.1), 
            transparent
        );
        transform: rotate(45deg);
        transition: left 0.6s ease;
        pointer-events: none;
    }

    .fallback-logo:hover::before {
        left: 100%;
    }

    /* Individual Letter Styling - NEW */
    .first-letter {
        font-family: 'NewIconScript', cursive, serif;
        font-size: 72px;
        line-height: 1;
        color: inherit;
        margin-right: -17px; /* Negative margin to bring letters closer */
    }

    .second-letter {
        font-family: 'Juana', serif, sans-serif;
        font-size: 90px;
        line-height: 1;
        color: inherit;
        margin-left: -17px; /* Negative margin to bring letters closer */
    }

    /* Keep your existing span rule but make it more generic */
    .fallback-logo span {
        line-height: 1;
        display: inline-block; /* Better control for custom fonts */
    }
/*------------------------------------------------------*/
/* Main Logo Container */
.card section.intro .content {
  position: relative;
}

.main-logo-container {
  position: absolute;
  margin-top: -300px;
  left: -5%;
}


.click-hint {
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.6rem;
    color: rgba(0, 0, 0, 0.7);
    font-style: italic;
    letter-spacing: 0.3px;
    text-align: center;
    user-select: none;
    pointer-events: none;
    transform: translate(95%, 1150%);
}


/* Main Fallback Logo - No round container */
.main-fallback-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: -2px;
    gap: 0;
    margin-top: 70px;
    margin-bottom: -20px; /* Add negative margin here too */
    /* Inherit any existing fade-top-1 styling */
}

/* Individual Letter Styling for Main Logo */
.main-first-letter {
    font-family: 'NewIconScript', cursive, serif;
    font-size: 48px; /* Larger size for main logo */
    line-height: 1;
    color: inherit;
    margin-right: -12px;
    font-weight: bold; /* Make text bold */
}

.main-second-letter {
    font-family: 'Juana', serif, sans-serif;
    font-size: 52px; /* Larger size for main logo */
    line-height: 1;
    color: inherit;
    margin-left: -12px;
    font-weight: bold; /* Make text bold */
}

.main-fallback-logo span {
    line-height: 1;
    display: inline-block;
}
/*------------------------------------------------------*/
/* Aturcara Logo Container */
.aturcara-fallback-logo {
    width: 35%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 50px auto 0 auto;
    height: 80px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.aturcara-first-letter {
    font-family: 'NewIconScript', cursive, serif;
    font-size: 58px; /* Larger size for main logo */
    line-height: 1;
    color: inherit;
    margin-right: -12px;
    font-weight: bold; /* Make text bold */
}

.aturcara-second-letter {
    font-family: 'Juana', serif, sans-serif;
    font-size: 62px; /* Larger size for main logo */
    line-height: 1;
    color: inherit;
    margin-left: -12px;
    font-weight: bold; /* Make text bold */
}

/*------------------------------------------------------*/

/* Walimatulurus Container */
.walimatulurus-container {
    text-align: center; /* Center the image */
    margin-top: -60px; /* Negative margin to pull closer to main logo */
    margin-bottom: -10px;
}

.walimatulurus-image {
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    width: 100px; /* Adjust size as needed */
    display: block;
    margin: 0 auto; /* Center the image */
    opacity: 1; /* Ensure visibility for fade animation */
    line-height: 0; /* Remove line height spacing */
}

/* Optional: Add hover effect */
.walimatulurus-image:hover {
    transform: scale(1.05); /* Slight scale on hover */
    transition: transform 0.3s ease; /* Smooth transition */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .walimatulurus-image {
        width: 100px; /* Smaller on mobile */
    }
    
    .walimatulurus-container {
        margin-top: -25px; /* Adjust for mobile */
    }
}
.intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.intro .content {
    width: 100%;
    text-align: center;
    z-index: 2;
}

.petal-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#location-menu .location p,
#location-menu .location .location-text {
    text-align: center;
    margin: 5px 0;
}

.qr-code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);   /* soft glass border */
    background: rgba(255, 255, 255, 0.2);          /* semi-transparent glass */
    backdrop-filter: blur(10px) saturate(180%);    /* frosted effect */
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    width: 90%;
    max-width: 500px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.qr-code-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}


.qr-info-text {
    display: flex;
    flex-direction: column;
    color: black;
}
.contact {
    text-align: center;
    padding: 20px;
    color: black;
}

.contact h1 {
    margin-bottom: 20px;
    font-size: 1.8em;
    letter-spacing: 2px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    display: grid;
    grid-template-columns: 1fr 50px 50px;
    align-items: center;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 10px 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: scale(1.02);
}

.contact-item .info {
    text-align: left;
}

.contact-item .name {
    font-weight: bold;
    font-size: 1.05em;
    margin: 0;
}

.contact-item .relation {
    font-size: 0.85em;
    color: rgba(0,0,0,0.7);
    margin: 2px 0 0 0;
}

.contact-item .icon {
    text-align: center;
}

.contact-item .icon img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.contact-item .icon img:hover {
    transform: scale(1.1);
}
.contact {
    text-align: center;
    padding: 20px;
    color: black;
}

.contact h1 {
    margin-bottom: 20px;
    font-size: 1.8em;
    letter-spacing: 2px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    display: grid;
    grid-template-columns: 1fr 50px 50px;
    align-items: center;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 10px 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: scale(1.02);
}

.contact-item .info {
    text-align: left;
}

.contact-item .name {
    font-weight: bold;
    font-size: 1.05em;
    margin: 0;
}

.contact-item .relation {
    font-size: 0.85em;
    color: rgba(0,0,0,0.7);
    margin: 2px 0 0 0;
}

.contact-item .icon {
    text-align: center;
}

.contact-item .icon img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.contact-item .icon img:hover {
    transform: scale(1.1);
}
.contact-item {
    display: grid;
    grid-template-columns: 1fr 50px 50px;
    align-items: center;

    /* 🌫 Liquid Glass Base */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    
    /* 💡 Light reflection / gradient overlay */
    background-image: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 12px 18px;
    width: 90%;
    max-width: 400px;
    
    /* 🪞 Soft shadow for depth */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* 💫 Subtle animation */
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Optional: glowing edge effect */
.contact-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(173,216,230,0.2));
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
