/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --burgundy: #410b22;
    --burgundy-dark: #240512;
    --burgundy-deep: #19030d;

    --gold: #d6ae62;
    --gold-light: #f1d89b;
    --gold-dark: #9c7434;

    --ivory: #fff8e9;
    --cream: #eadfc9;

    --white-soft: rgba(255, 248, 233, 0.75);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--burgundy-dark);
    color: var(--ivory);
    overflow-x: hidden;
}


/* =========================================================
   OPENING COVER
========================================================= */

.invitation-cover {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(126, 35, 65, 0.35),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(110, 29, 57, 0.25),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #260511 0%,
            #430a22 48%,
            #280510 100%
        );
}


/* =========================================================
   SUBTLE BACKGROUND TEXTURE
   NO ZIG-ZAG
========================================================= */

.invitation-cover::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.08;

    background-image:
        radial-gradient(
            circle at center,
            transparent 0 45%,
            rgba(214, 174, 98, 0.35) 46%,
            transparent 47%
        );

    background-size: 90px 90px;

    pointer-events: none;
}


/* =========================================================
   GOLD BACKGROUND GLOW
========================================================= */

.bg-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(210, 164, 74, 0.08);

    filter: blur(100px);

    pointer-events: none;
}

.glow-one {
    top: -250px;
    left: -200px;
}

.glow-two {
    bottom: -250px;
    right: -200px;
}


/* =========================================================
   CRESCENT MOON
========================================================= */

.crescent {
    position: absolute;

    top: 8%;
    right: 10%;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 25px rgba(214, 174, 98, 0.25),
        0 0 70px rgba(214, 174, 98, 0.12);

    opacity: 0.8;

    animation: moonFloat 6s ease-in-out infinite;
}

.crescent-cut {
    position: absolute;

    width: 100px;
    height: 100px;

    top: -14px;
    left: 22px;

    border-radius: 50%;

    background: #39081d;
}


/* =========================================================
   FLOATING PARTICLES
========================================================= */

.particles {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.particles span {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold-light);

    box-shadow:
        0 0 8px var(--gold);

    opacity: 0;

    animation: particleFloat 7s linear infinite;
}


/* Individual particles */

.particles span:nth-child(1) {
    left: 8%;
    top: 30%;
    animation-delay: 0s;
}

.particles span:nth-child(2) {
    left: 18%;
    top: 75%;
    animation-delay: 2s;
}

.particles span:nth-child(3) {
    left: 28%;
    top: 20%;
    animation-delay: 4s;
}

.particles span:nth-child(4) {
    left: 40%;
    top: 85%;
    animation-delay: 1s;
}

.particles span:nth-child(5) {
    left: 52%;
    top: 12%;
    animation-delay: 3s;
}

.particles span:nth-child(6) {
    left: 62%;
    top: 72%;
    animation-delay: 5s;
}

.particles span:nth-child(7) {
    left: 72%;
    top: 25%;
    animation-delay: 2s;
}

.particles span:nth-child(8) {
    left: 82%;
    top: 65%;
    animation-delay: 4s;
}

.particles span:nth-child(9) {
    left: 92%;
    top: 35%;
    animation-delay: 1s;
}

.particles span:nth-child(10) {
    left: 35%;
    top: 50%;
    animation-delay: 5s;
}

.particles span:nth-child(11) {
    left: 70%;
    top: 48%;
    animation-delay: 3s;
}

.particles span:nth-child(12) {
    left: 12%;
    top: 55%;
    animation-delay: 6s;
}


/* =========================================================
   STARS
========================================================= */

.star {
    position: absolute;

    color: var(--gold-light);

    opacity: 0.45;

    font-size: 20px;

    animation: starPulse 4s ease-in-out infinite;
}

.star-one {
    top: 22%;
    left: 14%;
}

.star-two {
    top: 40%;
    right: 13%;
    animation-delay: 1s;
}

.star-three {
    bottom: 25%;
    left: 11%;
    animation-delay: 2s;
}

.star-four {
    bottom: 17%;
    right: 18%;
    animation-delay: 3s;
}


/* =========================================================
   COVER CONTENT
========================================================= */

.cover-content {
    position: relative;
    z-index: 10;

    width: min(900px, 90%);

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: contentReveal 1.8s ease forwards;
}


/* =========================================================
   BISMILLAH
========================================================= */

.bismillah {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(22px, 3vw, 34px);

    color: var(--gold-light);

    letter-spacing: 1px;

    margin-bottom: 18px;

    animation: fadeDown 1.3s ease 0.2s both;
}


/* =========================================================
   GOLD LINE
========================================================= */

.gold-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    width: 180px;

    margin-bottom: 20px;

    animation: fadeIn 1.5s ease 0.5s both;
}

.gold-line span {
    width: 60px;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        var(--gold)
    );
}

.gold-line span:last-child {
    background: linear-gradient(
        to left,
        transparent,
        var(--gold)
    );
}

.gold-line i {
    color: var(--gold);
    font-size: 12px;

    font-style: normal;
}


/* =========================================================
   BLESSING
========================================================= */

.blessing {
    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 4px;

    color: var(--white-soft);

    margin-bottom: 25px;

    animation: fadeUp 1.3s ease 0.6s both;
}


/* =========================================================
   NAMES
========================================================= */

.names {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    margin-bottom: 25px;

    animation: namesReveal 1.5s ease 0.8s both;
}

.names span {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(70px, 10vw, 125px);

    line-height: 0.85;

    font-weight: 500;

    color: var(--ivory);

    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.25);
}

.names em {
    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 65px);

    color: var(--gold);

    font-style: italic;

    margin-top: -10px;
}


/* =========================================================
   INVITATION TEXT
========================================================= */

