/* ============================================================
   LetsTravel — Destination Explorer Section Styles
   ============================================================ */

.explore-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    display: flex;
    flex-direction: row-reverse;
    overflow: hidden;
    z-index: 10;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════
   Left Column: Featured Destination Card (Frame 34)
   ══════════════════════════════════════════════════════════ */
.explore-section__left {
    position: relative;
    width: 50%;
    height: 100%;
    border-radius: 0px 50px 50px 0px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.explore-section__left--siargao {
    background-image: url('https://festive-archimedes.49-13-51-206.plesk.page/wp-content/uploads/2026/06/explore-main.jpg');
}

.explore-section__left--costarica {
    background-color: #29A88E;
}

/* Glassmorphic info box inside the featured card (Rectangle 66 / Group 39) */
.explore-section__left-card {
    position: absolute;
    bottom: 56px;
    right: 58px;
    width: calc(100% - 116px);
    max-width: 836px;
    height: 284px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 35px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.explore-section__left-card.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

/* Top Row of the Info Card */
.explore-section__left-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.explore-section__left-title {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
    text-align: right;
}

.explore-section__left-country {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    margin: 0;
    text-align: left;
}

/* Divider Line (Line 12) */
.explore-section__left-divider {
    width: 100%;
    height: 0px;
    opacity: 0.3;
    border: 1px solid #FFFFFF;
    margin: 15px 0;
}

/* Bottom Row of the Info Card */
.explore-section__left-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 30px;
}

.explore-section__left-desc {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    text-align: right;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
    max-width: 458px;
}

/* Glassmorphic Button (Group 29 / Rectangle 12 / Rectangle 13) */
.explore-section__left-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 205px;
    height: 60px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: #FFFFFF !important;
    font-family: 'Polin', var(--lt-font);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 24px 5px 5px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.explore-section__left-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.explore-section__left-btn .btn-arrow-circle {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FFFFFF;
}

.explore-section__left-btn:hover .btn-arrow-circle {
    transform: translateX(-4px);
    background: #FFFFFF;
    color: #1E2735;
}

/* ── Cloud Decorations on Left Card ── */
.explore-section__left-clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

/* ══════════════════════════════════════════════════════════
   Right Column: Destinations Explorer (Figma right side)
   ══════════════════════════════════════════════════════════ */
.explore-section__right {
    position: relative;
    width: 50%;
    height: 100%;
    background: #FFFFFF;
    padding: 80px 80px 56px 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

/* Section Title */
.explore-section__right-title {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 500;
    font-size: 55px;
    line-height: 72px;
    text-align: right;
    color: #1E2735;
    margin: 0 0 20px 0;
}

/* Search / Filter Row */
.explore-section__search-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.explore-section__search-col-left {
    position: relative;
    width: 244px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(30, 39, 53, 0.3);
    padding-bottom: 8px;
}

.explore-section__search-col-right {
    position: relative;
    width: 535px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(30, 39, 53, 0.3);
    padding-bottom: 8px;
}

.explore-section__search-label {
    font-family: 'Polin', var(--lt-font);
    font-size: 20px;
    line-height: 28px;
    color: #1E2735;
    opacity: 0.4;
    text-align: right;
    margin: 0;
}

.explore-section__search-value {
    font-family: 'Polin', var(--lt-font);
    font-size: 20px;
    line-height: 28px;
    color: #1E2735;
    text-align: right;
    margin: 0;
}

.explore-section__search-icon {
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E2735;
}

.explore-section__search-chevron {
    width: 20px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E2735;
}

/* Carousel container of cards (Rectangle 67 / 68) */
.explore-section__carousel {
    display: flex;
    flex-direction: row;
    gap: 28px;
    margin-bottom: 40px;
    width: 100%;
    justify-content: flex-start;
}

.explore-card {
    position: relative;
    width: 338px;
    height: 544px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background-size: cover;
    background-position: center;
}

/* Gradients for slider cards */
.explore-card--siargao {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 85%),
                linear-gradient(180deg, rgba(0, 23, 60, 0.2) 0%, rgba(45, 129, 217, 0.4) 100%);
}

.explore-card--costarica {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 85%),
                linear-gradient(180deg, rgba(0, 23, 60, 0.2) 0%, rgba(41, 168, 142, 0.4) 100%);
}

