/* Filters Bar */
.filter-bar-wrapper {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Allow filter buttons to wrap onto multiple lines */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth, 0.3s);
    position: relative;
    font-family: var(--font-primary);
}

.filter-btn:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--bg-body);
    transition: width 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-white);
}

.filter-btn:hover:after {
    width: 60%;
}

.filter-btn.active {
    color: var(--text-white);
    font-weight: 600;
}

.filter-btn.active:after {
    width: 100%;
}

/* Hotel Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (min-width: 1200px) {
    .hotels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hotel-card-new {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hotel-card-new:hover .hotel-card-top img {
    transform: scale(1.05);
}

.hotel-card-top {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.hotel-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-body);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hotel-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
}

/* Star Rating */
.hotel-stars {
    display: flex;
    gap: 3px;
    margin: 2px 0 4px;
}

.hotel-stars .fas.fa-star {
    color: #fff;
    font-size: 0.75rem;
}

.hotel-stars .far.fa-star {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}


.hotel-title-row {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;
}

.hotel-name-new {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    line-height: 1.3;
}

.hotel-rating-new {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotel-location-row {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.star-category-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    /* Gold color for star category */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.hotel-location-row i {
    color: #fff;
    font-size: 0.8rem;
}

.hotel-cta-container {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.hotel-cta-new {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
    opacity: 0.85;
    white-space: nowrap;
}

.hotel-cta-new i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hotel-cta-new:hover {
    opacity: 1;
    color: var(--accent-primary, #638cff);
    transform: translateX(2px);
}

.hotel-cta-new.secondary {
    color: rgba(255, 255, 255, 0.55);
}

.hotel-cta-new.secondary:hover {
    color: #fff;
    opacity: 1;
}

.hotel-cta-new.disabled {
    opacity: 0.28;
    pointer-events: none;
    cursor: default;
    color: rgba(255, 255, 255, 0.4);
}

.hotels-page .section-title,
.hotels-page .page-title {
    color: #fff !important;
}

.hotels-page .hotels-intro-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.partner-hotels-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    width: 100%;
}

.filter-slider-wrapper {
    position: relative;
    background: transparent;
    padding: 6px 0;
    overflow: hidden;
}

.filter-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 6px;
    padding: 4px 44px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-slider-track::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn:hover {
    background: rgba(255,255,255,0.1);
}

.filter-btn.active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.9);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #0a1f4e;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.slider-arrow:hover {
    background: #f0f0f0;
}

.slider-arrow.left {
    left: 4px;
}

.slider-arrow.right {
    right: 4px;
}

.slider-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Page Hero Extends from style.css */
.page-hero {
    height: 100vh;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .partner-hotels-title {
        font-size: 20px;
    }
}
