/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", serif;
    color: #222;
    background-color: #fff;
    line-height: 1.6;
    padding: 0 20px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* HEADER */
.header {
    text-align: center;
    padding: 40px 0;
    animation: fadeInUp 1s ease-out;
}

.header h1 {
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.header p {
    font-size: 24px;
    color: #666;
}

/* WHERE & WHEN */
.where-when {
    padding: 60px 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.where-when h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.events {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.event {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.event .time {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.event h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event p {
    font-size: 16px;
    color: #666;
}

/* RSVP */
.rsvp {
    padding: 60px 0;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.rsvp h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #555;
}

/* CONTACT */
.contact {
    padding: 60px 0;
    animation: fadeInUp 1s ease-out 2s both;
}

.contact h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.contacts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    margin-bottom: 5px;
}

.couple {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.couple div {
    flex: 1;
    min-width: 200px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #eee;
    animation: fadeIn 1s ease-out 2.5s both;
}

.footer p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .events, .contacts, .couple {
        flex-direction: column;
        align-items: center;
    }

    .header h1 {
        font-size: 36px;
    }
}