/* =========================================================================
   HOTELS PAGE CSS - Exact Layout Reproduction with Sliders
   ========================================================================= */

:root {
    --primary-color: #333333;
    --text-main: #000000;
    --blue-section: #dcedfb;
    /* Light pastel blue for 4-5 star */
    --gold-section: #f6e6bd;
    /* Light pastel yellow for 2-3 star */
    --table-header: #21595e;
    /* Dark teal for Rates table header */
    --table-bg: #d0e7e8;
    /* Light teal/cyan for table cells */

    --font-heading: "Playfair Display", "Georgia", "Times New Roman", serif;
    --font-body: "Inter", "Helvetica Neue", "Arial", sans-serif;

    --transition-smooth: all 0.3s ease;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-3 {
    padding-top: 2rem;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.text-link-blue {
    color: #0073e6 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══ 1. HERO SECTION ═══ */
.hotels-hero {
    position: relative;
    /* height: 46vh; */
    min-height: 420px;
    background: url('../img/hotels-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotels-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255 255 255 / 12%);
}

.hotels-hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem 4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hotels-hero-title {
    font-family: var(--font-body);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

/* ═══ 2. SECTION STRUCTURE ═══ */
.hotels-section {
    padding: 3rem 0;
}

.white-bg {
    background-color: #ffffff;
}

.blue-bg {
    background-color: var(--blue-section);
}

.yellow-bg {
    background-color: var(--gold-section);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.section-note {
    font-size: 0.95rem;
    color: #000;
    font-weight: 600;
    margin: 0.5rem 0;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 2rem;
    margin-top: 0;
}

.location-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.2rem;
}

.location-distance {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-top: 0;
    margin-bottom: 1.5rem;
}



/* ── PROPERTY CARDS ── */
.prop-section {
    padding: 60px 0;
    background: #fff;
}

.prop-section.bg-cream {
    background: var(--cream);
}

.prop-card-new {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prop-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.prop-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.prop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.prop-card-new:hover .prop-card-img img {
    transform: scale(1.05);
}

.prop-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--teal);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.prop-card-badge.badge-orange {
    background: var(--badge-orange);
}

.prop-card-badge.badge-best {
    background: #2e7d5c;
}

.prop-card-body-new {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prop-card-body-new h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.prop-card-body-new p {
    font-size: 0.84rem;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.6;
    flex: 1;
}

.prop-card-specs-new {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.prop-card-specs-new span {
    font-size: 0.78rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.prop-card-specs-new i {
    color: var(--teal);
    font-size: 0.85rem;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0fa892 0%, #12b8a0 50%, #0c8a78 100%);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 168, 146, 0.2);
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #0c8a78 0%, #12b8a0 50%, #0fa892 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 168, 146, 0.3);
}







/* ═══ 4. HOTEL CAROUSELS ═══ */
.hotel-carousel {
    position: relative;
    width: 100%;
    padding-top: 65%;
    /* roughly 3:2 ratio */
    border: 3px solid #fff;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    background: #eee;
}

.hotel-carousel.no-border {
    border: none;
    box-shadow: none;
    padding-top: 0;
    height: 100%;
}

.jaco-collage {
    /* padding-top: 3%;
    max-width: 800px; */
    margin: 0 auto;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.carousel-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.carousel-images img.active {
    opacity: 1;
    z-index: 2;
}

/* Carousel Arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s;
    border-radius: 50%;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.hotel-carousel:hover .carousel-prev,
.hotel-carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Invisible link wrapper over the whole carousel to act as main link */
.carousel-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

/* ═══ 5. RATES TABLE (CROC'S) ═══ */
.rates-table-container {
    /* max-width: 800px; */
    margin: 0 auto;
    box-shadow: var(--shadow-light);
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.rates-table-header {
    background-color: var(--table-header);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--table-bg);
}

.premium-table th,
.premium-table td {
    padding: 0.8rem 1rem;
    text-align: center;
    border: 1px solid #75a7a9;
}

.premium-table th {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--table-header);
    background-color: rgba(255, 255, 255, 0.4);
}

.premium-table .table-sub {
    font-size: 0.8rem;
    font-weight: normal;
}

.premium-table td {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
}

/* ═══ 6. UTILITIES & ANIMATIONS ═══ */
.back-link-container {
    margin-top: 4rem;
}

.back-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: #0073e6;
    text-decoration: underline;
    text-transform: uppercase;
}

.back-link:hover {
    color: #000;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ 7. RESPONSIVE DESIGN ═══ */
@media screen and (max-width: 900px) {



    .hotels-hero-content {
        padding: 1rem 2rem;
    }


}

@media screen and (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .premium-table th,
    .premium-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .carousel-prev,
    .carousel-next {
        opacity: 0.8;
        /* arrows always visible on mobile */
    }


}

/* ── HORIZONTAL CARDS (Surrounding Options) ── */
.horizontal-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e3ddd5;
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.horizontal-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.h-card-content {
    padding: 0 15px;
}

.h-card-location {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0073e6;
    margin-bottom: 12px;
}

.h-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.h-card-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 25px;
}

.h-card-promo {
    font-weight: 700;
    color: #0073e6;
    font-size: 0.95rem;
    margin-bottom: 25px !important;
}

.h-card-btn {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.h-card-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.02);
}

.h-card-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    background: #f8f8f8;
}

.h-card-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.horizontal-card:hover .h-card-img-wrap img {
    transform: scale(1.08);
}

.h-card-rates-trigger {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.8rem;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    font-weight: 600;
}

.h-card-rates-trigger:hover {
    background: rgba(0, 0, 0, 0.9);
}

.h-card-img-wrap i {
    margin-right: 6px;
}

.lightbox-trigger {
    position: relative;
    transition: all 0.3s ease;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    color: #fff;
    font-size: 2rem;
}

.lightbox-trigger:hover .lightbox-overlay {
    opacity: 1;
}

/* Modal Styling */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 25px;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.no-shadow {
    box-shadow: none !important;
}

.bg-transparent {
    background: transparent !important;
}

@media screen and (max-width: 768px) {
    .horizontal-card {
        padding: 25px;
    }

    .h-card-content {
        padding: 20px 0 0;
        text-align: center;
    }

    .h-card-title {
        font-size: 1.6rem;
    }

    .h-card-img-wrap {
        margin-bottom: 15px;
    }
}