/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

header {
    background: linear-gradient(135deg, #0056a3, #0078d7);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"%3E%3Cpath fill="%23ffffff" d="M60 0L90 30L60 60L30 30L60 0Z"/%3E%3Cpath fill="%230056a3" d="M30 30L60 60L30 90L0 60L30 30ZM90 30L120 60L90 90L60 60L90 30Z"/%3E%3C/svg%3E') repeat;
    opacity: 0.2;
    z-index: 0;
}

header .hero-text {
    position: relative;
    z-index: 1;
}

header .hero-text h1 {
    font-size: 2.4rem;
    margin: 0;
    font-weight: bold;
}

header .hero-text p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

main {
    padding: 2rem 1rem;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.card {
    background: #f3f9ff;
    border: 2px solid #0056a3;
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1 1 calc(33.33% - 2rem);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    min-width: 250px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"%3E%3Cpath fill="%23ffffff" d="M60 0L90 30L60 60L30 30L60 0Z"/%3E%3Cpath fill="%230056a3" d="M30 30L60 60L30 90L0 60L30 30ZM90 30L120 60L90 90L60 60L90 30Z"/%3E%3C/svg%3E') repeat;
    opacity: 0.1;
    z-index: 0;
    border-radius: 10px;
}

.card h2, .card p, .card a {
    position: relative;
    z-index: 1;
}

a {
    color: black;
    text-decoration: none;
    border-bottom: 1px dotted #000;
}

.card h2 {
    color: #0056a3;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card p {
    margin: 0;
    font-size: 1rem;
}

.details {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.rsvp {
    text-align: center;
}

.rsvp .button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #0056a3;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.rsvp .button:hover {
    background-color: #00448a;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #0056a3;
    color: white;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
        min-width: auto;
    }

    header .hero-text h1 {
        font-size: 2rem;
    }

    header .hero-text p {
        font-size: 1rem;
    }

    .details {
        font-size: 1rem;
    }

    .rsvp .button {
        font-size: 0.9rem;
    }
}
