
body {
    font-family: 'Lucida Calligraphy', cursive;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #faf3e0;
    color: #2c3e50;
    line-height: 1.6;
    background-image: url('assets/body.avif');
    background-position: center center;
    background-size: cover;
}

header {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.945);
    padding: 100px 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-image: url('assets/header.jpg');
    background-size: cover;
    background-position: center;
}

header h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-family: 'Monotype Corsiva', cursive;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: #ffffffcb;
}

header p {
    font-size: 1.8rem;
    font-family: 'Calligraffitti', cursive;
    letter-spacing: 2px;
    color: #000000c0;
    font-weight: bold;
}

section {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(171, 97, 160, 0.7), rgba(173, 216, 230, 0.7), rgba(144, 238, 144, 0.7));
    background-size: cover;
}

#events {
    padding: 40px 20px;
}

h2 {
    font-size: 3rem;
    color: #d35400;
    font-family: 'Lucida Handwriting', cursive;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

.event-card {
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.7), rgba(173, 216, 230, 0.7), rgba(144, 238, 144, 0.7));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    filter: sepia(40%) contrast(100%) brightness(90%);
}

.event-card h3 {
    font-size: 1.8rem;
    margin: 15px 0;
    color: #34495e;
    font-family: 'Monotype Corsiva', cursive;
}

.event-card p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-family: 'Calligraffitti', cursive;
}

.rsvp-btn {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.4s, transform 0.3s;
    font-size: 1.2rem;
    font-family: 'Lucida Handwriting', cursive;
}

.rsvp-btn:hover {
    background-color: #dd6000a2;
    transform: scale(1.05);
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 25px 0;
    text-align: center;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-family: 'Lucida Handwriting', cursive;
}

footer a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

.rsvp-modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.rsvp-modal-content {
    background-color:lightblue;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.rsvp-modal-content input {
    width: 90%;
    padding: 20px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.rsvp-modal-content button.submit-btn {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

.rsvp-modal-content button.submit-btn:hover {
    background-color: #dd6000a2;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rsvp-confirmation-message {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: green;
}
