:root{
    --emerald:#046A38;
    --gold:#D4AF37;
    --champagne:#F5E6C8;
    --white:#ffffff;
    --ink:#1e2b24;
}

/* =========================
   GLOBAL
========================= */

body{
    font-family:'Montserrat',sans-serif;
    color:var(--ink);
    background:linear-gradient(180deg,#fff 0%,#fbf7ef 100%);
    overflow-x:hidden;
}

h1,h2,h3,h4,.display-title{
    font-family:'Cormorant Garamond',serif;
}

.script{
    font-family:'Great Vibes',cursive;
}

.text-gold{
    color:var(--gold);
}

/* =========================
   NAVBAR
========================= */

.luxury-nav{
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(18px);
    box-shadow:0 10px 40px rgba(4,106,56,.08);
}

.navbar-brand{
    font-size:2rem;
    color:var(--emerald)!important;
}

.nav-link{
    font-weight:500;
    color:var(--ink)!important;
}

/* =========================
   BUTTONS
========================= */

.btn-gold{
    background:var(--gold);
    color:#fff;
    border:1px solid var(--gold);
    border-radius:999px;
    padding:.75rem 1.5rem;
    box-shadow:0 14px 30px rgba(212,175,55,.25);
}

.btn-gold:hover{
    background:#b99220;
    color:#fff;
}

.btn-glass{
    color:#fff;
    border:1px solid rgba(255,255,255,.4);
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    border-radius:999px;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    width:100%;

    position:relative;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:120px 20px 80px;

    text-align:center;

    background:
        radial-gradient(
            circle at top left,
            rgba(212,175,55,.18),
            transparent 30%
        ),

        linear-gradient(
            145deg,
            #022817 0%,
            #046A38 35%,
            #03311d 70%,
            #02140d 100%
        );

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(4,106,56,.72),
            rgba(0,0,0,.38)
        );

    z-index:1;
}

.hero::after{
    content:'';

    position:absolute;
    inset:-20%;

    background:
        linear-gradient(
            120deg,
            transparent 35%,
            rgba(255,255,255,.08),
            transparent 65%
        );

    animation:emeraldSheen 18s ease-in-out infinite;

    pointer-events:none;
}

@keyframes emeraldSheen{
    0%,100%{
        transform:translateX(-28%) rotate(8deg);
    }

    50%{
        transform:translateX(28%) rotate(8deg);
    }
}

.hero-center{
    width:100%;
    max-width:1100px;

    position:relative;
    z-index:5;

    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-inner{
    width:100%;
    max-width:1000px;

    margin:auto;

    text-align:center;

    transform:translateY(20px);
}

.hero-title{
    font-size:clamp(4rem,10vw,8rem);
    line-height:.92;

    margin:0 auto;

    text-align:center;

    color:#fff;
}

.hero-subtitle{
    max-width:760px;

    margin:1.5rem auto;

    text-align:center;

    color:#fff;
}

.wedding-date,
.eyebrow{
    text-transform:uppercase;
    letter-spacing:.22em;
    color:#fff;
}

/* =========================
   COUNTDOWN
========================= */

.countdown{
    width:100%;
    max-width:900px;

    margin:2rem auto 0 auto;
}

.count-card{
    background:rgba(255,255,255,.14);

    border:1px solid rgba(255,255,255,.35);

    border-radius:1.5rem;

    padding:1.2rem;

    color:#fff;

    backdrop-filter:blur(14px);
}

.count-card b{
    display:block;

    font-family:'Cormorant Garamond',serif;

    font-size:2.4rem;
}

.count-card span{
    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:.18em;
}

/* =========================
   FLORALS
========================= */

.floating-floral{
    position:absolute;

    width:280px;
    height:280px;

    border-radius:50%;

    border:1px solid rgba(245,230,200,.14);

    z-index:1;
}

.floral-a{
    top:10%;
    left:-120px;

    opacity:.12;
}

.floral-b{
    bottom:10%;
    right:-120px;

    opacity:.10;
}

/* =========================
   SCROLL INDICATOR
========================= */

.scroll-indicator{
    position:absolute;

    left:50%;
    bottom:30px;

    transform:translateX(-50%);

    color:#fff;

    font-size:2rem;

    z-index:10;

    animation:bounce 2.8s infinite;
}

@keyframes bounce{
    50%{
        transform:translate(-50%,10px);
    }
}

/* =========================
   CONTENT SECTIONS
========================= */

.section-luxe{
    padding:7rem 0;
}

.glass-card{
    background:rgba(255,255,255,.72);

    border:1px solid rgba(212,175,55,.22);

    box-shadow:0 24px 70px rgba(4,106,56,.10);

    border-radius:2rem;

    padding:2rem;

    backdrop-filter:blur(18px);
}

/* =========================
   FOOTER
========================= */

.footer-luxe{
    background:#073d24;
    color:#fff;
}

.floral-divider{
    height:1px;
    width:180px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .hero{
        padding-top:140px;
        padding-left:18px;
        padding-right:18px;
    }

    .hero-title{
        font-size:4rem;
    }

    .hero-subtitle{
        font-size:1rem;
    }

    .floating-floral{
        width:160px;
        height:160px;
    }

    .floral-a{
        left:-60px;
    }

    .floral-b{
        right:-60px;
    }

    .section-luxe{
        padding:4rem 0;
    }

}

/* CMS TEST */

/* =========================
   GALLERY HERO
========================= */

.gallery-hero{
    padding:180px 20px 120px;

    background:
        linear-gradient(
            145deg,
            #022817,
            #046A38,
            #02140d
        );

    text-align:center;
}

/* =========================
   FILTERS
========================= */

.gallery-filters{
    display:flex;
    gap:1rem;
    justify-content:center;
    flex-wrap:wrap;
}

.filter-btn{
    border:none;

    background:#fff;

    padding:.8rem 1.5rem;

    border-radius:999px;

    font-weight:600;

    color:var(--emerald);

    border:1px solid rgba(212,175,55,.24);

    transition:.3s ease;
}

.filter-btn:hover,
.filter-btn.active{
    background:var(--emerald);

    color:#fff;

    transform:translateY(-2px);
}

/* =========================
   CAROUSEL
========================= */

.gallery-carousel{
    border-radius:2rem;
    overflow:hidden;

    box-shadow:
        0 30px 90px rgba(4,106,56,.16);
}

.gallery-slide{
    position:relative;

    height:75vh;

    min-height:520px;

    overflow:hidden;

    background:#000;
}

.gallery-slide img{
    width:100%;
    height:100%;

    object-fit:cover;
}

.gallery-overlay{
    position:absolute;
    inset:0;

    display:flex;
    align-items:flex-end;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.75),
            transparent 45%
        );

    padding:4rem;
}

