@font-face {
    font-family: 'Hello Bride Script';
    src: url('../Hello Bride Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

body.is-loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

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

.heart-loader {
    width: 40px;
    height: 40px;
    animation: heartPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 5px rgba(194, 149, 45, 0.2));
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

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

body.loading {
    overflow: hidden;
}

:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    /* Softer dark gray */
    --heading-color: #1a1a1a;
    /* Nearly black for headers */
    --gold-light: #FEDB37;
    --gold-main: #D1B464;
    --gold-dark: #8A6E2F;
    /* 5-color Balanced Gold Gradient (v8) - Blurred & Softer Center */
    --gold-gradient: linear-gradient(135deg, #c2952d 0%, #d9ba64 25%, #f2e19c 50%, #d9ba64 75%, #c2952d 100%);
    --gold-text-gradient: linear-gradient(135deg, #c2952d 0%, #d9ba64 25%, #f2e19c 50%, #d9ba64 75%, #c2952d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.8;
    /* More airy */
    font-weight: 300;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* More elegant spacing */
    color: var(--heading-color);
    font-weight: 400;
}

.gold-text {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    color: var(--gold-main);
    /* Fallback */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.gold-border {
    border: 2px solid var(--gold-main);
    border-image: var(--gold-gradient) 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    color: #fff;
    /* Jarallax needs position relative */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.jarallax-img {
    filter: brightness(0.4) blur(15px);
    transition: filter 4s cubic-bezier(0.22, 1, 0.36, 1);
    object-position: 0% 75% !important;
}

.is-loaded .jarallax-img {
    filter: brightness(0.85) blur(0);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.hero-top-text {
    font-family: 'Italianno', cursive;
    font-size: 5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
    line-height: 1;
    position: relative;
    z-index: 10;
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* Tightest gap */
    position: relative;
    z-index: 10;
}


.hero h1 {
    font-family: 'Italianno', cursive;
    font-size: clamp(3rem, 10vw, 6.5rem);
    /* Increased size for Italianno */
    /* Responsive size to fit one line */
    margin-bottom: 0;
    font-weight: 400;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    white-space: nowrap;
    /* Force one line */
    line-height: 1.1;
    /* Reduced slightly */
    padding: 0 1rem;
    color: #fff;
    /* Changed to white */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    /* Added shadow for readability */
    /* Keep natural case for script font */
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
        /* Smaller on mobile to fit line */
    }
}

.hero p.date {
    font-family: 'Italianno', cursive;
    font-size: 5rem;
    /* Increased size for script font */
    letter-spacing: 0;
    /* Removed spacing for connected script */
    margin-top: -1.5rem;
    /* Negative margin to bring closer to names */
    color: #fff;
    /* White for better visibility */
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Shadow for contrast */
}

.hero .ampersand {
    /* Inherit Parisienne from h1 */
    font-size: 3rem;
    color: #fff;
    /* Changed to white */
    display: inline-block;
    /* Changed from block to inline-block */
    margin: 0 0.5rem;
    /* Horizontal margin instead of vertical */
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.6));
    vertical-align: middle;
}

/* Section Styling */
section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gold-gradient);
}

/* Our Story */
.story p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
}

/* Details */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-card {
    border: 1px solid #eee;
    padding: 3rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-main);
}

