/* ==========================================================================
   Activities Page Custom Luxury Styling - The Bungalow, Habarana
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- LAYOUT SPACING --- */
.activities-page-wrapper {
    margin-top: -91px !important;
    padding-top: 65px !important;
    padding-bottom: 70px !important;
    margin-bottom: 0px !important;
    background: #faf9f6;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body .footer-hotel-dark .hotel-get-touch {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

/* --- SUB-BANNER ENHANCEMENTS --- */
.sub-banner .detail h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-banner .detail span.sub-title-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.sub-banner .detail ul {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    float: none !important;
    clear: both;
    text-align: center;
}

.sub-banner .detail ul li {
    line-height: 1.6;
}

.sub-banner .detail ul li a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.sub-banner .detail ul li a.select {
    color: #E9B947 !important;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 0;
}

/* --- INTRO HEADER --- */
.activities-header {
    text-align: center;
    margin-bottom: 40px;
}

.activities-kicker-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.activities-kicker-line {
    width: 28px;
    height: 2px;
    background: #E9B947;
    display: inline-block;
}

.activities-kicker-text {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #c9931c;
}

.activities-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.activities-header p {
    font-size: 16px;
    line-height: 1.75;
    color: #6b7280;
    max-width: 720px;
    margin: 0 auto;
}

/* --- ACTIVITIES GRID & CARDS --- */
.activities-grid-row {
    margin-top: 10px;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

.activities-grid-row:before,
.activities-grid-row:after {
    display: none !important;
}

.activity-card-col {
    margin-bottom: 35px;
    transition: all 0.35s ease;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.activity-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1ee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(233, 185, 71, 0.4);
}

.activity-img-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #1f2937;
}

.activity-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.activity-card:hover .activity-img-wrap img {
    transform: scale(1.08);
}

.activity-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

.activity-card .badge-duration {
    position: absolute;
    bottom: 16px;
    left: 18px;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.activity-card .badge-category {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(233, 185, 71, 0.95);
    color: #111827;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.activity-body {
    padding: 24px 22px 22px 22px;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    flex-grow: 1;
    flex: 1 1 auto;
}

.activity-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.35;
    transition: color 0.3s ease;
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card:hover .activity-title a {
    color: #c9931c !important;
}

.activity-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #6b7280;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 68px;
}

/* Dual Action Buttons */
.card-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto !important;
}

.btn-view-tour {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #111827;
    color: #ffffff !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid #111827;
}

.btn-view-tour:hover {
    background: #E9B947;
    color: #111827 !important;
    border-color: #E9B947;
    box-shadow: 0 6px 18px rgba(233, 185, 71, 0.35);
}

.btn-wa-tour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.1);
    color: #128c7e !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.btn-wa-tour:hover {
    background: #25D366;
    color: #ffffff !important;
    border-color: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* --- CONCIERGE CTA BANNER --- */
.concierge-cta-box {
    margin-top: 25px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-radius: 20px;
    padding: 45px 50px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(233, 185, 71, 0.25);
    position: relative;
    overflow: hidden;
}

.concierge-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 185, 71, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.concierge-cta-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.concierge-cta-content h3 span {
    color: #E9B947;
}

.concierge-cta-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 580px;
    margin: 0;
}

.concierge-cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-cta-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    padding: 13px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-cta-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-cta-call {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 13px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-cta-call:hover {
    background: #E9B947;
    color: #111827 !important;
    border-color: #E9B947;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .concierge-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .concierge-cta-actions {
        justify-content: center;
    }
    .activities-header h2 {
        font-size: 32px;
    }
}

/* Mobile: limit text + smaller fonts */
@media (max-width: 767px) {
    .sub-banner {
        height: 340px !important;
        min-height: 340px !important;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sub-banner > .container {
        position: relative;
        z-index: 3;
        width: 100%;
    }
    .sub-banner .banner-img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    .sub-banner .detail {
        position: relative !important;
        top: auto !important;
        left: auto;
        right: auto;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 3;
        text-align: center;
        padding: 0 15px !important;
        box-sizing: border-box;
    }
    .activities-page-wrapper {
        margin-top: -50px !important;
        padding-top: 65px !important;
    }
    .sub-banner .detail h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    }
    .sub-banner .detail span.sub-title-text {
        display: none !important;
    }
    .sub-banner .detail ul {
        display: block !important;
        float: none !important;
        margin: 8px 0 0 0 !important;
        padding: 0 !important;
        text-align: center;
        font-size: 11px;
    }
    .sub-banner .detail ul li {
        float: none !important;
        display: inline-block;
        background: none !important;
        padding: 0 5px !important;
        font-size: 11px !important;
    }
    .sub-banner .detail ul li a {
        font-size: 11px !important;
    }
    .activities-header h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    .activities-header p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        max-width: 92vw !important;
        margin: 0 auto !important;
    }
    .activities-header {
        margin-bottom: 24px !important;
    }
    .activities-kicker-text {
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }
    .activity-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 0 !important;
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }
    .activity-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 0 !important;
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    .activity-card .badge-duration,
    .activity-card .badge-category {
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
    .btn-view-tour,
    .btn-wa-tour {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
}
