
/* Ensure page remains visible without legacy Designesia initialization */
html, body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* =========================================================
   Wedding custom theme
   Keep project-specific styling here rather than editing the
   purchased template's core style.css.
   ========================================================= */

:root {
    --orange-deep: #A94F2D;
    --orange-burnt: #C65D32;
    --orange-terracotta: #E07A5F;
    --orange-warm: #F4A261;
    --orange-peach: #F7C59F;
    --orange-cream: #FFF4E8;
    --brown-deep: #5C3525;
    --brown-soft: #7B594B;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--brown-soft);
    background: var(--orange-cream);
}

/* Wedding typography */
body {
    font-family: "Marcellus", Georgia, serif;
}

h1, h2, h3, h4, h5, h6,
#mainmenu, .btn, .hero-date, .invitation-date,
.event-day, .event-link {
    font-family: "Marcellus", Georgia, serif;
}

    /* Global orange palette */
    .id-color,
    #mainmenu a:hover,
    #mainmenu a.active,
    header div#logo h2 span,
    .de_testi_by {
        color: var(--orange-burnt) !important;
    }

a.btn-custom,
.btn-custom,
#back-to-top,
.bg-color,
section.bg-color {
    background-color: var(--orange-burnt) !important;
}

    a.btn-custom:hover,
    .btn-custom:hover {
        background-color: var(--orange-deep) !important;
        opacity: 1;
    }

blockquote,
.de_tab .de_nav li span {
    border-color: var(--orange-terracotta) !important;
}

/* Header */
header.wedding-header {
    top: 0;
    height: 82px;
    background: linear-gradient(to bottom, rgba(54, 30, 20, .66), rgba(54, 30, 20, .12));
}

    header.wedding-header div#logo h2 {
        margin-top: 20px;
        font-size: 40px;
        text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
    }

    header.wedding-header #mainmenu {
        margin-right: 90px;
    }

        header.wedding-header #mainmenu > li > a {
            padding-top: 24px;
            padding-bottom: 22px;
            letter-spacing: .5px;
        }

#mainmenu.heart-separator li a:after {
    color: var(--orange-warm);
    opacity: .85;
}

header.wedding-header > .container .btn-rsvp {
    background: var(--orange-burnt);
}

header.smaller.wedding-header {
    background: rgba(255, 244, 232, .97);
    box-shadow: 0 3px 20px rgba(92, 53, 37, .08);
}

    header.smaller.wedding-header div#logo h2,
    header.smaller.wedding-header #mainmenu > li > a {
        color: var(--brown-deep) !important;
    }

/* Navigation RSVP link behaves like a normal menu item; the header RSVP
   tab remains the prominent call to action. */
#mainmenu .nav-rsvp {
    cursor: pointer;
}

/* Hero */
#section-hero {
    background: var(--brown-deep);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(47, 23, 13, .36) 0%, rgba(47, 23, 13, .20) 40%, rgba(47, 23, 13, .58) 100%), linear-gradient(90deg, rgba(198, 93, 50, .14), rgba(244, 162, 97, .08));
    pointer-events: none;
}

.hero-content {
    z-index: 3;
    width: 100%;
}

.hero-kicker {
    margin-bottom: 18px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange-peach);
}

.hero-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    line-height: 1;
}

.hero-name {
    font-family: "Alex Brush", cursive;
    font-size: clamp(72px, 9vw, 125px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, .24);
}

.hero-ampersand {
    font-family: "Alex Brush", cursive;
    font-size: clamp(55px, 6vw, 85px);
    font-weight: 400;
    line-height: 1;
    color: var(--orange-warm);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    max-width: 310px;
    margin: 12px auto 20px;
    color: var(--orange-warm);
}

    .hero-divider span {
        display: block;
        width: 105px;
        height: 1px;
        background: rgba(255, 255, 255, .6);
    }

    .hero-divider i {
        font-size: 12px;
    }