.invitation-text {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(20px, 2.5vw, 28px);

    line-height: 1.45;

    color: var(--cream);

    margin-bottom: 30px;

    animation: fadeUp 1.4s ease 1s both;
}

.invitation-text strong {
    color: var(--gold-light);

    font-weight: 500;
}


/* =========================================================
   DATE
========================================================= */

.date {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 40px;

    animation: fadeUp 1.4s ease 1.2s both;
}

.date-line {
    width: 55px;
    height: 1px;

    background: var(--gold-dark);
}

.date div {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.date small {
    font-size: 9px;

    letter-spacing: 3px;

    color: var(--gold);

    font-weight: 500;
}

.date strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    font-weight: 500;

    letter-spacing: 3px;

    color: var(--ivory);
}


/* =========================================================
   OPEN INVITATION BUTTON
========================================================= */

.open-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-width: 250px;

    padding: 17px 28px;

    border: 1px solid var(--gold);

    border-radius: 2px;

    background: rgba(214, 174, 98, 0.08);

    color: var(--gold-light);

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;

    animation:
        fadeUp 1.4s ease 1.4s both,
        buttonPulse 3s ease-in-out 3s infinite;
}

.open-btn:hover {
    transform: translateY(-4px);

    background: var(--gold);

    color: var(--burgundy-dark);

    box-shadow:
        0 10px 40px rgba(214, 174, 98, 0.25);
}


/* Button text */

.btn-text {
    position: relative;
    z-index: 2;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;
}


/* Button arrow */

.btn-arrow {
    position: relative;
    z-index: 2;

    font-size: 17px;

    transition: transform 0.4s ease;
}

.open-btn:hover .btn-arrow {
    transform: translateY(4px);
}


/* =========================================================
   BUTTON SHINE
========================================================= */

.btn-shine {
    position: absolute;

    top: 0;
    left: -100%;

    width: 50%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );

    transform: skewX(-20deg);

    animation: buttonShine 4s ease-in-out infinite;
}


/* =========================================================
   SCROLL HINT
========================================================= */

.scroll-hint {
    margin-top: 16px;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: rgba(255, 248, 233, 0.45);

    animation: hintFade 2s ease-in-out infinite;
}


/* =========================================================
   BOTTOM ORNAMENT
========================================================= */

.bottom-ornament {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 12px;

    opacity: 0.5;
}

.bottom-ornament span {
    width: 45px;
    height: 1px;

    background: var(--gold-dark);
}

.bottom-ornament div {
    color: var(--gold);

    font-size: 15px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes contentReveal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes namesReveal {
    from {
        opacity: 0;
        transform: scale(0.85);
        letter-spacing: 10px;
    }

    to {
        opacity: 1;
        transform: scale(1);
        letter-spacing: normal;
    }
}


@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.5);
    }

    20% {
        opacity: 0.7;
    }

    50% {
        transform: translateY(-30px) scale(1);
    }

    80% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-80px) scale(0.3);
    }
}


@keyframes starPulse {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(45deg);
    }
}


@keyframes moonFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


@keyframes buttonPulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(214, 174, 98, 0);
    }

    50% {
        box-shadow:
            0 0 25px rgba(214, 174, 98, 0.18);
    }
}


@keyframes buttonShine {
    0% {
        left: -100%;
    }

    25% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}


@keyframes hintFade {
    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.8;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .crescent {
        width: 75px;
        height: 75px;

        top: 7%;
        right: 7%;
    }

    .crescent-cut {
        width: 75px;
        height: 75px;

        top: -10px;
        left: 17px;
    }

    .names {
        gap: 14px;
    }

    .invitation-text {
        padding: 0 20px;
    }

    .date {
        margin-bottom: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .invitation-cover {
        min-height: 100svh;

        padding: 30px 18px;
    }

    .cover-content {
        width: 100%;
    }

    .bismillah {
        font-size: 21px;

        margin-bottom: 14px;
    }

    .blessing {
        font-size: 9px;

        letter-spacing: 2.5px;

        margin-bottom: 22px;
    }

    .names {
        gap: 10px;

        margin-bottom: 22px;
    }

    .names span {
        font-size: clamp(56px, 18vw, 82px);
    }

    .names em {
        font-size: 34px;
    }

    .invitation-text {
        font-size: 20px;

        line-height: 1.4;

        margin-bottom: 25px;
    }

    .date {
        gap: 10px;

        margin-bottom: 30px;
    }

    .date-line {
        width: 25px;
    }

    .date small {
        font-size: 7px;

        letter-spacing: 2px;
    }

    .date strong {
        font-size: 17px;

        letter-spacing: 2px;
    }

    .open-btn {
        width: min(270px, 90%);

        min-width: 0;

        padding: 16px 20px;
    }

    .btn-text {
        font-size: 10px;

        letter-spacing: 2.5px;
    }

    .crescent {
        width: 58px;
        height: 58px;

        top: 5%;
        right: 7%;
    }

    .crescent-cut {
        width: 58px;
        height: 58px;

        top: -8px;
        left: 13px;
    }

    .star {
        font-size: 14px;
    }

    .bottom-ornament {
        bottom: 18px;
    }

    .bottom-ornament span {
        width: 30px;
    }

    .scroll-hint {
        font-size: 8px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .invitation-cover {
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .bismillah {
        font-size: 18px;
    }

    .names span {
        font-size: 52px;
    }

    .names em {
        font-size: 28px;
    }

    .invitation-text {
        font-size: 18px;
    }

    .date strong {
        font-size: 15px;
    }

    .open-btn {
        padding: 14px 18px;
    }
}


/* =========================================================
   REDUCE ANIMATION FOR USERS WHO PREFER IT
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   WEDDING HERO SECTION
========================================================= */

.wedding-hero {
    position: relative;

    width: 100%;
    height: 100vh;
    height: 100svh;

    min-height: 700px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #350819;
}


/* =========================================================
   HERO BACKGROUND IMAGE
========================================================= */

.hero-background {
    position: absolute;

    inset: 0;

    background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center center;

    transform: scale(1.03);

    animation: heroZoom 15s ease-in-out infinite alternate;
}


/* =========================================================
   BURGUNDY OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(40, 4, 17, 0.50) 0%,
            rgba(91, 10, 40, 0.58) 45%,
            rgba(76, 5, 32, 0.70) 100%
        );

    z-index: 1;
}


/* =========================================================
   HEADER
========================================================= */

.hero-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    padding: 18px 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 10;
}


/* =========================================================
   LOGO
========================================================= */

.wedding-logo {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #ffffff;

    text-decoration: none;
}


.logo-circle {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fffaf0;

    border: 2px solid #e2a91f;

    color: #bd174c;

    font-family: "Playfair Display", serif;

    font-size: 17px;

    font-weight: 700;

    font-style: italic;

    box-shadow:
        0 0 15px rgba(226, 169, 31, 0.20);
}


.wedding-logo > span {
    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    font-weight: 600;
}


/* =========================================================
   NAVIGATION
========================================================= */

.hero-nav {
    display: flex;
    align-items: center;

    gap: 40px;
}


.hero-nav a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 700;

    transition: color 0.3s ease;
}


.hero-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #f1b51d;

    transition: width 0.3s ease;
}


