/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #e8491d;
    /* A vibrant accent color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    margin-bottom: 15px;
    color: #222;
    /* Darker headings */
}

h2 {
    font-size: 2em;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-top: 30px;
}

h3 {
    font-size: 1.5em;
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping for smaller screens */
}

.site-header .logo img {
    max-height: 60px;
    /* Adjust as needed */
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    /* Allow nav items to wrap */
    justify-content: center;
    /* Center nav items when they wrap */
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    font-weight: bold;
    color: #333;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    /* Add 'active' class to current page link if needed */
    color: #e8491d;
    text-decoration: none;
}

/* Main Content Area */
.site-main {
    padding: 30px 0;
}

.content-section {
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Event Grid & Cards */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.event-card img {
    width: 100%;
    /* Make image take full width of card */
    max-height: 150px;
    /* Control image height */
    object-fit: cover;
    /* Or 'contain' depending on preference */
    border-radius: 3px;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.event-card .event-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.event-card .event-location {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 0.95em;
    margin-bottom: 10px;
    flex-grow: 1;
    /* Allows description to take available space */
}

.details-link {
    display: inline-block;
    background-color: #e8491d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin-top: auto;
    /* Pushes button to bottom of card */
    transition: background-color 0.3s ease;
}

.details-link:hover {
    background-color: #c6340f;
    text-decoration: none;
}

/* Gallery Grid (for collaborations, etc.) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item p {
    font-weight: bold;
    color: #444;
}


/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer a {
    color: #e8491d;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
    /* For proper spacing of images */
}

.social-links img {
    /* If using actual icon images */
    width: 30px;
    height: 30px;
    vertical-align: middle;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .site-header .logo {
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .event-grid {
        grid-template-columns: 1fr;
        /* Stack cards on smaller screens */
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

    .event-card img {
        max-height: 120px;
    }
}