/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2c2c2c;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: #f5f5f5;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

/* Header styles */
header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 5px;
}

.tagline {
    color: #666;
    font-size: 1em;
}

/* Main content styles */
main {
    padding: 30px;
    background-color: #e8e8e8;
}

.form-container {
    background-color: #e8e8e8;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c4dff;
}

/* RSVP Button */
.rsvp-button {
    width: 100%;
    padding: 15px;
    background-color: #7c4dff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.rsvp-button:hover {
    background-color: #6a3de8;
}

.rsvp-button:active {
    transform: translateY(1px);
}

/* Footer styles */
footer {
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.footer-nav a:hover {
    color: #7c4dff;
}

.footer-nav a.active {
    text-decoration: underline;
    font-weight: bold;
}

.copyright {
    color: #666;
    font-size: 12px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 20px;
    color: #333;
}

.modal-button {
    padding: 10px 30px;
    background-color: #7c4dff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.modal-button:hover {
    background-color: #6a3de8;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        max-width: 100%;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Homepage specific styles */
.homepage-container {
    max-width: 1200px;
    background-color: #fff;
}

.homepage-header {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-bottom: none;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo img {
    width: 50px;   
    height: 50px;  
    object-fit: contain; 
    border-radius: 8px;  
}


.homepage-header h1 {
    color: #333;
    font-size: 2.5em;
    margin: 0;
}

/* Search section */
.search-section {
    padding: 20px 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar:focus {
    border-color: #7c4dff;
}

.search-button {
    padding: 12px 20px;
    background-color: #7c4dff;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #6a3de8;
}

/* Events grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 30px;
    background-color: #f5f5f5;
}

.event-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.event-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.event-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

.learn-more {
    color: #7c4dff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.learn-more:hover {
    color: #6a3de8;
    text-decoration: underline;
}

/* Additional page styles */
.page-content {
    padding: 30px;
    background-color: #fff;
    min-height: 400px;
}

.page-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2em;
}

.page-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.contact-info {
    margin-top: 30px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
}