.hero-nav a:hover {
    color: #f6c43d;
}


.hero-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    width: 45px;
    height: 45px;

    border: 1px solid rgba(255,255,255,0.5);

    background: rgba(50, 5, 22, 0.4);

    border-radius: 50%;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;
}


.mobile-menu span {
    display: block;

    width: 18px;
    height: 1px;

    background: #ffffff;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 1100px;

    padding: 100px 20px 50px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: heroContentReveal 1.5s ease both;
}


/* =========================================================
   HASHTAG
========================================================= */

.wedding-hashtag {
    margin: 0 0 38px;

    color: #f5bd13;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* =========================================================
   COUPLE NAMES
========================================================= */

.hero-content h1 {
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    color: #fffaf3;

    font-family: "Playfair Display", serif;

    font-size: clamp(75px, 9vw, 125px);

    line-height: 0.9;

    font-style: italic;

    font-weight: 400;

    text-shadow:
        0 5px 30px rgba(0,0,0,0.25);
}


.hero-content h1 strong {
    color: #ffad00;

    font-family: "Playfair Display", serif;

    font-size: 0.75em;

    font-style: italic;

    font-weight: 400;
}


/* =========================================================
   DATE
========================================================= */

.hero-date {
    margin-top: 32px;

    color: #f4ae00;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(25px, 3vw, 34px);

    font-style: italic;

    letter-spacing: 3px;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
    display: flex;
    justify-content: center;

    gap: 20px;

    margin-top: 52px;
}


/* Countdown Card */

.countdown-box {
    width: 125px;
    height: 135px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(222, 163, 25, 0.65);

    border-radius: 20px;

    background: rgba(92, 7, 48, 0.40);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 20px rgba(255,255,255,0.02),
        0 10px 30px rgba(0,0,0,0.10);

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}


.countdown-box:hover {
    transform: translateY(-7px);

    background: rgba(117, 10, 57, 0.55);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.20),
        0 0 20px rgba(226, 169, 31, 0.10);
}


.countdown-box strong {
    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 52px;

    line-height: 1;

    font-weight: 700;

    text-shadow:
        0 3px 10px rgba(0,0,0,0.20);
}


.countdown-box span {
    margin-top: 13px;

    color: rgba(255,255,255,0.78);

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   CELEBRATION BUTTON
========================================================= */

.celebration-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 350px;

    margin-top: 50px;

    padding: 20px 35px;

    background: #ffab00;

    color: #ffffff;

    text-decoration: none;

    border-radius: 5px;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.celebration-btn:hover {
    transform: translateY(-4px);

    background: #f7a000;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.25);
}


/* =========================================================
   SCROLL DOWN
========================================================= */

.scroll-down {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    width: 52px;
    height: 52px;

    border: 1px solid rgba(255,255,255,0.6);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    text-decoration: none;

    z-index: 6;

    animation: scrollBounce 2s ease-in-out infinite;
}


.scroll-down span {
    font-size: 25px;

    line-height: 1;

    font-weight: 300;
}


/* =========================================================
   FLOATING RIGHT BUTTONS
========================================================= */

.floating-actions {
    position: absolute;

    right: 0;

    top: 58%;

    transform: translateY(-50%);

    z-index: 20;

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.floating-btn {
    width: 58px;
    height: 58px;

    margin-right: -2px;

    border-radius: 50%;

    background: #ffffff;

    color: #d51b62;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 27px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.floating-btn:hover {
    transform: translateX(-6px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.25);
}


.floating-btn.whatsapp {
    background: #25d366;

    color: #ffffff;
}


.floating-btn.chat {
    background: #d91762;

    color: #ffffff;
}


/* =========================================================
   HERO ANIMATIONS
========================================================= */

@keyframes heroZoom {

    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.10);
    }
}


