/* Extracted from hotels.php */

/* Hero Section */
.hotels-hero {
    padding: 120px 20px 160px;
    background: linear-gradient(rgba(5, 10, 20, 0.4), rgba(5, 10, 20, 0.6)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?q=80&w=2070') center/cover;
    position: relative;
    text-align: center;
}
.hotels-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0 0 15px 0;
}
.hotels-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}
.is-hidden {
    display: none !important;
}

/* Scroll Lock Utility */
body.scroll-lock {
    overflow: hidden !important;
}

/* Search Bar Styles */
.search-bar-wrapper { width: 100%; margin-top: -60px; background: transparent; position: relative; z-index: 1000; }
.search-bar-container { background: rgba(13, 26, 41, 0.85); backdrop-filter: blur(15px); padding: 35px 40px 45px; display: flex; justify-content: center; position: relative; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 15px 40px rgba(0,0,0,0.4); max-width: 1200px; margin-left: auto; margin-right: auto; border-radius: 12px; margin-bottom: 0px; }
.search-bar { display: flex; gap: 15px; background: transparent; width: 100%; align-items: flex-end; position: static; }
.search-input-group { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.search-input-group .group-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; display: block; width: 100%; }
.input-with-icon { display: flex; align-items: center; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0 15px; width: 100%; transition: border-color 0.2s; box-sizing: border-box; }
.input-with-icon:hover, .input-with-icon:focus-within { border-color: rgba(255,255,255,0.3); }
.input-with-icon .material-symbols-outlined { color: rgba(255,255,255,0.6); font-size: 22px; margin-right: 10px; flex-shrink: 0; }
.search-input-group input { border: none; outline: none; width: 100%; font-weight: 600; color: #fff !important; background: transparent; cursor: pointer; font-size: 1.1rem; padding: 12px 0; -webkit-text-fill-color: #fff; box-sizing: border-box; }
.search-input-group input::placeholder { color: rgba(255,255,255,0.8) !important; -webkit-text-fill-color: rgba(255,255,255,0.8); font-weight: 500; }

.btn-search { 
    background: #008cff;
    color: #ffffff; 
    border: none; 
    border-radius: 40px; 
    padding: 14px 70px; 
    font-weight: 700; 
    font-size: 1.2rem; 
    cursor: pointer; 
    transition: 0.3s;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(0, 140, 255, 0.4);
    z-index: 1001;
}
.btn-search:hover { background: #0077d9; transform: translateX(-50%) translateY(-2px); box-shadow: 0 12px 25px rgba(0, 140, 255, 0.5); }

/* Guests Dropdown */
.guests-dropdown { display: none; position: absolute; top: 100%; left: 0; width: 320px; background: #1a2533; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); padding: 20px; z-index: 1100; margin-top: 10px; cursor: default; }
.guests-dropdown.active, .guests-dropdown.is-active { display: block; }
.guest-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.guest-label { color: #fff; font-weight: 600; font-size: 0.95rem; }
.guest-sublabel { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-top: 3px; }
.guest-counter { display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; padding: 5px 10px; }
.btn-count { background: transparent; border: none; color: var(--gold, #c5a059); font-size: 1.2rem; font-weight: bold; cursor: pointer; padding: 0 5px; }
.btn-count:disabled { color: rgba(255,255,255,0.2); cursor: not-allowed; }
.count-val { color: #fff; font-weight: 600; min-width: 20px; text-align: center; }
.btn-apply-guests { width: 100%; background: var(--gold, #c5a059); color: #000; border: none; border-radius: 4px; padding: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-apply-guests:hover { filter: brightness(1.1); }
.section-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #fff; margin-bottom: 30px; }

/* Filter Buttons */
.hotel-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    color: #e5e2e2;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.5); }
.filter-btn.active, .filter-btn.is-active {
    background: #eb2026;
    color: #fff;
    border-color: #eb2026;
    box-shadow: 0 4px 15px rgba(235, 32, 38, 0.3);
}

/* Google Review Badge */
.google-review-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.85rem;
    margin-top: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}
.google-review-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.gr-star { color: #fbbc04; margin-right: 4px; font-size: 1.05rem; }
.gr-count { color: #a0a0a0; margin-left: 6px; font-size: 0.8rem; }

/* Refactored Classes for PHP File */
.search-group-large { flex: 1.5; }
.search-group-pointer { flex: 1; cursor: pointer; }
.search-group-guests { flex: 1; position: relative; }
.pointer-input { cursor: pointer; }
.hotel-title-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mb-0 { margin-bottom: 0; }
.badge-no-margin { margin: 0; flex-shrink: 0; }
.gr-rating-text { font-weight: 600; color: #fff; }
.mt-8 { margin-top: 8px; }
.modal-content-hidden { display: none; }
.view-more-icon { width: 12px; height: 12px; vertical-align: middle; margin-left: 4px; }

/* Hotel Cards Layout */
@media (min-width: 900px) {
    .hotel-list { display: flex; flex-direction: column; gap: 30px; }
    .hotel-card {
        display: flex;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 380px;
        height: auto;
    }
    .hotel-gallery-col { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; align-self: stretch; }
    .hotel-info-col { flex: 1; padding: 20px 30px; display: flex; flex-direction: column; justify-content: space-between; }
}

@media (max-width: 899px) {
    .hotel-list { display: flex; flex-direction: column; gap: 20px; }
    .hotel-card {
        display: flex; flex-direction: column;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
    }
    .hotel-gallery-col { width: 100%; display: flex; flex-direction: column; }
    .hotel-info-col { width: 100%; padding: 20px; display: flex; flex-direction: column; }
}

.hotel-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.main-img-wrap { flex: 1; position: relative; min-height: 220px; }
.main-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    color: var(--gold, #c5a059); padding: 4px 10px; border-radius: 4px;
    font-size: 0.8rem; font-weight: 600;
}

.thumb-row { display: flex; height: 75px; flex-shrink: 0; }
.thumb-wrap { flex: 1; position: relative; border-right: 1px solid rgba(255,255,255,0.05); }
.thumb-wrap:last-child { border-right: none; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.85rem; font-weight: 600;
}

.hotel-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.hotel-location { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.hotel-desc {
    color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.read-more-btn { color: var(--gold, #c5a059); font-size: 0.8rem; font-weight: 500; cursor: pointer; display: inline-block; margin-top: 5px; margin-bottom: 10px; }
.read-more-btn:hover { text-decoration: underline; }

.amenities-section { margin-bottom: auto; margin-top: 5px; }
.amenities-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; color: var(--gold, #c5a059); text-transform: uppercase; margin-bottom: 8px; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 15px; }
.amenity-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.amenity-item svg { color: #28a745; width: 14px; height: 14px; flex-shrink: 0; }

.view-more-btn { color: var(--gold, #c5a059); cursor: pointer; font-size: 0.8rem; font-weight: 500; margin-top: 8px; display: inline-block; text-align: left; }
.view-more-btn:hover { text-decoration: underline; }

.hotel-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px; margin-top: 12px;
}

.price-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.price-value { font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1; }
.price-value span { font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.5); }

/* Action Buttons */
.action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline { padding: 8px 16px; border: 1px solid var(--gold, #c5a059); color: var(--gold, #c5a059); border-radius: 6px; font-weight: 500; font-size: 0.85rem; transition: 0.2s; background: transparent; }
.btn-outline:hover { background: rgba(197, 160, 89, 0.1); }
.btn-solid { padding: 8px 16px; background: var(--gold, #c5a059); color: #000; border-radius: 6px; font-weight: 600; font-size: 0.85rem; transition: 0.2s; border: 1px solid var(--gold, #c5a059); }
.btn-solid:hover { background: #b08d48; border-color: #b08d48; }

/* Info Modal */
.info-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 10000;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.info-modal.active, .info-modal.is-active {
    display: flex;
}
.info-modal-content {
    background: #0f1626; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; width: 100%; max-width: 600px; max-height: 85vh;
    padding: 30px; position: relative; overflow-y: auto; color: #e5e2e2;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
}
.info-modal-close {
    position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer;
    color: #999; background: rgba(255,255,255,0.05); width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; line-height: 1; transition: 0.2s;
}
.info-modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.info-modal-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #fff; margin: 0 0 20px 0; padding-right: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.info-modal-subtitle { font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; color: var(--gold, #c5a059); text-transform: uppercase; margin-bottom: 15px; }
.modal-amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.modal-amenity-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 0.9rem;}
.modal-amenity-item svg { color: #28a745; width: 18px; height: 18px; flex-shrink: 0; }
