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

.tours-page {
    background: #ffffff;
    color: #001524;
    overflow: hidden;
}

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

.tours-page a {
    text-decoration: none;
    color: inherit;
}

.tours-page button,
.tours-page input,
.tours-page select {
    font: inherit;
}

/* HERO */

.tours-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    padding: 90px 24px;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(0, 21, 36, .94), rgba(0, 21, 36, .72)),
        url("../../images/tours/tours-hero.jpg") center 48% / cover no-repeat,
        #001524;
}

.tours-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 21, 36, .28));
    pointer-events: none;
}

.tours-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.tours-eyebrow,
.tours-section-label {
    display: block;
    margin-bottom: 22px;
    color: #DDB57A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.8;
    text-transform: uppercase;
}

.tours-hero h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 86px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.08;
}

.tours-hero h1 span {
    color: #DDB57A;
}

.tours-hero-content > p {
    max-width: 690px;
    margin: 0 auto 30px;
    color: #e0e6ea;
    font-size: 16px;
    line-height: 1.9;
}

/* BUTTONS */

.tours-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 14px 27px;
    border: 1px solid #DDB57A;
    border-radius: 2px;
    background: #DDB57A;
    color: #001524 !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.tours-primary-btn:hover {
    background: transparent;
    color: #DDB57A !important;
}

/* INTRO */

.tours-intro {
    display: grid;
    grid-template-columns: .7fr 1.5fr 1.1fr;
    align-items: center;
    gap: 45px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 95px 35px 65px;
}

.tours-intro .tours-section-label {
    margin: 0;
    color: #8a6b3e;
    font-size: 10px;
    letter-spacing: 2px;
}

.tours-intro h2,
.tours-cta h2 {
    margin: 0;
    color: #001524;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.22;
}

.tours-intro > p {
    margin: 0;
    color: #737e87;
    font-size: 14px;
    line-height: 1.9;
}

/* MAIN LAYOUT */

.tours-layout {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 15px 35px 100px;
}

.tours-sidebar {
    position: sticky;
    top: 25px;
    padding: 27px 23px;
    border: 1px solid #e7e4de;
    background: #fbfaf7;
}

.tours-sidebar h3 {
    margin: 0 0 27px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5dfd5;
    color: #001524;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.tours-sidebar > label:not(.tour-featured-filter) {
    display: block;
    margin: 22px 0 9px;
    color: #263744;
    font-size: 12px;
    font-weight: 700;
}

.tours-sidebar input[type="search"],
.tours-sidebar select {
    width: 100%;
    min-height: 45px;
    padding: 11px 12px;
    border: 1px solid #dedbd4;
    border-radius: 2px;
    outline: none;
    background: #ffffff;
    color: #001524;
    font-size: 13px;
}

.tours-sidebar input:focus,
.tours-sidebar select:focus {
    border-color: #b18b52;
    box-shadow: 0 0 0 2px rgba(221, 181, 122, .15);
}

.tours-sidebar input[type="range"] {
    width: 100%;
    accent-color: #b18b52;
    cursor: pointer;
}

.tour-price-value {
    margin: 8px 0 0;
    color: #5e6870;
    font-size: 12px;
}

.tour-featured-filter {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 24px 0;
    color: #263744;
    font-size: 12px;
    cursor: pointer;
}

.tour-featured-filter input {
    accent-color: #b18b52;
}

.tours-reset-btn {
    width: 100%;
    min-height: 43px;
    border: 1px solid #001524;
    border-radius: 2px;
    background: transparent;
    color: #001524;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.tours-reset-btn:hover {
    background: #001524;
    color: #ffffff;
}

/* RESULTS TOOLBAR */

.tours-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e5df;
}

.tours-toolbar > p {
    margin: 0;
    color: #727c84;
    font-size: 13px;
}

.tours-toolbar > p strong {
    color: #001524;
}

.tours-toolbar > label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #727c84;
    font-size: 12px;
}

.tours-toolbar select {
    min-height: 40px;
    max-width: 190px;
    padding: 8px 28px 8px 10px;
    border: 1px solid #dedbd4;
    background: #ffffff;
    color: #001524;
    font-size: 12px;
}

