/*============================================
==> Hari Jadi-001 Theme
==> Professional Navy / Champagne Gold
============================================*/

/*============================================
==> Palette Tokens
==> Gold is only legible as *text* on dark navy.
==> On the cream "paper" surfaces we use the
==> deeper --hj-gold-ink (4.5:1+ contrast).
============================================*/
:root {
    --hj-navy-deep: #050D18;
    --hj-navy: #0A1A2F;
    --hj-navy-mid: #13294A;
    --hj-navy-top: #16304F;

    --hj-gold: #C9A25E;
    --hj-gold-light: #E3C88F;
    --hj-gold-ink: #8A6A2F;

    --hj-cream: #F3EAD8;
    --hj-paper: #FFFDF8;
    --hj-paper-2: #F8F3E8;

    --hj-ink: #1B2A41;
    --hj-ink-strong: #13294A;
}

/*============================================
==> Animation CSS
============================================*/
@keyframes onplay {
    0% {
        background-color: #C9A25E;
        color: #0A1A2F;
        border: 1px solid #0A1A2F;
    }

    100% {
        background-color: #0A1A2F;
        color: #C9A25E;
        border: 1px solid #C9A25E;
    }
}

@-webkit-keyframe onplay {
    0% {
        background-color: #C9A25E;
        color: #0A1A2F;
        border: 1px solid #0A1A2F;
    }

    100% {
        background-color: #0A1A2F;
        color: #C9A25E;
        border: 1px solid #C9A25E;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }

    100% {
        opacity: 0.45;
        transform: scale(1);
    }
}

@-webkit-keyframe glowPulse {
    0% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }

    100% {
        opacity: 0.45;
        transform: scale(1);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(4deg);
    }

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

@-webkit-keyframe floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(4deg);
    }

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@-webkit-keyframe shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulseMusic {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

@-webkit-keyframe pulseMusic {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

/*============================================
==> Preloader CSS
============================================*/
.js-preloader {
    z-index: 9999999;
}

.js-preloader .preloader-inner .dot {
    background: #C9A25E;
}

.js-preloader .preloader-inner .dots span {
    background: #13294A;
}

/*============================================
==> Flipdown CSS
==> The vendor stylesheet already sizes the
==> widget (510px desktop / 312px mobile) and
==> the markup centres it with `.m-auto`. We
==> only shrink it on wide viewports so it
==> still fits inside the 480px card.
==> Rotors use navy + champagne digits so the
==> countdown matches the card palette and
==> stays readable on the cream card.
============================================*/
@media (min-width: 551px) {
    .flipdown {
        zoom: 0.6;
    }
}

.flipdown[class*="flipdown__theme"] .rotor,
.flipdown[class*="flipdown__theme"] .rotor-top,
.flipdown[class*="flipdown__theme"] .rotor-leaf-front {
    color: var(--hj-gold-light);
    background-color: var(--hj-navy-mid);
    font-family: Comfortaa;
}

.flipdown[class*="flipdown__theme"] .rotor-bottom,
.flipdown[class*="flipdown__theme"] .rotor-leaf-rear {
    color: var(--hj-gold);
    background-color: var(--hj-navy);
    font-family: Comfortaa;
}

.flipdown[class*="flipdown__theme"] .rotor:after {
    border-top: solid 1px rgba(201, 162, 94, 0.55);
}

.flipdown[class*="flipdown__theme"] .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown[class*="flipdown__theme"] .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    background-color: var(--hj-gold);
}

.flipdown[class*="flipdown__theme"] .rotor-group-heading {
    color: var(--hj-gold-ink);
}

.flipdown[class*="flipdown__theme"] .rotor-group-heading:before {
    color: var(--hj-gold-ink);
    font-family: Comfortaa;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

/*============================================
==> Font CSS
============================================*/
@font-face {
    font-family: Comfortaa;
    src: url("../../../assets/fonts/Comfortaa/Comfortaa-VariableFont.ttf");
}

@font-face {
    font-family: Caveat;
    src: url("../../../assets/fonts/Caveat/Caveat-Bold.ttf");
}

@font-face {
    font-family: SpaceMono;
    src: url("../../../assets/fonts/SpaceMono/SpaceMono-Regular.ttf");
}

@font-face {
    font-family: Allura;
    src: url("../../../assets/fonts/Allura/Allura-Regular.ttf");
}

/*============================================
==> General CSS
============================================*/
html {
    overflow-x: hidden;
    overflow-y: overlay;
    scroll-behavior: unset !important;
    background-color: #0A1A2F !important;
    background-image:
        radial-gradient(ellipse 85% 55% at 50% 30%, rgba(201, 162, 94, 0.18) 0%, transparent 70%),
        linear-gradient(180deg, #13294A 0%, #0A1A2F 50%, #050D18 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

body {
    position: relative;
    overflow-x: hidden;
    overflow-y: overlay;
    max-width: 480px;
    width: 100%;
    margin: auto;
    font-family: Comfortaa;
    color: #F3EAD8;
    letter-spacing: 0.5px;
    background-color: transparent;

    box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
}

p {
    color: var(--hj-cream);
    line-height: 1.6;
    font-weight: 400;
}

label {
    color: var(--hj-gold-ink);
    margin-bottom: 0.1em;
}

hr {
    height: 1.5px;
    background: #C9A25E;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    position: absolute;
}

::-webkit-scrollbar-thumb {
    background: #C9A25E;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E3C88F;
}

.btn-main {
    background-color: #C9A25E;
    border: 1px solid #C9A25E;
    color: #0A1A2F;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-main:hover {
    background-color: var(--hj-navy-mid);
    border: 1px solid var(--hj-gold);
    color: var(--hj-gold) !important;
}

.btn-open {
    width: 240px;
    max-width: 100%;
    font-size: 14px;
    margin: 0em 1em;
    padding: 1em;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px 5px;
}

.text-sm {
    font-size: 12px;
}

.text-parent {
    font-size: 22px;
    font-weight: 600;
    color: var(--hj-ink);
}

.text-bride {
    font-family: Allura;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 1px;
    color: var(--hj-gold-ink);
    text-shadow: 0 1px 0 rgba(255, 253, 248, 0.85), 0 4px 10px rgba(138, 106, 47, 0.18);
}

.text-amp {
    font-family: ui-monospace !important;
}

.form-group {
    margin-bottom: 1em;
}

.form-control {
    border: 1px solid #C9A25E;
    border-radius: 4px;
}

/* The shared stylesheet uses a very pale #d1d1d1 placeholder
   (1.6:1 on white), which makes empty inputs unreadable. */
.form-control::placeholder {
    color: #6E655A;
    opacity: 1;
}

.form-control:focus {
    border-color: #13294A;
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 94, 0.25);
}

.img-logo {
    max-width: 180px;
}

.table-program {
    width: 100%;
    margin-bottom: 1em;
}

.table-program tr td:nth-child(1) {
    font-family: SpaceMono;
    color: var(--hj-gold-ink);
    white-space: nowrap;
    font-weight: 700;
}

.table-program tr td:nth-child(2) {
    text-align: left;
    color: #1B2A41;
    padding: 0.25em 0em 0.25em 1em;
}

.card-qr {
    background: linear-gradient(180deg, var(--hj-paper) 0%, var(--hj-paper-2) 100%);
    border: 1px solid #C9A25E;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: rgba(10, 26, 47, 0.15) 0px 6px 18px;
}

.card-qr .title {
    background-color: #13294A;
    color: #C9A25E;
    padding: 1em;
    border-bottom: 2px solid #C9A25E;
}

.card-qr .title h4 {
    color: #C9A25E !important;
    letter-spacing: 2px;
}

.card-qr .content {
    padding: 1em;
}

.card-qr .image-qr {
    margin-right: 1.5em;
    border: 1px solid rgba(201, 162, 94, 0.4);
    border-radius: 4px;
}

.card-qr .btn-download {
    font-size: 26px;
    padding: 0.5em 0.75em;
}

.card-qr .btn-copy {
    font-size: 22px;
    padding: 0.5em 0.75em;
}

.card-qr label {
    color: #13294A;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-qr p {
    color: #1B2A41;
    margin-bottom: 0px;
}

.card-prayer {
    padding: 1em;
    font-family: Caveat;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--hj-ink-strong);
    text-align: center;
}

/* The card script writes the doa directly into .card-prayer
   (the inner <p> can be replaced), so both need the ink colour. */
.card-prayer p {
    margin-bottom: 0px;
    white-space: pre-line;
    color: var(--hj-ink-strong);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.card-divider {
    display: block;
    border: 1px solid #C9A25E;
    background: linear-gradient(180deg, var(--hj-paper) 0%, var(--hj-paper-2) 100%);
    border-radius: 6px;
    margin: 2em 0em;
    box-shadow: rgba(10, 26, 47, 0.15) 0px 6px 18px;
}

.list-contact {
    padding: 0em 0.25em;
}

.list-contact li {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    padding: 0.5em 0em;
    border-bottom: 1px solid rgba(201, 162, 94, 0.35);
}

.list-contact li:last-child {
    border-bottom: none;
}

.list-contact li label {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--hj-ink-strong);
}

.list-contact li label i {
    font-size: 24px;
    color: var(--hj-gold-ink);
}

.list-contact li a {
    background: #C9A25E;
    color: #0A1A2F;
    border: 1px solid #C9A25E;
    border-radius: 50%;
    padding: 0.3em 0.5em;
    margin-left: 0.5em;
}

.list-contact li a span.fa-phone {
    font-size: 18px;
    padding-top: 2px;
}

.list-contact li a span.fa-whatsapp {
    font-size: 20px;
}

.input-counter {
    display: flex;
    margin: 0.5em 0em;
}

.input-counter input {
    text-align: center;
}

.input-counter button:nth-child(1),
.input-counter button:nth-child(3) {
    background: #C9A25E;
    color: #0A1A2F;
    border: 1px solid #C9A25E;
    border-radius: 4px;
    margin: 0em 0.25em;
    font-weight: 700;
}

/*============================================
==> jsCalendar CSS
============================================*/
.jsCalendar table {
    font-family: Comfortaa;
    font-weight: 600;
    width: 100%;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
}

.jsCalendar table thead .jsCalendar-week-days th,
.jsCalendar table tbody td {
    font-size: 15px !important;
    color: #1B2A41 !important;
}

.jsCalendar table thead {
    padding: 10px 4px;
    margin: 0px;
    border-radius: 0px 0px 20px 20px;
}

.jsCalendar table thead tr {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.jsCalendar table thead .jsCalendar-title {
    width: 100%;
}

.jsCalendar table thead .jsCalendar-nav-left,
.jsCalendar table thead .jsCalendar-nav-right {
    font-size: 22px;
    height: auto;
    width: auto;
    padding: 10px;
    color: var(--hj-gold-ink) !important;
}

.jsCalendar thead .jsCalendar-nav-left:hover,
.jsCalendar thead .jsCalendar-nav-right:hover {
    background-color: #C9A25E;
    color: var(--hj-navy) !important;
}

.jsCalendar thead .jsCalendar-title {
    height: auto;
}

.jsCalendar thead .jsCalendar-title-name {
    padding: 10px 20px;
    color: #1B2A41 !important;
    font-weight: 700;
}

.jsCalendar table tbody {
    padding: 15px 0px;
    margin: 0;
}

.jsCalendar table tbody tr {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.jsCalendar table tbody td.jsCalendar-current {
    background-color: #C9A25E;
    border-radius: 8px;
    color: var(--hj-navy) !important;
    font-weight: 800;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/*============================================
==> Sweetalert CSS
============================================*/
.swal2-container {
    z-index: 99999999 !important;
}

/*============================================
==> Gallery Slider CSS
============================================*/
.slider-gallery-main {
    width: 100%;
}

.slider-gallery-main .image {
    height: 275px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    border: 2px solid rgba(201, 162, 94, 0.55);
    box-shadow: rgba(10, 26, 47, 0.3) 0px 0px 6px 4px;
}

.slider-gallery-main .owl-stage-outer {
    overflow: unset !important;
}

.slider-gallery-sub {
    width: 100%;
}

.slider-gallery-sub .image {
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    margin-top: 10px;
    transition: 0.5s;
    border: 2px solid transparent;
}

.slider-gallery-sub .center .image {
    margin-top: 0px;
    border-color: #C9A25E;
    transition: 0.5s;
}

.slider-gallery-sub .center .image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: rgba(10, 26, 47, 0.3) 0px 0px 6px 4px;
}

.slider-gallery-sub .owl-stage-outer {
    overflow: unset !important;
}

.slider-guestbook {
    background: linear-gradient(180deg, var(--hj-paper) 0%, var(--hj-paper-2) 100%);
    border: 1px solid rgba(201, 162, 94, 0.45);
    border-radius: 6px;
    padding: 1em;
    box-shadow: rgba(10, 26, 47, 0.15) 0px 6px 18px;
}

.slider-guestbook .item .text {
    font-family: Caveat;
    font-size: 21px;
    font-weight: 500;
    color: var(--hj-ink-strong);
}

.slider-guestbook .item .by {
    color: var(--hj-gold-ink);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.slider-guestbook .owl-dot {
    background-color: #13294A !important;
    height: 10px;
    width: 10px;
    margin: 0px 5px;
    border-radius: 4px;
    opacity: 0.5;
}

.slider-guestbook .owl-dot.active {
    background-color: #C9A25E !important;
    opacity: 1;
}



/*============================================
==> Main Page CSS
============================================*/
.main-page {
    position: fixed;
    left: 50%;
    top: 0px;
    z-index: 99999;
    max-width: 480px;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 90% 45% at 50% 88%, rgba(201, 162, 94, 0.28) 0%, transparent 60%),
        radial-gradient(circle 420px at 50% 30%, rgba(201, 162, 94, 0.16) 0%, transparent 65%),
        linear-gradient(180deg, #16304F 0%, #0A1A2F 55%, #050D18 100%);
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    transform: translateX(-50%);
}

.main-animation {
    z-index: -1;
}

.main-animation .main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-animation .main-bg-1 {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 55%;
    background:
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(201, 162, 94, 0.22) 0%, transparent 70%),
        linear-gradient(180deg, transparent 0%, rgba(201, 162, 94, 0.10) 100%);
    -webkit-animation: glowPulse 8s ease-in-out infinite alternate;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

.main-animation .main-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-animation .main-center-1 {
    position: absolute;
    /* Centered via left/calc instead of translateX(-50%) because the
       glowPulse animation animates `transform` and would override the
       translate, shifting the circle ~150px to the right. */
    left: calc(50% - 150px);
    top: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 94, 0.35);
    box-shadow:
        0 0 60px rgba(201, 162, 94, 0.18),
        inset 0 0 80px rgba(201, 162, 94, 0.10);
    -webkit-animation: glowPulse 6s ease-in-out infinite alternate;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

.main-animation .main-center-1:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 162, 94, 0.45);
}

.main-animation .main-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-animation .main-top-1 {
    position: absolute;
    left: 8%;
    top: 18%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(201, 162, 94, 0.55);
    box-shadow: 0 0 18px rgba(201, 162, 94, 0.6);
    -webkit-animation: floatUp 4s ease-in-out infinite alternate;
    animation: floatUp 4s ease-in-out infinite alternate;
}

.main-animation .main-top-2 {
    position: absolute;
    left: 82%;
    top: 10%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(227, 200, 143, 0.5);
    box-shadow: 0 0 16px rgba(227, 200, 143, 0.55);
    -webkit-animation: floatUp 5s ease-in-out 0.8s infinite alternate;
    animation: floatUp 5s ease-in-out 0.8s infinite alternate;
}

.main-animation .main-top-3 {
    position: absolute;
    left: 18%;
    top: 42%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 162, 94, 0.45);
    box-shadow: 0 0 14px rgba(201, 162, 94, 0.5);
    -webkit-animation: floatUp 6s ease-in-out 1.4s infinite alternate;
    animation: floatUp 6s ease-in-out 1.4s infinite alternate;
}

.main-animation .main-top-4 {
    position: absolute;
    right: 10%;
    top: 46%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(243, 234, 216, 0.4);
    box-shadow: 0 0 16px rgba(243, 234, 216, 0.45);
    -webkit-animation: floatUp 5.5s ease-in-out 0.4s infinite alternate;
    animation: floatUp 5.5s ease-in-out 0.4s infinite alternate;
}

.main-page .container-content {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.main-page .container-content .content {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 243, 232, 0.98) 100%);
    color: var(--hj-ink);
    padding: 3em 2em 4em 2em;
    margin-bottom: 16%;
    border-radius: 18px 18px 0 0;
    border-top: 4px solid #C9A25E;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
}

.main-page .container-content .content .float {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
}

.main-page .container-content .content .event {
    width: 180px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #13294A;
    border-bottom: 2px solid #C9A25E;
    margin: auto;
}

.main-page .container-content .content .title {
    padding: 1em 0em;
}

.main-page .container-content .content .title .text-1 {
    position: relative;
    left: 0px;
    font-family: Allura;
    color: #13294A;
    font-size: 56px;
    font-weight: 600;
    line-height: 0.75;
    margin-bottom: 0px;
    text-shadow: 0px 3px 10px rgba(201, 162, 94, 0.45);
}

.main-page .container-content .content .date h4 {
    font-size: 14px;
    font-weight: 900;
    margin-top: 1em;
}

.main-page .container-content .content .date h5 {
    width: fit-content;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    margin: 0em auto;
    padding: 0.1em 1em;
    color: var(--hj-gold-ink);
}

.main-page .container-content .content .date h6 {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0.5em;
    color: #13294A;
}


/*============================================
==> Sub Page CSS
============================================*/
.sub-page {
    background-color: transparent;
    text-align: center;
    padding: 3em 0em 4em 0em;
}

.sub-page .container-content {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 243, 232, 0.98) 100%);
    width: 100%;
    padding: 1em 1em 8em 1em;
    box-shadow: rgba(10, 26, 47, 0.4) 0px 0px 10px 2px;
    border-radius: 8px;
}

