/* =========================================
   DD TOURS — TOUR DETAILS PAGE
   Brand: Navy #001524 | Gold #DDB57A
========================================= */

.tour-detail-page {
    background: #ffffff;
    color: #293640;
    overflow: hidden;
}

.tour-detail-page *,
.tour-detail-page *::before,
.tour-detail-page *::after {
    box-sizing: border-box;
}

/* HERO */

.tour-detail-page .detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 570px;
    padding: 90px max(6%, calc((100% - 1200px) / 2));
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    background-color: #001524;
    background-image: var(--tour-hero-image);
    background-position: center;
    background-size: cover;
}

.tour-detail-page .detail-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(0, 21, 36, 0.94) 0%,
        rgba(0, 21, 36, 0.72) 48%,
        rgba(0, 21, 36, 0.18) 100%
    );
}

.tour-detail-page .detail-hero-content {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.tour-detail-page .detail-back-link {
    display: inline-block;
    margin-bottom: 36px;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tour-detail-page .detail-back-link:hover {
    color: #DDB57A;
}

.tour-detail-page .detail-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #B68A4B;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.7;
    text-transform: uppercase;
}

.tour-detail-page .detail-hero .detail-eyebrow {
    color: #DDB57A;
}

.tour-detail-page .detail-hero h1 {
    max-width: 800px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.tour-detail-page .detail-hero-destinations {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.8;
}

.tour-detail-page .detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tour-detail-page .detail-hero-meta span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid rgba(221, 181, 122, 0.6);
    color: #ffffff;
    font-size: 12px;
}

/* MAIN CONTENT LAYOUT */

.tour-detail-page .detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 65px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 85px 28px;
}

.tour-detail-page .detail-content {
    min-width: 0;
}

.tour-detail-page .detail-section {
    margin-bottom: 55px;
}

.tour-detail-page .detail-section:last-child {
    margin-bottom: 0;
}

.tour-detail-page .detail-section h2 {
    margin: 0 0 22px;
    color: #001524;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.25;
}

.tour-detail-page .detail-description {
    margin: 0;
    color: #68737C;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

/* TOUR HIGHLIGHTS */

.tour-detail-page .detail-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tour-detail-page .detail-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border: 1px solid #E7E9E8;
    background: #ffffff;
    color: #293640;
    font-size: 13px;
    line-height: 1.7;
}

.tour-detail-page .highlight-check {
    flex-shrink: 0;
    color: #A77D43;
    font-weight: 700;
}

/* ITINERARY */

.tour-detail-page .detail-itinerary {
    position: relative;
    display: grid;
    gap: 25px;
}

.tour-detail-page .itinerary-day {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E7E9E8;
}

.tour-detail-page .itinerary-day:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tour-detail-page .itinerary-day-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #001524;
    color: #DDB57A;
    font-size: 13px;
    font-weight: 700;
}

.tour-detail-page .itinerary-day-content {
    min-width: 0;
}

.tour-detail-page .itinerary-day-content h3 {
    margin: 8px 0 12px;
    color: #001524;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.tour-detail-page .itinerary-day-content p {
    margin: 0;
    color: #68737C;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.tour-detail-page .itinerary-day-image {
    display: block;
    width: 100%;
    max-height: 340px;
    margin-top: 20px;
    object-fit: cover;
}

/* BOOKING CARD */

.tour-detail-page .detail-booking-card {
    position: sticky;
    top: 30px;
    min-width: 0;
    padding: 30px;
    border: 1px solid #E7E9E8;
    border-top: 4px solid #DDB57A;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 21, 36, 0.07);
}

.tour-detail-page .booking-label {
    display: block;
    margin-bottom: 12px;
    color: #94764D;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.tour-detail-page .detail-booking-card h2 {
    margin: 0 0 15px;
    color: #001524;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.tour-detail-page .booking-description {
    margin: 0 0 25px;
    color: #68737C;
    font-size: 13px;
    line-height: 1.85;
}

.tour-detail-page .booking-price {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 22px 0;
    border-top: 1px solid #E7E9E8;
    border-bottom: 1px solid #E7E9E8;
}

