/* ===== Hotels Page Styles ===== */

/* Hotel Hero Section */
.hotel-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.hotel-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%),
        url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920') center/cover;
}

.hotel-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.hotel-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    color: #fff;
}

.hotel-hero-title .highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hotel-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Hotel Search Card */
.hotel-search-card {
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
}

.hotel-search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Hotel Filter Section */
.hotel-filter-section {
    padding: 24px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.hotel-filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 12px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* Hotels Section */
.hotels-section {
    padding: 48px 0 80px;
    min-height: 60vh;
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Hotel Card */
.hotel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.1);
}

/* Level Badges */
.hotel-level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-budget {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.level-midrange {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.level-luxury {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
}

/* Hotel Content */
.hotel-content {
    padding: 20px;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
}

.hotel-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.hotel-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.hotel-stars i {
    font-size: 0.75rem;
    color: #ffd700;
}

.hotel-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-location i {
    color: #ef4444;
}

.hotel-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Amenities */
.hotel-amenities {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.amenity {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.amenity:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
}

.amenity-more {
    width: 32px;
    height: 32px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Book Button */
.book-hotel-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.book-hotel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* No Hotels Message */
.no-hotels {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-hotels i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-hotels h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* ===== Hotel Booking Page ===== */
.hotel-booking-page {
    padding-top: 100px;
    min-height: 100vh;
    padding-bottom: 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent);
}

.hotel-booking-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

/* Hotel Summary Card */
.hotel-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.hotel-summary-image {
    height: 220px;
    overflow: hidden;
}

.hotel-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-summary-info {
    padding: 24px;
}

.hotel-summary-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.hotel-summary-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hotel-summary-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.hotel-summary-amenity {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Booking Form Container */
.hotel-booking-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.hotel-booking-form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hotel-booking-form-container h2 i {
    color: var(--text-muted);
}

.form-row-hotel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.booking-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-note i {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 900px) {
    .hotel-booking-content {
        grid-template-columns: 1fr;
    }

    .hotel-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .hotel-search-row {
        grid-template-columns: 1fr 1fr;
    }

    .hotel-filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .filter-tab {
        padding: 10px 18px;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .form-row-hotel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hotel-search-row {
        grid-template-columns: 1fr;
    }

    .hotel-hero {
        padding: 100px 16px 40px;
        min-height: 45vh;
    }

    .hotel-hero-title {
        font-size: 1.75rem;
    }
}