.hero-date {
    margin-bottom: 8px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 23px;
    letter-spacing: 2px;
    color: var(--white);
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    color: rgba(255, 255, 255, .90);
}

.hero-actions {
    margin-top: 30px;
}

    .hero-actions .btn {
        margin: 5px 6px;
        min-width: 155px;
    }

    .hero-actions .hero-rsvp {
        float: none;
        position: static;
        display: inline-block;
        min-width: 155px;
        padding: 11px 30px;
        height: auto;
        top: auto;
        right: auto;
        color: #fff !important;
        border-radius: 30px;
    }

    .hero-actions .btn-border {
        border-color: rgba(255,255,255,.85);
    }

#custom-owl-slider .item img {
    object-fit: cover;
}

/* Content sections */
#section-couple,
#section-event,
#section-gallery {
    background: #fff;
}

    #section-event h3,
    #section-gallery h2,
    #section-couple h2 {
        color: var(--brown-deep);
    }

footer {
    background-color: var(--brown-deep);
}

    footer .subfooter {
        background-color: #45271C;
    }

/* Mobile */
@media (max-width: 991px) {
    header.wedding-header {
        height: 70px;
        background: rgba(255, 244, 232, .97);
    }

        header.wedding-header div#logo h2 {
            margin-top: 15px;
            font-size: 32px;
            color: var(--brown-deep);
        }

        header.wedding-header #mainmenu {
            margin-right: 0;
        }

    .hero-names {
        flex-direction: column;
        gap: 0;
    }

    .hero-name {
        font-size: 82px;
        line-height: .95;
    }

    .hero-ampersand {
        margin: 4px 0;
        font-size: 48px;
        line-height: .8;
    }

    .hero-date {
        font-size: 18px;
    }

    .hero-subtitle {
        padding: 0 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-kicker {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .hero-name {
        font-size: 72px;
    }

    .hero-actions .btn {
        display: block;
        width: 190px;
        margin: 9px auto;
    }
}

/* ===== Redesigned invitation sections ===== */
.wedding-section {
    padding: 100px 0;
}

#section-invitation {
    padding-top: 15px;
    padding-bottom: 0px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--orange-burnt);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

    .section-eyebrow.light {
        color: var(--orange-peach);
    }

.section-heading h2, .theme-section h2, .registry-card h2, .rsvp-callout h2 {
    color: var(--brown-deep);
    font-size: 46px;
    margin-bottom: 15px;
}

.wedding-invitation .invitation-title {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 28px;
    font-family: "Marcellus",Georgia,serif;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.wedding-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 8px;
}

    .wedding-countdown > div {
        width: 105px;
        padding: 16px 8px 13px;
        border: 1px solid rgba(255,255,255,.4);
        background: rgba(62,31,19,.28);
        backdrop-filter: blur(4px);
        border-radius: 8px;
    }

    .wedding-countdown strong {
        display: block;
        color: #fff;
        font-family: "Marcellus",Georgia,serif;
        font-size: 29px;
        line-height: 1;
    }

    .wedding-countdown span {
        display: block;
        margin-top: 8px;
        color: var(--orange-peach);
        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

.events-section {
    background: #fffaf5;
}

.event-card {
    position: relative;
    height: 100%;
    padding: 45px 38px;
    background: #fff;
    border: 1px solid rgba(198,93,50,.14);
    box-shadow: 0 14px 45px rgba(92,53,37,.07);
    border-radius: 4px;
    overflow: hidden;
    transition: .25s ease;
}

    .event-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 55px rgba(92,53,37,.12);
    }

    .event-card.featured {
        background: var(--orange-burnt);
        color: #fff;
    }

.event-number {
    position: absolute;
    right: 20px;
    top: 4px;
    color: rgba(198,93,50,.08);
    font-family: "Marcellus",Georgia,serif;
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
}

.event-card.featured .event-number {
    color: rgba(255,255,255,.1);
}

