* {
    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: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
}

/* 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: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.5px);
}

.quote-section {
    margin: 50px 0;
    padding: 30px 40px;
    text-align: center;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: #330008;
    margin-bottom: 12px;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

.quote-author {
    font-size: 14px;
    color: #330008;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.invitation-header {
    margin-bottom: 40px;
    padding: 0 40px;
}

.header-image {
    margin-bottom: 30px;
    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 6s infinite;
    animation-delay: 0s;
}

.header-img-2 {
    animation: fadeImages 6s infinite;
    animation-delay: 2s;
}

.header-img-3 {
    animation: fadeImages 6s infinite;
    animation-delay: 4s;
}

@keyframes fadeImages {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    28.33% {
        opacity: 0.8;
    }
    33.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.invitation-header h1 { 
    font-family: 'Raleway', sans-serif; 
    font-size: 48px; 
    margin-bottom: 30px; 
    font-weight: 400; 
}

.names { 
    font-family: 'Krakatau Mountain', serif; 
    font-size: 72px; 
    line-height: 1.1; 
    display: block; 
    margin-bottom: 25px;
    color: #722F37;
    text-shadow: 0 2px 4px rgba(114, 47, 55, 0.1);
}

.subtitle { 
    font-family: 'Raleway', sans-serif; 
    font-size: 28px; 
    display: block; 
    margin-top: 15px;
    font-weight: 300;
}

.date { 
    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-placeholder {
    margin: 40px 0;
    min-height: 20px;
    /* Ready for future photo integration */
}

.wedding-details-header {
    margin: 80px 0 60px 0;
    text-align: center;
}

.wedding-details-header h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #330008;
}

.wedding-ceremony, .wedding-reception {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
}

.ceremony-details h3, .reception-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #330008;
    font-weight: 500;
}

.ceremony-details p, .reception-details p {
    margin: 8px 0;
    font-size: 16px;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    color: #330008;
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.3s;
}

.map-link:hover {
    opacity: 0.7;
}

.rsvp-section {
    margin: 80px 0 60px 0;
}

.rsvp-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #330008;
}

.gift-section {
    margin: 80px 0 60px 0;
}

.gift-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    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;
}

.gift-content p {
    margin: 15px 0;
    line-height: 1.6;
}

.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 { width: 100%; padding: 12px; border: 1px solid #D2B48C; border-radius: 4px; font-family: inherit; }
.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;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    .quote-author {
        font-size: 13px;
    }
    
    .lang-switch-floating {
        top: 20px;
        right: 20px;
    }
    
    .lang-switch-floating button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .invitation-header h1 {
        font-size: 36px;
    }
    
    .quote-section {
        margin-bottom: 40px;
        padding: 30px 15px;
    }
    
    .quote-text {
        font-size: 18px;
    }
    
    .quote-author {
        font-size: 14px;
    }
    
    .names {
        font-size: 52px;
    }
    
    .subtitle {
        font-size: 22px;
    }
    
    .date {
        font-size: 20px;
    }
    
    .invitation-message {
        font-size: 18px;
        margin: 40px 0;
    }
    
    .wedding-details-header {
        margin: 60px 0 40px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 20px;
    }
    
    .wedding-ceremony, .wedding-reception {
        padding: 25px;
        margin: 40px 0;
    }
    
    .ceremony-details h3, .reception-details h3 {
        font-size: 20px;
    }
    
    .rsvp-form {
        padding: 20px;
    }
    
    .gift-content {
        padding: 20px;
    }
    
    .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;
    }
}

/* 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;
    }
    
    .quote-text {
        font-size: 15px;
    }
    
    .quote-author {
        font-size: 12px;
    }
    
    .wedding-details-header {
        margin: 50px 0 30px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 20px;
    }
    
    .mountains-image {
        max-height: 45vh;
    }
}

@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;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .quote-author {
        font-size: 11px;
    }
    
    .names {
        font-size: 40px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .wedding-details-header {
        margin: 40px 0 25px 0;
    }
    
    .wedding-details-header h3 {
        font-size: 18px;
    }
    
    .mountains-image {
        max-height: 40vh;
    }
}

.label { position: absolute; top: -30px; left: 0; font-family: 'Raleway', 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); } }


