/* ==========================================================================
   ADDA Tours — Single Excursion (Tour Detail) Page
   Self-contained, scoped under .adda-tourx so legacy stylesheets cannot
   override it. Dark luxury theme matching the homepage aesthetic.
   Brand: Gold #ac791d / #cbb27d, Charcoal #1d1d1d, Cream #e9e9e9.
   ========================================================================== */

.adda-tourx {
    --tx-gold: #ac791d;
    --tx-gold-light: #cbb27d;
    --tx-dark: #1b1b1b;
    --tx-dark-2: #242424;
    --tx-dark-3: #2e2e2e;
    --tx-text: #f3f1ec;
    --tx-muted: #b9b4ab;
    --tx-border: rgba(255, 255, 255, 0.10);
    background: var(--tx-dark);
    color: var(--tx-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Hero ---------- */
.adda-tourx .adda-tourx__hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 130px 0 60px;
    color: #fff;
}
.adda-tourx .adda-tourx__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.82) 100%);
}
.adda-tourx .adda-tourx__hero-inner {
    position: relative;
    z-index: 2;
}
.adda-tourx .adda-tourx__breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: var(--tx-muted);
}
.adda-tourx .adda-tourx__breadcrumb li { display: flex; align-items: center; }
.adda-tourx .adda-tourx__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255,255,255,0.35);
}
.adda-tourx .adda-tourx__breadcrumb a { color: var(--tx-gold-light); text-decoration: none; }
.adda-tourx .adda-tourx__breadcrumb a:hover { color: #fff; }
.adda-tourx .adda-tourx__breadcrumb .active { color: #fff; }

.adda-tourx .adda-tourx__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ---------- Content layout ---------- */
.adda-tourx .adda-tourx__content {
    padding: 50px 0 70px;
    background: var(--tx-dark);
}
.adda-tourx .adda-tourx__body,
.adda-tourx .adda-tourx__body p,
.adda-tourx .adda-tourx__body li,
.adda-tourx .adda-tourx__body span {
    color: var(--tx-text);
    line-height: 1.8;
    font-size: 1.02rem;
}
.adda-tourx .adda-tourx__body h2,
.adda-tourx .adda-tourx__body h3,
.adda-tourx .adda-tourx__body h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    margin: 1.6em 0 0.6em;
}
.adda-tourx .adda-tourx__body a { color: var(--tx-gold-light); }
.adda-tourx .adda-tourx__body img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---------- Header photo slider ---------- */
.adda-tourx .adda-tour-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 34px;
    background: #000;
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.adda-tourx .adda-tour-slider__track { width: 100%; height: 100%; }
.adda-tourx .adda-tour-slider__slide {
    display: none;
    width: 100%;
    height: 100%;
}
.adda-tourx .adda-tour-slider__slide.active { display: block; }
.adda-tourx .adda-tour-slider__link { display: block; width: 100%; height: 100%; }
.adda-tourx .adda-tour-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.adda-tourx .adda-tour-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.25s ease, color 0.25s ease;
}
.adda-tourx .adda-tour-slider__arrow:hover { background: var(--tx-gold); color: #fff; }
.adda-tourx .adda-tour-slider__arrow--prev { left: 16px; }
.adda-tourx .adda-tour-slider__arrow--next { right: 16px; }
.adda-tourx .adda-tour-slider__dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
    z-index: 5;
}
.adda-tourx .adda-tour-slider__dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.adda-tourx .adda-tour-slider__dot.active { background: var(--tx-gold); border-color: var(--tx-gold); transform: scale(1.15); }

/* ---------- Info blocks ---------- */
.adda-tourx .adda-tour-block {
    background: var(--tx-dark-2);
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    padding: 26px 28px;
    margin-top: 26px;
}
.adda-tourx .adda-tour-block__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--tx-gold);
    padding-bottom: 12px;
}
.adda-tourx .adda-tour-block__title i { color: var(--tx-gold); }
.adda-tourx .adda-tour-block ul { padding-left: 1.2em; margin: 0; }
.adda-tourx .adda-tour-block li,
.adda-tourx .adda-tour-block p { color: var(--tx-text); line-height: 1.8; }

