
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --emerald: #123d32;
    --deep-emerald: #092c25;
    --gold: #c5a46d;
    --ivory: #faf7f0;
    --white: #ffffff;
    --text: #343a35;
    --muted: #77796f;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--ivory);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

/* HEADER AND NAVIGATION */

.site-header {
    min-height: 76px;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--deep-emerald);
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 5px;
}

.brand span {
    color: var(--gold);
}

.brand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--gold);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a:hover::after {
    width: 100%;
}

/* HERO SECTION */

.hero {
    min-height: 620px;
    padding: 110px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background:
        linear-gradient(
            rgba(9, 44, 37, 0.58),
            rgba(9, 44, 37, 0.72)
        ),
        url("03_ASSETS/01_COUPLE_PHOTOS/01_PRE_WEDDING_PHOTOS/couple-hero.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(45px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold);
    font-style: italic;
    display: block;
    font-size: 0.7em;
    margin: 8px 0;
}

.hero-message {
    color: #e9dfcc;
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-style: italic;
    margin-bottom: 25px;
}

.hero-date {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.primary-button {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--gold);
    color: var(--white);
    background: transparent;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background: var(--gold);
    color: var(--deep-emerald);
}

/* CELEBRATION DETAILS */

.celebration-section,
.programme-section {
    padding: 100px 8%;
    text-align: center;
}

.celebration-section h2,
.programme-section h2 {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    margin-bottom: 18px;
}

.celebration-section > p:not(.eyebrow),
.programme-section > p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.event-details {
    max-width: 850px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.detail-item {
    padding: 30px 20px;
    border-top: 1px solid var(--gold);
    background: var(--white);
}

.detail-label {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.detail-item strong {
    display: block;
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.detail-item p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}


/* ==========================================
   RECEPTION PROGRAMME — LUXURY EDITORIAL
========================================== */

.programme-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.75), transparent 55%),
        #f0ebdf;
    padding: 110px 8%;
}

.programme-section .eyebrow {
    margin-bottom: 16px;
}

.programme-section h2 {
    margin-bottom: 14px;
}

.programme-intro {
    margin-bottom: 0 !important;
    line-height: 1.9;
}

.programme-list {
    max-width: 850px;
    margin: 58px auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.programme-chapter {
    position: relative;
    padding: 30px 38px 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(197, 164, 109, 0.35);
    box-shadow: 0 12px 35px rgba(28, 52, 43, 0.045);
    overflow: hidden;
}

.programme-chapter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    opacity: 0.8;
}

.chapter-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(197, 164, 109, 0.4);
}

.chapter-number {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-style: italic;
    line-height: 1;
    min-width: 42px;
}

.chapter-heading h3 {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
}

.chapter-heading p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1.6;
}

.programme-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 15px 8px;
    border-bottom: 1px solid rgba(197, 164, 109, 0.19);
    transition: background 0.3s ease, padding 0.3s ease;
}

.programme-item:last-child {
    border-bottom: none;
}

.programme-item:hover {
    background: rgba(197, 164, 109, 0.08);
    padding-left: 14px;
}

.programme-item span {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    min-width: 30px;
    font-weight: 600;
}

.programme-item p {
    color: var(--emerald);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
}

.programme-highlight {
    background: var(--deep-emerald);
    border-color: rgba(197, 164, 109, 0.7);
}

.programme-highlight::before {
    background: var(--gold);
    opacity: 1;
}

.programme-highlight .chapter-heading {
    border-bottom-color: rgba(197, 164, 109, 0.4);
}

.programme-highlight .chapter-heading h3,
.programme-highlight .programme-item p {
    color: #f8f2e8;
}

.programme-highlight .chapter-heading p {
    color: #d7cbb4;
}

.programme-highlight .chapter-number,
.programme-highlight .programme-item span {
    color: var(--gold);
}

