:root {
    /* Pink theme backup:
    --accent: #f14e95;
    --accent-bright: #ff65a9;
    --accent-deep: #c93674;
    --accent-soft: rgb(241 78 149 / 0.08);
    --accent-shadow: rgb(241 78 149 / 0.36);
    --paper: #fff7f7;
    */
    --accent: #b98505;
    --accent-bright: #f3b509;
    --accent-deep: #805c00;
    --accent-soft: rgb(243 181 9 / 0.12);
    --accent-shadow: rgb(185 133 5 / 0.34);
    --gold-countdown: #c8a15a;
    --bg: #0a0a0a;
    --ink: #2f2b2d;
    --muted: #746a70;
    --paper: #fffaf0;
    --sage: #7d8f82;
    --gold: #c8a15a;
    --shadow: 0 16px 45px rgb(47 43 45 / 0.16);
    --text-shadow: 0 3px 18px rgb(0 0 0 / 0.55);
}

body {
    font-size: 1.2rem;
    font-family: "Work Sans", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background-color: var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/img/photo1.png");
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 0.44), rgb(0 0 0 / 0.12) 45%, rgb(0 0 0 / 0.5)),
        linear-gradient(180deg, rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.02) 38%, rgb(0 0 0 / 0.55));
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
}

.hero main {
    width: min(100%, 920px);
    position: relative;
    z-index: 1;
    animation: heroReveal 900ms ease both;
}

.hero h1, .hero h4, .hero p {
    text-shadow: var(--text-shadow);
}

.hero h1 {
    font-size: 7rem;
    font-family: "Sacramento", cursive;
    line-height: 0.95;
    margin-bottom: 1.2rem;
}

.hero h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero p {
    max-width: 820px;
    margin: 0 auto 1.8rem;
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.35;
}

.hero a {
    color: var(--accent);
    background-color: white;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 18px 42px rgb(0 0 0 / 0.22);
    padding: 0.8rem 1.4rem;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hero a:hover {
    color: white;
    background-color: var(--accent);
    box-shadow: 0 22px 48px var(--accent-shadow);
    transform: translateY(-2px);
}

.mynavbar {
    /* Pink navbar backup: background-color: rgba(255, 247, 247, 0.74) !important; */
    background-color: rgba(255, 250, 240, 0.78) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgb(47 43 45 / 0.08);
}

.mynavbar .offcanvas {
    height: 100vh;

}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
    font-family: "Sacramento", cursive;
    font-size: 3.2rem;
    font-weight: bold;
    color: #111;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    color: #453f43;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-inline: 0.2rem;
    padding-inline: 0.8rem !important;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent);
    background-color: var(--accent-soft);
}

.home {
    position: relative;
    background: url("/img/Flora Daun3.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 15rem;
    padding-bottom: 7rem;
    overflow: hidden;
}

.home::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Pink home overlay backup:
    background:
        linear-gradient(180deg, rgb(255 247 247 / 0.82), rgb(255 255 255 / 0.5) 45%, rgb(255 247 247 / 0.84)),
        radial-gradient(circle at 50% 40%, rgb(255 255 255 / 0.16), transparent 36%);
    */
    background:
        linear-gradient(180deg, rgb(255 250 240 / 0.86), rgb(255 255 255 / 0.52) 45%, rgb(255 248 224 / 0.86)),
        radial-gradient(circle at 50% 40%, rgb(255 255 255 / 0.16), transparent 36%);
    pointer-events: none;
}

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

.home h2, 
.info h2,
.gallery h2 {
    color: var(--accent);
    font-family: "Sacramento";
    font-size: 5.4rem;
    font-weight: bold;
    line-height: 0.95;
}

.home h3 {
    color: var(--ink);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.home p {
    font-size: 1.12rem;
    color: var(--muted);
    line-height: 1.75;
}

.home .couple {
    margin-top: 6rem;
    align-items: center;
}

.home .couple > .col-lg-6 > .row {
    align-items: center;
}

.home .couple h3 {
    font-family: "Sacramento";
    font-size: 3rem;
    color: var(--accent);
    line-height: 1.05;
    margin-bottom: 0.9rem;
}

.home .couple img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 5px solid rgb(255 255 255 / 0.92);
    box-shadow: 0 18px 42px rgb(47 43 45 / 0.24);
}

.home .heart {
    width: 50px;
    height: 50px;
    background-color: white;
    display: flex;
    border-radius: 50%;
    box-shadow: 0 14px 35px rgb(47 43 45 / 0.22);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(65px);
}

.home .heart i {
    margin: auto;
    color: var(--accent);
}

