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

html {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}

:root {
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --accent: #d4a574;
    --bg-light: #faf9f7;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
}


/* Hero Navbar */
.hero-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(0,0,0,0);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
}

.hero-navbar .nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-navbar .nav-center {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.hero-navbar .nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-navbar a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 400;
    white-space: nowrap;
}

@media (hover: hover) and (min-width: 1024px) {
    .hero-navbar a:hover {
        color: #b5006e;
    }

    .hero-navbar .rsvp-btn:hover {
        background: #b5006e;
    }
}

.hero-navbar .nav-center a {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.rsvp-btn {
    background: var(--text-light);
    border: none;
    color: #000000;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #8b1a6b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    animation: fadeInMenuItem 0.5s ease forwards;
}

.mobile-menu.active a:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu.active a:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-menu.active a:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-menu.active a:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-menu.active a:nth-child(5) {
    animation-delay: 0.5s;
}

.mobile-menu.active .rsvp-btn {
    animation-delay: 0.6s;
}

.mobile-menu a:hover {
    opacity: 0.7;
    transform: translateX(10px);
}

.mobile-menu .rsvp-btn {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(60, 45, 20, 0.35), rgba(30, 20, 8, 0.45)),
                url('compressedimages/herobackground%20(1).jpg') center top / cover no-repeat;
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.welcome-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 8s ease 0.5s forwards;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 1rem 0;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 8s ease 1.5s forwards;
}

.wedding-date {
    font-size: 1.8rem;
    letter-spacing: 8px;
    margin-top: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 8s ease 3s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-dot {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.scroll-dot::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

/* Section Styles */
section {
    scroll-margin-top: var(--navbar-height);
}

.welcome-section,
.details-section,
.lokasyon-section,
.rsvp-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    position: relative;
    overflow: visible;
    padding: 0;
    text-align: center;
    min-height: 870px;
}

.welcome-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-content {
    position: absolute;
    top: 14%;
    left: 0;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.welcome-paper {
    position: relative;
    width: 88%;
    max-width: 620px;
    margin: 0 auto 420px;
    padding: 36px 28px 40px;
    z-index: 2;
}

.welcome-title {
    font-family: 'Abril Fatface', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #b5006e;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-align: center;
}

.welcome-description {
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
    color: #8b1a6b;
    margin: 0 auto 1.2rem;
    line-height: 1.5;
    text-align: center;
    max-width: 420px;
    padding: 0 30px;
}

.welcome-photo-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #b5006e;
    overflow: hidden;
    margin: 1.5rem auto 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.welcome-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-story-box {
    background-image: url('compressedimages/paperbg%20(1).png');
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 16px;
    padding: 2.5rem 1rem 1rem;
    margin-top: 1.2rem;
    width: 90%;
    max-width: 350px;
    height: 440px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
}

.welcome-story-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(rgba(240, 220, 180, 0.85), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.welcome-story-title {
    font-family: 'Abril Fatface', serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #b5006e;
    text-align: center;
    margin-bottom: 0.4rem;
}

.welcome-story-text {
    font-family: 'Crimson Text', serif;
    font-size: 0.65rem;
    color: #8b1a6b;
    line-height: 1.4;
    text-align: center;
}

.welcome-transparent-left,
.welcome-transparent-right {
    position: absolute;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

.welcome-transparent-left {
    left: -40px;
}

.welcome-transparent-right {
    right: -220px;
    bottom: -105px;
}

.welcome-transparent-left img {
    width: 230px;
    height: auto;
    display: block;
}

.welcome-transparent-right img {
    width: 590px;
    height: auto;
    display: block;
}

/* ============================================
   GALLERY BUTTON & MODAL
   ============================================ */
#photo-carousel {
    position: relative;
}

.gallery-btn {
    position: absolute;
    bottom: 16px;
    right: 20px;
    background: rgba(181, 0, 110, 0.82);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 9px 24px;
    border-radius: 999px;
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 14px rgba(181,0,110,0.3);
}

.gallery-btn:hover {
    background: rgba(181, 0, 110, 1);
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(181,0,110,0.45);
}

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 8, 14, 0.88);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    animation: galleryFadeIn 0.3s ease forwards;
}

.gallery-modal.active .gallery-modal-content {
    animation: gallerySlideUp 0.35s ease forwards;
}

@keyframes galleryFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes gallerySlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gallery-modal-content {
    background-image: url('compressedimages/paperbg%20(1).png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #b5006e;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 1;
    transition: transform 0.2s ease;
}

.gallery-modal-close:hover {
    transform: scale(1.2);
}

.gallery-modal-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.4rem;
    color: #b5006e;
    text-align: center;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.gallery-modal-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 0.75rem;
    color: #8b1a6b;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 4px;
}

.gallery-grid-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    will-change: transform;
}

.gallery-grid-img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(181,0,110,0.3);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
}

/* ============================================
   DETAILS SECTION
   ============================================ */
.details-section {
    width: 100%;
    min-height: 956px;
    background-image: url('compressedimages/detailbg%20(1).png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 0;
    display: flex;
    justify-content: center;
}

.details-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 30px 40px;
    max-width: 380px;
    width: 100%;
}

.details-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    font-weight: 700;
    color: #8b1a6b;
    margin-bottom: 20px;
}

.details-description {
    font-family: 'Crimson Text', serif;
    font-size: 0.88rem;
    color: #8b1a6b;
    line-height: 1.7;
    margin-top: -20px;
    margin-bottom: 28px;
    padding: 0 10px;
}