@keyframes heroContentReveal {

    from {
        opacity: 0;

        transform:
            translateY(35px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes scrollBounce {

    0%,
    100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(8px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .hero-header {
        padding: 18px 30px;
    }

    .hero-nav {
        gap: 25px;
    }

    .countdown {
        gap: 14px;
    }

    .countdown-box {
        width: 110px;
        height: 125px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .wedding-hero {
        min-height: 650px;
    }


    /* Header */

    .hero-header {
        padding: 15px 18px;
    }


    .logo-circle {
        width: 43px;
        height: 43px;

        font-size: 15px;
    }


    .wedding-logo > span {
        font-size: 20px;
    }


    /* Hide desktop nav */

    .hero-nav {
        display: none;
    }


    /* Show hamburger */

    .mobile-menu {
        display: flex;
    }


    /* Hero */

    .hero-content {
        padding:
            100px
            15px
            80px;
    }


    .wedding-hashtag {
        font-size: 10px;

        letter-spacing: 2.5px;

        margin-bottom: 28px;
    }


    .hero-content h1 {
        font-size: clamp(58px, 17vw, 90px);

        gap: 10px;
    }


    .hero-date {
        margin-top: 25px;

        font-size: 23px;

        letter-spacing: 2px;
    }


    /* Countdown */

    .countdown {
        width: 100%;

        gap: 7px;

        margin-top: 38px;
    }


    .countdown-box {
        width: calc(25% - 6px);

        height: 105px;

        border-radius: 14px;
    }


    .countdown-box strong {
        font-size: 38px;
    }


    .countdown-box span {
        margin-top: 9px;

        font-size: 8px;

        letter-spacing: 1px;
    }


    /* Button */

    .celebration-btn {
        min-width: 0;

        width: min(350px, 90%);

        margin-top: 38px;

        padding: 17px 20px;

        font-size: 10px;

        letter-spacing: 2px;
    }


    /* Floating buttons */

    .floating-actions {
        right: -5px;

        gap: 12px;
    }


    .floating-btn {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }


    .scroll-down {
        width: 45px;
        height: 45px;

        bottom: 17px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .hero-content {
        padding-top: 90px;
    }


    .wedding-hashtag {
        margin-bottom: 22px;
    }


    .hero-content h1 {
        font-size: 53px;

        gap: 7px;
    }


    .hero-date {
        font-size: 20px;

        margin-top: 20px;
    }


    .countdown {
        gap: 5px;

        margin-top: 30px;
    }


    .countdown-box {
        height: 90px;

        border-radius: 11px;
    }


    .countdown-box strong {
        font-size: 31px;
    }


    .countdown-box span {
        font-size: 7px;

        letter-spacing: 0.7px;
    }


    .celebration-btn {
        margin-top: 28px;

        padding: 15px 14px;

        font-size: 9px;
    }


    .floating-btn {
        width: 43px;
        height: 43px;
    }

}

/* =========================================================
   COUPLE SECTION
========================================================= */

.couple-section {
    position: relative;

    width: 100%;

    padding: 120px 30px 110px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(188, 146, 65, 0.08),
            transparent 35%
        ),
        #f8f3ed;

    overflow: hidden;
}


/* =========================================================
   SUBTLE BACKGROUND PATTERN
========================================================= */

.couple-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.035;

    pointer-events: none;

    background-image:
        linear-gradient(
            45deg,
            #8c682f 25%,
            transparent 25%
        ),
        linear-gradient(
            -45deg,
            #8c682f 25%,
            transparent 25%
        );

    background-size: 80px 80px;

    background-position:
        0 0,
        40px 40px;
}


/* =========================================================
   CONTAINER
========================================================= */

.couple-container {
    position: relative;

    z-index: 2;

    max-width: 1450px;

    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.couple-heading {
    text-align: center;

    max-width: 800px;

    margin: 0 auto 70px;
}


.arabic-small {
    display: block;

    margin-bottom: 15px;

    color: #a98036;

    font-family: serif;

    font-size: 20px;

    letter-spacing: 2px;
}


.couple-heading h2 {
    margin: 0;

    color: #5b1029;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: 500;

    font-style: italic;
}


.couple-heading h2 span {
    display: block;

    color: #b38a43;

    font-size: 0.65em;

    margin-top: 10px;

    font-style: normal;

    letter-spacing: 1px;
}


/* =========================================================
   HEADING DECORATION
========================================================= */

.heading-decoration {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin: 25px auto 20px;
}


.heading-decoration span {
    width: 100px;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            #c19a54
        );
}


.heading-decoration span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            #c19a54
        );
}


.heading-decoration b {
    color: #b38a43;

    font-size: 17px;

    font-weight: 400;

    animation: heartPulse 2.5s ease-in-out infinite;
}


.couple-heading > p {
    margin: 0 auto;

    max-width: 650px;

    color: #806d72;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   COUPLE GRID
========================================================= */

.couple-grid {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 90px 1fr;

    align-items: center;

    gap: 30px;
}


/* =========================================================
   COUPLE CARD
========================================================= */

.couple-card {
    position: relative;

    min-height: 650px;

    padding: 65px 50px 55px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.96),
            rgba(250,244,236,0.92)
        );

    border: 1px solid rgba(184, 145, 76, 0.25);

    border-radius: 35px;

    box-shadow:
        0 25px 70px rgba(74, 27, 42, 0.09);

    overflow: hidden;

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


.couple-card::before {
    content: "";

    position: absolute;

    inset: 12px;

    border: 1px solid rgba(185, 143, 69, 0.12);

    border-radius: 27px;

    pointer-events: none;
}


.couple-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 35px 80px rgba(74, 27, 42, 0.15);
}


/* =========================================================
   CARD GLOW
========================================================= */

.card-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(190, 150, 74, 0.14),
            transparent 65%
        );

    pointer-events: none;
}


/* =========================================================
   PORTRAIT
========================================================= */

.portrait-wrapper {
    position: relative;

    width: 270px;
    height: 310px;

    margin: 0 auto 35px;

    display: flex;

    justify-content: center;

    align-items: flex-start;
}


/* Islamic Arch */

.portrait-arch {
    position: relative;

    width: 245px;
    height: 300px;

    overflow: hidden;

    border-radius:
        125px
        125px
        18px
        18px;

    border: 7px solid #f8f3ed;

    outline: 2px solid #bd9145;

    box-shadow:
        0 12px 30px rgba(60, 22, 35, 0.18);
}


