/* Modern Venues Styles */
.venues-section {
    padding: 5rem 7%;
    background-color: #f4f7f6;
}

.venues-section .heading {
    text-align: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 4rem;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.venue-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
}

.venue-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

.venue-card .image {
    height: 250px;
    overflow: hidden;
}

.venue-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.venue-card:hover .image img {
    transform: scale(1.1);
}

.venue-card .content {
    padding: 2rem;
}

.venue-card .content h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.venue-card .content p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.venue-card .details-btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin-right: 11.3%;
    background: var(--primary);
    color: var(--white);
    border-radius: .5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.venue-card .details-btn:hover {
    background: var(--secondary);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slide-down 0.4s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #333;
}

#event-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

#event-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 480px) {
    .venues-grid {
        grid-template-columns: 1fr;
    }

    .venue-card .content h3 {
        font-size: 2rem;
    }

    .venue-card .content {
        padding: 1.5rem;
    }

    .modal-content {
        width: 90%;
        padding: 2rem;
    }

    #event-title {
        font-size: 2.2rem;
    }

    #event-description {
        font-size: 1.5rem;
    }
}