.sub-page .container-content .content {
    width: 100%;
    background-color: transparent;
    padding: 2em 0em 0em 0em;
}

.sub-page .container-content .content h1 {
    font-family: Allura;
    font-size: 34px;
    margin-bottom: 2em;
    padding: 0em 2em;
    line-height: 1;
    color: #13294A;
}

.sub-page .container-content .content h1 span {
    font-family: Allura;
    font-weight: 800;
    font-size: 24px;
    color: var(--hj-gold-ink);
}

.sub-page .container-content .content h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-gold-ink);
    font-weight: 900;
    margin-bottom: 1em;
}

.sub-page .container-content .content h5 {
    font-size: 22px;
    margin-bottom: 2em;
    color: #13294A;
}

.sub-page .container-content .content h6 {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 2em;
    color: #1B2A41;
}

.sub-page .container-content .content p {
    color: #1B2A41;
    line-height: 1.6;
}

.sub-page .container-content .content hr {
    margin: 1em 0em;
}

.sub-page .container-content .content .img-1 {
    width: 180px;
    margin: 0.25em auto 1em auto;
    display: block;
}

.sub-page .container-content .content .card-guestbook {
    padding: 1em;
}

.sub-page .container-content .content .card-guestbook .form-group {
    margin-bottom: 1em;
}