.portrait-arch img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition:
        transform 0.7s ease;
}


.couple-card:hover .portrait-arch img {
    transform: scale(1.06);
}


/* Gold ring */

.portrait-ring {
    position: absolute;

    width: 265px;
    height: 320px;

    top: -10px;

    border:
        1px solid
        rgba(190, 147, 69, 0.55);

    border-radius:
        135px
        135px
        25px
        25px;

    pointer-events: none;
}


/* =========================================================
   ROLE
========================================================= */

.couple-role {
    color: #b57d19;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 12px;
}


/* =========================================================
   NAME
========================================================= */

.couple-card h3 {
    margin: 0;

    color: #721636;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 4vw, 55px);

    font-style: italic;

    font-weight: 500;
}


/* =========================================================
   GOLD LINE
========================================================= */

.gold-line {
    width: 70px;

    height: 1px;

    margin: 17px auto;

    background:
        linear-gradient(
            to right,
            transparent,
            #c1984c,
            transparent
        );
}


/* =========================================================
   FAMILY
========================================================= */

.family-text {
    margin: 0 0 22px;

    color: #9b8c8e;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    letter-spacing: 0.3px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.couple-description {
    max-width: 520px;

    margin: 0 auto;

    color: #735f65;

    font-family: "Cormorant Garamond", serif;

    font-size: 20px;

    line-height: 1.65;
}


/* =========================================================
   DUA
========================================================= */

.dua {
    margin-top: 25px;

    color: #a98036;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;

    font-style: italic;
}


/* =========================================================
   CENTER DIVIDER
========================================================= */

.couple-divider {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 18px;

    height: 100%;
}


.divider-line {
    width: 1px;

    flex: 1;

    max-height: 170px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(176, 132, 57, 0.5),
            transparent
        );
}


.divider-circle {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f8f3ed;

    border: 1px solid #bd9145;

    box-shadow:
        0 0 0 8px rgba(189, 145, 69, 0.06);
}


.divider-circle span {
    color: #8a2445;

    font-family: "Playfair Display", serif;

    font-size: 30px;

    font-style: italic;
}


/* =========================================================
   BOTTOM QUOTE
========================================================= */

.couple-quote {
    max-width: 700px;

    margin: 75px auto 0;

    text-align: center;
}


.couple-quote > span {
    display: block;

    color: #b68a42;

    font-family: Georgia, serif;

    font-size: 45px;

    line-height: 0.5;
}


.couple-quote p {
    margin: 20px 0 8px;

    color: #5e3040;

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    font-style: italic;
}


.couple-quote small {
    color: #a18c91;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .couple-section {
        padding: 90px 25px;
    }


    .couple-grid {
        grid-template-columns: 1fr 60px 1fr;

        gap: 15px;
    }


    .couple-card {
        padding: 55px 25px 45px;

        min-height: 600px;
    }


    .portrait-wrapper {
        transform: scale(0.9);

        margin-bottom: 15px;
    }


    .couple-description {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .couple-section {
        padding: 75px 16px 80px;
    }


    .couple-heading {
        margin-bottom: 45px;
    }


    .couple-heading h2 {
        font-size: 39px;
    }


    .couple-heading h2 span {
        font-size: 24px;
    }


    .couple-heading > p {
        font-size: 14px;

        padding: 0 10px;
    }


    /* Stack cards */

    .couple-grid {
        display: flex;

        flex-direction: column;

        gap: 30px;
    }


    .couple-card {
        width: 100%;

        min-height: auto;

        padding:
            50px
            20px
            45px;

        border-radius: 28px;
    }


    .portrait-wrapper {
        transform: none;

        width: 250px;

        margin-bottom: 30px;
    }


    .portrait-arch {
        width: 220px;
        height: 275px;
    }


    .portrait-ring {
        width: 240px;
        height: 295px;
    }


    .couple-card h3 {
        font-size: 45px;
    }


    .couple-description {
        font-size: 19px;

        padding: 0 10px;
    }


    /* Center divider */

    .couple-divider {
        width: 100%;

        height: 65px;

        flex-direction: row;

        gap: 15px;
    }


    .divider-line {
        width: auto;

        height: 1px;

        max-height: none;

        flex: 1;

        background:
            linear-gradient(
                to right,
                transparent,
                rgba(176, 132, 57, 0.5)
            );
    }


    .divider-line:last-child {
        background:
            linear-gradient(
                to left,
                transparent,
                rgba(176, 132, 57, 0.5)
            );
    }


    .divider-circle {
        flex-shrink: 0;

        width: 58px;
        height: 58px;
    }


    .divider-circle span {
        font-size: 26px;
    }


    .couple-quote {
        margin-top: 50px;
    }


    .couple-quote p {
        font-size: 21px;

        padding: 0 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .couple-heading h2 {
        font-size: 34px;
    }


    .couple-heading h2 span {
        font-size: 21px;
    }


    .portrait-wrapper {
        transform: scale(0.92);

        margin-bottom: 20px;
    }


    .couple-card {
        padding:
            40px
            15px
            35px;
    }


    .couple-card h3 {
        font-size: 40px;
    }


    .couple-description {
        font-size: 18px;
    }

}

/* =========================================================
   OPENING INVITATION OVERLAY
========================================================= */

/* Lock page while opening invitation is visible */
body.invitation-locked {
    overflow: hidden;
}


/* Opening invitation sits ABOVE the entire website */

.invitation-cover {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;

    margin: 0 !important;

    z-index: 999999 !important;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: scale(1);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        visibility 0.9s ease;
}


/* Animation when OPEN INVITATION is clicked */

.invitation-cover.closing {
    opacity: 0 !important;

    transform: scale(1.06) !important;

    visibility: hidden !important;

    pointer-events: none !important;
}


/* Make sure button behaves properly */

.open-btn {
    cursor: pointer;

    border: none;

    font-family: inherit;
}


/* =========================================================
   HERO
========================================================= */

.wedding-hero {
    position: relative;

    z-index: 1;

    min-height: 100vh;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .invitation-cover {
        height: 100svh !important;
    }

}




/* =========================================================
   CELEBRATIONS
========================================================= */

.celebrations-section {
    background: #f8f1e7;
    padding: 120px 6%;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.celebrations-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}


.celebrations-header > span {
    display: block;

    color: #b58a45;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


.celebrations-header h2 {
    margin: 0;

    color: #68152f;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 90px);

    font-weight: 500;

    font-style: italic;
}


.celebrations-line {
    display: flex;

    justify-content: center;

    align-items: center;

    margin: 25px 0;
}


.celebrations-line::before,
.celebrations-line::after {
    content: "";

    width: 90px;

    height: 1px;

    background: #c39a55;
}


.celebrations-line i {
    margin: 0 15px;

    color: #9c2347;

    font-size: 16px;

    font-style: normal;
}


.celebrations-header p {
    color: #806d72;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CELEBRATION ROW
========================================================= */

.celebration-row {
    max-width: 1250px;

    min-height: 580px;

    margin: 0 auto 70px;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    background: #fffdf9;

    border: 1px solid
        rgba(180, 139, 67, 0.25);

    box-shadow:
        0 20px 60px
        rgba(70, 25, 40, 0.08);

    overflow: hidden;
}


.celebration-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}


/* Reverse image/content */

.celebration-row.reverse .celebration-image {
    order: 2;
}

.celebration-row.reverse .celebration-content {
    order: 1;
}


/* =========================================================
   IMAGE
========================================================= */

.celebration-image {
    position: relative;

    min-height: 580px;

    overflow: hidden;

    background: #eee4d8;
}


.celebration-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 1s ease;
}


.celebration-row:hover
.celebration-image img {
    transform: scale(1.04);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.celebration-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(70, 15, 32, 0.12),
            transparent 60%
        );

    pointer-events: none;
}


