/* =========================================
   DESTINATIONS SECTION
========================================= */

.destinations-section {
    width: 100%;
    padding: 100px 20px;
    background: #f8f9fb;
    overflow: hidden;
}

.destinations-container {
    width: min(1250px, 100%);
    margin: auto;
}


/* =========================================
   HEADING
========================================= */

.destinations-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c59b45;
}

.destinations-heading h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 800;
}

.destinations-heading h2 span {
    display: block;
    color: #c59b45;
}

.destinations-heading p {
    margin: 20px auto 0;
    max-width: 650px;
    color: #6d7480;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   CATEGORY
========================================= */

.destination-category {
    margin-bottom: 80px;
}

.international-category {
    margin-bottom: 65px;
}

.category-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 18px;
}

.category-title > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title span {
    font-size: 13px;
    font-weight: 800;
    color: #c59b45;
}

.category-title h3 {
    margin: 0;
    color: #172033;
    font-size: 26px;
}

.category-title p {
    margin: 0;
    color: #777f8d;
    font-size: 14px;
}


/* =========================================
   DESTINATION GRID
========================================= */

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* =========================================
   CARD
========================================= */

.destination-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0.08) 65%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.15)
    );
}


/* =========================================
   CARD CONTENT
========================================= */

.destination-overlay {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 23px;
    color: white;
}

.destination-type {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;
    font-size: 9px !important;
    letter-spacing: 1.5px;
    color: white !important;
}

.destination-overlay h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.destination-overlay p {
    margin: 5px 0 15px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.destination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.35s ease;
}

.destination-btn i {
    font-style: normal;
    font-size: 18px;
}

.destination-card:hover .destination-btn {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   CTA
========================================= */

.destinations-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 40px;
    border-radius: 20px;
    background: #172033;
    box-shadow: 0 15px 40px rgba(23, 32, 51, 0.15);
}

.destinations-cta > div span {
    color: #c59b45;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.destinations-cta h3 {
    margin: 8px 0 0;
    color: white;
    font-size: 26px;
}

.destinations-cta h3 strong {
    color: #c59b45;
}

.explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 23px;
    border-radius: 50px;
    background: #c59b45;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.explore-all-btn span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.explore-all-btn:hover {
    transform: translateY(-3px);
}

.explore-all-btn:hover span {
    transform: translateX(5px);
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.destination-card {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.4s ease;
}

.destination-card.show {
    opacity: 1;
    transform: translateY(0);
}

.destination-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .destinations-section {
        padding: 75px 18px;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-card {
        height: 330px;
    }

    .category-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .destinations-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .destinations-section {
        padding: 60px 15px;
    }

    .destinations-heading {
        margin-bottom: 45px;
    }

    .destinations-heading h2 {
        font-size: 32px;
    }

    .destinations-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .destination-category {
        margin-bottom: 60px;
    }

    .category-title h3 {
        font-size: 22px;
    }

    .category-title p {
        font-size: 13px;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .destination-card {
        height: 310px;
        border-radius: 15px;
    }

    .destination-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .destination-overlay h4 {
        font-size: 25px;
    }

    /* Always show button on mobile */
    .destination-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .destinations-cta {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .destinations-cta h3 {
        font-size: 22px;
        line-height: 1.35;
    }

    .explore-all-btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .destinations-heading h2 {
        font-size: 28px;
    }

    .destination-card {
        height: 280px;
    }

    .destination-overlay h4 {
        font-size: 23px;
    }

}