* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    /*position: relative;*/
    height: 100vh;
    background: url('/img/00041.jpg') no-repeat center 30%/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.content {
    position: relative;
    z-index: 1;
    color: #fff;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeIn 2s ease-in-out 0.5s;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    nav a {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.3s ease;
        animation: fadeIn 2s ease-in-out 1s;
        cursor: pointer;
    }

        nav a:hover {
            color: #556b2f;
        }

.details-section {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    color: #333;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.photo-column {
    flex: 1;
    padding-right: 2rem;
}

    .photo-column img {
        width: 100%;
        object-fit: fill;
        object-position: top;
        border-radius: 10px;
    }

.text-column {
    flex: 1;
    text-align: left;
}

.details-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.text-column p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #666;
}

/* Our Story Section */
.our-story-section {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    color: #333;
}

.our-story-container {
    max-width: 800px;
    margin: 0 auto;
}

.our-story-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.our-story-container p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
}

/* RSVP Section */
.rsvp-section {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    color: #333;
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.rsvp-container p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 1rem;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea {
        padding: 0.5rem;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .rsvp-form textarea {
        height: 100px;
        resize: vertical;
    }

    .rsvp-form button {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        background-color: #d8c3a5;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .rsvp-form button:hover {
            background-color: #d8c3a5;
        }

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        background: url('/img/00041.jpg') no-repeat center 100%/cover;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

        nav a {
            font-size: 1rem;
        }

    .details-section {
        padding: 2rem 1rem;
        background: url('/img/0048.jpg') no-repeat center center/cover;
        background-size: cover;
    }

    .details-container {
        display: block;
        max-width: 100%;
    }

    .photo-column {
        display: none;
    }

    .text-column {
        background: rgba(255, 255, 255, 0.8);
        padding: 1rem;
        border-radius: 10px;
    }

    .details-section h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .text-column p {
        font-size: 1rem;
    }

    .our-story-section,
    .rsvp-section {
        padding: 2rem 1rem;
    }

    .rsvp-section {
        margin-bottom: 45px;
    }

        .our-story-section h2,
        .rsvp-section h2 {
            font-size: 2rem;
        }

    .our-story-container p,
    .rsvp-container p {
        font-size: 1rem;
    }

    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea,
    .rsvp-form button {
        font-size: 0.9rem;
    }
}