/* TOUR CARDS */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px;
}

.tour-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ece9e3;
    background: #ffffff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 21, 36, .09);
}

.tour-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #e9e6df;
}

.tour-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.045);
}

.tour-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    background: #DDB57A;
    color: #001524;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.tour-card-body {
    padding: 23px 22px 21px;
}

.tour-card-destination {
    margin: 0 0 10px;
    color: #9a7848;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.7;
    text-transform: uppercase;
}

.tour-card-body h3 {
    margin: 0 0 12px;
    color: #001524;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.tour-card-description {
    min-height: 48px;
    margin: 0 0 18px;
    color: #77818a;
    font-size: 13px;
    line-height: 1.8;
}

.tour-card-meta {
    padding: 14px 0;
    border-top: 1px solid #eeece7;
    border-bottom: 1px solid #eeece7;
    color: #53616b;
    font-size: 12px;
}

.tour-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
}

.tour-card-bottom > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tour-card-bottom small {
    color: #899199;
    font-size: 10px;
}

.tour-card-bottom strong {
    color: #001524;
    font-size: 16px;
}

.tour-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid #001524;
    background: #001524;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    transition: .2s ease;
}

.tour-view-btn:hover {
    border-color: #DDB57A;
    background: #DDB57A;
    color: #001524 !important;
}

/* EMPTY STATE & PAGINATION */

.tours-empty {
    padding: 55px 20px;
    border: 1px solid #e8e5df;
    text-align: center;
}

.tours-empty[hidden] {
    display: none !important;
}

.tours-empty h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.tours-empty p {
    margin: 0 0 22px;
    color: #77818a;
    font-size: 13px;
    line-height: 1.8;
}

.tours-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
}

.tours-pagination button {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    border: 1px solid #dedbd4;
    background: #ffffff;
    color: #001524;
    cursor: pointer;
}

.tours-pagination button.active,
.tours-pagination button:hover {
    border-color: #001524;
    background: #001524;
    color: #ffffff;
}

/* BOTTOM CTA */

.tours-cta {
    padding: 85px 24px;
    background: #f7f5f0;
    text-align: center;
}

.tours-cta .tours-section-label {
    margin-bottom: 18px;
}

.tours-cta h2 {
    max-width: 700px;
    margin: 0 auto 18px;
}

.tours-cta > p {
    margin: 0 auto 28px;
    color: #737e87;
    font-size: 14px;
    line-height: 1.9;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .tours-intro {
        grid-template-columns: 1fr 1.7fr;
        gap: 25px;
        padding: 70px 28px 45px;
    }

    .tours-intro > p {
        grid-column: 2;
    }

    .tours-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 23px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .tours-grid {
        gap: 18px;
    }

    .tour-card-image {
        height: 205px;
    }

    .tour-card-body {
        padding: 19px 16px;
    }
}

@media (max-width: 760px) {
    .tours-hero {
        min-height: 400px;
        padding: 75px 22px;
    }

    .tours-hero h1 {
        letter-spacing: -1px;
    }

    .tours-hero-content > p {
        font-size: 14px;
    }

    .tours-intro {
        display: block;
        padding: 58px 23px 35px;
    }

    .tours-intro .tours-section-label {
        margin-bottom: 17px;
    }

    .tours-intro h2 {
        margin-bottom: 18px;
        font-size: 35px;
    }

    .tours-intro > p {
        font-size: 13px;
    }

    .tours-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 10px 20px 65px;
    }

    .tours-sidebar {
        position: static;
        padding: 23px 20px;
    }

    .tours-sidebar h3 {
        margin-bottom: 18px;
    }

    .tours-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .tours-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tour-card-image {
        height: clamp(210px, 58vw, 340px);
    }

    .tour-card-body {
        padding: 22px;
    }

    .tour-card-body h3 {
        font-size: 25px;
    }

    .tours-cta {
        padding: 65px 22px;
    }

    .tours-cta h2 {
        font-size: 34px;
    }
}

@media (max-width: 400px) {
    .tours-hero h1 {
        font-size: 43px;
    }

    .tour-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .tour-view-btn {
        width: 100%;
    }
}