.details-palette {
    margin-top: -65px;
    margin-bottom: 28px;
}

.details-color-img {
    width: 220px;
    height: auto;
}

.details-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #8b1a6b;
    line-height: 1.3;
    margin-top: -60px;
}

.details-gender-label {
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    color: #8b1a6b;
    margin-top: -40px;
    margin-bottom: 4px;
}

.details-abay-img {
    width: 220px;
    height: auto;
    margin-top: -50px;
}

.details-subtitle2 {
    margin-top: 10px;
}

.details-panauhin-img {
    width: 220px;
    height: auto;
    margin-top: -40px;
}

.attire-list {
    margin: -35px auto 1.5rem;
    max-width: 320px;
    width: 100%;
}

.attire-list--guest {
    margin-top: -60px;
}

.attire-card {
    padding: 10px 0;
    text-align: center;
}

.attire-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Crimson Text', serif;
    font-size: clamp(0.65rem, 0.5rem + 0.6vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b5006e;
    margin-bottom: 4px;
}

.attire-flourish {
    color: #8b1a6b;
    opacity: 0.55;
    font-size: 0.9em;
}

.attire-label--long {
    white-space: nowrap;
    letter-spacing: 1.5px;
    font-size: clamp(0.55rem, 0.4rem + 0.55vw, 1.2rem);
}

.attire-label--xlong {
    white-space: nowrap;
    letter-spacing: 0.5px;
    gap: 4px;
    font-size: clamp(0.58rem, 0.4rem + 0.5vw, 1.15rem);
}

.attire-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 0.85rem + 1.3vw, 2.4rem);
    font-weight: 600;
    color: #8b1a6b;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
}

.attire-subtext {
    font-family: 'Crimson Text', serif;
    font-size: clamp(0.65rem, 0.55rem + 0.4vw, 1.2rem);
    color: #8b1a6b;
    opacity: 0.8;
    line-height: 1.6;
}

.attire-note {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: clamp(0.6rem, 0.5rem + 0.35vw, 1.05rem);
    color: #8b1a6b;
    opacity: 0.65;
    line-height: 1.5;
    margin-top: 2px;
}

.attire-divider {
    width: 55%;
    height: 1px;
    background: linear-gradient(to right, transparent, #b5006e, transparent);
    opacity: 0.5;
    margin: 12px auto;
}

/* ============================================
   LOKASYON SECTION
   ============================================ */
.lokasyon-section {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.lokasyon-img {
    width: 100%;
    display: block;
}

.lokasyon-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 40px 20px 0;
}

.lokasyon-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    font-weight: 700;
    color: #8b1a6b;
    margin-bottom: 8px;
}

.lokasyon-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    color: #8b1a6b;
}

.lokasyon-place {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b1a6b;
    margin-top: 6px;
}

.lokasyon-title2 {
    margin-top: 40px;
}

.lokasyon-maps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.map-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: -15px;
}

.map-icon {
    width: 200px;
    height: auto;
}


.map-label {
    font-family: 'Crimson Text', serif;
    font-size: 0.75rem;
    color: #8b1a6b;
    margin: 0;
}

