/* exploreEvents.css */
@import url('/css/base.css');
* {
  font-family: 'Poppins', sans-serif !important;
}

body {
    /* font-family: 'Playfair Display', serif; */
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    display: flex;
  flex-direction: column;
  min-height: 100vh;  /* full viewport height */
  margin: 0; 
}
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    padding-bottom: 4rem;
    flex: 1;
  display: flex;
  flex-direction: column;
}

.tagline {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.9;
}
.volunteer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.volunteer-title {
    margin: 0;
    color: #2c3e50;
}
.filter-container {
    display: flex;
    gap: 15px;
    align-items: center;
}
select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.event-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 100%;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.card-image-small {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    background: #f0f2f5;
}

.card-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #405735;
    margin-bottom: 0.25rem;
}

.event-address, .event-organizer {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid #f1f3f4;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* Base button style */
.btn {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

/* Specific button style for "Details" */
.btn.details-btn-full {
    background: #6B7B5A;
    color: white;
    width: 100%; /* Make it full-width */
}
.btn.details-btn-full:hover {
    background: #5a684c;
}
/* --- End New Card Styling --- */


/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: white;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
    color: #666;
    text-decoration: none;
}

.page-btn.active {
    background: linear-gradient(135deg, #6B7B5A, #8B9A7A);
    color: white;
    border-color: #6B7B5A;
}

.page-btn:hover:not(.active) {
    background: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* --- End Pagination --- */

/* --- Empty State --- */
.empty-state, .practice-state {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px;
}
.empty-state, .practice-state p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

#eventsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 2rem; /* Spacing between cards */
    width: 100%;
}

@media (max-width: 900px) {
    #eventsContainer {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

@media (max-width: 600px) {
    #eventsContainer {
        grid-template-columns: 1fr; /* 1 column */
    }
}