/* ===================================
   Happy Hours
=================================== */

.happy-hours {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 30px 0;
}

/* ===================================
   Venue Card
=================================== */

.venue-card {
    flex: 1 1 220px;
    max-width: 250px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;

    padding: 18px;

    text-align: center;
    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

.venue-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 130px;

    margin-bottom: 15px;

    overflow: hidden;
    border-radius: 6px;

    background: #fff;
}

.venue-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.venue-name {
    margin: 0 0 10px;

    color: var(--brand-base);

    font-size: 1.2rem;
    font-weight: 700;
}

.venue-address,
.venue-phone {
    color: #666;
    line-height: 1.5;
}

/* ===================================
   Modal
=================================== */

.modal-overlay {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    background: rgba(0,0,0,.65);

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease;

    z-index: 9999;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    position: relative;

    width: 100%;
    max-width: 720px;
    max-height: 90vh;

    overflow-y: auto;

    background: #fff;

    border-radius: 8px;

    padding: 35px;

    box-shadow: 0 15px 45px rgba(0,0,0,.35);
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: transparent;

    font-size: 32px;
    line-height: 32px;

    cursor: pointer;

    color: #888;

    transition: color .2s ease;
}

.modal-close:hover {
    color: #ae0c07;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-bottom: 25px;
}

.modal-logo {
    flex: 0 0 180px;
}

.modal-logo img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.modal-details {
    flex: 1;
}

.modal-details h2 {
    margin: 0 0 12px;
}

.modal-details p,
.modal-details div {
    margin: 6px 0;
    color: #666;
}

.modal-details a {
    color: var(--brand-base);
    text-decoration: none;
}

.modal-details a:hover {
    text-decoration: underline;
}

.modal-body {
    border-top: 1px solid #ddd;

    padding-top: 25px;

    line-height: 1.7;
}

.modal-body p:first-child {
    margin-top: 0;
}

.modal-body strong {
    color: var(--brand-base);
}

/* ===================================
   Responsive
=================================== */

@media (max-width: 1024px) {

    .venue-card {
        max-width: 300px;
    }

}

@media (max-width: 768px) {

    .happy-hours {
        gap: 18px;
    }

    .venue-card {
        flex: 1 1 300px;
        max-width: 100%;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-logo {
        flex: none;
        width: 220px;
    }

    .modal-window {
        padding: 25px;
    }

}

@media (max-width: 480px) {

    .venue-card {
        flex: 1 1 100%;
    }

    .modal-window {
        padding: 20px;
    }

}