.map-btn {
    background-color: #8b1a6b;
    color: #ffffff;
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    padding: 6px 22px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.map-btn:hover {
    background-color: #6a1252;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(139, 26, 107, 0.4);
}


/* ============================================
   DESKTOP ONLY (1025px+)
   ============================================ */
@media (min-width: 1440px) {
    .story-tap-hint {
        font-size: 1rem !important;
        letter-spacing: 4px !important;
        top: 18px !important;
    }

    .story-modal-content {
        max-width: 1100px !important;
        max-height: 92vh !important;
        padding: 40px 60px !important;
    }

    .story-modal-body .welcome-story-text {
        font-size: 1.6rem !important;
        line-height: 1.9;
    }

    .story-modal-content .welcome-story-title {
        font-size: 3.5rem !important;
    }

    .story-section-img {
        max-height: 550px !important;
    }

    .welcome-section {
        min-height: 2500px !important;
    }

    .welcome-bg-img {
        height: 2500px;
    }

    .lokasyon-img {
        height: 1500px;
        object-fit: cover;
    }

    .lokasyon-content {
        top: 15%;
        transform: translateY(-50%);
    }

    .entourage-main-title {
        font-size: 5rem !important;
    }

    .entourage-title {
        font-size: 5rem !important;
        white-space: nowrap !important;
    }

    .entourage-title--wrap {
        white-space: normal !important;
    }

    .entourage-role {
        font-size: 1.3rem !important;
    }

    .entourage-col p {
        font-size: 1.3rem !important;
        line-height: 1.8 !important;
    }

    .entourage-single p {
        font-size: 1.3rem !important;
    }

    .entourage-note {
        font-size: 1.1rem !important;
    }

    .entourage-col {
        max-width: 500px;
    }

    .entourage-content {
        max-width: 1200px;
    }

    .entourage-group {
        gap: 4rem;
    }

    .program-content {
        max-width: 800px !important;
    }

    .program-title {
        font-size: 6rem !important;
    }

    .program-paper {
        padding: 3.5rem 4rem !important;
        border-radius: 24px !important;
    }

    .program-list {
        gap: 2rem !important;
    }

    .program-time {
        font-size: 1.6rem !important;
    }

    .program-event {
        font-size: 1.8rem !important;
    }
}

@media (min-width: 1025px) {
    .welcome-section {
        min-height: 1400px;
    }

    .auto-carousel {
        height: 750px !important;
    }

    .auto-carousel-img {
        flex: 0 0 560px !important;
        width: 560px !important;
    }

    .welcome-title {
        font-size: 5rem;
    }

    .welcome-transparent-left {
        left: -100px;
    }

    .welcome-transparent-left img {
        width: 650px;
    }

    .welcome-transparent-right {
        right: -540px;
        bottom: -260px;
    }

    .welcome-transparent-right img {
        width: 1500px;
    }

    .welcome-description {
        font-size: 1.6rem;
    }

    .welcome-photo-circle {
        width: 350px;
        height: 320px;
        padding: 6px;
        margin: 1.5rem auto 14rem;
    }

    .welcome-story-box {
        width: 850px;
        max-width: none;
        height: 900px;
    }

    .welcome-story-title {
        font-size: 1.8rem;
    }

    .welcome-story-text {
        font-size: 1.5rem;
    }

    .details-title {
        font-size: 4.5rem;
    }

    .details-description {
        font-size: 1.4rem;
        max-width: 600px;
    }

    .details-color-img {
        width: 450px;
    }

    .details-subtitle {
        font-size: 5rem;
    }

    .details-abay-img {
        width: 380px;
    }

    .details-panauhin-img {
        width: 380px;
    }

    .details-content {
        max-width: 900px;
        padding: 80px 80px 60px;
    }

    .details-palette {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .details-subtitle {
        margin-top: 20px;
    }

    .details-abay-img {
        margin-top: 20px;
    }

    .details-panauhin-img {
        margin-top: 20px;
    }

    .details-description {
        margin-top: 0;
    }

    .lokasyon-title {
        font-size: 5rem;
    }

    .lokasyon-subtitle {
        font-size: 2rem;
    }

    .lokasyon-place {
        font-size: 1.5rem;
    }

    .lokasyon-title2 {
        margin-top: 80px;
    }

    .lokasyon-maps {
        gap: 300px;
        margin-top: 20px;
    }

    .map-icon {
        width: 300px;
    }

    .map-label {
        font-size: 1.2rem;
    }

    .map-btn {
        font-size: 1.2rem;
        padding: 10px 40px;
    }
}

/* ============================================
   PHOTO CAROUSEL SECTION
   ============================================ */
#photo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 0;
    background: #1a0a0f;
    border-top: 3px solid #b5006e;
    border-bottom: 3px solid #b5006e;
}

.auto-carousel {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #1a0a0f;
}

.auto-carousel-wrapper {
    display: flex;
    width: max-content;
    height: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.auto-carousel-wrapper.carousel-ready {
    -webkit-animation: autoScroll 140s infinite linear;
    animation: autoScroll 140s infinite linear;
}

.auto-carousel-track {
    display: flex;
    height: 100%;
    flex-shrink: 0;
}

.auto-carousel-img {
    flex: 0 0 320px;
    width: 320px;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes autoScroll {
    from { transform: translateX(0); -webkit-transform: translateX(0); }
    to { transform: translateX(-50%); -webkit-transform: translateX(-50%); }
}

@-webkit-keyframes autoScroll {
    from { -webkit-transform: translateX(0); }
    to { -webkit-transform: translateX(-50%); }
}




/* RSVP Section - New Design */
.rsvp-section {
    background: #f5f0eb !important;
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.rsvp-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: #4a4a4a;
}

.rsvp-card {
    background: rgba(250, 245, 240, 0.95);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rsvp-instruction {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 1.5rem;
}

.rsvp-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid #d0c5ba;
    border-radius: 6px;
    margin: 2rem 0 0.5rem 0;
    font-family: inherit;
    background: white;
    color: #333;
}

.rsvp-input:focus {
    outline: none;
    border-color: #a89584;
}

.rsvp-example {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
    text-align: center;
}

.rsvp-continue-btn {
    width: 100%;
    background: #8b1a6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.rsvp-continue-btn:hover:not(:disabled) {
    background: #6a1252;
    transform: translateY(-2px);
}

.rsvp-continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rsvp-note {
    display       : flex;
    align-items   : flex-start;
    gap           : 0.6rem;
    background    : #f5f0eb;
    border-left   : 3px solid #8b1a6b;
    border-radius : 0 6px 6px 0;
    padding       : 0.75rem 1rem;
    font-size     : 0.88rem;
    color         : #5a5a5a;
    line-height   : 1.5;
    margin-bottom : 1.5rem;
}

.rsvp-note i {
    color      : #8b1a6b;
    font-size  : 0.9rem;
    margin-top : 0.1rem;
    flex-shrink: 0;
}

.rsvp-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #d32f2f;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
}

/* Step 2 - Guest Selection */
.rsvp-select-instruction {
    text-align: center;
    font-size: 1.1rem;
    color: #4a7a5a;
    margin-bottom: 2rem;
}

/* Guest Name Selection Boxes - FIXED */
.guest-name-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
}

/* Guest Attendance Selection */
.guest-attendance-item {
    padding: 1.5rem 0;
}

.guest-name-row {
    display     : flex;
    align-items : center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.guest-name-label {
    font-size  : 1.1rem;
    color      : #4a4a4a;
    font-weight: 500;
}

.rsvp-status-badge {
    font-size     : 1rem;
    font-weight   : 600;
    padding       : 0.45rem 1.1rem;
    border-radius : 999px;
    white-space   : nowrap;
    flex-shrink   : 0;
}

.badge-attending { background: #e8f5e9; color: #2e7d32; }
.badge-declined  { background: #fce4ec; color: #c62828; }
.badge-pending   { background: #f5f5f5; color: #888; }

.guest-radio-group {
    display: flex;
    gap: 2rem;
    margin-left: 0;
}

.guest-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #5a5a5a;
}

.guest-radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5a5a3d;
}

.guest-separator {
    height: 1px;
    background: #e0d5ca;
    margin: 0;
}


.rsvp-select-btn {
    width: 100%;
    background: #8b1a6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.rsvp-select-btn:hover {
    background: #6a1252;
    transform: translateY(-2px);
}

.rsvp-search-again {
    text-align: center;
    margin-top: 1.5rem;
}

.rsvp-search-again a {
    color: #5a5a3d;
    text-decoration: underline;
    font-size: 0.95rem;
}

.rsvp-search-again a:hover {
    color: #4a4a30;
}

.rsvp-back-btn {
    width: 100%;
    background: transparent;
    color: #8b1a6b;
    border: 1.5px solid #8b1a6b;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0.8rem;
    letter-spacing: 1px;
    transition: background 0.25s ease, color 0.25s ease;
}

.rsvp-back-btn:hover {
    background: #8b1a6b;
    color: #ffffff;
}

/* Step 3 - Confirmation Form */
.rsvp-confirm-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

#step3 .form-group {
    margin-bottom: 2rem;
}

#step3 .form-group label {
    display: block;
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

#step3 .required {
    color: #d32f2f;
}

#step3 input[type="email"],
#step3 textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #d0c5ba;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: #333;
}