.gallery-caption{
    color:#fff;

    max-width:700px;
}

.gallery-caption h2{
    font-size:4rem;
}

.gallery-caption p{
    font-size:1.1rem;
    opacity:.9;
}

.carousel-control-prev,
.carousel-control-next{
    width:8%;
}

.empty-gallery{
    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    background:
        linear-gradient(
            145deg,
            #022817,
            #046A38
        );
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .gallery-slide{
        height:60vh;
        min-height:420px;
    }

    .gallery-overlay{
        padding:2rem;
    }

    .gallery-caption h2{
        font-size:2.5rem;
    }

}

html{
    scroll-behavior:smooth;
}

section{
    scroll-margin-top:100px;
}

/* =========================
   LUXURY PORTAL
========================= */

.portal-body{
    min-height:100vh;
    margin:0;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    font-family:'Montserrat',sans-serif;

    background:
        radial-gradient(circle at top left, rgba(212,175,55,.24), transparent 28%),
        linear-gradient(145deg, #02140d 0%, #046A38 42%, #02140d 100%);
}

.portal-vignette{
    position:fixed;
    inset:0;

    background:
        radial-gradient(circle, transparent 30%, rgba(0,0,0,.58) 100%);

    z-index:1;
}

.portal-card{
    position:relative;
    z-index:5;

    width:min(92%,760px);

    padding:4rem 2rem;

    text-align:center;

    color:#fff;

    border:1px solid rgba(245,230,200,.24);

    border-radius:2.5rem;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(16px);

    box-shadow:
        0 40px 120px rgba(0,0,0,.28);
}

.portal-eyebrow{
    letter-spacing:.28em;
    text-transform:uppercase;
    color:var(--champagne);
    font-size:.82rem;
}

.portal-names{
    font-family:'Cormorant Garamond',serif;
    font-size:clamp(4rem,12vw,8rem);
    line-height:.9;
    margin:1.5rem 0;
}

.portal-line{
    width:180px;
    height:1px;
    margin:1.5rem auto;

    background:
        linear-gradient(90deg, transparent, var(--gold), transparent);
}

.portal-date{
    letter-spacing:.24em;
    text-transform:uppercase;
    color:#fff;
}

.portal-message{
    max-width:520px;
    margin:1.3rem auto 2rem;
    color:rgba(255,255,255,.84);
}

.portal-enter{
    padding:1rem 2.6rem;
}

.portal-floral{
    position:fixed;

    width:420px;
    height:420px;

    border:1px solid rgba(245,230,200,.15);
    border-radius:50%;

    z-index:2;
}

.portal-floral-left{
    left:-160px;
    top:12%;
}

.portal-floral-right{
    right:-160px;
    bottom:10%;
}

@media(max-width:768px){

    .portal-card{
        padding:3rem 1.4rem;
    }

    .portal-floral{
        width:240px;
        height:240px;
    }

}

/* =========================
   PERSONALIZED INVITE
========================= */

.invite-body{

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:2rem;

    background:
        radial-gradient(circle at top right, rgba(212,175,55,.18), transparent 30%),

        linear-gradient(
            145deg,
            #02140d,
            #046A38,
            #02140d
        );

    overflow:hidden;

    position:relative;
}

.invite-overlay{

    position:absolute;
    inset:0;

    background:
        radial-gradient(circle, transparent 30%, rgba(0,0,0,.52));

}

.invite-card{

    position:relative;
    z-index:2;

    width:min(92%,760px);

    border-radius:2.5rem;

    padding:4rem 2rem;

    text-align:center;

    color:#fff;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.16);

    box-shadow:
        0 40px 120px rgba(0,0,0,.28);
}

.invite-eyebrow{

    letter-spacing:.28em;

    text-transform:uppercase;

    color:var(--champagne);

    margin-bottom:1rem;
}

.invite-name{

    font-size:clamp(3rem,10vw,6rem);

    font-family:'Cormorant Garamond',serif;

    margin-bottom:1rem;
}

.invite-message{

    color:rgba(255,255,255,.82);
}

.invite-couple{

    font-family:'Great Vibes',cursive;

    font-size:4rem;

    color:var(--champagne);

    margin-top:1rem;
}

.invite-divider{

    width:160px;
    height:1px;

    margin:2rem auto;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}

.invite-details{

    display:flex;
    gap:1rem;

    justify-content:center;

    flex-wrap:wrap;

    margin-bottom:2rem;
}

.invite-pill{

    min-width:140px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    border-radius:999px;

    padding:1rem 1.4rem;
}

.invite-pill span{

    display:block;

    font-size:.72rem;

    letter-spacing:.12em;

    text-transform:uppercase;

    opacity:.72;
}

.invite-pill strong{

    font-size:1.3rem;
}

.invite-custom-message{

    margin-bottom:2rem;

    font-style:italic;

    color:rgba(255,255,255,.82);
}

.invite-enter-btn{

    padding:1rem 2.6rem;

    border-radius:999px;
}

@media(max-width:768px){

    .invite-card{

        padding:3rem 1.5rem;
    }

    .invite-couple{

        font-size:3rem;
    }

}

/* =========================
   RSVP MODAL
========================= */

.rsvp-modal{
    border:0;
    border-radius:2rem;
    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbf7ef
        );

    box-shadow:
        0 40px 120px rgba(4,106,56,.22);
}

