/* ================================================
   POPULAR HOTELS & RESORTS SECTION
   Uses shared design tokens from custom.css:
   --primary-color, --accent-color, --text-dark,
   --text-muted, --card-radius, --transition
   ================================================ */

.hotels-section {
    padding: 80px 0 90px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle background accents — matches car-rental / packages style */
.hotels-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 54, 104, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hotels-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 74, 50, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Section heading ---- */
.htl-heading {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

.htl-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.htl-heading h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 16px;
    line-height: 1.2;
}

.htl-heading h2 span {
    color: var(--accent-color);
}

.htl-heading p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Cards grid ---- */
.htl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
    z-index: 1;
}

/* ---- Individual card ---- */
.htl-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(3, 54, 104, 0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.htl-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(3, 54, 104, 0.16);
}

/* ---- Image ---- */
.htl-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2ff;
    flex-shrink: 0;
}

.htl-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.htl-card:hover .htl-card__img-wrap img {
    transform: scale(1.06);
}

/* ---- Offer / discount badge ---- */
.htl-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 30px;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 54, 104, 0.30);
    display: none !important;
}

.htl-card__badge--hot {
    background: linear-gradient(135deg, var(--accent-color), #ff6b35);
    box-shadow: 0 4px 12px rgba(202, 74, 50, 0.35);
}

/* ---- Body ---- */
.htl-card__body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ---- Rating ---- */
.htl-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #f5a623;
    display: none;
}

.htl-card__rating span {
    margin-left: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ---- Title ---- */
.htl-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}

/* ---- Location ---- */
.htl-card__location {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.htl-card__location i {
    color: var(--accent-color);
    font-size: 13px;
    flex-shrink: 0;
}

/* ---- Description ---- */
.htl-card__desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* ---- Amenities ---- */
.htl-card__amenities {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.htl-card__amenities li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dark);
    background: #f0f6ff;
    padding: 5px 11px;
    border-radius: 30px;
}

.htl-card__amenities li i {
    color: var(--primary-color);
    font-size: 11px;
}

/* ---- Footer (price + button) ---- */
.htl-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eef2ff;
}

/* ---- Pricing ---- */
.htl-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Original price — struck through, muted */
.htl-price__original {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(107, 122, 153, 0.7);
    margin-bottom: 2px;
}

/* Offer price — prominent, accent colour */
.htl-price__offer {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.05;
}

.htl-price__offer small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ---- Book button ---- */
.htl-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a57b0 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(3, 54, 104, 0.30);
    transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.htl-book-btn i {
    font-size: 12px;
    transition: transform var(--transition);
}

.htl-book-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff6b35 100%);
    box-shadow: 0 8px 26px rgba(202, 74, 50, 0.40);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.htl-book-btn:hover i {
    transform: translateX(4px);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1199px) {
    .htl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .htl-heading h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .hotels-section {
        padding: 56px 0 64px;
    }

    .htl-heading {
        margin-bottom: 36px;
    }

    .htl-heading h2 {
        font-size: 26px;
    }

    .htl-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .htl-card__title {
        font-size: 16px;
    }

    .htl-price__offer {
        font-size: 22px;
    }

    .htl-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .htl-book-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .htl-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .htl-card__footer {
        flex-direction: row;
        align-items: flex-end;
    }

    .htl-book-btn {
        width: auto;
    }
}