.info {
    background:
        linear-gradient(135deg, rgb(25 24 24), rgb(54 45 50) 55%, rgb(28 37 32));
    color: white;
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.info .alamat {
    font-size: 1.12rem;
    line-height: 1.8;
    color: rgb(255 255 255 / 0.86);
}

.info .description {
    font-size: 1rem;
    font-weight: 300;
}

.info .card {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: white !important;
    border: 1px solid rgb(255 255 255 / 0.22);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info .card-header {
    border-bottom: 1px solid rgb(255 255 255 / 0.22);
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
}

.info .card-body {
    font-size: 1rem;
}

.info .card-footer {
    border-top: 1px solid rgb(255 255 255 / 0.22);
    font-size: 0.9rem;
    font-weight: 300;
    color: white !important;
}

.gallery {
    padding-top: 10rem;
    padding-bottom: 8rem;
    /* Pink gallery backup: background: linear-gradient(180deg, #fff, #fff7f7 42%, #f3f6f1); */
    background:
        linear-gradient(180deg, #fff, #fffaf0 42%, #f4f1e5);
}

.gallery span {
    text-transform: uppercase;
    color: var(--sage);
    font-size: 0.9rem;
    letter-spacing: 0;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.gallery p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-top: 2.4rem;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgb(47 43 45 / 0.13);
}

.gallery img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 18px !important;
    transition: transform 260ms ease, filter 260ms ease;
}

.gallery a:hover img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

footer {
    padding: 3rem;
    /* Pink footer backup: background-color: #f14e95; */
    background:
        linear-gradient(135deg, var(--accent-deep), var(--accent));
    color: white;
    font-size: 0.95rem;
}

.audio-icon-wrapper {
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.5;
    mix-blend-mode: difference;
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: 0;
}

.simply-countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    overflow: visible;
}

.simply-countdown > .simply-section {
    width: 8.7rem;
    height: 8.7rem;
    padding: 0;
    float: none;
    margin: 0;
    /* Pink countdown option:
    background: linear-gradient(145deg, rgb(255 101 169), #f14e95);
    box-shadow: 0 20px 45px rgb(241 78 149 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.32);
    */
    background:
        linear-gradient(145deg, #ead28f, var(--gold-countdown) 58%, #8f6822);
    box-shadow: 0 20px 45px rgb(143 104 34 / 0.26), inset 0 1px 0 rgb(255 255 255 / 0.38);
}

.simply-countdown > .simply-section .simply-amount {
    font-size: 2.35rem;
    line-height: 1;
    margin-bottom: 0.28rem;
    font-weight: 800;
}

.simply-countdown > .simply-section .simply-word {
    font-size: 1rem;
    font-weight: 500;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotating {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */

/* Extra Large */
@media (max-width: 1200px){
    .home .heart {
        transform: translateX(-50%) translateY(45px);
    }
}

/* Laptop */
@media (max-width: 992px){
    html {
        font-size: 75%;
    }

    .simply-countdown > .simply-section {
        width: 8rem;
        height: 8rem;
        padding: 0;
    }

    .home .heart {
        display: none;
    }

    .home h3 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .home p {
        font-size: 1.22rem;
        line-height: 1.65;
    }

    .home .couple h3 {
        font-size: 2.9rem;
        line-height: 1.05;
        margin-bottom: 1rem;
    }

    .home .couple p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .home .couple > .col-lg-6 > .row {
        align-items: center;
    }

}

/* Tablet */
@media (max-width: 768px){
    .hero {
        align-items: flex-end !important;
        height: 100svh;
        min-height: 100svh;
        padding: 2rem 1.4rem clamp(5.5rem, 10svh, 7rem) !important;
    }

    .hero::before {
        background-color: #181818;
        background-size: auto 72svh;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .hero::after {
        background:
            linear-gradient(180deg, rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.08) 34%, rgb(0 0 0 / 0.74) 72%, rgb(0 0 0 / 0.88)),
            linear-gradient(90deg, rgb(0 0 0 / 0.58), rgb(0 0 0 / 0.04) 50%, rgb(0 0 0 / 0.56));
    }

    .hero main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: 5.6rem;
        margin-bottom: 0.9rem;
    }

    .hero h4 {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .hero p {
        width: 100%;
        max-width: 25rem;
        margin-inline: auto;
        font-size: 1.55rem;
        line-height: 1.45;
        margin-bottom: 1.35rem;
        text-wrap: balance;
        overflow-wrap: break-word;
    }

    .hero a {
        padding: 0.74rem 1.25rem;
        font-size: 1.05rem;
    }

    .home {
        min-height: auto;
        margin-top: -5rem;
        padding-top: 12.2rem;
        padding-bottom: 5rem;
    }

    .home h2 {
        font-size: 4.4rem;
        line-height: 1;
        margin-bottom: 1.4rem;
    }

    .home h3 {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 1.2rem;
    }

    .home p {
        font-size: 1.18rem;
        line-height: 1.6;
    }

    .home .couple {
        margin-top: 5rem;
        row-gap: 2.1rem;
    }

    .home .couple > .col-lg-6 > .row {
        align-items: center;
    }

    .home .couple h3 {
        font-size: 2.65rem;
        line-height: 1.05;
        margin-bottom: 1rem;
    }

    .home .couple p {
        font-size: 1.16rem;
        line-height: 1.55;
        margin-bottom: 0;
    }

    .simply-countdown > .simply-section {
        width: 6.7rem;
        height: 6.7rem;
        padding: 0;
        margin: 0;
    }

    .simply-countdown {
        width: 100%;
        max-width: 28rem;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-items: center;
        gap: 0.55rem;
        margin-inline: auto;
    }

    .simply-countdown > .simply-section .simply-amount {
        font-size: 2rem;
    }

    .simply-countdown > .simply-section .simply-word {
        font-size: 0.86rem;
    }

    .mynavbar .nav-link {
        font-size: 2rem;
        text-align: center;
    }

    .mynavbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mynavbar .offcanvas {
        max-width: 85vw;
        height: 100dvh;
    }

    .sticky-top {
        overflow: visible;
    }
}

/* Mobile */
@media (max-width: 576px){
    .hero {
        padding-inline: 1rem !important;
        padding-bottom: clamp(5rem, 9svh, 6.4rem) !important;
    }

    .hero::before {
        background-size: auto 64svh;
        background-position: center top;
    }

    .hero h1 {
        font-size: 4.2rem;
        margin-bottom: 0.55rem;
    }

    .hero h4 {
        font-size: 1.22rem;
    }

    .hero p {
        max-width: 21rem;
        font-size: 1.16rem;
        margin-bottom: 1rem;
    }

    .simply-countdown > .simply-section {
        width: 4.7rem;
        height: 4.7rem;
        padding: 0;
        margin: 0;
    }

    .simply-countdown {
        max-width: 20.8rem;
        gap: 0.32rem;
    }

    .simply-countdown > .simply-section .simply-amount {
        font-size: 1.42rem;
        margin-bottom: 0.16rem;
    }

    .simply-countdown > .simply-section .simply-word {
        font-size: 0.66rem;
    }

    .hero a {
        margin-top: 1rem !important;
        padding: 0.64rem 1.05rem;
        font-size: 0.98rem;
    }

    .home {
        min-height: auto;
        padding-top: 12.4rem;
        padding-bottom: 4.4rem;
    }

    .home h2 {
        font-size: 4rem;
    }

    .home .couple {
        margin-top: 3.4rem;
        row-gap: 2.6rem;
    }

    .home .couple > .col-lg-6 > .row {
        --bs-gutter-x: 1.1rem;
    }

    .home .couple > .col-lg-6:first-child .col-4 {
        display: flex;
        justify-content: flex-end;
    }

    .home .couple img {
        width: min(100%, 112px);
        border-width: 4px;
    }

    .home .couple h3 {
        font-size: 2.25rem;
        margin-bottom: 0.55rem;
    }

    .home .couple p {
        max-width: 17rem;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .home .couple .text-end p {
        margin-left: auto;
        text-align: right;
    }

    .gallery img {
        aspect-ratio: 4 / 5;
    }

}

@media (max-width: 407px){

    .simply-countdown > .simply-section {
        width: 4.35rem;
        height: 4.35rem;
        padding: 0;
        margin: 0;
    }

    .simply-countdown {
        max-width: 19.2rem;
        gap: 0.24rem;
    }

    .simply-countdown > .simply-section .simply-amount {
        font-size: 1.28rem;
    }

    .simply-countdown > .simply-section .simply-word {
        font-size: 0.62rem;
    }

    .home {
        min-height: auto;
        padding-top: 12rem;
        padding-bottom: 4rem;
    }

    .home h2 {
        font-size: 3.8rem;
        margin-bottom: 1.2rem;
    }

    .home h3 {
        font-size: 1.35rem;
    }

    .home .couple {
        margin-top: 3.2rem;
        row-gap: 2.4rem;
    }

    .home .couple h3 {
        font-size: 2.05rem;
    }

    .home .couple p {
        max-width: 15.5rem;
        font-size: 1rem;
        line-height: 1.5;
    }

}