.rsvp-modal .modal-header,
.rsvp-modal .modal-body,
.rsvp-modal .modal-footer{
    padding:2rem;
}

.rsvp-modal h2{
    color:var(--emerald);
}

.rsvp-modal .form-control,
.rsvp-modal .form-select{
    border-radius:1rem;
    padding:.85rem 1rem;

    border:1px solid rgba(4,106,56,.18);
}

.rsvp-modal .form-control:focus,
.rsvp-modal .form-select:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 .2rem rgba(212,175,55,.18);
}

.scroll-indicator{
    cursor:pointer;
    color:#fff;
    text-decoration:none;
}

/* =========================
   WEDDING LOADER
========================= */

.wedding-loader{
    position:fixed;
    inset:0;
    z-index:999999;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        radial-gradient(circle at top left, rgba(212,175,55,.22), transparent 28%),
        linear-gradient(145deg, #02140d, #046A38, #02140d);

    color:#fff;
}

.loader-card{
    position:relative;
    text-align:center;
    width:min(90%,560px);
    padding:3rem 2rem;
}

.loader-ring{
    width:160px;
    height:160px;

    border:1px solid rgba(245,230,200,.35);
    border-top-color:var(--gold);
    border-radius:50%;

    margin:0 auto 2rem;

    animation:loaderSpin 4.5s linear infinite;
}

.loader-small{
    letter-spacing:.28em;
    text-transform:uppercase;
    font-size:.75rem;
    color:var(--champagne);
}

.loader-card h1{
    font-family:'Great Vibes',cursive;
    font-size:clamp(3.5rem,9vw,6rem);
    margin:1rem 0;
}

.loader-line{
    width:180px;
    height:1px;
    margin:1.5rem auto;

    background:linear-gradient(90deg, transparent, var(--gold), transparent);
}

.loader-card span{
    letter-spacing:.18em;
    text-transform:uppercase;
    font-size:.75rem;
    opacity:.8;
}

@keyframes loaderSpin{
    to{
        transform:rotate(360deg);
    }
}

/* =========================
   BACK TO TOP
========================= */

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;

    width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    text-decoration:none;

    color:#fff;
    background:var(--emerald);

    border:1px solid rgba(212,175,55,.45);

    box-shadow:0 18px 40px rgba(4,106,56,.25);

    opacity:0;
    pointer-events:none;

    transform:translateY(20px);

    transition:.35s ease;
}

.back-to-top.show{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

.scroll-indicator{
    cursor:pointer;
}

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#046A38;
    color:#fff;
    text-decoration:none;
    opacity:0;
    pointer-events:none;
    transform:translateY(20px);
    transition:.35s ease;
}

