/* ================= FILTER BAR ================= */
.filter-bar {
    background: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.filter-bar select,
.filter-bar button {
    padding: 8px 14px;
    margin: 5px;
    border-radius: 0px !important; /* Removes all rounded corners from filters */
}

/* ================= HOTEL CARD WRAPPER ================= */
.hotel-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ================= STARS ================= */
.stars {
    text-align: center;
    color: #f4b400;
    margin-bottom: 15px;
}
.hotel-image-card {
    position: relative;
    width: 100%;
    height: 800px; /* Increased overall height from 600px */
    border-radius: 0px !important;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.25);
} 
/* 4 Image Collage - Custom Row Heights */
.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns equal width */
    grid-template-rows: 1fr 2fr;  /* Top row (1st & 2nd): 40% height | Bottom row (3rd & 4th): 60% height */
    height: 100%;
    width: 100%;
}
 

.image-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops and fills equal areas perfectly without stretching images */
    cursor: pointer;
    transform: scale(1);
    transition: transform .8s ease;
    opacity: 0;
    animation: cinemaIn 1.6s cubic-bezier(.22,1,.36,1) forwards;
}

/* Animation delay per image */
.image-collage img:nth-child(1) { animation-delay: .2s }
.image-collage img:nth-child(2) { animation-delay: .4s }
.image-collage img:nth-child(3) { animation-delay: .6s }
.image-collage img:nth-child(4) { animation-delay: .8s }

/* Hover zoom effect */
.hotel-image-card:hover img {
    transform: scale(1.08);
}

/* Dark subtle overlay tint for image legibility */
.hotel-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.3),
        rgba(0,0,0,.0),
        rgba(0,0,0,.3)
    );
    pointer-events: none; /* Allows user clicks to pass through onto the images */
}

/* ================= THE LAYERED OUTLINE TEXT EFFECTS ================= */
.hotel-title-curve {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    max-width: 95%;
    text-align: center;
    z-index: 5;
    animation: titleFloat 1.4s ease forwards;
    white-space: normal; /* Permits text-wrapping safely if names are long */

    /* 1. REMOVES ALL BACKGROUND BOXES, SHAPES AND WINDOW BORDERS */
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;

    /* 2. TEXT STRUCTURING */
    font-weight: 900;          /* Thick ultra-bold block styling */
    text-transform: uppercase; /* Capitalization matching the target image style */
    letter-spacing: 2px;
    line-height: 1.2;
    color: #000000 !important; /* Center text fill is solid black */

    /* 3. MULTI-LAYERED TEXT OUTLINE (Thick White Inner Ring + Thin Black Outer Stroke) */
    text-shadow:
        /* --- LAYER 1: Dense White Core Boundary Wrap --- */
        -3px -3px 0 #fff,  3px -3px 0 #fff, -3px  3px 0 #fff,  3px  3px 0 #fff,
        -3px  0px 0 #fff,  3px  0px 0 #fff,  0px -3px 0 #fff,  0px  3px 0 #fff,
         2px  2px 0 #fff, -2px  2px 0 #fff,  2px -2px 0 #fff, -2px -2px 0 #fff,

        /* --- LAYER 2: Fine-Line Outer Black Framing --- */
        -4px -4px 0 #000,  4px -4px 0 #000, -4px  4px 0 #000,  4px  4px 0 #000,
        -4px  0px 0 #000,  4px  0px 0 #000,  0px -4px 0 #000,  0px  4px 0 #000,
        -5px -1px 0 #000,  5px -1px 0 #000, -5px  1px 0 #000,  5px  1px 0 #000,
        -1px -5px 0 #000,  1px -5px 0 #000, -1px  5px 0 #000,  1px  5px 0 #000;
}

@keyframes titleFloat {
    from { opacity: 0; transform: translate(-50%,-20%) scale(.9) }
    to { opacity: 1; transform: translate(-50%,-50%) scale(1) }
}

/* ================= IMAGE ENTRANCE ANIMATION ================= */
@keyframes cinemaIn {
    from {
        opacity: 0;
        transform: translateY(80px) scale(.85) rotateX(12deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* ================= LIGHTBOX PREVIEW ================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}