/* --- Special Interest Detail Page Styles --- */

:root {
    --dzong-gold: #c5a059;
    --mountain-dusk: #252420;
    --valley-mist: #F7F2EB;
    --bhutan-sand: #f4eee1;
    --white: #ffffff;
}

/* ── SI-Hero container alignment (handled globally via .hero-left in style.css) ── */

/* Header Background for Internal Pages */
#navbar.header-solid {
    background-color: rgba(37, 36, 32, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Offset for Fixed Navbar */
.tour-carousel-section {
    position: relative;
    max-width: 100%;
    margin-bottom: 0;
    padding-top: 80px; /* Base offset for fixed header */
    background-color: var(--valley-mist);
}

@media (max-width: 768px) {
    .tour-carousel-section {
        padding-top: 70px;
    }
}

/* Hero Gallery Carousel */
.tour-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 60vh;
}

.tour-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    will-change: transform;
}

.tour-slide {
    flex: 0 0 calc(100% / 3);
    min-width: calc(100% / 3);
    height: 100%;
    position: relative;
    padding: 0 2px;
}

.tour-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--dzong-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

@media (max-width: 1024px) {
    .tour-slide {
        flex: 0 0 calc(100% / 2);
        min-width: calc(100% / 2);
    }
}

@media (max-width: 768px) {
    .tour-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .carousel-prev, .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Introduction Section */
.special-interest-intro {
    padding: 8rem 0 6rem;
    background-color: var(--valley-mist);
}

.back-to-explorer {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 14px;
    color: #666;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Jost', sans-serif;
}

.back-to-explorer:hover {
    color: var(--mountain-dusk);
}

.intro-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.intro-title-box h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 56px);
    color: var(--mountain-dusk);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.intro-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #666;
    font-size: 15px;
    margin-top: 1rem;
}

.intro-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.interest-description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
}

/* Related Tours Section */
.you-may-like-section {
    padding-top: 5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: var(--valley-mist);
}

.you-may-like-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.you-may-like-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--mountain-dusk);
    margin: 0;
}

/* Slider wrapper */
.related-interest-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.related-interest-track {
    display: flex;
    gap: 3rem;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

/* Each card slide */
.interest-card-slide {
    flex: 0 0 calc((100% - 6rem) / 3);
    min-width: 0;
}

@media (max-width: 1024px) {
    .interest-card-slide {
        flex: 0 0 calc((100% - 3rem) / 2);
    }
}

@media (max-width: 640px) {
    .interest-card-slide {
        flex: 0 0 100%;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--dzong-gold);
    width: 24px;
    border-radius: 10px;
}

.interest-card {
    position: relative;
    transition: transform 0.4s ease;
}

.interest-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.interest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.interest-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--mountain-dusk);
    display: block;
    margin-bottom: 0.5rem;
}

/* Location row on detail page cards */
.interest-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.interest-card-location svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    stroke: var(--dzong-gold);
    opacity: 0.85;
}

.interest-card-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 0.8rem;
}

.interest-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
}

@media (max-width: 1100px) {
    .related-interest-track {
        /* handled by JS */
    }
}

@media (max-width: 600px) {
    .intro-header-flex {
        flex-direction: column;
    }
}