.event-day {
    position: relative;
    color: var(--orange-burnt);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-card.featured .event-day, .event-card.featured .event-link {
    color: var(--orange-peach);
}

.event-card h3 {
    position: relative;
    margin: 12px 0;
    color: var(--brown-deep);
    font-size: 31px;
}

.event-card.featured h3 {
    color: #fff;
}

.event-rule {
    width: 45px;
    height: 2px;
    margin: 20px 0 25px;
    background: var(--orange-warm);
}

.event-card p {
    margin-bottom: 11px;
}

    .event-card p i {
        width: 23px;
        color: var(--orange-burnt);
    }

.event-card.featured p i {
    color: var(--orange-peach);
}

.event-note {
    margin: 25px 0 !important;
    opacity: .85;
}

.event-link {
    color: var(--orange-burnt);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.theme-section {
    background: var(--orange-cream);
}

.theme-photo-wrap {
    position: relative;
    padding: 0 35px 35px 0;
}

.theme-photo {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 20px 55px rgba(92,53,37,.13);
}

.theme-photo-wrap:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border: 2px solid var(--orange-warm);
    z-index: 0;
}

.theme-photo {
    position: relative;
    z-index: 1;
}

.theme-badge {
    position: absolute;
    right: -10px;
    top: 45px;
    z-index: 2;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: var(--orange-burnt);
    color: #fff;
    font-family: "Marcellus",Georgia,serif;
    font-size: 17px;
    line-height: 1.4;
    box-shadow: 0 12px 30px rgba(92,53,37,.2);
}

.theme-lead {
    font-size: 18px;
    line-height: 1.8;
}

.palette {
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

    .palette span {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--swatch);
        border: 3px solid rgba(255,255,255,.8);
        box-shadow: 0 3px 12px rgba(92,53,37,.15);
    }

.theme-guidance {
    padding: 20px 24px;
    border-left: 3px solid var(--orange-burnt);
    background: rgba(255,255,255,.55);
}

    .theme-guidance h4 {
        margin-bottom: 5px;
        color: var(--brown-deep);
    }

.registry-section {
    background: #fff;
}

.registry-card {
    max-width: 780px;
    padding: 65px 70px;
    border: 1px solid rgba(198,93,50,.2);
    background: linear-gradient(145deg,#fff 0%,#fff8f1 100%);
    box-shadow: 0 18px 55px rgba(92,53,37,.07);
}

.registry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--orange-cream);
    color: var(--orange-burnt);
    font-size: 30px;
}

.registry-card p {
    max-width: 610px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.8;
}

.registry-card small {
    display: block;
    margin-top: 20px;
    opacity: .7;
}

.rsvp-callout {
    padding: 95px 0;
    background: linear-gradient(rgba(116,50,27,.9),rgba(116,50,27,.9)),url('../images/misc/4.jpg') center/cover;
}

    .rsvp-callout h2 {
        color: #fff;
    }

    .rsvp-callout p {
        max-width: 600px;
        margin: 0 auto 28px;
        font-size: 17px;
    }

    .rsvp-callout .btn {
        padding: 12px 34px;
        border-radius: 30px;
        color: var(--orange-deep);
        cursor: pointer;
    }

