/* ── Tour Page Shared Styles ── */

/* Hero */
.tour-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 340px;
    overflow: hidden;
}

.tour-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.65) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px 50px;
}

.tour-hero-text {
    color: #fff;
    max-width: 700px;
}

.tour-hero-tag {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.tour-hero-text h1 {
    font-size: clamp(1.7rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 10px 0;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.6);
}

.tour-hero-text p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Quick Info Bar */
.tour-info-bar {
    background: #1a1a2e;
    color: #fff;
    padding: 0;
}

.tour-info-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0;
}

.tour-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 24px;
    gap: 4px;
    flex: 1;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.tour-info-item:last-child {
    border-right: none;
}

.info-icon {
    font-size: 1.4rem;
    color: #6ea8fe; /* lighter blue for contrast on the dark bar */
}

.info-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Main wrapper */
.tour-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.tour-main h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

/* Split: image + checklist */
.tour-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tour-split-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    aspect-ratio: 4 / 3;
}

.tour-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Checklist */
.tour-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tour-checklist li {
    padding: 12px 16px 12px 44px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.97rem;
    color: #333;
    line-height: 1.5;
    position: relative;
}

.tour-checklist li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #0d6efd;
    font-weight: 800;
    font-size: 1rem;
}

/* Description */
.tour-description-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tour-description-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

/* Notes + Pricing row */
.tour-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Pricing card */
.tour-pricing {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-row:last-of-type {
    border-bottom: none;
}

.price-label {
    font-size: 1rem;
    color: #333;
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a2e;
}

.price-note {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.tour-pricing .btn-tour {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* Back link */
.tour-back {
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.tour-back a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.tour-back a:hover {
    color: #0b5ed7;
}

/* Responsive */
@media (max-width: 767px) {
    .tour-hero-text h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .tour-hero-overlay {
        padding: 24px 20px;
    }

    .tour-split,
    .tour-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tour-info-item {
        padding: 14px 12px;
    }
}

/* Info bar: tidy 2-column grid on phones instead of cramped flex row */
@media (max-width: 575px) {
    .tour-info-bar-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-info-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* ── Island variant tabs ──
   Deliberately loud: visitors must notice these are two different tours. */
.island-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 26px 16px;
    background: #1a1a2e;
}

.island-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    max-width: 360px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #cbd5e1;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.island-tab i {
    font-size: 1.15rem;
    color: #6ea8fe;
    transition: color 0.2s;
}

.island-tab:hover {
    color: #fff;
    border-color: #0d6efd;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.island-tab.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

.island-tab.active i {
    color: #fff;
}

.island-section {
    display: none;
}

.island-section.active {
    display: block;
}

/* ── Highlights Grid ── */
.tour-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.45;
}

.highlight-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
    color: #0d6efd;
}

.highlights-note {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding: 16px 20px;
    background: #eef4ff;
    border-left: 4px solid #0d6efd;
    border-radius: 0 8px 8px 0;
}

/* 3-column highlights variant */
.highlights-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Pricing sub-description line */
.price-row-note {
    font-size: 0.83rem;
    color: #888;
    margin: -8px 0 10px 0;
    padding: 0;
}

@media (max-width: 575px) {
    .highlights-grid,
    .highlights-grid-3 {
        grid-template-columns: 1fr;
    }

    .island-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .island-tab {
        max-width: none;
        font-size: 0.95rem;
        padding: 14px 16px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .highlights-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
