* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Custom fonts */
@font-face {
    font-family: 'Krakatau Mountain';
    src: url('../fonts/Krakatau Mountain.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'acumin-variable';
    src: url('../fonts/AcuminVariableConcept.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    /* Make Acumin wider and lighter using variable font settings */
    font-variation-settings: 'wght' 310, 'wdth' 115, 'slnt' 0;
    background-color: #FFFBF1;
}

/* Removed mockup frames; single responsive layout */

/* Language Switch */
.lang-switch-floating {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    align-items: center;
}
.lang-switch-floating button {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}
.lang-switch-floating button:hover { opacity: 1; transform: scale(1.1); }
.lang-switch-floating button.active { 
    opacity: 1; 
    transform: scale(1.1);
}

/* Seamless Invitation Styles */
.invitation {
    width: 100vw;
    margin: 0;
    padding: 60px 0 0 0;
    text-align: center;
    color: #330008;
    line-height: 1.6;
    box-sizing: border-box;
    background: transparent;
}

.quote-section {
    margin: 50px auto;
    padding: 30px 40px;
    text-align: center;
    max-width: 800px;
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: #330008;
    margin: 0 auto 12px auto;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
    text-align: center;
    max-width: 460px;
}

.quote-author {
    font-size: 18px;
    color: #330008;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.5px;
    text-align: center;
    display: block;
    /* same centered width as quote text so right edges align */
    max-width: 460px;
    margin: 8px auto 0 auto;
}

.invitation-header {
    margin-bottom: 40px;
    padding: 0 40px;
}

.header-image {
    margin: 60px 0 130px 0;
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-decoration {
    max-width: 120px;
    height: auto;
    position: absolute;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.header-img-1 {
    animation: fadeImages 15s infinite;
    animation-delay: 0s;
}

.header-img-2 {
    animation: fadeImages 15s infinite;
    animation-delay: 5s;
}

.header-img-3 {
    animation: fadeImages 15s infinite;
    animation-delay: 10s;
}

@keyframes fadeImages {
    0% {
        opacity: 0;
    }
    3.33% {
        opacity: 0.8;
    }
    30% {
        opacity: 0.8;
    }
    33.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.invitation-header h1 { 
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
    font-size: 48px; 
    margin-bottom: 50px; 
    font-weight: 400; 
}

.names { 
    font-family: 'Krakatau Mountain', serif; 
    font-size: 72px; 
    line-height: 1.1; 
    display: block; 
    margin-bottom: 25px;
    color: #520000;
    text-shadow: 0 2px 4px rgba(114, 47, 55, 0.1);
    white-space: nowrap;
}

.subtitle { 
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
    font-size: 22px; 
    display: block; 
    margin-top: 15px;
    font-weight: 100;
    /* Make subtitle visually lighter than body text */
    font-variation-settings: 'wght' 100, 'wdth' 115, 'slnt' 0;
}

.date { 
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px; 
    font-weight: 300;
    margin-top: 20px;
}

.invitation-message {
    margin: 40px 0 60px 0;
    padding: 0 40px;
    font-size: 20px;
    font-style: italic;
    opacity: 0.9;
}

.photo-gallery-carousel {
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.gallery-swiper {
    width: 100%;
    padding-bottom: 50px;
    position: relative;
}

.gallery-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    padding: 15px;
    background: transparent;
}

.gallery-swiper .swiper-slide:hover {
    transform: translateY(-5px);
}

.gallery-swiper .swiper-wrapper{
    align-items: center;
}

.gallery-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    /* Torn page edge effect using clip-path with jagged edges */
    clip-path: polygon(
        /* Top edge - torn */
        0% 0%, 2% 1.5%, 4% 0.5%, 6% 1.8%, 8% 0.2%, 10% 1.6%, 12% 0.8%, 14% 1.9%, 
        16% 0.3%, 18% 1.4%, 20% 0.7%, 22% 1.7%, 24% 0.4%, 26% 1.5%, 28% 0.9%, 
        30% 1.8%, 32% 0.3%, 34% 1.6%, 36% 0.6%, 38% 1.9%, 40% 0.2%, 42% 1.4%, 
        44% 0.8%, 46% 1.7%, 48% 0.5%, 50% 1.6%, 52% 0.3%, 54% 1.8%, 56% 0.7%, 
        58% 1.5%, 60% 0.4%, 62% 1.9%, 64% 0.6%, 66% 1.4%, 68% 0.8%, 70% 1.7%, 
        72% 0.3%, 74% 1.6%, 76% 0.5%, 78% 1.8%, 80% 0.7%, 82% 1.4%, 84% 0.2%, 
        86% 1.9%, 88% 0.6%, 90% 1.5%, 92% 0.4%, 94% 1.7%, 96% 0.8%, 98% 1.6%, 100% 0%,
        /* Right edge - torn */
        100% 0%, 99% 2%, 100% 4%, 98.5% 6%, 100% 8%, 99% 10%, 100% 12%, 98.8% 14%, 
        100% 16%, 99.2% 18%, 100% 20%, 98.6% 22%, 100% 24%, 99.4% 26%, 100% 28%, 
        98.9% 30%, 100% 32%, 99.1% 34%, 100% 36%, 98.7% 38%, 100% 40%, 99.3% 42%, 
        100% 44%, 98.8% 46%, 100% 48%, 99.2% 50%, 100% 52%, 98.6% 54%, 100% 56%, 
        99.4% 58%, 100% 60%, 98.9% 62%, 100% 64%, 99.1% 66%, 100% 68%, 98.7% 70%, 
        100% 72%, 99.3% 74%, 100% 76%, 98.8% 78%, 100% 80%, 99.2% 82%, 100% 84%, 
        98.6% 86%, 100% 88%, 99.4% 90%, 100% 92%, 98.9% 94%, 100% 96%, 99.1% 98%, 100% 100%,
        /* Bottom edge - torn */
        100% 100%, 98% 99%, 96% 99.5%, 94% 98.2%, 92% 99.8%, 90% 98.4%, 88% 99.2%, 
        86% 98.1%, 84% 99.7%, 82% 98.6%, 80% 99.3%, 78% 98.3%, 76% 99.5%, 74% 98.1%, 
        72% 99.1%, 70% 98.2%, 68% 99.7%, 66% 98.4%, 64% 99.6%, 62% 98.1%, 60% 99.8%, 
        58% 98.5%, 56% 99.3%, 54% 98.2%, 52% 99.7%, 50% 98.4%, 48% 99.5%, 46% 98.3%, 
        44% 99.2%, 42% 98.6%, 40% 99.8%, 38% 98.1%, 36% 99.4%, 34% 98.6%, 32% 99.7%, 
        30% 98.2%, 28% 99.1%, 26% 98.5%, 24% 99.6%, 22% 98.3%, 20% 99.3%, 18% 98.7%, 
        16% 99.8%, 14% 98.4%, 12% 99.2%, 10% 98.6%, 8% 99.8%, 6% 98.1%, 4% 99.5%, 
        2% 98.4%, 0% 99%,
        /* Left edge - torn */
        0% 100%, 1% 98%, 0% 96%, 1.5% 94%, 0% 92%, 1% 90%, 0% 88%, 1.2% 86%, 
        0% 84%, 0.8% 82%, 0% 80%, 1.4% 78%, 0% 76%, 0.6% 74%, 0% 72%, 1.1% 70%, 
        0% 68%, 0.9% 66%, 0% 64%, 1.3% 62%, 0% 60%, 0.7% 58%, 0% 56%, 1.5% 54%, 
        0% 52%, 0.4% 50%, 0% 48%, 1.2% 46%, 0% 44%, 0.8% 42%, 0% 40%, 1.4% 38%, 
        0% 36%, 0.6% 34%, 0% 32%, 1.1% 30%, 0% 28%, 0.9% 26%, 0% 24%, 1.3% 22%, 
        0% 20%, 0.7% 18%, 0% 16%, 1.5% 14%, 0% 12%, 0.4% 10%, 0% 8%, 1.2% 6%, 
        0% 4%, 0.8% 2%, 0% 0%
    );
    /* Paper-like shadow and texture */
    box-shadow: 
        0 0 0 2px rgba(51, 0, 8, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    /* Add a subtle paper texture */
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    background-size: 20px 20px;
}

/* Swiper navigation buttons */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #330008;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper pagination */
.gallery-swiper .swiper-pagination-bullet {
    background: #330008;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Rugged Section Containers */
.rugged-section-container {
    max-width: 700px;
    width: 90%;
    margin: 80px auto;
    padding: 50px 50px;
    /* Soft card background, very close to the main page tone #FFFBF1 */
    background: #FFFEF8;
    position: relative;
    /* Torn edge effect using clip-path - consistent pattern on all sides */
    clip-path: polygon(
        /* Top edge - torn */
        0% 0%, 2% 1.5%, 4% 0.5%, 6% 1.8%, 8% 0.2%, 10% 1.6%, 12% 0.8%, 14% 1.9%, 
        16% 0.3%, 18% 1.4%, 20% 0.7%, 22% 1.7%, 24% 0.4%, 26% 1.5%, 28% 0.9%, 
        30% 1.8%, 32% 0.3%, 34% 1.6%, 36% 0.6%, 38% 1.9%, 40% 0.2%, 42% 1.4%, 
        44% 0.8%, 46% 1.7%, 48% 0.5%, 50% 1.6%, 52% 0.3%, 54% 1.8%, 56% 0.7%, 
        58% 1.5%, 60% 0.4%, 62% 1.9%, 64% 0.6%, 66% 1.4%, 68% 0.8%, 70% 1.7%, 
        72% 0.3%, 74% 1.6%, 76% 0.5%, 78% 1.8%, 80% 0.7%, 82% 1.4%, 84% 0.2%, 
        86% 1.9%, 88% 0.6%, 90% 1.5%, 92% 0.4%, 94% 1.7%, 96% 0.8%, 98% 1.6%, 100% 0%,
        /* Right edge - torn (same pattern as top, rotated) */
        100% 0%, 98.5% 2%, 100% 4%, 98% 6%, 100% 8%, 98.4% 10%, 100% 12%, 98.1% 14%, 
        100% 16%, 98.6% 18%, 100% 20%, 98.3% 22%, 100% 24%, 98.5% 26%, 100% 28%, 
        98.1% 30%, 100% 32%, 98.6% 34%, 100% 36%, 98.3% 38%, 100% 40%, 98.5% 42%, 
        100% 44%, 98.2% 46%, 100% 48%, 98.6% 50%, 100% 52%, 98.3% 54%, 100% 56%, 
        98.5% 58%, 100% 60%, 98.1% 62%, 100% 64%, 98.6% 66%, 100% 68%, 98.3% 70%, 
        100% 72%, 98.5% 74%, 100% 76%, 98.2% 78%, 100% 80%, 98.6% 82%, 100% 84%, 
        98.3% 86%, 100% 88%, 98.5% 90%, 100% 92%, 98.1% 94%, 100% 96%, 98.6% 98%, 100% 100%,
        /* Bottom edge - torn (same pattern as top, inverted) */
        100% 100%, 98% 98.5%, 96% 99.5%, 94% 98.2%, 92% 99.8%, 90% 98.4%, 88% 99.2%, 
        86% 98.1%, 84% 99.7%, 82% 98.6%, 80% 99.3%, 78% 98.3%, 76% 99.5%, 74% 98.1%, 
        72% 99.1%, 70% 98.2%, 68% 99.7%, 66% 98.4%, 64% 99.6%, 62% 98.1%, 60% 99.8%, 
        58% 98.5%, 56% 99.3%, 54% 98.2%, 52% 99.7%, 50% 98.4%, 48% 99.5%, 46% 98.3%, 
        44% 99.2%, 42% 98.6%, 40% 99.8%, 38% 98.1%, 36% 99.4%, 34% 98.6%, 32% 99.7%, 
        30% 98.2%, 28% 99.1%, 26% 98.5%, 24% 99.6%, 22% 98.3%, 20% 99.3%, 18% 98.7%, 
        16% 99.8%, 14% 98.4%, 12% 99.2%, 10% 98.6%, 8% 99.8%, 6% 98.1%, 4% 99.5%, 
        2% 98.4%, 0% 99%,
        /* Left edge - torn (same pattern as right, rotated) */
        0% 100%, 1.5% 98%, 0% 96%, 2% 94%, 0% 92%, 1.6% 90%, 0% 88%, 1.9% 86%, 
        0% 84%, 1.4% 82%, 0% 80%, 1.7% 78%, 0% 76%, 1.5% 74%, 0% 72%, 1.9% 70%, 
        0% 68%, 1.4% 66%, 0% 64%, 1.7% 62%, 0% 60%, 1.5% 58%, 0% 56%, 1.9% 54%, 
        0% 52%, 1.4% 50%, 0% 48%, 1.7% 46%, 0% 44%, 1.5% 42%, 0% 40%, 1.9% 38%, 
        0% 36%, 1.4% 34%, 0% 32%, 1.7% 30%, 0% 28%, 1.5% 26%, 0% 24%, 1.9% 22%, 
        0% 20%, 1.4% 18%, 0% 16%, 1.7% 14%, 0% 12%, 1.5% 10%, 0% 8%, 1.9% 6%, 
        0% 4%, 1.4% 2%, 0% 0%
    );
    /* Paper-like shadow and texture */
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
    /* Add a subtle paper texture */
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%),
        rgba(255, 255, 255, 0.95);
    background-size: 30px 30px;
}

/* Create visible torn border using pseudo-element */
.rugged-section-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    /* Use a very light version of the main background color to keep the border subtle */
    background: rgba(227, 222, 209, 0.5); /* #FFFBF1 at 50% opacity */
    z-index: -1;
    clip-path: polygon(
        /* Top edge - torn (same pattern as container) */
        0% 0%, 2% 1.5%, 4% 0.5%, 6% 1.8%, 8% 0.2%, 10% 1.6%, 12% 0.8%, 14% 1.9%, 
        16% 0.3%, 18% 1.4%, 20% 0.7%, 22% 1.7%, 24% 0.4%, 26% 1.5%, 28% 0.9%, 
        30% 1.8%, 32% 0.3%, 34% 1.6%, 36% 0.6%, 38% 1.9%, 40% 0.2%, 42% 1.4%, 
        44% 0.8%, 46% 1.7%, 48% 0.5%, 50% 1.6%, 52% 0.3%, 54% 1.8%, 56% 0.7%, 
        58% 1.5%, 60% 0.4%, 62% 1.9%, 64% 0.6%, 66% 1.4%, 68% 0.8%, 70% 1.7%, 
        72% 0.3%, 74% 1.6%, 76% 0.5%, 78% 1.8%, 80% 0.7%, 82% 1.4%, 84% 0.2%, 
        86% 1.9%, 88% 0.6%, 90% 1.5%, 92% 0.4%, 94% 1.7%, 96% 0.8%, 98% 1.6%, 100% 0%,
        /* Right edge - torn (same pattern as container) */
        100% 0%, 98.5% 2%, 100% 4%, 98% 6%, 100% 8%, 98.4% 10%, 100% 12%, 98.1% 14%, 
        100% 16%, 98.6% 18%, 100% 20%, 98.3% 22%, 100% 24%, 98.5% 26%, 100% 28%, 
        98.1% 30%, 100% 32%, 98.6% 34%, 100% 36%, 98.3% 38%, 100% 40%, 98.5% 42%, 
        100% 44%, 98.2% 46%, 100% 48%, 98.6% 50%, 100% 52%, 98.3% 54%, 100% 56%, 
        98.5% 58%, 100% 60%, 98.1% 62%, 100% 64%, 98.6% 66%, 100% 68%, 98.3% 70%, 
        100% 72%, 98.5% 74%, 100% 76%, 98.2% 78%, 100% 80%, 98.6% 82%, 100% 84%, 
        98.3% 86%, 100% 88%, 98.5% 90%, 100% 92%, 98.1% 94%, 100% 96%, 98.6% 98%, 100% 100%,
        /* Bottom edge - torn (same pattern as container) */
        100% 100%, 98% 98.5%, 96% 99.5%, 94% 98.2%, 92% 99.8%, 90% 98.4%, 88% 99.2%, 
        86% 98.1%, 84% 99.7%, 82% 98.6%, 80% 99.3%, 78% 98.3%, 76% 99.5%, 74% 98.1%, 
        72% 99.1%, 70% 98.2%, 68% 99.7%, 66% 98.4%, 64% 99.6%, 62% 98.1%, 60% 99.8%, 
        58% 98.5%, 56% 99.3%, 54% 98.2%, 52% 99.7%, 50% 98.4%, 48% 99.5%, 46% 98.3%, 
        44% 99.2%, 42% 98.6%, 40% 99.8%, 38% 98.1%, 36% 99.4%, 34% 98.6%, 32% 99.7%, 
        30% 98.2%, 28% 99.1%, 26% 98.5%, 24% 99.6%, 22% 98.3%, 20% 99.3%, 18% 98.7%, 
        16% 99.8%, 14% 98.4%, 12% 99.2%, 10% 98.6%, 8% 99.8%, 6% 98.1%, 4% 99.5%, 
        2% 98.4%, 0% 99%,
        /* Left edge - torn (same pattern as container) */
        0% 100%, 1.5% 98%, 0% 96%, 2% 94%, 0% 92%, 1.6% 90%, 0% 88%, 1.9% 86%, 
        0% 84%, 1.4% 82%, 0% 80%, 1.7% 78%, 0% 76%, 1.5% 74%, 0% 72%, 1.9% 70%, 
        0% 68%, 1.4% 66%, 0% 64%, 1.7% 62%, 0% 60%, 1.5% 58%, 0% 56%, 1.9% 54%, 
        0% 52%, 1.4% 50%, 0% 48%, 1.7% 46%, 0% 44%, 1.5% 42%, 0% 40%, 1.9% 38%, 
        0% 36%, 1.4% 34%, 0% 32%, 1.7% 30%, 0% 28%, 1.5% 26%, 0% 24%, 1.9% 22%, 
        0% 20%, 1.4% 18%, 0% 16%, 1.7% 14%, 0% 12%, 1.5% 10%, 0% 8%, 1.9% 6%, 
        0% 4%, 1.4% 2%, 0% 0%
    );
}

.wedding-details-header {
    text-align: center;
}

.wedding-details-header h3 {
    font-family: 'Krakatau Mountain', serif;
    font-size: 30px;
    margin-bottom: 5px;
    color: #330008;
}

.wedding-ceremony, .wedding-reception {
    max-width: 600px;
    margin: 40px auto;
    padding: 0;
}

.ceremony-details h3, .reception-details h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #330008;
    font-weight: 500;
    font-variation-settings: 'wght' 410, 'wdth' 115, 'slnt' 0;
}

.ceremony-details p, .reception-details p {
    margin: 8px 0;
    font-size: 16px;
}

.map-container {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.embedded-map {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
    display: block;
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-left: 4px;
    color: #330008;
    text-decoration: none;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(51, 0, 8, 0.3);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.map-link:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.map-link i {
    font-size: 18px;
}

.rsvp-section {
    margin: 0;
}

.rsvp-section h3 {
    font-family: 'Krakatau Mountain', serif;
    font-size: 30px;
    margin-bottom: 5px;
    color: #330008;
}

.gift-section {
    margin: 0;
}

.gift-section h3 {
    font-family: 'Krakatau Mountain', serif;
    font-size: 30px;
    margin-bottom: 5px;
    color: #330008;
}

.gift-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
}

.gift-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #330008;
    font-weight: 500;
    font-variation-settings: 'wght' 410, 'wdth' 115, 'slnt' 0;
}

.gift-content p {
    margin: 15px 0;
    line-height: 1.6;
}

.gift-subsection {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(51, 0, 8, 0.1);
}

.gift-subsection:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #A0522D;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-download-btn:hover {
    background: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pdf-download-btn i {
    font-size: 18px;
}

.gift-note {
    font-size: 14px;
    font-style: italic;
    color: #330008;
    opacity: 0.8;
    margin-top: 10px;
}

.bank-details {
    margin-top: 25px;
    padding: 20px;
}

.bank-details p {
    margin: 10px 0;
    font-size: 16px;
}

.copy-btn {
    background: #A0522D;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: #8B4513;
}

.copy-btn i {
    font-size: 11px;
}

.invitation-closing {
    margin-top: 80px;
    margin-bottom: 0;
    font-size: 18px;
}

.closing-image {
    margin-bottom: 0;
    overflow: hidden;
    width: 100%;
}

.mountains-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    background: transparent;
    transition: transform 0.3s ease;
}


.rsvp-form { 
    max-width: 500px; 
    margin: 0 auto; 
    padding: 30px; 
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #330008; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #D2B48C; border-radius: 4px; font-family: inherit; color: #330008; font-size: 16px; }
.form-group select { background-color: white; cursor: pointer; }
.form-group select option { color: #330008; background-color: white; }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { width: 100%; padding: 15px; background: #A0522D; color: white; border: none; border-radius: 4px; font-family: inherit; font-size: 16px; cursor: pointer; transition: background 0.3s; }
.submit-btn:hover { background: #8B4513; }



/* Responsive Styles */
@media (max-width: 768px) {
    .invitation {
        padding: 40px 0 0 0;
    }
    
    .invitation-header,
    .invitation-message {
        padding: 0 20px;
    }
    
    .header-image {
        height: 120px;
    }
    
    .header-decoration {
        max-width: 90px;
    }
    
    .quote-section {
        margin: 35px 0;
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .quote-text {
        font-size: 18px;
        text-align: center;
    }
    
    .quote-author {
        font-size: 16px;
        text-align: center;
        display: block;
        padding-left: 170px !important;
    }
    
    .lang-switch-floating {
        top: 20px;
        right: 20px;
    }
    
    .lang-switch-floating button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .invitation-header h1 {
        font-size: 36px;
    }
    
    .names {
        font-size: 44px;
    }
    
    .subtitle {
        font-size: 14px;
        font-weight: 100;
    }
    
    .date {
        font-size: 20px;
    }
    
    .invitation-message {
        font-size: 18px;
        margin: 40px 0;
    }
    
    .rugged-section-container {
        margin: 50px auto;
        padding: 30px 20px;
        width: 95%;
        max-width: 95%;
    }
    
    .wedding-details-header {
        margin: 0 0 40px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 24px;
    }
    
    .wedding-ceremony, .wedding-reception {
        padding: 0;
        margin: 30px 0;
    }
    
    .ceremony-details h3, .reception-details h3 {
        font-size: 20px;
    }
    
    .map-container {
        margin: 15px 0;
    }
    
    .embedded-map {
        height: 250px;
    }
    
    .rsvp-form {
        padding: 20px;
    }
    
    .form-group select {
        font-size: 16px;
        color: #330008 !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23330008' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
    }
    
    .form-group select option {
        color: #330008;
        background-color: white;
        padding: 10px;
    }
    
    .form-group textarea {
        font-size: 16px;
    }
    
    .gift-content {
        padding: 20px;
    }
    
    .gift-subsection {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .pdf-download-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .bank-details {
        padding: 15px;
    }
    
    .copy-btn {
        padding: 4px 8px;
        font-size: 11px;
        margin-left: 5px;
    }
    
    .closing-image {
        margin-bottom: 0;
    }
    
    .mountains-image {
        max-height: 50vh;
    }
    
    .photo-gallery-carousel {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .gallery-swiper {
        padding-bottom: 40px;
    }
    
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .gallery-swiper .swiper-button-next::after,
    .gallery-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
    .invitation {
        padding: 30px 0 0 0;
    }
    
    .invitation-header,
    .invitation-message {
        padding: 0 15px;
    }
    
    .header-image {
        height: 100px;
    }
    
    .header-decoration {
        max-width: 80px;
    }
    
    .quote-section {
        margin: 30px 0;
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .quote-text {
        font-size: 16px;
        text-align: center;
    }
    
    .quote-author {
        font-size: 14px;
        text-align: center;
        display: block;
        padding-left: 140px !important;
    }
    
    .wedding-details-header {
        margin: 0 0 30px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 30px;
    }
    
    .mountains-image {
        max-height: 45vh;
    }
    
    .embedded-map {
        height: 200px;
    }
}

@media (max-width: 320px) {
    .invitation {
        padding: 20px 0 0 0;
    }
    
    .invitation-header,
    .invitation-message {
        padding: 0 10px;
    }
    
    .header-image {
        height: 80px;
    }
    
    .header-decoration {
        max-width: 70px;
    }
    
    .quote-section {
        margin: 25px 0;
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .quote-text {
        font-size: 14px;
        text-align: center;
    }
    
    .quote-author {
        font-size: 12px;
        text-align: right;
        display: block;
        padding-left: 140px !important;
    }
    
    .names {
        font-size: 40px;
    }
    
    .subtitle {
        font-size: 12px;
        font-weight: 100;
    }
    
    .wedding-details-header {
        margin: 0 0 25px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 22px;
    }
    
    .mountains-image {
        max-height: 40vh;
    }
}

.label { position: absolute; top: -30px; left: 0; font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 20px; color: #330008; }
.desktop-wrapper { display: none; }
.mobile-wrapper { display: none; }

/* Navigation Styles for detail pages */
.sticky-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(51, 0, 8, 0.1);
}

.sticky-nav .logo {
    font-family: 'Krakatau Mountain', serif;
    font-size: 24px;
    font-weight: 400;
}

.sticky-nav .nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.sticky-nav .nav-links a {
    color: #330008;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.sticky-nav .nav-links a:hover {
    opacity: 0.7;
}

/* Section Styles */
.section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    color: #330008;
}

.section h2 {
    font-family: 'Krakatau Mountain', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    color: #330008;
}

/* Wedding Details Styles */
.wedding-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.detail-card h3 {
    font-family: 'Krakatau Mountain', serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #330008;
}

.detail-card p {
    margin: 12px 0;
    font-size: 16px;
    color: #330008;
    line-height: 1.6;
}

.detail-card a {
    color: #330008;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.detail-card a:hover {
    opacity: 0.7;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    color: #330008;
    font-size: 16px;
    font-style: italic;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .sticky-nav {
        padding: 12px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .sticky-nav .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sticky-nav .nav-links a {
        font-size: 12px;
    }
    
    .section {
        padding: 20px;
        margin: 40px auto;
    }
    
    .section h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .wedding-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .detail-card h3 {
        font-size: 24px;
    }
}

/* Scroll indicator for demo */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: white; font-size: 12px; opacity: 0.7; text-align: center;
}
.scroll-indicator::before { content: '↓'; display: block; font-size: 24px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Style Request Pop-up */
.style-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.style-popup-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    text-align: center;
}

@keyframes slideUp {
    from { 
        transform: translateY(30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.style-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #330008;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.style-popup-close:hover {
    opacity: 1;
    background: rgba(51, 0, 8, 0.1);
    transform: rotate(90deg);
}

.style-popup-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.style-popup-content h3 {
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    color: #330008;
    margin-bottom: 20px;
    font-weight: 500;
}

.style-popup-text {
    font-size: 16px;
    color: #330008;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: left;
}

.style-popup-btn {
    background: #A0522D;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'acumin-variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.style-popup-btn:hover {
    background: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile styles for popup */
@media (max-width: 768px) {
    .style-popup-content {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .style-popup-content h3 {
        font-size: 20px;
        font-weight: 500;
    }
    
    .style-popup-text {
        font-size: 15px;
    }
    
    .style-popup-icon {
        font-size: 40px;
    }
}