@media (max-width:767px) {
    .wedding-section {
        padding: 70px 0;
    }

    .section-heading h2, .theme-section h2, .registry-card h2, .rsvp-callout h2 {
        font-size: 36px;
    }

    .wedding-countdown {
        gap: 6px;
    }

        .wedding-countdown > div {
            width: 76px;
            padding: 13px 4px 10px;
        }

        .wedding-countdown strong {
            font-size: 23px;
        }

    .hero-names {
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-name {
        font-size: 72px;
    }

    .registry-card {
        padding: 45px 25px;
    }

    .theme-photo-wrap {
        padding-right: 15px;
    }

    .theme-badge {
        right: -3px;
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
}

/* Lightweight wedding page interactions */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7f1;
}

.heart-loader {
    text-align: center;
}

    .heart-loader .heart {
        display: inline-block;
        margin: 0 5px;
        font-size: 32px;
        line-height: 1;
        color: #c65d32;
        animation: weddingHeartBeat 1.2s ease-in-out infinite;
        transform-origin: center;
    }

        .heart-loader .heart:nth-child(2) {
            font-size: 45px;
            color: #e07a5f;
            animation-delay: .15s;
        }

        .heart-loader .heart:nth-child(3) {
            animation-delay: .3s;
        }

    .heart-loader .loading-text {
        margin-top: 20px;
        color: #7a3e21;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
        animation: weddingLoadingFade 1.8s ease-in-out infinite;
    }

@keyframes weddingHeartBeat {
    0%,100% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.25);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.15);
    }

    80% {
        transform: scale(1);
    }
}

@keyframes weddingLoadingFade {
    0%,100% {
        opacity: .45;
    }

    50% {
        opacity: 1;
    }
}

/* RSVP popup without legacy designesia.js */
#popup-box {
    display: none;
}

    #popup-box.is-open {
        display: block;
    }

body.rsvp-open {
    overflow: hidden;
}

/* Mobile navigation without legacy enquire.js/designesia.js */
@media (max-width: 991.98px) {
    .wedding-header nav {
        display: none;
        width: 100%;
    }

        .wedding-header nav.is-open {
            display: block;
        }

    #menu-btn {
        cursor: pointer;
    }
}


/* Preloader fail-safe transition */
#preloader.preloader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}


/* ===== Native scroll reveal animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

    .scroll-reveal.reveal-left {
        transform: translate3d(-42px, 0, 0);
    }

    .scroll-reveal.reveal-right {
        transform: translate3d(42px, 0, 0);
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

/* a little life in the hero without adding a plugin */
.wedding-invitation .hero-content {
    animation: heroEntrance 1s cubic-bezier(.2,.7,.2,1) .15s both;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.reveal-left,
    .scroll-reveal.reveal-right,
    .wedding-invitation .hero-content {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* ===== Separate invitation + countdown section ===== */
.wedding-hero .hero-content {
    max-width: 100%;
}

.hero-date-simple {
    margin-bottom: 26px;
}

.hero-scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    opacity: .9;
    transition: opacity .25s ease, transform .25s ease;
}

    .hero-scroll-link i {
        font-size: 22px;
        animation: invitationArrow 1.8s ease-in-out infinite;
    }

    .hero-scroll-link:hover {
        color: #fff;
        opacity: 1;
        transform: translateY(3px);
    }

@keyframes invitationArrow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

.invitation-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(244,162,97,.13), transparent 30%), radial-gradient(circle at 90% 80%, rgba(198,93,50,.10), transparent 32%), #fff8f2;
}

    .invitation-section::before,
    .invitation-section::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(198,93,50,.14);
        border-radius: 50%;
        pointer-events: none;
    }

    .invitation-section::before {
        width: 320px;
        height: 320px;
        left: -160px;
        top: -130px;
    }

    .invitation-section::after {
        width: 440px;
        height: 440px;
        right: -230px;
        bottom: -260px;
    }

.invitation-card {
    position: relative;
    z-index: 1;
    padding: 72px 48px;
}

    .invitation-card h2 {
        margin: 8px 0 12px;
        color: #5c3525;
        font-size: clamp(38px, 5vw, 62px);
    }

.invitation-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px 0;
    color: #c65d32;
}

    .invitation-heart::before,
    .invitation-heart::after {
        content: "";
        width: 54px;
        height: 1px;
        background: rgba(198,93,50,.35);
    }

.invitation-message {
    max-width: 650px;
    margin: 0 auto 16px;
    color: #6f5b50;
    font-size: 18px;
    line-height: 1.9;
}

