* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4a574;
    --secondary-color: #8b7355;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #faf8f5;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--background-light);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,100 Q300,200 600,100 T1200,100 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.ampersand {
    font-size: 6rem;
    display: inline-block;
    margin: 0 20px;
    color: rgba(255, 255, 255, 0.9);
}

.wedding-date {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s both;
    margin-bottom: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* Intro Section */
.intro {
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.bride-groom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.person {
    text-align: center;
}

.person-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.person-title {
    color: var(--primary-color);
    font-style: italic;
}

.heart-divider {
    font-size: 3rem;
    color: var(--primary-color);
}

.love-story {
    text-align: center;
    padding: 30px;
    background: var(--background-light);
    border-radius: 10px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    background: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Details Section */
.details {
    background: var(--white);
}

.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-card {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.detail-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.detail-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.detail-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.detail-subtext {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Location Section */
.location {
    background: var(--background-light);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.map-info {
    text-align: center;
}

.map-address {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.directions-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow);
}

.directions-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Gift Section */
.gift {
    background: var(--background-light);
    text-align: center;
}

.gift-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: -30px auto 50px;
    font-style: italic;
}

.qr-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 350px));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

.qr-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.qr-header {
    margin-bottom: 20px;
}

.bank-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.qr-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 10px;
    background: var(--white);
    border: 2px solid var(--background-light);
    border-radius: 10px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bank-info {
    border-top: 1px solid var(--background-light);
    padding-top: 15px;
}

.account-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 5px;
}

.account-number {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.bank-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* RSVP Section */
.rsvp {
    background: var(--white);
    text-align: center;
}

.rsvp-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.rsvp-info {
    font-size: 1.1rem;
}

.rsvp-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.rsvp-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 10px;
    white-space: nowrap;
}

.footer-date {
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 3rem;
    }
    
    .ampersand {
        font-size: 4rem;
        margin: 0 10px;
    }
    
    .qr-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .bride-groom {
        gap: 30px;
    }
    
    .person-image {
        width: 150px;
        height: 150px;
    }
    
    .heart-divider {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .details-content {
        gap: 30px;
    }
    
    .footer-names {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        text-align: center;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .ampersand {
        font-size: 3rem;
        display: block;
        margin: 10px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-text,
    .footer-names,
    .footer-date {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-names {
        font-size: 1.8rem;
        line-height: 1.4;
        white-space: normal;
        word-spacing: 9999px;
    }
    
    .footer-names::before {
        content: '';
        display: block;
        width: 0;
    }
    
    .rsvp,
    .gift,
    .location,
    .details,
    .intro {
        text-align: center;
    }
    
    .qr-container,
    .details-content {
        justify-content: center;
    }
}