.detail-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.detail-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Unifying gold icons and ornaments */
.icon,
.gold-icon,
.ornament,
.phone-icon,
.person-divider {
    background: var(--gold-text-gradient);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

/* Larger section icons */
.ornament-large {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* RSVP Form */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

input,
select,
textarea {
    background: transparent;
    border: 1px solid #ccc;
    padding: 1rem;
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-main);
    border-image: var(--gold-gradient) 1;
}

button.submit-btn {
    background: var(--gold-gradient);
    border: none;
    padding: 1rem 3rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button.submit-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.map-btn {
    display: none;
    border: 1px solid var(--gold-main);
    color: var(--gold-dark) !important;
    padding: 0.6rem 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 0.8rem;
    width: auto;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 1px solid var(--gold-main) !important;
}

.map-btn:hover {
    background: var(--gold-gradient);
    color: #fff !important;
    border-color: transparent;
}

/* Footer */
footer {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

footer p {
    color: #888;
    font-size: 16px;
    letter-spacing: 1px;
}

footer .ornament {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.countdown-item:hover {
    transform: translateY(-3px);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.countdown-number {
    font-family: 'Lato', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        width: 75px;
        height: 75px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.5rem;
    }
}

/* Ornament Icons */
.ornament {
    font-size: 1.8rem;
    margin: 1.5rem 0;
    line-height: 1;
}

div.ornament {
    font-family: 'Cinzel', serif;
}

/* Elegant Link Styling */
a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--gold-main);
    border-bottom-color: var(--gold-main);
}

/* Contact Section Styling */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.contact-person {
    text-align: center;
    min-width: 280px;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Gold frame inside the card - Glamour effect */
.contact-person::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(191, 149, 63, 0.2);
    pointer-events: none;
    transition: all 0.4s ease;
}

.contact-person:hover {
    box-shadow: 0 20px 40px rgba(191, 149, 63, 0.1);
    border-color: rgba(191, 149, 63, 0.1);
}

.contact-person:hover::before {
    border-color: var(--gold-main);
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.person-role {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.person-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.person-divider {
    font-family: 'Cinzel', serif;
    margin: 0.5rem auto 1.5rem auto;
    font-size: 1.2rem;
    line-height: 1;
}

.phone-link {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #444;
    padding: 0.6rem 1.5rem;
    border: 1px solid #eee;
    background: #fafafa;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.phone-link:hover {
    background-color: var(--gold-main);
    color: #fff !important;
    border-color: var(--gold-main);
    box-shadow: 0 5px 15px rgba(191, 149, 63, 0.3);
}

.phone-icon {
    font-size: 1rem;
    margin-right: 0.3rem;
}

/* General Icon Gradient fix */
.ornament i,
.person-divider i {
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Glamour Entrance Animations */
@keyframes glamourFadeBlurIn {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: scale(0.95) translateY(15px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1) translateY(0);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes topTextReveal {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-top-text {
    opacity: 0;
}

.is-loaded .animate-top-text {
    animation: topTextReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-names {
    opacity: 0;
}

.is-loaded .animate-names {
    animation: titleReveal 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
}

.animate-date {
    opacity: 0;
}

.is-loaded .animate-date {
    animation: glamourFadeBlurIn 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1s;
}

.animate-countdown {
    opacity: 0;
}

.is-loaded .animate-countdown {
    animation: glamourFadeBlurIn 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.4s;
}

/* Gallery Section */
.photo-story {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
    background: #fff;
    box-sizing: border-box;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 1rem auto 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    padding: 8px;
    border: 1px solid #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(191, 149, 63, 0.2);
    border-color: var(--gold-main);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    transition: transform 0.5s ease;
}

.gallery-grid .gallery-item:nth-child(1) img {
    object-position: center 15%;
}

.gallery-grid .gallery-item:nth-child(2) img {
    object-position: center 15%;
}

.gallery-grid .gallery-item:nth-child(3) img {
    object-position: center 25%;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* --- MOBILE OPTIMIZATION (Max Width 768px) --- */
@media (max-width: 768px) {
    :root {
        --mobile-section-padding: 3rem 1rem;
    }

    /* Global Section Fixes */
    section {
        min-height: calc(var(--vh, 1vh) * 100);
        height: auto;
        padding: 3rem 1rem;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    /* Hero Section */
    .hero {
        height: calc(var(--vh, 1vh) * 100);
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
        position: relative;
    }

    .hero [id^="jarallax-container-"] {
        height: calc(var(--vh, 1vh) * 100) !important;
        top: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }

    .hero .jarallax-img {
        height: calc(var(--vh, 1vh) * 100) !important;
        object-position: 35% 0% !important;
    }

    .hero-overlay {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(var(--vh, 1vh) * 100);
        background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
        -webkit-box-shadow: inset 0px -150px 100px -50px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px -150px 100px -50px rgba(0, 0, 0, 0.5);
        z-index: 5 !important;
        pointer-events: none;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        height: 100%;
        padding: 0;
        justify-content: flex-start;
    }

    .hero-top-text {
        font-size: 3rem;
        color: #fff;
        margin-bottom: 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(var(--vh, 1vh) * 20);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        z-index: 10;
        padding-top: 2rem;
    }

    .hero-bottom {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(var(--vh, 1vh) * 100);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 10;
        pointer-events: none;
        padding: 0;
    }

    .hero h1 {
        font-size: 3.2rem;
        color: #fff;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
        margin-top: calc(var(--vh, 1vh) * 18);
        /* Positioned right after top text */
        margin-bottom: -0.5rem;
    }

    .hero p.date {
        font-size: 2.8rem;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero .ampersand {
        color: #fff;
        filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    }

    .countdown-container-wrap {
        position: absolute;
        bottom: calc(var(--vh, 1vh) * 12);
        /* Shifted higher from 7vh */
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 11;
        padding: 0;
        background: transparent;
    }

    .countdown {
        gap: 0.6rem;
        margin-top: 0;
    }

    .countdown-item {
        width: 70px;
        height: 70px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: none;
        backdrop-filter: none;
    }

    .countdown-number {
        font-size: 1.8rem;
        color: #fff;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .countdown-label {
        font-size: 0.6rem;
        color: #fff;
    }

    .ornament-large {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    /* Details Section - Stack & Compact */
    .details {
        justify-content: center;
        padding: calc(var(--vh, 1vh) * 3) 1rem;
        height: calc(var(--vh, 1vh) * 100);
        overflow: hidden;
    }

    .details-grid {
        display: flex;
        flex-direction: column;
        gap: calc(var(--vh, 1vh) * 2);
        margin-top: calc(var(--vh, 1vh) * 1);
        width: 100%;
    }

    .detail-card {
        padding: calc(var(--vh, 1vh) * 3) 1.5rem;
        width: 100%;
    }

    .detail-card h3 {
        font-size: 1.3rem;
        margin-bottom: calc(var(--vh, 1vh) * 0.5);
    }

    .detail-card .icon {
        font-size: 1.6rem;
        margin-bottom: calc(var(--vh, 1vh) * 0.8);
    }

    .detail-card p {
        font-size: 0.9rem;
        margin-bottom: calc(var(--vh, 1vh) * 0.3);
        line-height: 1.4;
    }

    .map-container {
        margin-top: 0.6rem !important;
    }

    .map-container iframe {
        display: none;
    }

    .map-btn {
        display: block;
    }

    /* Gallery - Horizontal Scroll Snap */
    .photo-story {
        justify-content: center;
        padding: 0;
        overflow: hidden;
    }

    .photo-story h2 {
        margin-top: 3rem;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .photo-story p {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }

    .gallery-grid {
        display: flex;
        /* Force horizontal scroll */
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 0 15vw 2rem 15vw;
        /* Side padding to show adjacent photos */
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
        -webkit-overflow-scrolling: touch;
        /* smooth scroll iOS */
        grid-template-columns: unset;
        /* Override grid */

        /* Hide scrollbar */
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    .gallery-item {
        width: 70vw;
        /* Reduced width */
        min-width: 70vw;
        flex-shrink: 0;
        scroll-snap-align: center;
        aspect-ratio: 1 / 1;
        /* Make it square */
        height: auto;
        margin: 0;
        padding: 0 !important;
        border: none !important;
        background: #000;
        /* Subtle background for images */
    }

    .gallery-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        max-height: none !important;
        /* Fix: remove desktop limit */
        aspect-ratio: unset;
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* RSVP - Compact */
    .rsvp {
        padding-top: 4rem;
        justify-content: flex-start;
    }

    .rsvp p {
        margin-bottom: 1rem !important;
        font-size: 0.95rem;
    }

    .contact-grid {
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .contact-person {
        min-width: 100%;
        padding: 1.5rem;
        box-shadow: none;
        /* Lighter on mobile */
        border: 1px solid #eee;
    }

    .person-name {
        font-size: 1.5rem;
    }

    .person-role {
        font-size: 0.8rem;
    }

    .phone-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        width: 100%;
        /* Full width button */
    }

    /* Footer */
    footer {
        padding: 2rem 1rem;
        min-height: calc(var(--vh, 1vh) * 100);
        justify-content: center;
        margin-top: 0;
    }
}