.invitation-date {
    margin: 0 0 34px;
    color: #9f4d2d;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.invitation-countdown {
    max-width: 720px;
    margin: 0 auto 36px;
}

    .invitation-countdown > div {
        background: #fff;
        border: 1px solid rgba(198,93,50,.18);
        box-shadow: 0 12px 36px rgba(92,53,37,.06);
    }

    .invitation-countdown strong {
        color: #c65d32;
    }

    .invitation-countdown span {
        color: #7a5a49;
    }

.invitation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-border-dark {
    border: 1px solid #7a3e21;
    color: #7a3e21;
    background: transparent;
}

    .btn-border-dark:hover {
        background: #7a3e21;
        color: #fff;
    }

@media (max-width: 767.98px) {
    .invitation-card {
        padding: 54px 6px;
    }

    .invitation-message {
        font-size: 16px;
    }

    .invitation-date {
        font-size: 13px;
        letter-spacing: 1.2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-link i {
        animation: none;
    }
}


/* Weddingo-inspired typography accents */
.hero-kicker {
    font-family: "Alex Brush", cursive;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.15;
}

.section-eyebrow {
    font-family: "Alex Brush", cursive;
    font-size: 31px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.15;
}

.invitation-card h2,
.section-heading h2,
.theme-section h2,
.registry-card h2,
.rsvp-callout h2 {
    font-family: "Marcellus", Georgia, serif;
    font-weight: 400;
    letter-spacing: .3px;
}

#mainmenu > li > a {
    font-family: "Marcellus", Georgia, serif;
}

header.wedding-header div#logo h2,
footer h2.hs1 {
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    letter-spacing: 0;
}

    header.wedding-header div#logo h2 span,
    footer h2.hs1 span {
        font-family: "Alex Brush", cursive;
        font-size: 1em;
        margin: 0 .08em;
    }

@media (max-width: 767.98px) {
    .section-eyebrow {
        font-size: 27px;
    }

    .hero-kicker {
        font-size: 29px;
    }
}


/* Couple-name typography consistency */
header.wedding-header div#logo h2 {
    font-size: 46px;
    line-height: 1;
}

footer h2.hs1 {
    font-size: 58px;
    line-height: 1;
}

@media (max-width: 991.98px) {
    header.wedding-header div#logo h2 {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    header.wedding-header div#logo h2 {
        font-size: 34px;
    }

    footer h2.hs1 {
        font-size: 48px;
    }
}


/* Give hero content breathing room below fixed header */
.wedding-hero .hero-content {
    padding-top: 90px;
}

/* Together with our families */
.wedding-hero .hero-kicker {
    margin-bottom: 20px;
    font-family: "Alex Brush", cursive;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--orange-peach);
}

/* Keep names comfortably below kicker */
.wedding-hero .hero-names {
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .wedding-hero .hero-content {
        padding-top: 75px;
    }

    .wedding-hero .hero-kicker {
        font-size: 30px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .wedding-hero .hero-content {
        padding-top: 65px;
    }

    .wedding-hero .hero-kicker {
        font-size: 27px;
    }
}

/* Fixed header after scrolling */
header.wedding-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}

    /* Initial state over hero */
    header.wedding-header:not(.scrolled) {
        background: transparent !important;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Fixed cream header after scroll */
    /* Header after scrolling */
    header.wedding-header.scrolled {
        background: rgba(255, 244, 232, 0.99) !important;
        box-shadow: 0 3px 20px rgba(92, 53, 37, 0.12);
    }

    header.wedding-header:not(.scrolled) #mainmenu > li > a,
    header.wedding-header:not(.scrolled) div#logo h2 {
        color: #fff !important;
    }

    /* Dark navigation after scrolling */
    header.wedding-header.scrolled #mainmenu > li > a,
    header.wedding-header.scrolled div#logo h2 {
        color: var(--brown-deep) !important;
    }

    /* Keep ampersand orange */
    header.wedding-header div#logo h2 span {
        color: var(--orange-warm) !important;
    }