.sub-page .container-content .content .btn-main {
    margin: 1em 0em;
}

.sub-page .container-content .content .text-bride {
    font-family: Allura;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 1px;
    color: var(--hj-gold-ink);
    text-shadow: 0 1px 0 rgba(255, 253, 248, 0.85), 0 4px 10px rgba(138, 106, 47, 0.18);
}

.sub-page .container-content .content .text-parent {
    font-size: 22px;
    font-weight: 600;
    color: var(--hj-ink);
}

/* Venue / date / time values use .text-value (was Bootstrap's
   .text-white, which was invisible on the cream card). */
.main-page .container-content .content .text-value,
.sub-page .container-content .content .text-value,
.main-page .container-content .content p.text-value,
.sub-page .container-content .content p.text-value {
    color: var(--hj-ink) !important;
    font-weight: 600;
    margin-bottom: 1.5em;
}

/* Safety net: never let utility white text land on the cream card. */
.main-page .container-content .content .text-white,
.sub-page .container-content .content .text-white {
    color: var(--hj-ink) !important;
}


.sub-page .sub-animation {
    position: fixed;
    left: 50%;
    top: 0;
    max-width: 100%;
    width: 480px;
    height: 100%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 0;
}

.sub-page .sub-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sub-page .sub-left .sub-left-1 {
    position: absolute;
    top: -60px;
    right: -70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(201, 162, 94, 0.22) 0%, rgba(201, 162, 94, 0.05) 55%, transparent 75%);
    -webkit-animation: glowPulse 5s ease-in-out infinite alternate;
    animation: glowPulse 5s ease-in-out infinite alternate;
}

