﻿/* Panel that sits inside the hero */
.hero-search-panel {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9); /* works on normal page */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px); /* looks nice if over an image */
}

/* Make labels small and neat */
.hero-search-row .form-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
    color: #495057;
}

/* Taller inputs & button for better UX */
.hero-search-panel .form-control,
.hero-search-panel .btn {
    border-radius: 0.6rem;
    min-height: 44px;
}

/* Strong primary button */
.hero-search-panel .btn-primary {
    font-weight: 600;
}

/* On small screens – stack nicely */
@media (max-width: 767.98px) {
    .hero-search-panel {
        padding: 0.9rem;
        border-radius: 0.9rem;
    }

    .hero-search-row > [class^="col-"],
    .hero-search-row > [class*=" col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-search-row .d-flex.align-items-end {
        margin-top: 0.25rem;
    }
}
/* Fixed-size frame for venue images */
.venue-image-frame {
    width: 100%; /* fill card width */
    height: 200px; /* your fixed height – adjust if needed */
    overflow: hidden; /* clip tall images */
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

    /* Image behavior:
   - never upscale small images
   - shrink big images to fit width
   - maintain aspect ratio
*/
    .venue-image-frame img {
        max-width: 100%; /* if wider than frame → shrink */
        width: auto; /* keep original width if smaller */
        height: auto; /* maintain aspect ratio */
        display: block;
    }
/* Fixed-size frame for rental unit images */
.rentalunit-image-frame {
    width: 100%; /* fill card width */
    height: 200px; /* fixed height – adjust if you want */
    overflow: hidden; /* clip tall images */
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

    /* Image behavior:
   - never upscale small images
   - shrink big images to fit width
   - maintain aspect ratio
*/
    .rentalunit-image-frame img {
        max-width: 100%; /* if wider than card → shrink */
        width: auto; /* keep original width if smaller */
        height: auto; /* keep aspect ratio */
        display: block;
    }
.venue-main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
}

.venue-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.venue-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.35rem;
    cursor: pointer;
    flex: 0 0 auto;
}
.unit-main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
}

.unit-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.unit-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.35rem;
    cursor: pointer;
    flex: 0 0 auto;
}
/* Main image */
.venue-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    cursor: pointer;
    transition: transform .25s ease;
}

    .venue-main-image:hover {
        transform: scale(1.01);
    }

/* Thumbs strip */
.venue-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.venue-thumb {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: .95;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .2s ease, opacity .2s ease;
}

    .venue-thumb:hover {
        transform: translateY(-1px);
        opacity: 1;
    }

.venue-more {
    height: 70px;
    border-radius: 12px;
    border: 1px dashed rgba(0,0,0,.2);
    background: rgba(0,0,0,.03);
    font-weight: 600;
}

/* Amenities */
.amenity-badge {
    background: rgba(13,110,253,.08);
    color: #0d6efd;
    border: 1px solid rgba(13,110,253,.18);
    padding: .55rem .7rem;
    border-radius: 999px;
    font-weight: 600;
}

/* Modal image */
.venue-modal-img {
    max-height: 80vh;
    object-fit: contain;
    background: #000;
}

.venue-caption {
    background: rgba(0,0,0,.55);
    padding: .4rem .7rem;
    border-radius: 999px;
    display: inline-block;
}