/* Transparent over hero */
header.wedding-header {
    background: transparent !important;
    box-shadow: none !important;
}

    /* Solid header once scrolled */
    header.wedding-header.scrolled {
        background: #fff4e8 !important;
        box-shadow: 0 3px 20px rgba(92, 53, 37, 0.12) !important;
    }

    /* White text over hero */
    header.wedding-header:not(.scrolled) #mainmenu > li > a,
    header.wedding-header:not(.scrolled) div#logo h2 {
        color: #fff !important;
    }

    /* Dark text after scrolling */
    header.wedding-header.scrolled #mainmenu > li > a,
    header.wedding-header.scrolled div#logo h2 {
        color: var(--brown-deep) !important;
    }

    header.wedding-header div#logo h2 span {
        color: var(--orange-warm) !important;
    }

    /* Hide couple names in header while over hero */
    header.wedding-header #logo {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    }

    /* Show couple names once header becomes solid */
    header.wedding-header.scrolled #logo {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* =========================================================
   Section heading hierarchy
   ========================================================= */

/* Main script section title:
   The Celebration, Wedding Theme, Gift Registry, etc. */
.section-eyebrow {
    display: block;
    margin-bottom: 10px;
    font-family: "Alex Brush", cursive;
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
    color: var(--orange-burnt);
}

/* Supporting heading below it */
.section-heading h2,
.theme-section h2,
.registry-card h2,
.rsvp-callout h2 {
    margin-bottom: 15px;
    font-family: "Marcellus", Georgia, serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .3px;
    color: var(--brown-deep);
}

/* White/orange version used on dark backgrounds */
.section-eyebrow.light {
    color: var(--orange-peach);
}

.rsvp-callout h2 {
    color: #fff;
}

@media (max-width: 767.98px) {
    .section-eyebrow {
        font-size: 42px;
    }

    .section-heading h2,
    .theme-section h2,
    .registry-card h2,
    .rsvp-callout h2 {
        font-size: 27px;
    }
}

.theme-section .palette span {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--swatch);
    border: 4px solid rgba(255, 255, 255, .9);
    box-shadow: 0 5px 18px rgba(92, 53, 37, .15);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .theme-section .palette span:hover {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 10px 25px rgba(92, 53, 37, .20);
    }

.theme-section .palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 38px auto;
}

@media (max-width: 767.98px) {
    .theme-section .palette span {
        width: 68px;
        height: 68px;
    }

    .theme-section .palette {
        gap: 14px;
    }
}

/*.event-date {
    text-align:left;
}*/

.day-event {
    text-align: left !important;
}

.event-details {
    text-align: left !important;
    font-size: 16px;
}

/* =========================================================
   Center event details
   ========================================================= */

.day-card .day-event {
    text-align: center !important;
}

/* Matrimonial / Reception heading */
.day-card .event-sub-header {
    text-align: center !important;
    margin-bottom: 20px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    color: var(--brown-deep);
}

/* Event details container */
.day-card .event-details {
    text-align: center !important;
}

    /* Time and address rows */
    .day-card .event-details p {
        display: flex;
        align-items: flex-start;
        justify-content: center !important;
        gap: 8px;
        margin-bottom: 14px;
        text-align: center !important;
    }

        /* Address text */
        .day-card .event-details p span {
            display: inline-block;
            flex: none;
            text-align: center !important;
        }

        /* Icons */
        .day-card .event-details p i {
            flex: 0 0 auto;
            width: auto;
            margin-top: 5px;
            color: var(--orange-burnt);
        }

/* Location button */
.day-card .event-location-btn {
    margin-left: auto;
    margin-right: auto;
}

/* Keep Day One heading centered */
.day-card-header {
    text-align: center;
}

