﻿/* ===========================================
   Agoda Module
   BuildTravelPlan
=========================================== */

.hotel-card {
    transition: 0.25s;
    border-radius: 14px;
    overflow: hidden;
}

    .hotel-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,.15);
    }

    .hotel-card img {
        transition: .3s;
    }

    .hotel-card:hover img {
        transform: scale(1.03);
    }

/* Search */

.agoda-search {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

/* Filter */

.filter-card {
    position: sticky;
    top: 90px;
}

/* Rating */

.rating-badge {
    background: #198754;
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
}

/* Price */

.price {
    color: #0d6efd;
    font-size: 30px;
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.discount {
    color: #dc3545;
    font-weight: 600;
}

/* Amenities */

.amenity {
    display: inline-block;
    background: #f8f9fa;
    padding: 8px 12px;
    margin: 4px;
    border-radius: 8px;
    font-size: 14px;
}

/* Gallery */

.hotel-gallery img {
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* Booking Summary */

.booking-summary {
    position: sticky;
    top: 90px;
}

/* Buttons */

.btn-book {
    background: #0d6efd;
    color: white;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
}

    .btn-book:hover {
        background: #0b5ed7;
        color: white;
    }

/* Wishlist */

.favorite {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Review */

.review-card {
    border-left: 5px solid #198754;
    padding-left: 18px;
}

/* Mobile */

@media(max-width:991px) {

    .booking-summary {
        position: relative;
        top: 0;
    }

    .filter-card {
        position: relative;
        top: 0;
    }

    .hotel-gallery img {
        height: 180px;
    }
}

@media(max-width:576px) {

    .price {
        font-size: 24px;
    }

    .hotel-card img {
        height: 200px !important;
    }
}