.programme-highlight .programme-item {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.programme-highlight .programme-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 600px) {
    .programme-section {
        padding: 75px 5%;
    }

    .programme-list {
        margin-top: 38px;
        gap: 17px;
    }

    .programme-chapter {
        padding: 24px 19px 15px;
    }

    .chapter-heading {
        gap: 13px;
        padding-bottom: 17px;
    }

    .chapter-number {
        font-size: 32px;
        min-width: 34px;
    }

    .chapter-heading h3 {
        font-size: 24px;
    }

    .chapter-heading p {
        font-size: 9px;
        letter-spacing: 0.7px;
    }

    .programme-item {
        gap: 13px;
        padding: 14px 3px;
    }

    .programme-item p {
        font-size: 11px;
        line-height: 1.65;
    }

    .programme-item span {
        font-size: 17px;
        min-width: 27px;
    }
}


/* WEDDING MEMORY COLLECTIONS */

.memories-intro,
.memory-section {
    padding: 82px 7%;
    text-align: center;
}

.memories-intro {
    padding-bottom: 35px;
}

.memories-intro h2,
.memory-section h2 {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 18px;
}

.memories-intro > p:last-child,
.memory-intro {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.memory-intro {
    margin-bottom: 38px;
}

.story-section,
.traditional-section {
    background: #f0ebdf;
}

.prewedding-section,
.reception-gallery-section {
    background: var(--ivory);
}

.guest-photo-section {
    background: #f0ebdf;
}

/* MEMORY GALLERY PLACEHOLDERS */

.memory-gallery {
    width: 100%;
    max-width: 1100px;
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.photo-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(145deg, #e8dfce, #f8f4eb);
    border: 1px solid rgba(197, 164, 109, 0.45);
    color: var(--emerald);
}

.photo-placeholder span {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
}

.photo-placeholder p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
}

.gallery-coming-soon {
    grid-column: 1 / -1;
    width: 100%;
    padding: 42px 24px;
    border: 1px solid rgba(197, 164, 109, 0.4);
    background: rgba(255, 255, 255, 0.55);
    color: var(--muted);
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
}

/* TRADITIONAL WEDDING COLLECTION */

.traditional-section {
    padding: 80px 7%;
    text-align: center;
}

/* GUEST PHOTO UPLOAD FORM */

.guest-photo-form {
    width: 100%;
    max-width: 650px;
    margin: 38px auto 0;
    padding: 34px;
    background: var(--white);
    border-top: 2px solid var(--gold);
    text-align: left;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--emerald);
    font-size: 13px;
    font-weight: 500;
}

.guest-photo-form .form-group label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.guest-photo-form input,
.guest-photo-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(18, 61, 50, 0.2);
    border-radius: 0;
    background: #fffdfa;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.guest-photo-form input[type="file"] {
    padding: 12px;
}

.guest-photo-form input:focus,
.guest-photo-form textarea:focus {
    outline: 1px solid var(--gold);
    border-color: var(--gold);
}

.guest-photo-form textarea {
    resize: vertical;
}

.guest-photo-form .primary-button {
    background: var(--emerald);
    cursor: pointer;
}

.guest-photo-form .primary-button:hover {
    background: var(--gold);
    color: var(--deep-emerald);
}

.guest-photo-form .primary-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.upload-help {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
}


.photo-sharing-guidance {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 24px 28px;
    border-left: 2px solid var(--gold);
    background: rgba(255, 255, 255, .58);
    text-align: left;
}

.photo-sharing-guidance h3 {
    margin-bottom: 10px;
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
}

.photo-sharing-guidance p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.photo-sharing-guidance p + p { margin-top: 8px; }
.photo-sharing-guidance strong { color: var(--emerald); }

.photo-confirmation {
    margin: 4px 0 24px;
    padding: 16px 18px;
    border: 1px solid rgba(197, 164, 109, .45);
    background: #fffdfa;
}

.photo-confirmation label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--emerald);
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.photo-confirmation input[type="checkbox"] {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--emerald);
}

.guest-photo-form .guestbook-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

/* APPROVED GUEST PHOTO GALLERY */

.approved-photo-gallery {
    width: 100%;
    max-width: 1100px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.guest-photo-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(197, 164, 109, 0.35);
    text-align: left;
}

.guest-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e8dfce;
}

.guest-photo-details {
    padding: 17px 19px 20px;
}