/* Matrimonial / Reception content */
.day-card .day-event {
    text-align: left;
}

    /* Event headings */
    .day-card .day-event h3,
    .day-card .day-event h4 {
        text-align: left;
        margin-bottom: 20px;
        font-family: "Marcellus", Georgia, serif;
        font-size: 22px;
        font-weight: 400;
        color: var(--brown-deep);
    }

/* Event details */
/*.day-card .event-details {
    text-align: left;
}*/

.day-card .event-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    line-height: 1.7;
}

/* Icons */
.day-card .event-details i {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 5px;
    text-align: center;
    color: var(--orange-burnt);
}

/* Location link */
/*.day-card .event-link {
    display: inline-block;
    text-align: left;
}*/

/* Force Matrimonial / Reception details to left align */
/*.day-card .day-event,
.day-card .day-event .event-details,
.day-card .day-event .event-details p,
.day-card .day-event .event-details span {
    text-align: left !important;
}*/

.event-location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--orange-burnt);
    color: #fff !important;
    border: 1px solid var(--orange-burnt);
    border-radius: 4px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 13px;
    letter-spacing: .5px;
    text-decoration: none;
    transition: all .3s ease;
}

    .event-location-btn:hover {
        background: var(--brown-deep);
        border-color: var(--brown-deep);
        color: #fff !important;
        transform: translateY(-2px);
    }

.event-sub-header {
    text-align: left;
    margin-bottom: 20px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 15px !important;
    font-weight: 400;
    color: var(--brown-deep);
}

.event-date {
}

.event-date-sub {
    font-size: 15px !important;
}

.music-toggle {
    position: fixed;
    left: 20px;
    right: auto;
    bottom: 40px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--orange-burnt);
    color: #fff;
    z-index: 9998;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(92, 53, 37, .20);
    transition: transform .3s ease, background .3s ease;
}

    .music-toggle.playing {
        animation: musicPulse 1.8s ease-in-out infinite;
    }

@keyframes musicPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.registry-stores {
    margin-top: 30px;
}

.registry-store {
    height: 120px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(92, 53, 37, .10);
    border-radius: 8px;
}

    .registry-store img {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 55px;
        object-fit: contain;
        filter: grayscale(100%) sepia(12%);
        opacity: .72;
        transition: opacity .3s ease, transform .3s ease;
    }

    .registry-store:hover img {
        opacity: 1;
        transform: scale(1.04);
    }

.logo-athome {
    max-width: 100px !important;
}

.logo-mrprice {
    max-width: 180px !important;
}

.logo-sheetstreet {
    max-width: 145px !important;
}

.logo-woolworths {
    max-width: 135px !important;
}

.registry-store img {
    filter: grayscale(100%) sepia(12%);
    opacity: .70;
}

/* Widen Gift Registry section */
#section-registry .container {
    max-width: 1320px;
}

#section-registry .registry-card {
    width: 100%;
    max-width: 1150px;
    padding: 55px 60px;
}

@media (max-width: 767.98px) {

    #section-registry .registry-card {
        width: 100%;
        padding: 40px 20px;
    }
}

#section-registry .registry-card > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#section-registry .registry-stores {
    width: 100%;
    margin: 35px auto 0;
}

/* Gift Registry - responsive logo layout */

/* Mobile: 2 stores per row */
@media (max-width: 767.98px) {

    .registry-stores > .col-3 {
        width: 50%;
    }

    #section-registry .registry-store {
        height: 95px;
        padding: 15px;
    }

        #section-registry .registry-store img {
            max-width: 150px !important;
            max-height: 45px !important;
        }
}

/* Very small phones: 1 store per row */
@media (max-width: 380px) {

    .registry-stores > .col-3 {
        width: 100%;
    }
}

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

.rsvp-section {
    background: var(--orange-cream);
}

.rsvp-card {
    padding: 55px 60px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(92, 53, 37, .10);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(92, 53, 37, .08);
}