/* =========================================================
   NIKAH BADGE
========================================================= */

.nikah-badge {
    position: absolute;

    top: 25px;

    right: 25px;

    z-index: 2;

    padding: 10px 18px;

    border: 1px solid #d4ad63;

    background: rgba(75, 17, 35, 0.88);

    color: #f2d99d;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   CONTENT
========================================================= */

.celebration-content {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px;
}


.celebration-content.featured {
    background:
        linear-gradient(
            135deg,
            #fffdf9,
            #f9f0e4
        );
}


/* =========================================================
   NUMBER
========================================================= */

.celebration-number {
    position: absolute;

    top: 30px;

    right: 35px;

    color: rgba(181, 138, 69, 0.3);

    font-family: "Playfair Display", serif;

    font-size: 45px;

    font-style: italic;
}


/* =========================================================
   LABEL
========================================================= */

.celebration-label {
    color: #b18440;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


/* =========================================================
   TITLE
========================================================= */

.celebration-content h3 {
    margin: 0;

    color: #69162f;

    font-family: "Playfair Display", serif;

    font-size: clamp(60px, 6vw, 90px);

    font-weight: 500;

    font-style: italic;

    line-height: 1;
}


/* =========================================================
   QUOTE
========================================================= */

.celebration-quote {
    max-width: 450px;

    margin: 25px 0 20px;

    color: #715e64;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    line-height: 1.5;
}


/* =========================================================
   GOLD DIVIDER
========================================================= */

.gold-divider {
    width: 100px;

    height: 1px;

    margin: 10px 0 35px;

    background:
        linear-gradient(
            to right,
            #b68a43,
            transparent
        );
}


/* =========================================================
   EVENT INFORMATION
========================================================= */

.celebration-info {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.celebration-info div {
    display: grid;

    grid-template-columns: 90px 1fr;

    align-items: start;

    gap: 15px;
}


.celebration-info span {
    color: #b18440;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.celebration-info strong {
    color: #513d44;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.6;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .celebrations-section {
        padding: 80px 15px;
    }


    .celebrations-header {
        margin-bottom: 50px;
    }


    .celebrations-header h2 {
        font-size: 52px;
    }


    .celebrations-header p {
        font-size: 13px;
    }


    /* Stack rows */

    .celebration-row,
    .celebration-row.reverse {
        display: flex;

        flex-direction: column;

        min-height: auto;

        margin-bottom: 35px;
    }


    /* Image always first */

    .celebration-row.reverse .celebration-image {
        order: 1;
    }


    .celebration-row.reverse .celebration-content {
        order: 2;
    }


    .celebration-image {
        width: 100%;

        height: 390px;

        min-height: 390px;
    }


    .celebration-content {
        padding: 45px 25px 50px;
    }


    .celebration-number {
        top: 20px;

        right: 22px;

        font-size: 35px;
    }


    .celebration-content h3 {
        font-size: 55px;
    }


    .celebration-quote {
        font-size: 20px;
    }


    .celebration-info div {
        grid-template-columns:
            70px 1fr;
    }


    .nikah-badge {
        top: 15px;

        right: 15px;

        padding: 8px 12px;

        font-size: 8px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .celebrations-section {
        padding-left: 12px;
        padding-right: 12px;
    }


    .celebration-image {
        height: 330px;

        min-height: 330px;
    }


    .celebration-content {
        padding: 40px 20px;
    }


    .celebration-content h3 {
        font-size: 48px;
    }


    .celebration-quote {
        font-size: 18px;
    }

}



/* =========================================================
   EVENT LOCATIONS
========================================================= */

.locations-section {
    position: relative;

    padding: 120px 30px;

    background: #fbf5ee;

    overflow: hidden;
}


/* Subtle background decoration */

.locations-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: 100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(180, 139, 70, 0.07),
            transparent 70%
        );

    pointer-events: none;
}


.locations-section::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(105, 22, 47, 0.05),
            transparent 70%
        );

    pointer-events: none;
}


