/* Hotels Page Styles */
.hotels-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.hotels-hero {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.hotels-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotels-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotels-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hotels-hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hotels-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hotels-hero p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

/* Search Form */
.hotels-search-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 25px;
    margin: -60px 20px 30px;
    position: relative;
    z-index: 10;
}

.hotels-search-form .search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.hotels-search-form .search-field {
    flex: 1;
    min-width: 150px;
}

.hotels-search-form .search-field.search-button {
    flex: 0 0 auto;
}

.hotels-search-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.hotels-search-form input,
.hotels-search-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hotels-search-form input:focus,
.hotels-search-form select:focus {
    outline: none;
    border-color: #2d5a87;
    box-shadow: 0 0 0 3px rgba(45, 90, 135, 0.1);
}

.hotels-search-form .btn-search {
    padding: 12px 30px;
    background: linear-gradient(135deg, #2d5a87 0%, #1e3a5f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.hotels-search-form .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 135, 0.3);
}

/* Results Section */
.hotels-results {
    margin-bottom: 40px;
}

.results-header {
    margin-bottom: 25px;
}

.results-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 8px;
}

.results-header .search-summary {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Alert Boxes */
.hotels-results .alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hotels-results .alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.hotels-results .alert-info {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    color: #0c5460;
}

.hotels-results .alert i {
    margin-right: 10px;
}

/* Hotel Cards Grid */
.hotels-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hotel-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.hotel-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* Hotel Image */
.hotel-card .hotel-image {
    flex: 0 0 280px;
    height: 200px;
    position: relative;
    background: #f0f0f0;
}

.hotel-card .hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-card .hotel-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ccc;
    font-size: 3rem;
}

.hotel-card .star-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #ffd700;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Hotel Info */
.hotel-card .hotel-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.hotel-card .hotel-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.hotel-card .hotel-address {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 12px;
}

.hotel-card .hotel-address i {
    color: #e74c3c;
    margin-right: 6px;
}

.hotel-card .hotel-amenities {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.hotel-card .amenity {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #2d5a87;
    font-size: 0.9rem;
}

/* Hotel Booking Section */
.hotel-card .hotel-booking {
    flex: 0 0 180px;
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 1px solid #eee;
}

.hotel-card .price-info {
    margin-bottom: 15px;
}

.hotel-card .price-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.hotel-card .price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a87;
}

.hotel-card .price-per-night {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.hotel-card .check-availability {
    font-size: 0.95rem;
    color: #2d5a87;
    font-weight: 500;
}

.hotel-card .btn-book {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hotel-card .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Destination Info */
.destination-info {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.destination-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 20px;
}

.destination-info .description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.destination-info .travel-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2d5a87;
}

.destination-info .travel-tips h3 {
    font-size: 1.1rem;
    color: #2d5a87;
    margin: 0 0 12px;
}

.destination-info .travel-tips h3 i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hotel-card {
        flex-direction: column;
    }
    
    .hotel-card .hotel-image {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .hotel-card .hotel-booking {
        flex: 0 0 auto;
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .hotel-card .price-info {
        margin-bottom: 0;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .hotels-hero {
        height: 220px;
    }
    
    .hotels-hero h1 {
        font-size: 1.8rem;
    }
    
    .hotels-search-form {
        margin: -40px 10px 20px;
        padding: 15px;
    }
    
    .hotels-search-form .search-field {
        min-width: 100%;
    }
    
    .hotel-card .hotel-booking {
        flex-direction: column;
        gap: 10px;
    }
    
    .hotel-card .price-info {
        text-align: center;
    }
}