/*
 * Wedding Websitebody {
    font-family: 'Crimson Text', 'Lora', serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #FAF8F3;
    background-image: url('../photos/background_leafs.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}en & Purple Color Palette
 * 
 * Primary Green: #427B40 (main color, buttons, headings)
 * Primary Purple: #79407B (accent color, hover states, highlights)
 * 
 * Light variations for backgrounds:
 * - Light Green: #E8F5E7, #F0F8EF
 * - Light Purple: #F5E8F4, #F8F0F7
 * 
 * Neutral Colors:
 * - Text: #2E2E2E, #4A4A4A
 * - Background: #FAFAFA
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FAFCFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 300;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #6B8E6F;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(250, 248, 243, 0.85) 0%, rgba(248, 240, 239, 0.85) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #6B8E6F;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6B8E6F;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
    z-index: 3;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
    z-index: 3;
}

.hero-content {
    z-index: 3;
    position: relative;
    padding: 3rem 2rem;
    background: rgba(250, 248, 243, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid #6B8E6F;
    min-width: 780px;
    max-width: 780px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #6B8E6F;
    margin-bottom: 1rem;
    font-weight: 700;
}

.couple-names {
    font-size: 3rem;
    color: #8a9bb0;
    margin-bottom: 1rem;
    font-weight: 400;
}

.wedding-date {
    font-size: 1.5rem;
    color: #e6d366;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Country Style Decorations */
.country-decoration {
    font-size: 2rem;
    color: #e6d366;
    margin: 1rem 0;
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.location-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.country-ornament {
    font-size: 2rem;
    color: #8a9bb0;
    animation: gentle-sway 3s ease-in-out infinite;
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(250, 245, 234, 0.8) 0%, rgba(247, 242, 227, 0.8) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
}



.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .photo-caption {
    transform: translateY(0);
}

.story-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2a2a2a;
    line-height: 1.8;
}

/* Wedding Details Section */
.details {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 247, 249, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%);
    position: relative;
}

.details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
}



.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-card {
    background: linear-gradient(135deg, rgba(255, 254, 248, 0.9) 0%, rgba(253, 249, 240, 0.9) 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #e9d78d;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #6B8E6F;
    margin-bottom: 1rem;
}

.detail-card p {
    margin-bottom: 0.5rem;
    color: #2a2a2a;
}

.detail-card img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 4px;
}

.detail-card a {
    color: #6B8E6F;
    text-decoration: none;
    font-weight: 500;
}

.detail-card a:hover {
    color: #8a9bb0;
    text-decoration: underline;
}

/* Wedding Location Map */
.location-section {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(255, 254, 248, 0.9) 0%, rgba(253, 249, 240, 0.9) 100%);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #e9d78d;
    position: relative;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #6B8E6F;
    border-radius: 10px 10px 0 0;
}

.location-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #6B8E6F;
    text-align: center;
    margin-bottom: 1.5rem;
}

.location-info {
    text-align: center;
    margin-bottom: 2rem;
}

.location-info h4 {
    font-size: 1.5rem;
    color: #6B8E6F;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.location-info p {
    color: #8a9bb0;
    font-style: italic;
    font-size: 1.1rem;
}

.venue-website {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #6B8E6F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.venue-website:hover {
    background: #e9d78d;
    transform: translateY(-1px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.map-container iframe {
    display: block;
    border-radius: 8px;
}

.location-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #6B8E6F;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(107, 142, 111, 0.3);
}

.map-link:hover {
    background: #e9d78d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 215, 141, 0.4);
}

/* Schedule Section */
.schedule {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(250, 245, 234, 0.8) 0%, rgba(247, 242, 227, 0.8) 100%);
    position: relative;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    display: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #6B8E6F;
    border: 2px solid #FAF8F3;
    box-shadow: 0 0 0 2px #e9d78d;
}

.timeline-time {
    font-weight: 600;
    color: #6B8E6F;
    margin-bottom: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    min-width: 80px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #8a9bb0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content p {
    color: #2a2a2a;
    line-height: 1.6;
}

/* RSVP Section */
.rsvp {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(248, 240, 239, 0.8) 0%, rgba(245, 232, 231, 0.8) 100%);
    position: relative;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #6B8E6F;
}



.rsvp-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #8a9bb0;
    margin-bottom: 3rem;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6B8E6F;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

.attending-details {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(248, 240, 239, 0.9) 0%, rgba(245, 232, 231, 0.9) 100%);
    border-radius: 6px;
    border: 2px solid #e9d78d;
    position: relative;
}

.submit-btn {
    width: 100%;
    background: #6B8E6F;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #e9d78d;
}

.form-result {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #b3bfcb 0%, #9AA5B1 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #6B8E6F;
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.35rem 0;
    }

    .nav-container::before {
        content: 'Menu';
        display: block;
        text-align: center;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        color: #6B8E6F;
        text-transform: uppercase;
        padding: 0.35rem 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .navbar:hover .nav-menu,
    .navbar:focus-within .nav-menu {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .couple-names {
        font-size: 2rem;
    }

    .wedding-date {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        gap: 1rem;
    }

    .hero-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .gallery-photo {
        height: 100%;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .couple-names {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .gallery-photo {
        height: 100%;
    }

    .photo-caption {
        font-size: 0.9rem;
        padding: 1.5rem 0.75rem 0.75rem;
    }



    .location-section {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .location-title {
        font-size: 2rem;
    }

    .location-actions {
        flex-direction: column;
        align-items: center;
    }

    .map-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}