.guest-photo-details h4 {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.guest-photo-details p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

/* GUESTBOOK SECTION */

.guestbook-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 7%;
    box-sizing: border-box;
    text-align: center;
}

.guestbook-intro {
    max-width: 650px;
    margin: 20px auto 40px;
    line-height: 1.7;
}

.guestbook-form {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid rgba(18, 61, 50, 0.2);
    background: #fffdfa;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
    outline: 1px solid var(--gold);
    border-color: var(--gold);
}

.guestbook-form textarea {
    resize: vertical;
}

.guestbook-form .primary-button {
    background: var(--emerald);
    cursor: pointer;
}

.guestbook-form .primary-button:hover {
    background: var(--gold);
    color: var(--deep-emerald);
}

.guestbook-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
}

.guestbook-messages {
    margin: 55px auto 0;
    max-width: 850px;
}

.guestbook-messages h3 {
    margin-bottom: 30px;
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
}

#approved-guestbook-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.approved-guestbook-card {
    width: 100%;
    padding: 24px 28px;
    border: 1px solid rgba(197, 164, 109, 0.35);
    border-radius: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.65);
}

.approved-guestbook-card h4 {
    margin: 0 0 12px;
    color: var(--emerald);
    font-size: 17px;
    font-weight: 600;
}

.approved-guestbook-card p {
    margin: 0;
    line-height: 1.8;
}

.approved-guestbook-card small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
}

/* TOAST AND SCRIPTURE */

.scripture-section {
    max-width: 750px;
    margin: 65px auto 0;
    padding-top: 45px;
    border-top: 1px solid rgba(197, 164, 109, 0.45);
}

.scripture-section h3 {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    margin-bottom: 18px;
}

.scripture-section p:not(.eyebrow) {
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    line-height: 1.8;
    font-style: italic;
}

.scripture-section strong {
    display: block;
    margin-top: 18px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1px;
}

.celebration-section blockquote {
    max-width: 750px;
    margin: 35px auto 0;
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1.8;
}

/* FOOTER */

.site-footer {
    padding: 45px 20px;
    background: var(--deep-emerald);
    color: var(--white);
    text-align: center;
    font-size: 11px;
}

.site-footer strong {
    color: var(--gold);
}

.footer-tagline {
    margin-top: 12px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
}

/* TABLET AND MOBILE NAVIGATION */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--gold);
    transition: 0.3s ease;
}

@media screen and (max-width: 768px) {
    .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
        padding: 15px 6%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .brand {
        font-size: 27px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 15px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 13px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 12px;
    }
}

/* RESPONSIVE LAYOUT */

@media (max-width: 700px) {
    .hero {
        min-height: 540px;
        padding: 80px 20px;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .celebration-section,
    .programme-section {
        padding: 75px 22px;
    }

    .memories-intro,
    .memory-section {
        padding: 68px 22px;
    }

    .memory-gallery,
    .approved-photo-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .photo-placeholder {
        min-height: 230px;
    }

    .guest-photo-form {
        padding: 24px 18px;
    }
}

@media (max-width: 600px) {
    .hero {
    min-height: 620px;
    padding: 65px 20px;
}

.hero .eyebrow {
    transform: translateY(-25px);
}

.hero h1 {
    font-size: 34px;
    line-height: 1.1;
    transform: translateY(55px);
}

.hero .hero-message {
    margin-top: 40px;
}

/* Preserve the mobile text positions after the reveal animation */
.cinematic-hero.is-visible > .eyebrow {
    transform: translateY(-25px);
}

.cinematic-hero.is-visible > h1 {
    transform: translateY(55px);
}

    .programme-item {
        gap: 14px;
        padding: 17px 12px;
    }

    .programme-item p {
        font-size: 18px;
    }

    .programme-item span {
        font-size: 19px;
        min-width: 28px;
    }

    .guestbook-section {
        padding: 65px 22px;
    }

    .guestbook-form {
        width: 100%;
    }

    .approved-guestbook-card {
        padding: 20px;
    }

    .celebration-section blockquote {
        font-size: 20px;
    }
}

@media screen and (min-width: 769px) {
    .hero {
        min-height: 760px;
    }

    .hero h1 {
        margin-top: 35px;
        transform: translateY(100px);
    }

    .hero .hero-message {
        margin-top: 85px;
    }
}


/* WHERE IT ALL BEGAN - PHOTO CARDS */

.story-photo-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(197, 164, 109, 0.45);
    text-align: left;
}