.sub-animation .sub-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sub-animation .sub-right .sub-right-1 {
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 65% 65%, rgba(201, 162, 94, 0.18) 0%, rgba(201, 162, 94, 0.04) 55%, transparent 75%);
    -webkit-animation: glowPulse 7s ease-in-out 1s infinite alternate;
    animation: glowPulse 7s ease-in-out 1s infinite alternate;
}

.sub-page .container {
    position: relative;
    z-index: 1;
}

.sub-page .container h4 {
    color: #C9A25E;
}

.text-hashtag {
    color: var(--hj-gold-ink);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 1em 0em;
    text-shadow: none;
}

.sub-page .container.container-countdown {
    background: linear-gradient(180deg, var(--hj-paper) 0%, var(--hj-paper-2) 100%);
    border: 1px solid rgba(201, 162, 94, 0.45);
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 2em;
    box-shadow: rgba(10, 26, 47, 0.15) 0px 6px 18px;
}

/* The countdown card is a light "paper" surface, so its heading
   needs the deeper gold to stay readable. */
.sub-page .container.container-countdown h4 {
    color: var(--hj-gold-ink);
    margin-bottom: 0.5em;
}

.sub-page .container.container-footer {
    background: linear-gradient(180deg, rgba(22, 48, 79, 0.96) 0%, rgba(10, 26, 47, 0.96) 100%);
    border: 1px solid rgba(201, 162, 94, 0.45);
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 2em;
    box-shadow: rgba(5, 13, 24, 0.45) 0px 6px 18px;
    text-align: center;
}