.locations-container {
    position: relative;

    max-width: 1250px;

    margin: 0 auto;

    z-index: 2;
}


/* =========================================================
   HEADING
========================================================= */

.locations-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 65px;
}


.locations-kicker {
    display: block;

    margin-bottom: 15px;

    color: #b38a48;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;
}


.locations-heading h2 {
    margin: 0;

    color: #69172f;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 75px);

    line-height: 1.05;

    font-weight: 500;
}


.locations-heading h2 em {
    color: #b38a48;

    font-style: italic;
}


.locations-divider {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin: 25px auto 20px;
}


.locations-divider span {
    width: 80px;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            #bd985a
        );
}


.locations-divider span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            #bd985a
        );
}


.locations-divider i {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid
        rgba(179, 138, 72, 0.45);

    border-radius: 50%;

    color: #9b2347;

    font-size: 12px;

    font-style: normal;
}


.locations-heading p {
    margin: 0;

    color: #7b696e;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   VENUE GRID
========================================================= */

.locations-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   LOCATION CARD
========================================================= */

.location-card {
    position: relative;

    padding: 50px 30px 34px;

    text-align: center;

    background:
        rgba(255, 253, 249, 0.92);

    border: 1px solid
        rgba(179, 138, 72, 0.20);

    border-radius: 22px;

    box-shadow:
        0 20px 55px
        rgba(67, 27, 40, 0.06);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}


.location-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(179, 138, 72, 0.45);

    box-shadow:
        0 30px 70px
        rgba(67, 27, 40, 0.11);
}


/* =========================================================
   ICON
========================================================= */

.location-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid
        rgba(181, 139, 69, 0.55);

    color: #b38a48;

    font-size: 17px;

    background:
        rgba(181, 139, 69, 0.05);

    transition:
        transform 0.5s ease,
        background 0.5s ease;
}


.location-card:hover .location-icon {
    transform: rotate(45deg);

    background:
        rgba(181, 139, 69, 0.10);
}


/* =========================================================
   LOCATION TYPE
========================================================= */

.location-type {
    display: block;

    margin-bottom: 12px;

    color: #b18443;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   VENUE NAME
========================================================= */

.location-card h3 {
    margin: 0 0 16px;

    color: #53152d;

    font-family: "Playfair Display", serif;

    font-size: 27px;

    font-weight: 500;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.location-card p {
    min-height: 65px;

    margin: 0 auto 30px;

    max-width: 310px;

    color: #816f74;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;

    line-height: 1.5;
}


/* =========================================================
   BUTTONS
========================================================= */

.location-buttons {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}


.location-buttons a {
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 30px;

    text-decoration: none;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Visit */

.location-visit {
    color: #fff;

    background: #741a37;

    box-shadow:
        0 8px 20px
        rgba(116, 26, 55, 0.16);
}


.location-visit:hover {
    background: #5c122b;

    transform: translateY(-2px);
}


/* Map */

.location-map {
    color: #741a37;

    background: #fff8f2;

    border: 1px solid
        rgba(116, 26, 55, 0.18);
}


.location-map:hover {
    background: #f7eadf;

    transform: translateY(-2px);
}


.location-map span {
    margin-right: 6px;

    color: #b48a47;

    font-size: 14px;
}


/* =========================================================
   FEATURED VENUE
========================================================= */

.featured-location {
    border-color:
        rgba(180, 138, 70, 0.42);

    background:
        linear-gradient(
            145deg,
            #fffdf9,
            #faf0e4
        );
}


.featured-location::before {
    content: "MAIN CELEBRATION";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 18px;

    border-radius:
        0 0 15px 15px;

    background: #b38a48;

    color: #fffaf1;

    font-family: "DM Sans", sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .locations-grid {
        grid-template-columns:
            repeat(2, 1fr);

        max-width: 800px;

        margin: 0 auto;
    }

    .featured-location {
        grid-column: 1 / -1;

        max-width: 380px;

        width: 100%;

        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .locations-section {
        padding: 80px 15px;
    }


    .locations-heading {
        margin-bottom: 45px;
    }


    .locations-heading h2 {
        font-size: 45px;
    }


    .locations-heading p {
        font-size: 13px;
    }


    .locations-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .featured-location {
        grid-column: auto;

        max-width: none;
    }


    .location-card {
        padding:
            42px 22px 28px;

        border-radius: 18px;
    }


    .location-icon {
        width: 48px;
        height: 48px;

        margin-bottom: 18px;
    }


    .location-card h3 {
        font-size: 25px;
    }


    .location-card p {
        min-height: auto;

        font-size: 17px;
    }


    .location-buttons a {
        height: 46px;
    }

}

/* =========================================================
   RSVP SECTION
========================================================= */

.rsvp-section {
    position: relative;

    padding: 120px 25px 90px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(194, 148, 70, 0.10),
            transparent 35%
        ),
        #711338;

    color: #fff;

    overflow: hidden;
}


/* Subtle decorative glow */

.rsvp-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -250px;
    left: -200px;

    border-radius: 50%;

    background:
        rgba(197, 160, 89, 0.08);

    filter: blur(30px);

    pointer-events: none;
}


.rsvp-section::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -200px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.04);

    filter: blur(20px);

    pointer-events: none;
}


.rsvp-container {
    position: relative;

    max-width: 900px;

    margin: 0 auto;

    z-index: 2;
}


/* =========================================================
   HEADING
========================================================= */

.rsvp-heading {
    text-align: center;

    max-width: 680px;

    margin: 0 auto 50px;
}


.rsvp-kicker {
    display: block;

    margin-bottom: 14px;

    color: #e3b75d;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;
}


