/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #f5f2ed;
    color: #5a5a5a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.lang-btn:hover {
    background: #e8e4dd;
}

.lang-btn.active {
    background: #a89d8f;
    color: white;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #a89d8f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #a89d8f;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f5f2ed 0%, #faf8f5 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.welcome-text {
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a89d8f;
    margin-bottom: 30px;
    font-weight: 300;
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #5a5a5a;
    margin: 30px 0;
    line-height: 1.2;
}

.couple-names .name {
    display: block;
}

.ampersand {
    font-size: 50px;
    display: block;
    margin: 10px 0;
    color: #a89d8f;
}

.wedding-date {
    font-size: 24px;
    letter-spacing: 2px;
    color: #5a5a5a;
    margin: 30px 0;
}

.wedding-location {
    font-size: 20px;
    line-height: 1.8;
    color: #7a7a7a;
    margin-top: 30px;
}

/* Floral Borders */
.floral-border {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.floral-border.top-left {
    top: 50px;
    left: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="15" fill="%23d4a373" opacity="0.3"/><circle cx="80" cy="70" r="12" fill="%23c89b6d" opacity="0.3"/><circle cx="60" cy="90" r="10" fill="%23b88b5d" opacity="0.3"/></svg>');
}

.floral-border.top-right {
    top: 50px;
    right: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="150" cy="50" r="15" fill="%23d4a373" opacity="0.3"/><circle cx="120" cy="70" r="12" fill="%23c89b6d" opacity="0.3"/><circle cx="140" cy="90" r="10" fill="%23b88b5d" opacity="0.3"/></svg>');
}

.floral-border.bottom-left {
    bottom: 50px;
    left: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="150" r="15" fill="%23d4a373" opacity="0.3"/><circle cx="80" cy="130" r="12" fill="%23c89b6d" opacity="0.3"/><circle cx="60" cy="110" r="10" fill="%23b88b5d" opacity="0.3"/></svg>');
}

.floral-border.bottom-right {
    bottom: 50px;
    right: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="150" cy="150" r="15" fill="%23d4a373" opacity="0.3"/><circle cx="120" cy="130" r="12" fill="%23c89b6d" opacity="0.3"/><circle cx="140" cy="110" r="10" fill="%23b88b5d" opacity="0.3"/></svg>');
}

/* Section Styles */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-style: italic;
    color: #5a5a5a;
    margin-bottom: 20px;
}

.divider {
    width: 100px;
    height: 1px;
    background: #a89d8f;
    margin: 0 auto;
}

/* Schedule Section */
.schedule {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
}

.event-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #e8e4dd;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fafaf8;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-card.featured {
    background: linear-gradient(135deg, #f5f2ed 0%, #faf8f5 100%);
    border: 2px solid #a89d8f;
}

.event-day {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a89d8f;
    margin-bottom: 20px;
    font-weight: 400;
}

.event-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: italic;
    color: #5a5a5a;
    margin: 15px 0;
}

.event-location {
    font-size: 18px;
    color: #7a7a7a;
    margin: 15px 0;
}

.event-time {
    font-size: 24px;
    color: #a89d8f;
    margin-top: 20px;
    font-weight: 400;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #5a5a5a;
    margin: 30px 0 15px 0;
}

.location-info h3:first-child {
    margin-top: 0;
}

.location-info p {
    font-size: 18px;
    line-height: 1.8;
    color: #7a7a7a;
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    display: block;
}

/* RSVP Section */
.rsvp {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.rsvp-text {
    font-size: 20px;
    color: #7a7a7a;
    margin-bottom: 20px;
}

.rsvp-website {
    margin: 30px 0;
}

.rsvp-website a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #a89d8f;
    text-decoration: none;
    border-bottom: 2px solid #a89d8f;
    transition: all 0.3s ease;
}

.rsvp-website a:hover {
    color: #5a5a5a;
    border-color: #5a5a5a;
}

.rsvp-note {
    margin-top: 40px;
    padding: 20px;
    background: #f5f2ed;
    border-radius: 10px;
}

.rsvp-note p {
    font-size: 16px;
    color: #7a7a7a;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px;
    background: #f5f2ed;
}

.floral-divider {
    width: 150px;
    height: 1px;
    background: #a89d8f;
    margin: 0 auto 30px;
}

.footer p {
    font-size: 14px;
    color: #a89d8f;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        top: 10px;
        padding: 10px 15px;
    }

    .nav-menu ul {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .language-selector {
        top: 80px;
        right: 10px;
    }

    .couple-names {
        font-size: 50px;
    }

    .ampersand {
        font-size: 35px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floral-border {
        width: 100px;
        height: 100px;
    }

    .floral-border.top-left,
    .floral-border.top-right {
        top: 20px;
    }

    .floral-border.top-left,
    .floral-border.bottom-left {
        left: 10px;
    }

    .floral-border.top-right,
    .floral-border.bottom-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .couple-names {
        font-size: 40px;
    }

    .wedding-date {
        font-size: 20px;
    }

    .wedding-location {
        font-size: 16px;
    }

    section {
        padding: 60px 15px;
    }
}