.sub-page .container.container-footer p {
    color: #F3EAD8;
    font-weight: 500;
}

.social-media {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0.5em;
    margin: 0.5em 0em 0em 0em;
}

.social-media li {
    margin: 0px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    background: #C9A25E;
    color: #0A1A2F;
    padding: 0.75em 0.8em;
    margin: 0em 0.25em;
    border-radius: 50%;
    font-size: 18px;
}

/*============================================
==> Appbar CSS
============================================*/
.appbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    z-index: 99999;
}

.appbar .appbar-nav {
    position: relative;
    z-index: 999999;
    background: linear-gradient(180deg, #16304F 0%, #0A1A2F 100%);
    border-top: 1px solid rgba(201, 162, 94, 0.6);
    padding: 1em 0.5em 0.5em 0.5em;
    border-radius: 16px 16px 0 0;
}

.appbar .appbar-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.appbar .appbar-nav ul li {
    color: #C9A25E;
    text-align: center;
    width: 20%;
    cursor: pointer;
}

.appbar .appbar-nav ul li i {
    display: block;
    font-size: 20px;
}

.appbar .appbar-nav ul li span {
    display: block;
    margin-top: 0.25em;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #F3EAD8;
}

.appbar .appbar-nav ul li:nth-child(3) {
    position: relative;
    top: -26px;
}

.appbar .appbar-nav ul li:nth-child(3) i {
    display: inline-block;
    padding: 12px;
    background: #C9A25E;
    border-radius: 50%;
    font-size: 22px;
    color: #0A1A2F;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.45);
}

.appbar .appbar-nav ul li:hover i,
.appbar .appbar-nav ul li:hover span {
    color: #FFFFFF;
}

.appbar .appbar-nav ul li:nth-child(3):hover i {
    color: #0A1A2F;
}

.appbar .appbar-modal {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    z-index: 999999;
}

.appbar .appbar-modal .modal-dialog {
    margin: 0em;
}

.appbar .appbar-modal .modal-content {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 243, 232, 0.98) 100%);
    border: 1px solid rgba(201, 162, 94, 0.5);
    border-radius: 14px 14px 0 0;
    box-shadow: 0px -8px 24px rgba(0, 0, 0, 0.5);
    max-height: 65vh;
    overflow-y: auto;
    color: #1B2A41;
}

