/* EVENTS PAGE */

/* Main content wrapper */
.main-content {
    min-height: 80vh;
    margin-top: 10%;
}

/* Header */
.hv-events-header {
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.hv-events-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #2e7d32;
    font-weight: bold;
}

.hv-events-header p {
    font-size: 1rem;
    opacity: 0.9;
    color: #1b5e20;
}

/* Container */
.hv-events-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Grid */
.hv-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Card */
.hv-event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column; /* allow pushing button down */
    height: 100%; /* equal height cards */
}

.hv-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.hv-event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Content inside card */
.hv-event-content {
    flex: 1; /* take up all space between image & button */
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.hv-event-title {
    font-size: 1.25rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.hv-event-date {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.hv-event-description {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    flex-grow: 0; /* text doesn't push button */
}

/* Button pinned to bottom */
.hv-btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    background: #2e7d32;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    margin-top: auto; /* pushes button to bottom */
    margin-left:auto;
    margin-right:auto;
    width:70%;
    text-align: center;
    align-items: center;
}

.hv-btn:hover {
    background: #1b5e20;
    color: #fff;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}




















/* Current Projects Section */
.events-main-content {
    margin-top: 5rem;
}

.hv-event-card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
