/* Events Hero */
.events-hero {
    padding: 160px 20px 80px;
    background-color: #1b3022;
    color: white;
    text-align: center;
}

/* Upcoming Event Items */
.upcoming-events {
    padding: 100px 20px;
    background-color: #ffffff;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 30px;
    background: #fcf9f2; /* Logo-inspired parchment */
    border-radius: 24px;
    margin-bottom: 25px;
    border: 1px solid #e0eadd;
    transition: transform 0.3s ease;
}

.event-item:hover {
    transform: scale(1.01);
    border-color: #4a7c44;
}

.event-date {
    background: #2e4f2d; /* Forest Green */
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    margin-right: 30px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-info {
    flex: 2;
}

.event-meta {
    font-weight: bold;
    color: #b39347; /* Logo Gold */
    margin-bottom: 10px;
}

/* Calendar Button Styling */
.calendar-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background-color: transparent;
    border: 2px solid #b39347; /* Logo Gold */
    color: #b39347;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap; /* Keeps it on one line */
    transition: all 0.3s ease;
}

.calendar-btn:hover {
    background-color: #b39347;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 147, 71, 0.3);
}

.plus-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    font-weight: 400;
}


/* Past Highlights Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.highlight-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* Updated Highlight Card Hover */
.view-gallery {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.highlight-card:hover .view-gallery {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Fix */
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    .event-date {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .event-cta {
        width: 90%;
        margin-top: 15px;
        position:relative;
        right: 4vw;
    }
    .calendar-btn {
        width: 100%;
        justify-content: center;
        
    }
}