
/* =========================
POPULAR TOURS SECTION
========================= */

.popular-section {
    background: #eef4ed;
    padding: 40px 0;
}

/* CONTAINER */
.container-fixed {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* =========================
PRE HEADING
========================= */

.pre-heading {
    display: block;
    text-align: center;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding-top: 20px;
}

.pre-heading::before,
.pre-heading::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background: #d4af37;
    margin: 0 12px;
    vertical-align: middle;
}

/* =========================
TITLE
========================= */

.team-title {
    text-align: center;
    color: #003324;
    text-transform: uppercase;
    font-family: 'League Spartan';
    font-weight: 800;
    font-size: 1.7em;
    margin-bottom: 20px;
}

/* =========================
DESCRIPTION
========================= */

.popular-section .section-description {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    color: #003324;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'League Spartan';
    font-weight: 500;
    line-height: 1.6;
}

/* =========================
TOURS CONTAINER (🔥 GAP FIX HERE)
========================= */

.tours-container {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 60px auto; /* 🔥 increased gap before buttons */
}

/* WRAPPER */
.tours-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease-in-out;
}

/* =========================
TOUR CARD
========================= */

.tour-slide {
    flex: 0 0 calc((100% / 3) - 20px);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
}

.tour-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* LINK */
.tour-slide a {
    display: block;
    position: relative;
}

/* =========================
IMAGE (UNCHANGED)
========================= */

.tour-slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tour-slide:hover img {
    transform: scale(1.08);
}

/* =========================
OVERLAY
========================= */

.tour-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

/* =========================
TEXT OVER IMAGE
========================= */

.tour-text {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    background: #003324;
    color: #fff;

    font-size: 21px;
    font-weight: 600;

    padding: 10px 24px;

    border-radius: 10px;
    letter-spacing: 0.5px;

    z-index: 2;
    white-space: nowrap;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* =========================
BUTTON + ARROWS (🔥 GAP FIX HERE)
========================= */

.slide-content-link {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 0 0 0;
    margin-top: 35px; /* 🔥 increased gap from images */
}

/* BUTTON */
.btn4 {
    background: #003324;
    color: #fff;
    padding: 14px 22px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn4:hover {
    background: #d4af37;
    transform: scale(1.05);
}

/* ARROWS */
.arrow-prev,
.arrow-next {
    font-size: 28px;
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #003324;
    transition: 0.3s ease;
}

.arrow-prev:hover,
.arrow-next:hover {
    background: #d4af37;
    transform: scale(1.1);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 992px) {
    .tour-slide {
        flex: 0 0 calc((100% / 2) - 15px);
    }

    .tours-wrapper {
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .tour-slide {
        flex: 0 0 100%;
    }

    .tours-wrapper {
        gap: 20px;
    }

    .popular-section {
        padding: 50px 15px;
    }
}