.rsvp-heading h2 {
    margin: 0;

    color: #fff8ed;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 68px);

    line-height: 1.05;

    font-weight: 500;
}


.rsvp-heading h2 em {
    color: #e6b858;

    font-style: italic;
}


/* =========================================================
   DIVIDER
========================================================= */

.rsvp-divider {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin: 25px auto;
}


.rsvp-divider span {
    width: 90px;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(218, 174, 83, 0.7)
        );
}


.rsvp-divider span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            rgba(218, 174, 83, 0.7)
        );
}


.rsvp-divider i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: #e3a934;

    font-size: 12px;

    font-style: normal;
}


.rsvp-heading > p {
    margin: 0 auto;

    max-width: 600px;

    color: rgba(255,255,255,0.75);

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   RSVP CARD
========================================================= */

.rsvp-card {
    position: relative;

    padding: 40px 30px;

    background:
        rgba(255,255,255,0.045);

    border: 1px solid
        rgba(221, 176, 85, 0.30);

    border-radius: 20px;

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,0.15);
}


/* =========================================================
   FORM ROW
========================================================= */

.rsvp-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    margin-bottom: 22px;
}


.rsvp-field {
    display: flex;

    flex-direction: column;
}


.rsvp-field label {
    margin-bottom: 9px;

    color: #e4b33f;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.rsvp-field label span {
    color: #e4b33f;
}


/* =========================================================
   INPUTS
========================================================= */

.rsvp-field input,
.rsvp-field select,
.rsvp-field textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid
        rgba(225, 177, 76, 0.38);

    background:
        rgba(255,255,255,0.07);

    color: #fff;

    border-radius: 9px;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.rsvp-field input,
.rsvp-field select {

    height: 45px;

    padding: 0 15px;
}


.rsvp-field textarea {

    min-height: 105px;

    padding: 14px 15px;

    resize: vertical;
}


/* Placeholder */

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {

    color:
        rgba(255,255,255,0.42);
}


/* Select */

.rsvp-field select option {

    background: #711338;

    color: #fff;
}


/* Focus */

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {

    border-color: #e2ae45;

    background:
        rgba(255,255,255,0.10);

    box-shadow:
        0 0 0 3px
        rgba(226,174,69,0.08);
}


/* =========================================================
   MESSAGE
========================================================= */

.rsvp-message {
    margin-bottom: 18px;
}


.rsvp-message label span {

    color:
        rgba(255,255,255,0.5);
}


/* =========================================================
   RSVP NOTE
========================================================= */

.rsvp-note {

    margin: 18px 0 25px;

    text-align: center;

    color:
        rgba(255,255,255,0.55);

    font-family: "DM Sans", sans-serif;

    font-size: 11px;
}


.rsvp-note strong {

    color: #e4b33f;

    font-weight: 600;
}


/* =========================================================
   RSVP BUTTON
========================================================= */

.rsvp-button {

    width: 100%;

    height: 48px;

    border: none;

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            #e0a52d,
            #f4bd42
        );

    color: #4e1528;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.rsvp-button span {

    margin-left: 6px;

    color: #721338;
}


.rsvp-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(224,165,45,0.25);
}


/* =========================================================
   CLOSING
========================================================= */

.rsvp-closing {

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: 55px;

    text-align: center;
}


.closing-line {

    width: 80px;

    height: 1px;

    background:
        rgba(224, 176, 82, 0.45);
}


.rsvp-closing p {

    margin: 15px 0 5px;

    color:
        rgba(255,255,255,0.65);

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;

    font-style: italic;
}


.rsvp-closing h3 {

    margin: 0 0 15px;

    color: #f1c96a;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    font-weight: 500;
}


.rsvp-closing h3 span {

    color: #fff;

    font-style: italic;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .rsvp-section {

        padding:
            90px 20px 70px;
    }


    .rsvp-heading h2 {

        font-size: 50px;
    }


    .rsvp-card {

        padding: 30px 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .rsvp-section {

        padding:
            75px 15px 55px;
    }


    .rsvp-heading {

        margin-bottom: 35px;
    }


    .rsvp-kicker {

        font-size: 8px;

        letter-spacing: 3px;
    }


    .rsvp-heading h2 {

        font-size: 41px;

        line-height: 1.1;
    }


    .rsvp-heading > p {

        font-size: 13px;

        line-height: 1.7;
    }


    .rsvp-divider span {

        width: 55px;
    }


    .rsvp-card {

        padding: 25px 18px;

        border-radius: 15px;
    }


    .rsvp-row {

        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 18px;
    }


    .rsvp-field input,
    .rsvp-field select {

        height: 48px;

        font-size: 13px;
    }


    .rsvp-field textarea {

        min-height: 110px;
    }


    .rsvp-button {

        height: 50px;

        font-size: 9px;
    }


    .rsvp-closing {

        margin-top: 45px;
    }

}


/* =====================================================
   MUSIC BUTTON
===================================================== */

.music-toggle {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid rgba(225, 183, 93, 0.7);

    background: rgba(105, 20, 48, 0.92);

    color: #e5b85c;

    font-size: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 9999;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(10px);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.music-toggle:hover {

    transform: scale(1.08);

    background: #7a1739;

    box-shadow:
        0 10px 30px rgba(197, 160, 89, 0.25);
}


/* Music playing animation */

.music-toggle.playing {

    animation: musicPulse 2s infinite;
}


@keyframes musicPulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(225, 183, 93, 0.35);
    }

    70% {
        box-shadow:
            0 0 0 10px
            rgba(225, 183, 93, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(225, 183, 93, 0);
    }
}


/* Mobile */

@media (max-width: 600px) {

    .music-toggle {

        width: 43px;
        height: 43px;

        right: 15px;
        bottom: 15px;

        font-size: 19px;
    }

}