/* Active vs Inactive Card styling */
.explore-card.explore-card--active {
    opacity: 1;
    transform: scale(1.0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.explore-card.explore-card--inactive {
    opacity: 0.5;
    transform: scale(0.95);
}

.explore-card.explore-card--inactive:hover {
    opacity: 0.8;
    transform: scale(0.97);
}

/* Content inside carousel card */
.explore-card__content {
    position: absolute;
    bottom: 35px;
    right: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.explore-card__title {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
    text-align: right;
}

.explore-card__subtitle {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    color: #FFFFFF;
    margin: 0;
    text-align: right;
}

/* ── Right Column Footer ── */
.explore-section__right-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.explore-section__all-link {
    font-family: 'Polin', var(--lt-font);
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    text-align: right;
    text-decoration-line: underline;
    color: #000000 !important;
    transition: opacity 0.3s ease;
}

.explore-section__all-link:hover {
    opacity: 0.7;
}

/* Nav Buttons prev/next (Group 40 / Rectangle 21 / 22) */
.explore-section__nav-btns {
    display: flex;
    gap: 16px;
}

.explore-section__nav-btn {
    width: 50px;
    height: 50px;
    background: #F0F0F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: #1E2735;
    transition: background 0.3s ease, color 0.3s ease;
}

.explore-section__nav-btn:hover {
    background: #1E2735;
    color: #FFFFFF;
}

.explore-section__nav-btn svg {
    width: 10px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════════
   Global Sticky Navigation Header Styles adaptation
   When header has .nav-dark-mode class
   ══════════════════════════════════════════════════════════ */
.hero-nav.nav-dark-mode .hero-nav__link {
    color: #1E2735;
}

.hero-nav.nav-dark-mode .hero-nav__link .menu-chevron path {
    stroke: #1E2735;
}

.hero-nav.nav-dark-mode .hero-nav__logo img {
    filter: invert(1) brightness(0.2); /* Invert logo to black */
}

/* Keep links glassmorphic container transparent or dark-bordered */
.hero-nav.nav-dark-mode .hero-nav__links {
    border-color: rgba(30, 39, 53, 0.2);
}

/* Keep the contact button white since it floats over the dark left card */
.hero-nav.nav-dark-mode .hero-nav__contact {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ══════════════════════════════════════════════════════════
   Responsive Media Queries
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1400px) {
    .explore-section__right {
        padding: 80px 40px 40px 40px;
    }
    .explore-card {
        width: 280px;
        height: 450px;
    }
}

@media (max-height: 950px) and (min-width: 1200px) {
    .explore-section__right {
        padding: 50px 50px 35px 50px;
    }
    .explore-section__right-title {
        font-size: 44px;
        line-height: 58px;
        margin-bottom: 15px;
    }
    .explore-section__search-row {
        margin-bottom: 25px;
    }
    .explore-card {
        width: 280px;
        height: 440px;
    }
    .explore-section__left-card {
        bottom: 35px;
        right: 35px;
        width: calc(100% - 70px);
        padding: 25px;
        height: auto;
    }
}

@media (max-height: 800px) and (min-width: 1200px) {
    .explore-section__right {
        padding: 40px 40px 25px 40px;
    }
    .explore-section__right-title {
        font-size: 38px;
        line-height: 50px;
        margin-bottom: 10px;
    }
    .explore-section__search-row {
        margin-bottom: 20px;
        gap: 20px;
    }
    .explore-card {
        width: 240px;
        height: 350px;
    }
    .explore-section__left-card {
        bottom: 25px;
        right: 25px;
        width: calc(100% - 50px);
        padding: 20px;
    }
    .explore-section__left-title {
        font-size: 26px;
        line-height: 36px;
    }
    .explore-section__left-country {
        font-size: 18px;
        line-height: 25px;
    }
    .explore-section__left-desc {
        font-size: 16px;
        line-height: 24px;
        max-width: 380px;
    }
    .explore-section__left-btn {
        width: 180px;
        height: 50px;
        font-size: 16px;
    }
    .explore-section__left-btn .btn-arrow-circle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1200px) {
    .explore-section {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .explore-section__left {
        width: 100%;
        height: 60vh;
        min-height: 500px;
        border-radius: 0px 0px 40px 40px;
    }

    .explore-section__left-card {
        bottom: 30px;
        right: 20px;
        width: calc(100% - 40px);
        max-width: none;
        height: auto;
        padding: 25px;
    }

    .explore-section__left-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .explore-section__left-desc {
        max-width: none;
    }

    .explore-section__left-btn {
        width: 100%;
    }

    .explore-section__right {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 60px 20px 40px 20px;
        gap: 30px;
    }

    .explore-section__carousel {
        overflow-x: auto;
        padding-bottom: 15px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .explore-card {
        flex-shrink: 0;
        width: 260px;
        height: 400px;
    }
    
    .explore-section__search-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .explore-section__search-col-left,
    .explore-section__search-col-right {
        width: 100%;
    }
}