#step3 input[type="email"]:focus,
#step3 textarea:focus {
    outline: none;
    border-color: #a89584;
}


.rsvp-submit-btn {
    width: 100%;
    background: #8b1a6b;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.rsvp-submit-btn:hover:not(:disabled) {
    background: #6a1252;
    transform: translateY(-2px);
}

.rsvp-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Step Transitions */
.rsvp-step {
    display: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    visibility: hidden;
}

.rsvp-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-navbar {
        padding: 1.5rem 3rem;
    }

    .hero-navbar a {
        margin: 0 1rem;
        font-size: 0.9rem;
    }

}

/* 4K / Ultra-wide screens */
@media (min-width: 2560px) {
    .hero-navbar {
        padding: 3.5rem 10rem;
    }

    .hero-navbar a {
        font-size: 2rem;
        margin: 0 2.5rem;
        letter-spacing: 2px;
    }

    .rsvp-btn {
        font-size: 1.8rem;
        padding: 1.2rem 3rem;
        letter-spacing: 3px;
    }

    .hero-navbar .nav-center a {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    /* Hero Text */
    .welcome-text {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
    }

    .couple-names {
        font-size: 12rem !important;
    }

    .wedding-date {
        font-size: 3.5rem !important;
        letter-spacing: 14px !important;
    }

    /* Welcome Section */
    .welcome-section {
        min-height: 4500px !important;
    }

    .welcome-bg-img {
        height: 4500px !important;
    }

    .welcome-title {
        font-size: 9rem !important;
    }

    .welcome-description {
        font-size: 2.8rem !important;
        max-width: 1000px !important;
        line-height: 1.7 !important;
    }

    .welcome-photo-circle {
        width: 550px !important;
        height: 550px !important;
        margin: 5.5rem auto 20rem !important;
    }

    .welcome-story-box {
        width: 1600px !important;
        height: 2000px !important;
    }

    .welcome-story-title {
        font-size: 5rem !important;
    }

    .welcome-story-text {
        font-size: 2.5rem !important;
        line-height: 1.8 !important;
    }

    .story-tap-hint {
        font-size: 1.5rem !important;
        letter-spacing: 6px !important;
        top: 24px !important;
    }

    /* Music Button */
    .music-btn {
        width: 80px !important;
        height: 80px !important;
        font-size: 1.8rem !important;
        bottom: 40px !important;
        left: 40px !important;
        border-width: 3px !important;
    }

    /* Details Section */
    .details-section {
        min-height: 3200px !important;
    }

    .details-content {
        max-width: 2000px !important;
        padding: 150px 150px 100px !important;
    }

    .details-title {
        font-size: 11rem !important;
        margin-bottom: 50px !important;
    }

    .details-description {
        font-size: 2.8rem !important;
        max-width: 1400px !important;
        line-height: 1.9 !important;
    }

    .details-color-img {
        width: 1000px !important;
    }

    .details-subtitle {
        font-size: 8rem !important;
    }

    .details-abay-img {
        width: 900px !important;
    }

    .details-panauhin-img {
        width: 900px !important;
    }

    /* Programme Section */
    .program-content {
        max-width: 1800px !important;
    }

    .program-title {
        font-size: 13rem !important;
    }

    .program-paper {
        padding: 6rem 8rem !important;
        border-radius: 30px !important;
    }

    .program-list {
        gap: 4rem !important;
    }

    .program-time {
        font-size: 3.2rem !important;
    }

    .program-event {
        font-size: 3.5rem !important;
    }

    /* Entourage Section */
    .entourage-main-title {
        font-size: 13rem !important;
    }

    .entourage-title {
        font-size: 10rem !important;
    }

    .entourage-role {
        font-size: 2.8rem !important;
    }

    .entourage-col p {
        font-size: 2.8rem !important;
        line-height: 2.2 !important;
    }

    .entourage-single p {
        font-size: 2.8rem !important;
    }

    .entourage-col {
        max-width: 800px !important;
    }

    .entourage-content {
        max-width: 2000px !important;
    }

    .entourage-group {
        gap: 8rem !important;
    }

    .entourage-note {
        font-size: 2.4rem !important;
    }

    /* RSVP Section */
    .rsvp-main-title {
        font-size: 8rem !important;
        margin-bottom: 5rem !important;
    }

    .rsvp-container {
        max-width: 2000px !important;
    }

    .rsvp-card {
        padding: 7rem 8rem !important;
        border-radius: 24px !important;
    }

    .rsvp-instruction {
        font-size: 3rem !important;
        line-height: 2 !important;
    }

    .rsvp-input {
        font-size: 2.8rem !important;
        padding: 2.5rem 3rem !important;
        border-radius: 12px !important;
    }

    .rsvp-example {
        font-size: 2.2rem !important;
    }

    .rsvp-continue-btn,
    .rsvp-select-btn,
    .rsvp-submit-btn {
        font-size: 2.8rem !important;
        padding: 2.5rem 4rem !important;
        border-radius: 12px !important;
    }

    .guest-name-label {
        font-size: 2.8rem !important;
    }

    .guest-radio-label {
        font-size: 2.5rem !important;
    }

    .rsvp-confirm-title {
        font-size: 5rem !important;
    }

    /* Lokasyon Section */
    .lokasyon-img {
        height: 3000px !important;
        object-fit: cover !important;
    }

    .lokasyon-title {
        font-size: 9rem !important;
    }

    .lokasyon-subtitle {
        font-size: 3.5rem !important;
    }

    .lokasyon-place {
        font-size: 3rem !important;
    }

    .lokasyon-title2 {
        margin-top: 180px !important;
    }

    .lokasyon-maps {
        gap: 600px !important;
        margin-top: 40px !important;
    }

    .map-icon {
        width: 550px !important;
    }

    .map-label {
        font-size: 2rem !important;
    }

    .map-btn {
        font-size: 2rem !important;
        padding: 18px 70px !important;
    }

    /* Carousel */
    .auto-carousel {
        height: 1400px !important;
    }

    .auto-carousel-img {
        flex: 0 0 700px !important;
        width: 700px !important;
    }

    /* Story Modal */
    .story-modal-content {
        width: 1800px !important;
        max-width: 1800px !important;
        max-height: 95vh !important;
        height: 95vh !important;
        padding: 60px 100px !important;
    }

    .story-modal-content .welcome-story-title {
        font-size: 5rem !important;
    }

    .story-modal-body .welcome-story-text {
        font-size: 2.2rem !important;
        line-height: 2 !important;
    }

    .story-section-img {
        max-height: 900px !important;
    }

    .story-modal-close {
        font-size: 3.5rem !important;
        top: 20px !important;
        right: 30px !important;
    }

    .welcome-transparent-left {
        left: -180px !important;
    }

    .welcome-transparent-left img {
        width: 1300px !important;
    }

    .welcome-transparent-right {
        right: -1100px !important;
        bottom: -510px !important;
    }

    .welcome-transparent-right img {
        width: 3000px !important;
    }
}

@media (max-width: 1024px) {
    .hero-navbar {
        padding: 1.5rem 2rem;
    }

    .hero {
        height: 100svh;
        min-height: 100vh;
        background-position: 45% 60%;
        background-size: auto 130%;
        background-attachment: scroll;
    }

    .couple-names {
        font-size: 4.5rem;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    /* ENTOURAGE SECTION - TABLET */
    .entourage-main-title {
        font-size: 5rem;
    }

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

    .entourage-role {
        font-size: 1rem;
    }

    .entourage-col p {
        font-size: 1.1rem;
    }

    .entourage-single p {
        font-size: 1.1rem;
    }

    .entourage-col {
        max-width: 300px;
    }

    .entourage-content {
        max-width: 700px;
    }

    /* DETAILS SECTION - TABLET */
    .details-content {
        max-width: 700px;
        padding: 60px 60px 40px;
    }

    .details-title {
        font-size: 3rem;
        white-space: nowrap;
    }

    .details-description {
        font-size: 1.2rem;
        max-width: 600px;
    }

    .details-color-img {
        width: 400px;
    }

    .details-subtitle {
        font-size: 3rem;
    }

    .details-abay-img {
        width: 350px;
    }

    .details-panauhin-img {
        width: 350px;
    }

    /* LOKASYON SECTION - TABLET */
    .lokasyon-img {
        height: 1000px;
        object-fit: cover;
    }

    .lokasyon-title {
        font-size: 3.5rem;
    }

    .lokasyon-place {
        font-size: 1.4rem;
    }

    .lokasyon-title2 {
        margin-top: 60px;
    }

    .lokasyon-maps {
        gap: 150px;
        margin-top: 20px;
    }

    .map-icon {
        width: 200px;
    }

    .map-btn {
        font-size: 1.1rem;
        padding: 10px 32px;
    }

    /* WELCOME SECTION - TABLET ONLY */
    .welcome-section {
        min-height: 1300px;
    }

    .welcome-title {
        font-size: 2.25rem;
        
    }

    .welcome-description {
        font-size: 1.2rem;
        max-width: 600px;
    }

    .welcome-photo-circle {
        width: 200px;
        height: 200px;
    }

    .welcome-content {
        top: 8%;
        padding: 0 60px;
    }

    .welcome-story-box {
        width: 550px;
        max-width: 530px;
        height: 700px;
    }

    .welcome-story-title {
        font-size: 1.9rem;
    }

    .welcome-story-text {
        font-size: 1.10rem;
    }

    .story-tap-hint {
        font-size: 2rem;
        letter-spacing: 23px;
    }

    .welcome-transparent-left {
        left: -50px;
    }

    .welcome-transparent-left img {
        width: 300px;
    }

    .welcome-transparent-right {
        right: -300px;
        bottom: -145px;
    }

    .welcome-transparent-right img {
        width: 850px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 71px;
    }

    /* NAVIGATION */
    .hero-navbar {
        padding: 1rem 1.5rem;
        background: transparent;
    }


    .burger-menu {
        display: flex;
        background: rgba(181, 0, 110, 0.85);
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.3);
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .hero-navbar .nav-left,
    .hero-navbar .nav-right {
        display: none;
    }

    .hero-navbar .nav-center {
        flex: 1;
        justify-content: flex-start;
    }

    .hero-navbar .nav-center a {
        font-size: 1rem;
        margin: 0;
        letter-spacing: 2px;
    }

    /* HERO SECTION */
    .hero {
        height: 100svh;
        min-height: 100vh;
        background-position: 45% 60%;
        background-size: auto 130%;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .welcome-text {
        font-size: 1.1rem;
        letter-spacing: 3px;
        font-style: italic;
    }

    .couple-names {
        font-size: 4.5rem;
        letter-spacing: 2px;
    }

    .wedding-date {
        font-size: 1.3rem;
        letter-spacing: 8px;
    }

    .scroll-indicator {
        bottom: 2.5rem;
    }

    /* RSVP SECTION */
    .rsvp-section {
        padding: 4rem 2rem;
    }

    .rsvp-main-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .rsvp-card {
        padding: 2.5rem 2rem;
    }

    .guest-radio-group {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

}

/* Mobile Portrait (480px - 767px) */
@media (max-width: 480px) {
    :root {
        --navbar-height: 65px;
    }

    /* NAVIGATION */
    .hero-navbar {
        padding: 0.8rem 1rem;
    }

    .hero-navbar .nav-center a {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    .hero {
        height: 100svh;
        min-height: 100vh;
        background-position: 50% 60%;
        background-size: auto 130%;
        background-attachment: scroll;
    }

    .burger-menu span {
        width: 22px;
    }

    /* HERO */
    .hero-content {
        padding: 0 1.5rem;
    }

    .welcome-text {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .couple-names {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .wedding-date {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .scroll-dot {
        width: 25px;
        height: 45px;
    }

    /* RSVP */
    .rsvp-section {
        padding: 3rem 1.5rem;
    }

    .rsvp-main-title {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }

    .rsvp-card {
        padding: 2rem 1.5rem;
    }

    .rsvp-instruction {
        font-size: 1rem;
    }

    .rsvp-input {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .rsvp-continue-btn,
    .rsvp-select-btn,
    .rsvp-submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .guest-name-label {
        font-size: 1rem;
    }

    .guest-radio-label {
        font-size: 0.95rem;
    }

    #step3 input[type="email"],
    #step3 textarea {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

}

/* Extra Small Mobile (360px and below) */
@media (max-width: 376px) {
    :root {
        --navbar-height: 60px;
    }

    /* NAVIGATION */
    .hero-navbar {
        padding: 0.7rem 0.8rem;
    }
    .hero {
        height: 100svh;
        min-height: 100vh;
        background-position: 48% 60%;
        background-size: auto 130%;
        background-attachment: scroll;
    }

    .hero-navbar .nav-center a {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .burger-menu span {
        width: 20px;
    }

    /* HERO */
    .hero-content {
        padding: 0 1rem;
    }

    .welcome-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .couple-names {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .wedding-date {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    /* RSVP */
    .rsvp-main-title {
        font-size: 1.5rem;
    }

    .rsvp-card {
        padding: 1.8rem 1.2rem;
    }

    .rsvp-instruction {
        font-size: 0.95rem;
    }

    .rsvp-input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .rsvp-continue-btn,
    .rsvp-select-btn,
    .rsvp-submit-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

}

@media (max-width: 374px) {
    /* LOKASYON SECTION */
    .lokasyon-title {
        font-size: 2.1rem;
    }

    .map-icon {
        width: 170px;
    }

    .map-btn {
        font-size: 0.72rem;
        padding: 4px 16px;
    }
}

/* ============================================
   ORDER OF CELEBRATION SECTION
   ============================================ */
.program-section {
    background-image: url('compressedimages/sponsorbg%20(1).png');
    background-size: cover;
    background-position: center;
    background-color: #f5ede0;
    padding: 70px 20px;
    text-align: center;
}

.program-content {
    max-width: 350px;
    margin: 0 auto;
}

.program-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #b5006e;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.program-paper {
    background-image: url('compressedimages/paperbg%20(1).png');
    background-size: cover;
    background-position: center;
    background-color: #f5ede0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.program-item {
    text-align: center;
}

.program-time {
    font-family: 'Crimson Text', serif;
    font-size: 0.95rem;
    color: #8b1a6b;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.program-event {
    font-family: 'Crimson Text', serif;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: normal;
    color: #8b1a6b;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
    width: 100%;
    height: 6px;
    background: #b5006e;
}

/* ============================================
   ENTOURAGE SECTION
   ============================================ */
.entourage-section {
    position: relative;
    overflow: hidden;
    padding: 70px 20px;
    text-align: center;
}

.entourage-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entourage-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.entourage-main-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #b5006e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.entourage-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #b5006e;
    margin: 2rem 0 0.8rem;
    line-height: 1.2;
}

.entourage-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.entourage-col {
    flex: 1;
    max-width: 220px;
    min-width: 140px;
}

.entourage-role {
    font-family: 'Crimson Text', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #8b1a6b;
    margin-bottom: 0.4rem;
    text-decoration: underline;
    white-space: nowrap;
}

.entourage-col p {
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    color: #8b1a6b;
    line-height: 1.6;
}

.entourage-note {
    font-size: 0.8rem;
    color: #8b1a6b;
}

.entourage-single {
    margin-top: 0.5rem;
}

.entourage-single p {
    font-family: 'Crimson Text', serif;
    font-size: 0.95rem;
    color: #8b1a6b;
    line-height: 1.6;
}

/* ============================================
   MUSIC BUTTON
   ============================================ */
.music-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1500;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(181, 0, 110, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, transform 0.2s ease;
}

.music-btn:hover {
    background: rgba(181, 0, 110, 1);
    transform: scale(1.1);
}

.music-btn.playing i {
    animation: spinNote 3s linear infinite;
}

.music-btn.paused i {
    animation: none;
    opacity: 0.6;
}

@keyframes spinNote {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


.music-hint {
    position: fixed;
    bottom: 32px;
    left: 70px;
    background: #8b1a6b;
    color: #fff;
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 1500;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 0;
    animation: hintFade 5s ease 3s forwards;
    pointer-events: none;
}

@keyframes hintFade {
    0%   { opacity: 0; transform: translateX(-6px); }
    10%  { opacity: 1; transform: translateX(0); }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ============================================
   WEDDING DOOR GATE
   ============================================ */
.door-gate {
    position   : fixed;
    inset      : 0;
    z-index    : 9999;
    overflow   : hidden;
    background : #1a0800;
    cursor     : pointer;
}

.door-half {
    position   : absolute;
    top        : 0;
    width      : 50%;
    height     : 100%;
    overflow   : hidden;
    transition : transform 1.4s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.door-left  { left  : 0; }
.door-right { right : 0; }

.door-left img {
    position       : absolute;
    top            : 0;
    left           : 0;
    width          : 200%;
    height         : 100%;
    object-fit     : cover;
    object-position: center center;
}

.door-right img {
    position       : absolute;
    top            : 0;
    right          : 0;
    width          : 200%;
    height         : 100%;
    object-fit     : cover;
    object-position: center center;
}

/* Tablet & desktop: avoid cropping the plaque/frame on wider, shorter viewports */
@media (min-width: 768px) {
    .door-left img,
    .door-right img {
        object-fit: contain;
    }
}

/* Couple photo, split down the middle across both door halves.
   Hexagon is flat on top/bottom, pointed on the outer (left/right) side;
   the seam-side edge stays flat and unbordered so the two halves meet flush. */
.gate-photo {
    --gp-w     : clamp(105px, 16vw, 160px);
    --gp-pad   : 6px;
    position   : absolute;
    top        : 36%;
    width      : var(--gp-w);
    height     : clamp(160px, 24vw, 250px);
    box-sizing : border-box;
    background : #33200f;
    overflow   : hidden;
    transform  : translateY(-50%);
    filter     : drop-shadow(0 4px 16px rgba(0, 0, 0, 0.55));
    z-index    : 1;
}

.gate-photo-left {
    right     : 0;
    clip-path : polygon(100% 0%, 50% 0%, 0% 50%, 50% 100%, 100% 100%);
}

.gate-photo-right {
    left      : 0;
    clip-path : polygon(0% 0%, 50% 0%, 100% 50%, 50% 100%, 0% 100%);
}

.gate-photo-inner {
    position   : absolute;
    top        : var(--gp-pad);
    height     : calc(100% - 2 * var(--gp-pad));
    overflow   : hidden;
}

.gate-photo-left .gate-photo-inner {
    left      : var(--gp-pad);
    right     : 0;
    clip-path : polygon(100% 0%, 50% 0%, 0% 50%, 50% 100%, 100% 100%);
}

.gate-photo-right .gate-photo-inner {
    right     : var(--gp-pad);
    left      : 0;
    clip-path : polygon(0% 0%, 50% 0%, 100% 50%, 50% 100%, 0% 100%);
}

.gate-photo-inner img {
    position   : absolute;
    top        : 0;
    height     : 100%;
    width      : calc(2 * (var(--gp-w) - var(--gp-pad)));
    object-fit : cover;
}

.gate-photo-left .gate-photo-inner img {
    left : 0;
}

.gate-photo-right .gate-photo-inner img {
    right : 0;
}

.door-left.open  { transform: translateX(-100%); }
.door-right.open { transform: translateX(100%); }

.door-gate.hidden { display: none; }

/* ============================================
   STORY BOX - CLICKABLE
   ============================================ */
.welcome-story-box {
    cursor: pointer;
}

.story-tap-hint {
    font-family: 'Crimson Text', serif;
    font-size: 0.6rem;
    color: #b5006e;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .story-tap-hint {
        font-size: 1.2rem;
        letter-spacing: 3px;
        top: 14px;
    }
}

/* ============================================
   STORY MODAL
   ============================================ */
.story-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.story-modal.active {
    display: flex;
}

.story-modal-content {
    background-color: #f5ede0;
    background-image: url('compressedimages/paperbg%20(1).png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.story-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #b5006e;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.story-modal-body {
    overflow-y: auto;
    margin-top: 0.8rem;
    padding-right: 4px;
}

.story-modal-body .welcome-story-text {
    font-size: 0.85rem;
    line-height: 1.6;
}

.story-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.8rem;
}

.story-section-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .story-modal-content {
        max-width: 700px;
        padding: 36px 60px 32px;
    }

    .story-modal-body .welcome-story-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .story-modal-content .welcome-story-title {
        font-size: 1.8rem;
    }

    .story-section-img {
        max-height: 320px;
    }
}

/* ============================================
   SMALL MOBILE FIX (375px and below)
   ============================================ */
@media (max-width: 390px) {
    .welcome-section {
        min-height: 820px;
    }

    .welcome-transparent-left {
        left: -35px;
    }

    .welcome-transparent-left img {
        width: 220px;
    }

    .welcome-transparent-right {
        right: -200px;
        bottom: -95px;
    }

    .welcome-transparent-right img {
        width: 550px;
    }

    .welcome-story-box {
        width: 90%;
        height: 320px;
    }
}

/* iPhone 15 / 15 Pro (393px) */
@media (min-width: 391px) and (max-width: 430px) {
    .welcome-section {
        min-height: 870px;
    }

    .welcome-transparent-left {
        left: -40px;
    }

    .welcome-transparent-left img {
        width: 230px;
    }

    .welcome-transparent-right {
        right: -220px;
        bottom: -95px;
    }

    .welcome-transparent-right img {
        width: 560px;
    }

    .welcome-story-box {
        height: 380px;
    }
}


/* ============================================
   FAQS SECTION
   ============================================ */
.faqs-section {
    width: 100%;
    min-height: 100vh;
    background: url('compressedimages/FAQS.png') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 24px 80px;
}

.faqs-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ornamental header */
.faqs-header-decor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.2rem;
    width: 100%;
}

.faqs-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, #b5006e, transparent);
    position: relative;
    margin: 6px 0;
}

.faqs-divider::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    color: #8b1a6b;
    font-size: 0.55rem;
    line-height: 1;
}

.faqs-title {
    font-family: 'Abril Fatface', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #b5006e;
    letter-spacing: 0.3em;
    text-align: center;
    line-height: 1;
    margin: 4px 0;
    text-shadow: 0 1px 8px rgba(181, 0, 110, 0.18);
}

/* FAQ list */
.faqs-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1.5px solid rgba(181, 0, 110, 0.35);
    border-radius: 50px;
    background: rgba(255, 248, 238, 0.25);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.open {
    border-radius: 20px;
    background: rgba(255, 248, 238, 0.45);
    border-color: rgba(181, 0, 110, 0.7);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 0.85rem 1.2rem 0.85rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question-text {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #8b1a6b;
    line-height: 1.4;
    flex: 1;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(181, 0, 110, 0.5);
    background: rgba(255, 248, 238, 0.5);
    color: #8b1a6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-item.open .faq-icon {
    background: rgba(158, 124, 82, 0.15);
    color: #b5006e;
    border-color: #8b1a6b;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer > .faq-answer-inner {
    overflow: hidden;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    padding: 0 1.2rem 0 3.8rem;
    font-family: 'Crimson Text', serif;
    font-size: 0.92rem;
    color: #b5006e;
    line-height: 1.75;
    border-top: 0 solid rgba(158, 124, 82, 0.2);
    transition: padding 0.3s ease, border-top-width 0.3s ease;
}

.faq-item.open .faq-answer-inner {
    padding: 0.7rem 1.2rem 1rem 3.8rem;
    border-top: 1px solid rgba(181, 0, 110, 0.2);
}

@media (min-width: 1025px) {
    .faqs-content { max-width: 780px; }
    .faqs-title { font-size: 3.8rem; }
    .faq-question-text { font-size: 1.1rem; }
    .faq-answer-inner { font-size: 1.05rem; }
    .faqs-divider { width: 50%; }
}

@media (min-width: 2560px) {
    .faqs-section { padding: 140px 40px; }
    .faqs-title { font-size: 8rem; letter-spacing: 0.5em; }
    .faqs-content { max-width: 1600px; }
    .faqs-list { gap: 22px; }
    .faq-question { padding: 1.6rem 2rem 1.6rem 1.6rem; }
    .faq-question-text { font-size: 2.4rem; }
    .faq-answer-inner { font-size: 2rem; padding: 1.2rem 2rem 1.6rem 7rem; }
    .faq-icon { width: 56px; height: 56px; font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .faqs-section { padding: 60px 16px; }
    .faqs-title { font-size: 2rem; letter-spacing: 0.4em; }
    .faq-question-text { font-size: 0.9rem; }
    .faqs-divider { width: 70%; }
}

/* ============================================
   RSVP SUCCESS MODAL
   ============================================ */
.rsvp-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 5, 14, 0.75);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}

.rsvp-success-modal.active {
    display: flex;
    animation: galleryFadeIn 0.35s ease forwards;
}

.rsvp-success-content {
    background-image: url('compressedimages/paperbg (1).png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 3rem 2.5rem 2.5rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: gallerySlideUp 0.4s ease forwards;
}

.rsvp-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(181, 0, 110, 0.1);
    border: 2px solid #b5006e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: #b5006e;
    animation: heartbeat 1.2s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12); }
}

.rsvp-success-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #b5006e;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.rsvp-success-msg {
    font-family: 'Crimson Text', serif;
    font-size: 1.05rem;
    color: #8b1a6b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rsvp-success-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #b5006e;
    opacity: 0.75;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}

.rsvp-success-btn {
    background: #b5006e;
    color: #fff;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 999px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.rsvp-success-btn:hover {
    background: #8b1a6b;
    transform: scale(1.04);
}