.tour-detail-page .booking-price > span {
    color: #68737C;
    font-size: 12px;
}

.tour-detail-page .booking-price strong {
    color: #001524;
    font-size: 30px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tour-detail-page .booking-price small {
    color: #68737C;
    font-size: 11px;
    line-height: 1.6;
}

.tour-detail-page .detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 49px;
    padding: 14px 21px;
    border: 1px solid #DDB57A;
    background: #DDB57A;
    color: #001524;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.tour-detail-page .detail-button:hover {
    background: #001524;
    border-color: #001524;
    color: #ffffff;
}

.tour-detail-page .booking-button {
    width: 100%;
    margin-top: 22px;
}

.tour-detail-page .booking-divider {
    height: 1px;
    margin: 25px 0;
    background: #E7E9E8;
}

.tour-detail-page .booking-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
    color: #46545E;
    font-size: 12px;
    line-height: 1.7;
}

.tour-detail-page .booking-info-icon {
    color: #A77D43;
    font-weight: 700;
}

.tour-detail-page .booking-contact {
    display: block;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E7E9E8;
    color: #001524;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* BOTTOM CTA */

.tour-detail-page .detail-bottom-cta {
    padding: 75px 24px;
    background: #F7F5F0;
    text-align: center;
}

.tour-detail-page .detail-bottom-cta h2 {
    margin: 0 0 15px;
    color: #001524;
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.25;
}

.tour-detail-page .detail-bottom-cta p {
    margin: 0 auto 25px;
    color: #68737C;
    font-size: 14px;
    line-height: 1.8;
}

.tour-detail-page .detail-bottom-cta .detail-button {
    margin-top: 5px;
}

/* NOT FOUND */

.tour-detail-page .tour-not-found {
    max-width: 800px;
    margin: 0 auto;
    padding: 110px 24px;
    text-align: center;
}

.tour-detail-page .tour-not-found h1 {
    margin: 0 0 18px;
    color: #001524;
    font-size: clamp(32px, 5vw, 48px);
}

.tour-detail-page .tour-not-found p {
    color: #68737C;
    line-height: 1.8;
}

.tour-detail-page .tour-not-found .detail-button {
    margin-top: 15px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .tour-detail-page .detail-main {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 35px;
        padding: 65px 24px;
    }

    .tour-detail-page .detail-booking-card {
        padding: 23px;
    }
}

@media (max-width: 760px) {
    .tour-detail-page .detail-hero {
        min-height: 490px;
        padding: 65px 24px;
    }

    .tour-detail-page .detail-hero h1 {
        letter-spacing: -0.5px;
    }

    .tour-detail-page .detail-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
        padding: 55px 22px;
    }

    .tour-detail-page .detail-booking-card {
        position: static;
        width: 100%;
    }

    .tour-detail-page .detail-section {
        margin-bottom: 42px;
    }

    .tour-detail-page .detail-bottom-cta {
        padding: 55px 22px;
    }
}

@media (max-width: 480px) {
    .tour-detail-page .detail-hero {
        min-height: 440px;
        padding: 50px 20px;
    }

    .tour-detail-page .detail-back-link {
        margin-bottom: 28px;
    }

    .tour-detail-page .detail-hero h1 {
        font-size: 38px;
    }

    .tour-detail-page .detail-hero-destinations {
        font-size: 14px;
    }

    .tour-detail-page .detail-hero-meta {
        gap: 8px;
    }

    .tour-detail-page .detail-hero-meta span {
        padding: 8px 10px;
        font-size: 11px;
    }

    .tour-detail-page .detail-highlights {
        grid-template-columns: minmax(0, 1fr);
    }

    .tour-detail-page .itinerary-day {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 13px;
    }

    .tour-detail-page .itinerary-day-number {
        width: 38px;
        height: 38px;
        font-size: 11px;
    }

    .tour-detail-page .itinerary-day-content h3 {
        margin-top: 4px;
        font-size: 18px;
    }

    .tour-detail-page .detail-booking-card {
        padding: 23px 20px;
    }

    .tour-detail-page .booking-price strong {
        font-size: 26px;
    }
}