.back-to-top.show{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

/* =========================
   GOLD HEART LOADER
========================= */

.heart-loader-wrap{
    position:relative;
    width:220px;
    height:180px;
    margin:0 auto 2rem;
}

.gold-heart{
    position:absolute;

    color:#D4AF37;

    font-size:4rem;

    opacity:0;

    filter:
        drop-shadow(0 0 10px rgba(212,175,55,.45))
        drop-shadow(0 0 30px rgba(212,175,55,.25));

    animation:floatHeart 4.5s ease-in-out infinite;
}

.gold-heart.h1{
    font-size:5.8rem;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    animation-delay:0s;
}

.gold-heart.h2{
    font-size:4.5rem;
    left:12%;
    bottom:20px;
    animation-delay:.7s;
}

.gold-heart.h3{
    font-size:4.5rem;
    right:12%;
    bottom:20px;
    animation-delay:1.4s;
}

.gold-heart.h4{
    font-size:3.6rem;
    left:38%;
    bottom:45px;
    animation-delay:2.1s;
}

.gold-heart.h5{
    font-size:3.6rem;
    right:28%;
    bottom:45px;
    animation-delay:2.8s;
}

@keyframes floatHeart{

    0%{
        transform:translateY(30px) scale(.4);
        opacity:0;
    }

    20%{
        opacity:1;
    }

    50%{
        transform:translateY(-40px) scale(1);
        opacity:1;
    }

    100%{
        transform:translateY(-110px) scale(1.35);
        opacity:0;
    }

}

body.loading{
    overflow:hidden;
}

body.loading main,
body.loading nav,
body.loading footer,
body.loading .back-to-top{
    opacity:0;
    pointer-events:none;
}

.modal{
    z-index:200000 !important;
}

.modal-backdrop{
    z-index:199999 !important;
}

/* =========================
   EMERALD LUXE POLISH
========================= */

.lux-divider{
    height:70px;
    position:relative;
    background:#fffdf8;
}

.lux-divider::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:58%;
    height:1px;
    transform:translate(-50%,-50%);
    background:linear-gradient(90deg, transparent, rgba(212,175,55,.25), #d4af37, rgba(212,175,55,.25), transparent);
}

.lux-divider::after{
    content:"✦";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    color:#c89b2b;
    background:#fffdf8;
    padding:0 14px;
    text-shadow:0 0 14px rgba(212,175,55,.45);
}

.hero-hashtag{
    margin-top:18px;
    font-family:'Great Vibes', cursive;
    font-size:clamp(2rem,4vw,3.4rem);
    color:#f5d76e;
    text-shadow:0 0 14px rgba(245,215,110,.55);
}

.gallery-hashtag{
    margin-top:16px;
    color:#6d6248;
}

.gallery-hashtag span{
    display:block;
    margin-top:6px;
    font-family:'Great Vibes', cursive;
    font-size:clamp(2rem,4vw,3rem);
    color:#b8860b;
    text-shadow:0 0 12px rgba(212,175,55,.28);
}

.section-luxe{
    position:relative;
    background:#fffdf8;
}

.section-luxe.bg-light{
    background:#fbf7ef !important;
}

.glass-card{
    border:1px solid rgba(212,175,55,.22);
    box-shadow:0 24px 70px rgba(4,106,56,.10);
    transition:.3s ease;
}

.glass-card:hover{
    transform:translateY(-4px);
    box-shadow:0 28px 80px rgba(4,106,56,.14);
}

.btn-gold{
    background:linear-gradient(135deg,#c89b2b,#d4af37,#f5d76e);
    color:#fff;
}

.btn-gold:hover{
    background:linear-gradient(135deg,#b88718,#d4af37);
    color:#fff;
}

.footer-hashtag{
    font-family:'Great Vibes', cursive;
    font-size:clamp(2rem,5vw,3.8rem);
    color:#f5d76e;
    text-shadow:0 0 16px rgba(245,215,110,.45);
    margin-bottom:14px;
}

/* =========================
   ELEGANT MASONRY GALLERY
========================= */

.masonry-gallery{
    columns:3 280px;
    column-gap:1.2rem;
}

.masonry-item{
    position:relative;
    display:block;
    width:100%;
    margin:0 0 1.2rem;
    padding:0;
    border:0;
    border-radius:1.8rem;
    overflow:hidden;
    background:#000;
    cursor:pointer;
    break-inside:avoid;
    box-shadow:0 18px 45px rgba(4,106,56,.12);
}

.masonry-item img{
    width:100%;
    display:block;
    transition:.45s ease;
}

.masonry-item:nth-child(3n) img{
    aspect-ratio:4/5;
    object-fit:cover;
}

.masonry-item:nth-child(2n) img{
    aspect-ratio:1/1;
    object-fit:cover;
}

.masonry-item:nth-child(5n) img{
    aspect-ratio:16/10;
    object-fit:cover;
}

.masonry-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:1.4rem;
    color:#fff;
    background:linear-gradient(to top, rgba(0,0,0,.72), transparent 55%);
    opacity:0;
    transition:.35s ease;
}

.masonry-overlay h4{
    margin:0;
    font-size:1.5rem;
}

.masonry-overlay small{
    color:#f5d76e;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.masonry-item:hover img{
    transform:scale(1.06);
}

.masonry-item:hover .masonry-overlay{
    opacity:1;
}

.gallery-lightbox{
    position:relative;
    background:#02140d;
    border-radius:2rem;
    overflow:hidden;
}

.gallery-lightbox img{
    width:100%;
    max-height:82vh;
    object-fit:contain;
    background:#000;
}

.gallery-close{
    position:absolute;
    top:1rem;
    right:1rem;
    z-index:5;
}

.gallery-lightbox-caption{
    padding:1.4rem 2rem;
    color:#fff;
    background:linear-gradient(135deg,#02140d,#046A38);
}

.gallery-lightbox-caption h3{
    margin:0;
    color:#f5d76e;
}

.gallery-lightbox-caption p{
    margin:.4rem 0 0;
    color:rgba(255,255,255,.78);
}

@media(max-width:768px){
    .masonry-gallery{
        columns:2 150px;
        column-gap:.8rem;
    }

    .masonry-item{
        border-radius:1.2rem;
        margin-bottom:.8rem;
    }
}

/* =========================
   FEATURED GALLERY GRID
========================= */

.featured-gallery{
    display:grid;
    gap:1.2rem;
}

.featured-photo,
.gallery-tile{
    position:relative;
    display:block;
    width:100%;
    padding:0;
    border:0;
    overflow:hidden;
    cursor:pointer;
    background:#000;
    border-radius:2rem;
    box-shadow:0 22px 55px rgba(4,106,56,.14);
}

.featured-photo{
    height:520px;
}

.featured-photo img,
.gallery-tile img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.45s ease;
}

.featured-caption{
    position:absolute;
    inset:auto 0 0 0;
    padding:2rem;
    color:#fff;
    text-align:left;
    background:linear-gradient(to top, rgba(0,0,0,.75), transparent);
}

.featured-caption small{
    color:#f5d76e;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.featured-caption h3{
    font-size:2.5rem;
    margin:.3rem 0 0;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
}

.gallery-tile{
    aspect-ratio:1/1;
    border-radius:1.4rem;
}

.featured-photo:hover img,
.gallery-tile:hover img{
    transform:scale(1.06);
}

.gallery-lightbox{
    position:relative;
    background:#02140d;
    border-radius:2rem;
    overflow:hidden;
}

.gallery-lightbox img{
    width:100%;
    max-height:82vh;
    object-fit:contain;
    background:#000;
}

.gallery-close{
    position:absolute;
    top:1rem;
    right:1rem;
    z-index:5;
}

.gallery-lightbox-caption{
    padding:1.4rem 2rem;
    color:#fff;
    background:linear-gradient(135deg,#02140d,#046A38);
}

.gallery-lightbox-caption h3{
    margin:0;
    color:#f5d76e;
}

.gallery-lightbox-caption p{
    margin:.4rem 0 0;
    color:rgba(255,255,255,.78);
}

@media(max-width:992px){
    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .featured-photo{
        height:420px;
    }
}

@media(max-width:576px){
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .featured-photo{
        height:340px;
        border-radius:1.4rem;
    }

    .gallery-tile{
        border-radius:1rem;
    }
}

/* CMS-controlled hero typography; fluid clamp prevents mobile overflow. */
.hero .hero-title.wedding-font-script,
.hero .hero-hashtag.wedding-font-script { font-family: 'Great Vibes', cursive !important; }
.hero .hero-title.wedding-font-serif,
.hero .hero-hashtag.wedding-font-serif { font-family: 'Cormorant Garamond', Georgia, serif !important; }
.hero .hero-title.wedding-font-sans,
.hero .hero-hashtag.wedding-font-sans { font-family: 'Montserrat', Arial, sans-serif !important; }
.hero .hero-title {
    font-size: clamp(2rem, 8vw, var(--hero-name-size, 80px)) !important;
    letter-spacing: var(--hero-name-spacing, 0px);
    max-width: 100%; overflow-wrap: anywhere;
}
.hero .hero-hashtag {
    font-size: clamp(1rem, 4.5vw, var(--hero-tag-size, 36px)) !important;
    letter-spacing: var(--hero-tag-spacing, 0px);
    max-width: 100%; overflow-wrap: anywhere;
}

/* Compact venue cards and accessible FAQ image lightbox */
.wedding-venues-compact { padding-top: 3rem; padding-bottom: 3rem; }
.venue-compact-card { padding: 1.25rem !important; }
.venue-compact-photo { width: 112px; height: 112px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.venue-compact-title { font-size: clamp(1.1rem, 2vw, 1.45rem); margin-bottom: .4rem; }
.venue-compact-address { font-size: .9rem; line-height: 1.5; }
.venue-directions-btn { border: 1px solid #b99b50; color: #715a22; border-radius: 30px; padding: .45rem .9rem; }
.venue-directions-btn:hover { background: #b99b50; color: #fff; }
.venue-extra { border-top: 1px solid rgba(191,153,62,.2); padding-top: .8rem; font-size: .9rem; }
.venue-extra summary { cursor: pointer; color: #715a22; font-weight: 600; }
.venue-compact-map { height: 200px; border-radius: 12px; overflow: hidden; }
.venue-compact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.faq-image-trigger { border: 0; background: none; padding: 0; cursor: zoom-in; }
.faq-image-trigger:focus-visible { outline: 3px solid #b99b50; outline-offset: 4px; border-radius: 12px; }
@media (max-width: 575px) { .venue-compact-photo { width: 84px; height: 94px; } .venue-compact-card { padding: 1rem !important; } }

/* Compact, always-visible Good to Know cards */
.wedding-faq-card{padding:1.4rem;border:1px solid rgba(177,145,81,.22);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 8px 26px rgba(44,36,20,.045);text-align:left}
.wedding-faq-question{font-size:1.14rem;line-height:1.35;margin:0 0 .6rem;color:#5b4a2f}
.wedding-faq-answer{font-size:.94rem;line-height:1.65;margin:0;overflow-wrap:anywhere}
.wedding-faq-image-button{display:flex;align-items:center;gap:.85rem;margin-top:1rem;padding:0;border:0;background:transparent;text-align:left;color:#86672f;font-size:.83rem;cursor:zoom-in}
.wedding-faq-thumb{width:90px;height:75px;object-fit:cover;border-radius:12px;border:1px solid rgba(177,145,81,.24)}
.wedding-faq-image-button:hover span{text-decoration:underline}
.guest-moment-open{cursor:zoom-in}
.guest-moment-open:focus-visible,.wedding-faq-image-button:focus-visible{outline:3px solid #b18d49;outline-offset:3px}
.guest-moment-modal{background:#fffaf3;border:0;border-radius:18px}
@media(max-width:575px){.wedding-faq-card{padding:1.1rem}.wedding-faq-thumb{width:74px;height:64px}}

/* FAQ compact v2: limit reference images even when global img styles exist. */
#faq.section-luxe{padding-top:2.6rem;padding-bottom:2.6rem}
#faq .wedding-faq-grid{align-items:stretch}
#faq .wedding-faq-card{min-height:0;padding:16px 18px}
#faq .wedding-faq-image-button{width:auto;max-width:100%;display:inline-flex;align-items:center}
#faq .wedding-faq-image-button img.wedding-faq-thumb{display:block!important;width:68px!important;height:56px!important;max-width:68px!important;max-height:56px!important;object-fit:cover!important;flex:none!important}
#faq .wedding-faq-image-button span{font-size:.79rem}
@media(max-width:575px){#faq.section-luxe{padding-top:2rem;padding-bottom:2rem}#faq .wedding-faq-card{padding:14px 15px}}

/* November 2026: editorial hero and reliable navigation */
html{scroll-padding-top:90px;scroll-behavior:smooth}
.wedding-nav{background:rgba(250,244,231,.70);border-bottom:1px solid rgba(50,52,34,.12);box-shadow:none;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.wedding-nav .navbar-brand{display:flex;align-items:center;gap:12px;font-family:'Cormorant Garamond',serif;font-size:1.35rem;white-space:nowrap}
.wedding-brand img{width:42px;height:42px;object-fit:contain}
.wedding-nav .nav-link{font-family:'Cormorant Garamond',serif;font-size:1.05rem;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.hero{position:relative;min-height:100svh;padding-bottom:160px;background-position:center center;background-size:cover}
.hero .hero-overlay{background:linear-gradient(90deg,rgba(5,27,19,.69),rgba(5,27,19,.25) 60%,rgba(5,27,19,.16))}
.hero .hero-center.hero-editorial{width:100%;max-width:none;display:flex;justify-content:flex-start;align-items:center;padding:110px clamp(20px,8vw,150px) 45px;text-align:left}
.hero-editorial .hero-inner{text-align:left;max-width:700px;margin:0}
.hero-editorial .countdown{justify-content:flex-start!important}
.hero-editorial .justify-content-center{justify-content:flex-start!important}
.hero-monogram{position:absolute;z-index:2;right:clamp(20px,5vw,90px);top:115px;width:clamp(65px,8vw,125px);height:auto;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.2))}
.hero-quicknav{position:absolute;z-index:4;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:20px 4vw 24px;background:linear-gradient(0deg,rgba(5,25,18,.91),rgba(5,25,18,.6));gap:0}
.hero-quicknav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;color:#f7e8c2;text-decoration:none;padding:8px 6px;border-right:1px solid rgba(245,230,200,.4);font-family:'Cormorant Garamond',serif;letter-spacing:.09em;text-transform:uppercase}
.hero-quicknav a:last-child{border-right:0}.hero-quicknav a:hover,.hero-quicknav a:focus-visible{color:white;background:rgba(255,255,255,.1)}
.hero-quicknav i{font-size:1.8rem;color:#d4af37}.hero-quicknav span{font-size:1.05rem}.hero-quicknav small{font-size:.7rem;letter-spacing:.06em}
@media(max-width:991px){.wedding-nav .navbar-collapse{max-height:70vh;overflow-y:auto}.hero .hero-center.hero-editorial{padding:130px 24px 40px}.hero-quicknav{grid-template-columns:repeat(3,1fr);padding:10px 12px}.hero-quicknav a:nth-child(3){border-right:0}.hero-quicknav i{font-size:1.35rem}.hero-quicknav small{display:none}.hero{padding-bottom:145px}.hero-monogram{top:100px;width:65px}}
@media(max-width:575px){.hero-editorial .hero-inner{max-width:100%}.hero-quicknav span{font-size:.8rem}.hero-quicknav a{padding:8px 3px}.hero-monogram{width:48px;right:15px}.wedding-nav .navbar-brand{font-size:1rem}.wedding-brand img{width:30px;height:30px}}

/* FAQ reference photos: full card width, consistent crop regardless of source dimensions. */
#faq .wedding-faq-image-button { display:block!important; width:100%!important; max-width:100%!important; box-sizing:border-box; }
#faq .wedding-faq-image-button img.wedding-faq-thumb { display:block!important; width:100%!important; max-width:100%!important; height:180px!important; max-height:none!important; object-fit:cover!important; object-position:center!important; border:0; }
@media(max-width:575px) { #faq .wedding-faq-image-button img.wedding-faq-thumb { height:170px!important; } }


/* EA NUPTIALS MOBILE HASHTAG FIX V1 */
@media (max-width: 575px) {

    .gallery-hashtag,
    .footer-hashtag {
        max-width: 100%;
        min-width: 0;
        padding-inline: 8px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .gallery-hashtag span,
    .footer-hashtag {
        font-size: clamp(20px, 5.5vw, 27px);
        line-height: 1.6;
        letter-spacing: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .footer-luxe small {
        display: block;
        max-width: 100%;
        padding-inline: 12px;
        white-space: normal;
    }
}


/* EA NUPTIALS CELEBRATION CONTRAST FIX */
#details .eyebrow.text-gold {
    color: #806019;
}

#details h2,
#details h3 {
    color: #183d2b;
}

#details .text-muted {
    color: #555d55 !important;
}


/* EA NUPTIALS MOBILE HERO FIX V1 */
@media (max-width: 575px) {

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 95px 12px 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero .hero-center.hero-editorial {
        width: 100%;
        padding: 25px 8px 30px !important;
        display: flex;
        justify-content: center !important;
        align-items: center;
        text-align: center !important;
    }

    .hero-editorial .hero-inner {
        width: 100%;
        max-width: 100%;
        margin: 0 auto !important;
        text-align: center !important;
        transform: none;
    }

    .hero-editorial .eyebrow {
        font-size: 10px;
        line-height: 1.6;
        letter-spacing: .15em;
        margin: 0 0 12px;
    }

    .hero .hero-title {
        font-size: clamp(32px, 9vw, 43px) !important;
        line-height: 1.08;
        margin: 0 auto 12px;
        text-align: center !important;
    }

    .hero .hero-subtitle {
        font-size: 13px;
        line-height: 1.65;
        max-width: 310px;
        margin: 0 auto 14px;
        text-align: center !important;
    }

    .hero .wedding-date {
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: .13em;
        margin: 0 auto 12px;
        text-align: center;
    }

    .hero .hero-hashtag {
        font-size: clamp(20px, 5.5vw, 27px) !important;
        line-height: 1.5;
        margin: 0 auto 12px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .hero-editorial .countdown {
        width: 100%;
        max-width: 330px;
        margin: 12px auto 0 !important;
        justify-content: center !important;
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .hero-editorial .countdown > div {
        width: 50%;
        flex: 0 0 50%;
    }

    .hero-editorial .count-card {
        min-height: 94px;
        padding: 12px 6px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-editorial .count-card b {
        font-size: 30px;
        line-height: 1;
    }

    .hero-editorial .count-card span {
        font-size: 10px;
        letter-spacing: .09em;
        margin-top: 8px;
    }

    .hero-editorial .hero-inner > .d-flex {
        width: 100%;
        max-width: 330px;
        margin: 16px auto 0 !important;
        gap: 10px !important;
        justify-content: center !important;
    }

    .hero-editorial .hero-inner > .d-flex > a.btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        font-size: 13px;
        padding: 11px 6px;
        text-align: center;
    }

    .hero-editorial #musicToggle {
        flex: 0 0 auto;
        margin: 0 auto;
        font-size: 12px;
        padding: 9px 18px;
        border-radius: 30px;
    }

    .hero .hero-quicknav {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: calc(100% + 24px);
        margin: 0 -12px;
        padding: 12px 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .hero-quicknav a {
        min-height: 76px;
        padding: 9px 4px;
        gap: 5px;
    }

    .hero-quicknav a:nth-child(3n) {
        border-right: 0;
    }

    .hero-quicknav a:nth-child(-n+3) {
        border-bottom: 1px solid rgba(245,230,200,.25);
    }

    .hero-quicknav i {
        font-size: 20px;
    }

    .hero-quicknav span {
        font-size: 11px;
        line-height: 1.25;
        letter-spacing: .04em;
    }

    .hero-quicknav small {
        display: none;
    }

    .hero .scroll-indicator {
        display: none;
    }

    .hero-monogram {
        display: none;
    }
}


/* EA NUPTIALS DESKTOP HERO ALIGNMENT V1 */
@media (min-width: 992px) {

    .hero {
        padding-top: 80px;
        padding-bottom: 145px;
    }

    .hero .hero-center.hero-editorial {
        min-height: calc(100svh - 225px);
        padding: 35px clamp(35px, 8vw, 150px);
        align-items: center;
        justify-content: flex-start;
    }

    .hero-editorial .hero-inner {
        transform: none;
        margin: 0;
        text-align: left;
    }

    .hero-editorial .countdown {
        max-width: 520px;
        margin: 24px 0 0 !important;
        justify-content: flex-start !important;
    }

    .hero-editorial .countdown > div {
        flex: 0 0 25%;
        width: 25%;
    }

    .hero-editorial .count-card {
        min-height: 108px;
        padding: 14px 6px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-editorial .count-card b {
        font-size: 35px;
        line-height: 1;
        width: 100%;
        text-align: center;
    }

    .hero-editorial .count-card span {
        display: block;
        width: 100%;
        margin-top: 9px;
        font-size: 10px;
        letter-spacing: .09em;
        text-align: center;
    }

    .hero-editorial .hero-inner > .d-flex {
        justify-content: flex-start !important;
        align-items: center;
    }
}


/* EA NUPTIALS LIGHT SECTION CONTRAST V1 */

/* Readable dark gold labels on light backgrounds */
.section-luxe .eyebrow.text-gold {
    color: #806019;
}

/* Dark emerald section headings */
.section-luxe h2 {
    color: #183d2b;
}

/* Readable supporting text */
.section-luxe .text-muted {
    color: #555d55 !important;
}

/* Seat Checker modal heading label */
#seatCheckerModal .eyebrow.text-gold {
    color: #806019;
}


/* EA NUPTIALS ENTOURAGE FULL IMAGE V1 */

/* Display entire image without cropping */
#faq .wedding-faq-image-button img.wedding-faq-thumb {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0;
    border-radius: 9px;
}

/* Consistent thumbnail presentation */
#faq .wedding-faq-image-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 180px;
    background: #faf8f2;
}

/* Mobile */
@media (max-width: 575px) {
    #faq .wedding-faq-image-button img.wedding-faq-thumb {
        height: auto !important;
        max-height: 260px !important;
    }
}


/* EA HERO PRIEST TYPOGRAPHY V1 */
.hero .hero-priest {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 4px 0 16px;
}

.hero .hero-priest-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    color: #d4af37;
}

.hero .hero-priest-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.25;
    color: #fff;
}

.hero .wedding-date {
    font-size: clamp(15px, 1.45vw, 19px);
}

.hero .hero-hashtag {
    font-size: clamp(19px, 2.1vw, 29px) !important;
}

@media (max-width: 575px) {
    .hero .hero-priest {
        align-items: center;
        text-align: center;
        margin: 4px auto 14px;
    }

    .hero .wedding-date {
        font-size: 15px;
    }

    .hero .hero-hashtag {
        font-size: clamp(18px, 4.8vw, 23px) !important;
    }
}


/* EA PERSONAL INVITATION SCROLL FIX V1 */

/* Allow invitation content to extend vertically */
body.invite-body {
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    align-items: safe center;
}

/* Ensure tall cards remain accessible */
body.invite-body .invite-card {
    flex-shrink: 0;
    max-height: none !important;
}

/* Mobile: content starts from top and scrolls naturally */
@media (max-width: 768px) {
    body.invite-body {
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 24px 12px 40px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body.invite-body .invite-card {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    body.invite-body .invite-overlay {
        pointer-events: none;
    }
}


/* EA PRIEST FONT SIZE V2 */
.hero .hero-priest-label {
    font-size: 13px;
    letter-spacing: .15em;
}

.hero .hero-priest-name {
    font-size: clamp(25px, 2.5vw, 30px);
    line-height: 1.25;
}

@media (max-width: 575px) {
    .hero .hero-priest-label {
        font-size: 12px;
    }

    .hero .hero-priest-name {
        font-size: 25px;
    }
}


/* EA INVITATION MONOGRAM LOADER V1 */

/* Only the personalized invitation loading screen */
body.invite-body #inviteLoader .loader-monogram-card {
    width: min(92%, 480px);
    padding: 2rem 1rem;
}

body.invite-body #inviteLoader .loader-monogram-wrap {
    position: relative;
    width: clamp(160px, 34vw, 240px);
    height: clamp(160px, 34vw, 240px);
    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: eaMonogramReveal 2.4s ease-out both;
}

body.invite-body #inviteLoader .loader-monogram-wrap::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(212,175,55,.20) 0%,
        rgba(212,175,55,.07) 42%,
        transparent 72%
    );

    filter: blur(18px);
    animation: eaMonogramGlow 3.8s ease-in-out infinite alternate;
}

body.invite-body #inviteLoader .loader-monogram {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    filter: drop-shadow(0 8px 25px rgba(212,175,55,.18));
}

body.invite-body #inviteLoader .loader-small {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: .28em;
    color: #f5e6c8;
}

body.invite-body #inviteLoader .loader-line {
    margin: 20px auto;
}

body.invite-body #inviteLoader .loader-opening {
    display: block;
    font-size: 10px;
    letter-spacing: .18em;
    color: rgba(255,255,255,.75);
}

@keyframes eaMonogramReveal {
    from {
        opacity: 0;
        transform: scale(.88) translateY(14px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes eaMonogramGlow {
    from { opacity: .45; transform: scale(.94); }
    to   { opacity: .90; transform: scale(1.06); }
}

@media (max-width: 575px) {
    body.invite-body #inviteLoader .loader-monogram-wrap {
        width: 180px;
        height: 180px;
        margin-bottom: 18px;
    }

    body.invite-body #inviteLoader .loader-monogram-card {
        padding: 1.5rem .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.invite-body #inviteLoader .loader-monogram-wrap,
    body.invite-body #inviteLoader .loader-monogram-wrap::before {
        animation: none !important;
    }
}


/* EA INVITATION ANTIQUE GOLD SCRIPT V1 */
body.invite-body .invite-card .invite-couple {
    font-family: 'Edwardian Script ITC', 'Great Vibes', cursive !important;
    color: #C9A15B !important;
    font-weight: 400 !important;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.3;
    text-shadow: 0 2px 16px rgba(201,161,91,.18);
}

@media (max-width: 575px) {
    body.invite-body .invite-card .invite-couple {
        font-size: clamp(2.5rem, 9vw, 3.3rem);
        line-height: 1.35;
    }
}


/* EA EDWARDIAN FONT FACE V1 */
@font-face {
    font-family: 'Edwardian Script ITC';
    src: url('../fonts/Edwardian%20Script%20ITC%20Regular.ttf')
         format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


/* EA INVITATION TYPOGRAPHY V2 */

/* Invited guest or family name: slightly smaller */
body.invite-body .invite-card .invite-name {
    font-size: clamp(2.8rem, 4.3vw, 4rem) !important;
    line-height: 1.15;
}

/* Couple names: larger Edwardian Script */
body.invite-body .invite-card .invite-couple {
    font-family: 'Edwardian Script ITC', 'Great Vibes', cursive !important;
    font-size: clamp(3.8rem, 6.5vw, 5.4rem) !important;
    line-height: 1.25;
    color: #C9A15B !important;
    font-weight: 400 !important;
}

/* Mobile typography */
@media (max-width: 575px) {
    body.invite-body .invite-card .invite-name {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    body.invite-body .invite-card .invite-couple {
        font-size: clamp(3.1rem, 10vw, 4rem) !important;
        line-height: 1.25;
    }
}