.appbar .appbar-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #16304F 0%, #0A1A2F 100%);
    border-bottom: 2px solid #C9A25E;
    border-radius: 12px 12px 0 0;
    padding: 0.75em 1em;
    position: sticky;
    top: 0;
    z-index: 2;
}

.appbar .appbar-modal .modal-header .modal-title {
    color: #C9A25E;
    letter-spacing: 2px;
    font-weight: 900;
    font-size: 14px;
    margin: 0;
}

.appbar .appbar-modal .modal-body {
    padding: 1em;
    background: transparent;
}

.appbar .appbar-modal .modal-body label {
    color: #13294A;
    font-weight: 700;
}

.appbar .appbar-modal .iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 94, 0.4);
    margin-bottom: 1em;
}

.appbar .appbar-modal .iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*============================================
==> Modal Backdrop CSS
============================================*/
.modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 13, 24, 0.75);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/*============================================
==> Floating Preview CSS
============================================*/
.floating-bar {
    position: fixed;
    left: max(0px, calc(50% - 240px));
    bottom: 70px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 46px;
    height: 220px;
    background: linear-gradient(180deg, #16304F 0%, #0A1A2F 100%);
    border: 1px solid rgba(201, 162, 94, 0.6);
    border-left: none;
    border-radius: 0 10px 10px 0;
    padding: 8px 0;
    box-shadow: rgba(0, 0, 0, 0.45) 2px 0px 10px;
}

.floating-bar .floating-icon {
    width: 100%;
    text-align: center;
    color: #C9A25E;
    font-size: 18px;
    margin-bottom: 14px;
    cursor: pointer;
}

.floating-bar .floating-icon:hover {
    color: #FFFFFF;
}

.floating-bar .floating-preview {
    color: #C9A25E;
    font-size: 18px;
    cursor: pointer;
}

.floating-bar .floating-preview:hover {
    color: #FFFFFF;
}

/*============================================
==> Music Bar CSS
============================================*/
.floating-music {
    position: fixed;
    right: max(0px, calc(50% - 240px));
    top: 180px;
    width: 50px;
    height: 50px;
    z-index: 99999;
    background: linear-gradient(180deg, #16304F 0%, #0A1A2F 100%);
    border: 1px solid rgba(201, 162, 94, 0.6);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #C9A25E;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.45) -2px 0px 10px;
}

.floating-music i {
    animation: pulseMusic 1.5s ease-in-out infinite;
}

.floating-music.playing i {
    animation: none;
}

/*============================================
==> Footer CSS
============================================*/
.footer {
    background-color: rgb(255, 255, 255, 0.92);
    color: #1B2A41;
    padding: 1em;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 94, 0.4);
}

.footer a {
    color: #C9A25E;
    font-weight: 700;
    text-decoration: none;
}

.footer a:hover {
    color: #13294A;
}

/*============================================
==> Responsive CSS
============================================*/
@media (max-width: 360px) {
    .main-page .container-content .content .title .text-1 {
        font-size: 46px;
    }

    .appbar .appbar-nav ul li span {
        font-size: 10px;
    }
}


/* ==> Mobile padding fix (max-width: 480px) */
@media (max-width: 480px) {
    .main-page .container-content .content {
        padding-left: 1.5em !important;
        padding-right: 1.5em !important;
    }
    .sub-page {
        padding-left: 1.5em !important;
        padding-right: 1.5em !important;
    }
}
