/* ==========================================================================
   View Attraction 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 --- */
.services-two.attraction-detail-wrapper {
    margin-top: -91px !important;
    padding-top: 65px !important;
    padding-bottom: 75px !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 BACKGROUND & TYPOGRAPHY --- */
.sub-banner .banner-img {
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.65)), url('../imgs/1780180727638.jpg') center center / cover no-repeat !important;
}

.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 !important;
    max-width: 94vw;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.sub-banner .detail ul li {
    line-height: 1.6;
    float: none !important;
    display: inline-block;
    background: none !important;
    padding: 0 4px !important;
    font-size: 12px !important;
    max-width: 94vw;
}

.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;
    text-transform: capitalize !important;
}

/* --- HERO SLIDER / GALLERY SHOWCASE --- */
.attraction-slider-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.09);
    background-color: transparent !important;
    margin-bottom: 30px;
    width: 100%;
}

.attraction-slider-card .badge-overlay-group {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.attraction-slider-card .badge-cat {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #E9B947;
    border: 1px solid rgba(233, 185, 71, 0.4);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.attraction-slider-card .badge-dist {
    background: rgba(233, 185, 71, 0.95);
    color: #111827;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#attraction-gallery-slider.owl-theme,
#attraction-gallery-slider.owl-carousel {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    position: relative;
    background: transparent !important;
}

#attraction-gallery-slider .owl-wrapper-outer {
    border-radius: 20px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

#attraction-gallery-slider .owl-item {
    margin: 0 !important;
}

#attraction-gallery-slider .item {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    background: #111827;
}

#attraction-gallery-slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
/* Slider Controls Container */
#attraction-gallery-slider .owl-controls {
    position: static !important;
    margin: 0 !important;
}

/* Pagination Dots (Bottom Right) */
#attraction-gallery-slider .owl-pagination {
    position: absolute !important;
    bottom: 20px !important;
    right: 25px !important;
    margin: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(17, 24, 39, 0.45) !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#attraction-gallery-slider .owl-page span {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1.5px solid transparent !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
}

#attraction-gallery-slider .owl-page.active span {
    background: #E9B947 !important;
    border-color: #ffffff !important;
    transform: scale(1.25) !important;
}

/* Navigation Arrows (Vertically Centered on Left & Right) */
#attraction-gallery-slider .owl-buttons {
    position: static !important;
}

#attraction-gallery-slider .owl-buttons div {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(17, 24, 39, 0.75) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    z-index: 10 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 0.85 !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.attraction-slider-card:hover #attraction-gallery-slider .owl-buttons div {
    opacity: 1 !important;
}

#attraction-gallery-slider .owl-buttons .owl-prev {
    left: 20px !important;
    right: auto !important;
    background-position: initial !important;
}

#attraction-gallery-slider .owl-buttons .owl-next {
    right: 20px !important;
    left: auto !important;
    background-position: initial !important;
}

#attraction-gallery-slider .owl-buttons div:hover {
    background: #E9B947 !important;
    color: #111827 !important;
    border-color: #E9B947 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(233, 185, 71, 0.4) !important;
}

#attraction-gallery-slider .owl-buttons div svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
}

/* --- QUICK SPECS STRIP --- */
.attraction-specs-strip {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f1ee;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fbf7ee;
    border: 1px solid #faeecd;
    color: #c9931c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-details {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c909a;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
}

/* --- CONTENT CARD CONTAINER --- */
.attraction-detail-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 38px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f1ee;
    margin-bottom: 30px;
}

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

.section-kicker-line {
    width: 24px;
    height: 2px;
    background: #E9B947;
}

.section-kicker-text {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9931c;
}

.attraction-detail-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 18px 0;
    line-height: 1.3;
}

.attraction-narrative {
    font-size: 15.5px;
    line-height: 1.85;
    color: #4b5563;
}

.attraction-narrative p {
    margin-bottom: 16px;
}

.attraction-narrative p:last-child {
    margin-bottom: 0;
}

/* --- EXPERIENCE HIGHLIGHTS GRID --- */
.highlights-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 15px;
}

.highlight-box {
    background: #fafaf9;
    border: 1px solid #edece8;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    border-color: #E9B947;
    background: #fffdf7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 185, 71, 0.12);
}

.highlight-check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #111827;
    color: #E9B947;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.highlight-text p {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

/* --- VISITING TIPS CARDS --- */
.tips-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 15px;
}

.tip-box {
    background: #fbfbfd;
    border-left: 4px solid #E9B947;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
}

.tip-box h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-box h5 svg {
    color: #c9931c;
}

.tip-box p {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* --- PHOTO GALLERY GRID --- */
.gallery-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.gallery-thumb-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 110px;
    display: block;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-thumb-item:hover img {
    transform: scale(1.08);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.gallery-thumb-item:hover .gallery-thumb-overlay {
    opacity: 1;
}

/* --- SIDEBAR: CONCIERGE BOOKING CARD --- */
.attraction-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.concierge-booking-box {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f1ee;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.concierge-booking-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E9B947 0%, #faeecd 100%);
}

.concierge-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fbf7ee;
    border: 1px solid #faeecd;
    color: #c9931c;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.concierge-booking-box h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.concierge-booking-box p.concierge-sub {
    font-size: 13.5px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 22px;
}

.concierge-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding-top: 16px;
    padding-bottom: 16px;
}

.concierge-perks-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 11px;
}

.concierge-perks-list li:last-child {
    margin-bottom: 0;
}

.concierge-perks-list li svg {
    color: #E9B947;
    flex-shrink: 0;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-sidebar-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
}

.btn-sidebar-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    color: #ffffff !important;
}

.btn-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #111827;
    color: #ffffff !important;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-sidebar-call:hover {
    background: #1f2937;
    color: #E9B947 !important;
    transform: translateY(-2px);
}

.concierge-trust-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 14px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* --- SIDEBAR: OTHER EXCURSIONS WIDGET --- */
.other-attractions-widget {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f1ee;
    padding: 26px 24px;
}

.other-attractions-widget h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.other-attractions-widget h4 a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #c9931c;
    text-decoration: none;
}

.other-attractions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.other-attraction-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.other-attraction-item:hover {
    background: #fafaf9;
    transform: translateX(4px);
}

.other-attraction-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.other-attraction-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-attraction-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.other-attraction-item:hover .other-attraction-info h6 {
    color: #c9931c;
}

.other-attraction-meta {
    font-size: 12px;
    color: #8c909a;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 991px) {
    .attraction-specs-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    #attraction-gallery-slider .item {
        height: 380px;
    }

    .attraction-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .services-two.attraction-detail-wrapper {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }

    .sub-banner .detail {
        text-align: center !important;
    }
    .sub-banner .detail h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
    }
    .sub-banner .detail span.sub-title-text {
        display: none !important;
    }
    .sub-banner .detail ul {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
        float: none !important;
        text-align: center !important;
        order: 1;
    }
    .sub-banner .detail ul li {
        float: none !important;
        display: inline-block;
        background: none !important;
        padding: 0 5px !important;
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
    .sub-banner .detail ul li a {
        font-size: 11px !important;
    }

    #attraction-gallery-slider .item {
        height: 270px;
    }

    .attraction-detail-card {
        padding: 24px 18px;
    }

    .attraction-specs-strip {
        grid-template-columns: 1fr;
        padding: 18px 18px;
    }

    .highlights-card-grid,
    .tips-container {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