/* gallery grid */
.adda-tourx .adda-tour-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.adda-tourx .adda-tour-gallery a { display: block; border-radius: 10px; overflow: hidden; }
.adda-tourx .adda-tour-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.adda-tourx .adda-tour-gallery a:hover img { transform: scale(1.06); }

/* ---------- Sidebar ---------- */
.adda-tourx .adda-tourx__sidebar { position: sticky; top: 110px; }

.adda-tourx .adda-enquiry-card {
    background: var(--tx-dark-2);
    border: 1px solid var(--tx-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.adda-tourx .adda-enquiry-card__header {
    background: linear-gradient(135deg, var(--tx-gold) 0%, #8c6014 100%);
    padding: 20px 24px;
}
.adda-tourx .adda-enquiry-card__header h3 {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.adda-tourx .adda-enquiry-card__body { padding: 24px; }

/* form fields — placeholder-only (no visible labels) */
.adda-tourx .adda-tourx-field { margin-bottom: 14px; }
.adda-tourx .adda-tourx-field input,
.adda-tourx .adda-tourx-field textarea,
.adda-tourx .adda-tourx-field select {
    width: 100%;
    background: var(--tx-dark-3);
    border: 1px solid var(--tx-border);
    border-radius: 9px;
    padding: 13px 15px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.adda-tourx .adda-tourx-field textarea { resize: vertical; min-height: 90px; }
.adda-tourx .adda-tourx-field input::placeholder,
.adda-tourx .adda-tourx-field textarea::placeholder {
    color: #9a958c;
    opacity: 1;
}
.adda-tourx .adda-tourx-field input:focus,
.adda-tourx .adda-tourx-field textarea:focus,
.adda-tourx .adda-tourx-field select:focus {
    outline: none;
    border-color: var(--tx-gold);
    box-shadow: 0 0 0 3px rgba(172,121,29,0.25);
}
.adda-tourx .adda-tourx-submit {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--tx-gold) 0%, #8c6014 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: filter 0.2s ease, transform 0.15s ease;
}
.adda-tourx .adda-tourx-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* notices */
.adda-tourx .adda-enquiry-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 9px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.adda-tourx .adda-enquiry-notice--success { background: rgba(40,167,69,0.16); border: 1px solid rgba(40,167,69,0.5); color: #d6f5dd; }
.adda-tourx .adda-enquiry-notice--error { background: rgba(220,53,69,0.16); border: 1px solid rgba(220,53,69,0.5); color: #f8d7da; }

/* price box */
.adda-tourx .adda-tourx-price {
    margin-top: 20px;
    background: var(--tx-dark-2);
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    padding: 20px 24px;
    text-align: center;
}
.adda-tourx .adda-tourx-price strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    color: var(--tx-gold-light);
}
.adda-tourx .adda-tourx-price small { color: var(--tx-muted); }

/* help box */
.adda-tourx .adda-tour-help {
    margin-top: 20px;
    background: var(--tx-dark-2);
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    padding: 20px 24px;
}
.adda-tourx .adda-tour-help__title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 1.15rem;
    margin: 0 0 12px;
}
.adda-tourx .adda-tour-help__item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--tx-text);
}
.adda-tourx .adda-tour-help__item i { color: var(--tx-gold); }
.adda-tourx .adda-tour-help__item a { color: var(--tx-text); text-decoration: none; }
.adda-tourx .adda-tour-help__item a:hover { color: var(--tx-gold-light); }

/* flatpickr alt input inherits field styling */
.adda-tourx .adda-tourx-field input.flatpickr-input { background: var(--tx-dark-3); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .adda-tourx .adda-tourx__sidebar { position: static; margin-top: 36px; }
}
@media (max-width: 575px) {
    .adda-tourx .adda-tourx__hero { padding: 110px 0 44px; }
    .adda-tourx .adda-tour-gallery { grid-template-columns: repeat(2, 1fr); }
    .adda-tourx .adda-tour-slider__arrow { width: 40px; height: 40px; font-size: 1.1rem; }
}