.story-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

.story-photo-caption {
    padding: 22px 20px 25px;
}

.story-photo-caption span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.story-photo-caption h3 {
    margin-top: 9px;
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
}

.story-photo-caption p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}


/* PRE-WEDDING PHOTO GALLERY FIX */

.prewedding-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.prewedding-gallery img {
    display: block;
    width: 100%;
    height: 320px;
    min-width: 0;
    object-fit: contain;
    object-position: center;
    background: #f8f4eb;
    border: 1px solid rgba(197, 164, 109, 0.45);
    padding: 5px;
}

/* TABLET */
@media (max-width: 768px) {
    .prewedding-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .prewedding-gallery img {
        height: 260px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .prewedding-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .prewedding-gallery img {
        height: 190px;
    }
}


/* TRADITIONAL WEDDING AND RECEPTION PHOTO GALLERIES */

.traditional-gallery,
.official-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.traditional-gallery img,
.official-gallery img {
    display: block;
    width: 100%;
    height: 320px;
    min-width: 0;
    object-fit: contain;
    object-position: center;
    background: #f8f4eb;
    border: 1px solid rgba(197, 164, 109, 0.45);
    padding: 5px;
}

/* TABLET */
@media (max-width: 768px) {
    .traditional-gallery,
    .official-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .traditional-gallery img,
    .official-gallery img {
        height: 260px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .traditional-gallery,
    .official-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .traditional-gallery img,
    .official-gallery img {
        height: 190px;
    }
}

/* FOOTER CONTACT DETAILS */
.footer-credit {
    margin-top: 18px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-credit strong {
    color: #d4af70;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    font-size: 0.85rem;
}

.footer-contact a {
    color: #d4af70;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-contact span {
    color: #d4af70;
    opacity: 0.6;
}

/* ==========================================
   CINEMATIC MOTION — LUXURY, SUBTLE, ACCESSIBLE
   ========================================== */

.hero {
    isolation: isolate;
    overflow: hidden;
    animation: hero-arrive 1.25s cubic-bezier(.2,.7,.2,1) both;
}

/* The hero photograph is intentionally kept free of decorative overlays. */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .85s ease, transform .95s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Fine henna-inspired botanical flourishes live only in section whitespace. */
.henna-flourish {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 82px;
    padding: 10px 20px;
    overflow: hidden;
    pointer-events: none;
}

.henna-flourish svg {
    display: block;
    width: min(220px, 58vw);
    height: auto;
    overflow: visible;
}

.henna-flourish path, .henna-flourish circle {
    fill: none;
    stroke: rgba(174, 139, 82, .66);
    stroke-width: 1.05;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.henna-flourish.is-visible .vine-line { animation: henna-draw 2.1s ease forwards; }
.henna-flourish.is-visible .leaf-line { animation: henna-draw 1.15s ease forwards; }
.henna-flourish.is-visible .leaf-line:nth-of-type(2n) { animation-delay: .18s; }
.henna-flourish.is-visible .flower-line { animation: henna-draw 1.25s ease .55s forwards; }

@keyframes henna-draw { to { stroke-dashoffset: 0; } }

.prewedding-gallery img[data-reveal="cinematic"] {
    transform: translateY(24px) scale(.975);
    transition: opacity .9s ease, transform 1.15s cubic-bezier(.2,.7,.2,1);
}
.prewedding-gallery img[data-reveal="cinematic"].is-visible { transform: translateY(0) scale(1); }

.story-gallery .story-photo-card {
    position: relative;
    overflow: hidden;
}
.story-gallery .story-photo-card img {
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.story-gallery .story-photo-card.is-visible img { animation: memory-settle 1.1s ease both; }
.story-gallery .story-photo-card:nth-child(even) { --reveal-delay: 130ms; }
.story-gallery .story-photo-card:nth-child(3n) { --reveal-delay: 230ms; }

.traditional-gallery img[data-reveal="regal"] {
    transform: translateY(34px) scale(.97);
    border-color: rgba(197,164,109,.65);
    box-shadow: 0 10px 30px rgba(18,61,50,.08);
    transition: opacity .85s ease, transform 1s cubic-bezier(.2,.7,.2,1), box-shadow .8s ease;
}
.traditional-gallery img[data-reveal="regal"].is-visible { transform: translateY(0) scale(1); }
.traditional-gallery img:nth-child(3n+2) { --reveal-delay: 110ms; }
.traditional-gallery img:nth-child(3n) { --reveal-delay: 220ms; }

.official-gallery img { transition: opacity .55s ease, transform .65s ease; }

.memory-section, .programme-section, .guestbook-section, .celebration-section {
    position: relative;
}
.memory-section::before, .programme-section::before {
    content: "";
    display: block;
    width: min(120px, 24%);
    height: 1px;
    margin: 0 auto 26px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(.2);
    transform-origin: center;
    transition: transform 1.1s ease;
}
.memory-section.is-visible::before, .programme-section.is-visible::before { transform: scaleX(1); }

@keyframes hero-arrive { from { opacity: .55; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }
@keyframes memory-settle { from { transform: scale(1.035); } to { transform: scale(1); } }

@media (hover: hover) {
    .story-photo-card:hover img, .prewedding-gallery img:hover, .traditional-gallery img:hover { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* Reception photographs: a brighter, quicker celebration reveal */
.official-gallery img[data-reveal="reception"] {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.official-gallery img[data-reveal="reception"].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.official-gallery img:nth-child(3n+2) { --reveal-delay: 70ms; }
.official-gallery img:nth-child(3n) { --reveal-delay: 140ms; }


/* Guest photo gallery empty and error states */
.gallery-empty-message {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    line-height: 1.8;
}

.gallery-retry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: max-content;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 auto;
    padding: 12px 26px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    background: var(--deep-emerald);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-retry-button:hover {
    background: var(--gold);
    color: var(--deep-emerald);
}



/* ==========================================
   CINEMATIC HERO TEXT REVEAL
   Replays when visitors return to the hero
========================================== */

.cinematic-hero > * {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(16px);
    transition:
        opacity 1.3s ease,
        filter 1.3s ease,
        transform 1.3s ease;
}

.cinematic-hero.is-visible > * {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.cinematic-hero.is-visible .eyebrow {
    transition-delay: 0.2s;
}

.cinematic-hero.is-visible h1 {
    transition-delay: 0.6s;
}

.cinematic-hero.is-visible .hero-message {
    transition-delay: 1.1s;
}

.cinematic-hero.is-visible .hero-date {
    transition-delay: 1.5s;
}

.cinematic-hero.is-visible .primary-button {
    transition-delay: 1.9s;
}

@media (prefers-reduced-motion: reduce) {
    .cinematic-hero > * {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}


/* ==========================================
   OUR STORY — CINEMATIC TEXT REVEAL
========================================== */

.story-section > .eyebrow,
.story-section > h2,
.story-section .memory-intro p {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(14px);
    transition:
        opacity 1.1s ease,
        filter 1.1s ease,
        transform 1.1s ease;
}

.story-section.is-visible > .eyebrow {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transition-delay: 0.2s;
}

.story-section.is-visible > h2 {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transition-delay: 0.55s;
}

.story-section.is-visible .memory-intro p {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.story-section.is-visible .memory-intro p:nth-child(1) {
    transition-delay: 0.9s;
}

.story-section.is-visible .memory-intro p:nth-child(2) {
    transition-delay: 1.3s;
}

.story-section.is-visible .memory-intro p:nth-child(3) {
    transition-delay: 1.7s;
}

@media (prefers-reduced-motion: reduce) {
    .story-section > .eyebrow,
    .story-section > h2,
    .story-section .memory-intro p {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