.rsvp-heading {
    max-width: 700px;
    margin: 0 auto 40px;
}

    .rsvp-heading h2 {
        margin-bottom: 15px;
        font-family: "Marcellus", Georgia, serif;
        font-size: 30px;
        font-weight: 400;
        color: var(--brown-deep);
    }

    .rsvp-heading p {
        margin-bottom: 0;
        line-height: 1.8;
    }


/* Labels */

.rsvp-card .form-label {
    display: block;
    margin-bottom: 9px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 14px;
    color: var(--brown-deep);
}

.rsvp-card .required {
    color: var(--orange-burnt);
}


/* Inputs */

.rsvp-card .form-control,
.rsvp-card .form-select {
    min-height: 50px;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid rgba(92, 53, 37, .20);
    border-radius: 4px;
    color: var(--brown-deep);
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.rsvp-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
}


/* Focus */

.rsvp-card .form-control:focus,
.rsvp-card .form-select:focus {
    border-color: var(--orange-burnt);
    box-shadow: 0 0 0 3px rgba(198, 93, 50, .10);
}


/* Help text */

.rsvp-help {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: var(--brown-soft);
}


/* Submit */

.rsvp-submit-btn {
    margin-top: 15px;
    padding: 13px 32px;
    background: var(--orange-burnt);
    border: 1px solid var(--orange-burnt);
    border-radius: 4px;
    color: #fff !important;
    font-family: "Marcellus", Georgia, serif;
    font-size: 14px;
    transition: all .3s ease;
}

    .rsvp-submit-btn i {
        margin-right: 7px;
    }

    .rsvp-submit-btn:hover {
        background: var(--brown-deep);
        border-color: var(--brown-deep);
        transform: translateY(-2px);
    }


/* Mobile */

@media (max-width: 767.98px) {

    .rsvp-card {
        padding: 40px 22px;
    }

    .rsvp-heading {
        margin-bottom: 30px;
    }
}

.wedding-contact-section {
    padding: 35px 0;
    /*background: #fffaf7;*/
}

.contact-card h2 {
    margin: 3px 0 8px;
}

.contact-intro {
    margin: 0 auto 15px;
    line-height: 1.6;
}

.contact-person {
    padding: 10px 10px;
}

.contact-icon {
    margin-bottom: 8px;
}

.contact-person h4 {
    margin-bottom: 5px;
}


/*#custom-owl-slider .item img {
    filter: grayscale(100%) brightness(0.72) contrast(0.9);
    opacity: 0.82;
}*/

/*#custom-owl-slider .item img {
    filter: grayscale(100%) brightness(1.05) contrast(0.75);
    opacity: 0.82;
}*/

#custom-owl-slider .item img {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
    opacity: 0.45;
}

@media (max-width: 767.98px) {
    #custom-owl-slider .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center !important;
        filter: grayscale(100%) !important;
        -webkit-filter: grayscale(100%) !important;
        opacity: 0.55;
    }
}

#custom-owl-slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /*transform: scale(0.90);*/
}

.contact-person h4 {
    margin-bottom: 7px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 21px;
    font-weight: 500;
    color: #FFF4E8 !important;
    opacity: 1 !important;
}

.contact-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #FFF4E8 !important;
    opacity: 1 !important;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

    .contact-number .fa-whatsapp {
        font-size: 20px;
        color: #FFF4E8;
    }

    .contact-number:hover {
        color: #fff !important;
    }

        .contact-number:hover .fa-whatsapp {
            color: #fff;
        }

@media (max-width: 767.98px) {

    .contact-people > .col-6 {
        width: 100%;
    }

    .contact-person {
        padding: 10px 5px;
    }

        .contact-person h4 {
            font-size: 19px;
            margin-bottom: 4px;
        }

    .contact-number {
        font-size: 16px;
    }

        .contact-number .fa-whatsapp {
            font-size: 18px;
        }
}
.contact-people > .col-6 {
    width: 100%;
}
