/* ============================================================
   ANDAMAN GUIDERS
   DESTINATIONS PAGE
   Sea Light Blue • Glassmorphism • Responsive
   ============================================================ */


/* ============================================================
   DESTINATIONS HERO
   ============================================================ */

.destinations-hero {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(3, 65, 105, 0.82),
            rgba(8, 132, 198, 0.58),
            rgba(39, 199, 230, 0.38)),
        url("../images/destinations/destinations-hero.jpg") center / cover no-repeat;
}


/* Soft blue atmosphere */

.destinations-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;

    top: -220px;
    right: -120px;

    background: rgba(115, 215, 245, 0.30);

    border-radius: 50%;

    filter: blur(80px);
}


/* Bottom fade */

.destinations-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background: linear-gradient(to top,
            rgba(231, 250, 255, 0.85),
            transparent);

    pointer-events: none;
}


.destinations-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%,
            rgba(115, 215, 245, 0.25),
            transparent 35%),
        radial-gradient(circle at 80% 70%,
            rgba(39, 199, 230, 0.18),
            transparent 35%);
}


.destinations-hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    padding: 120px 0 100px;

    color: #ffffff;
}


.destinations-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 17px;

    margin-bottom: 24px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;
}


.destinations-hero-content h1 {
    margin: 0;

    max-width: 850px;

    font-family: var(--heading-font);

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -1.5px;
}


.destinations-hero-content h1 span {
    display: block;

    color: #8eeaff;

    text-shadow:
        0 5px 25px rgba(39, 199, 230, 0.35);
}


.destinations-hero-content>p {
    max-width: 680px;

    margin: 26px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.8;
}


/* ============================================================
   HERO META
   ============================================================ */

.destinations-hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 17px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.14);

    border: 1px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;
}


.hero-meta-item strong {
    font-size: 17px;
}


/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.hero-scroll {
    position: absolute;

    z-index: 3;

    right: 50px;
    bottom: 45px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 11px;

    letter-spacing: 1px;

    writing-mode: vertical-rl;
}


.scroll-line {
    width: 1px;
    height: 55px;

    background: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   INTRO
   ============================================================ */

.destinations-intro {
    padding-top: 95px;
    padding-bottom: 55px;
}


.destinations-intro .section-head {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.section-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--ocean);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.destinations-intro .section-title {
    margin: 0;

    font-family: var(--heading-font);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.15;

    color: var(--text);
}


.destinations-intro .section-title span {
    color: var(--ocean);
}


.destinations-intro .section-head p {
    max-width: 650px;

    margin: 20px auto 0;

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.8;
}


/* ============================================================
   EXPLORER
   ============================================================ */

.destination-explorer {
    padding: 30px 0 100px;
}


/* ============================================================
   FILTER
   ============================================================ */

.destination-filter {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    width: fit-content;
    max-width: 100%;

    margin: 0 auto 45px;

    padding: 9px;

    border-radius: 60px;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.68);

    box-shadow:
        0 15px 45px rgba(7, 89, 133, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.filter-btn {
    border: 0;

    padding: 11px 20px;

    border-radius: 40px;

    background: transparent;

    color: var(--text-light);

    font-family: var(--body-font);

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.filter-btn:hover {
    color: var(--ocean);

    background: rgba(255, 255, 255, 0.55);

    transform: translateY(-1px);
}


.filter-btn.active {
    color: #ffffff;

    background: linear-gradient(135deg,
            var(--ocean),
            var(--aqua));

    box-shadow:
        0 8px 20px rgba(7, 132, 198, 0.22);
}


/* ============================================================
   DESTINATION GRID
   ============================================================ */

.destinations-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* ============================================================
   DESTINATION CARD
   ============================================================ */

.destination-card {
    position: relative;

    overflow: hidden;

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.40);

    border: 1px solid rgba(255, 255, 255, 0.68);

    box-shadow:
        0 18px 45px rgba(7, 89, 133, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.45s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.45s ease,
        opacity 0.25s ease;
}


.destination-card:hover {
    transform: translateY(-9px);

    box-shadow:
        0 25px 60px rgba(7, 89, 133, 0.18),
        0 0 0 1px rgba(39, 199, 230, 0.15);
}


/* ============================================================
   IMAGE
   ============================================================ */

.destination-image {
    position: relative;

    height: 285px;

    overflow: hidden;
}


.destination-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2, .8, .2, 1);
}


.destination-card:hover .destination-image img {
    transform: scale(1.08);
}


/* ============================================================
   IMAGE OVERLAY
   ============================================================ */

.destination-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(3, 45, 70, 0.65),
            rgba(3, 45, 70, 0.05) 65%,
            transparent);

    pointer-events: none;
}


/* ============================================================
   REGION BADGE
   ============================================================ */

.destination-region {
    position: absolute;

    z-index: 2;

    top: 16px;
    left: 16px;

    padding: 7px 13px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.20);

    border: 1px solid rgba(255, 255, 255, 0.42);

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.4px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ============================================================
   IMAGE ARROW
   ============================================================ */

.destination-arrow {
    position: absolute;

    z-index: 3;

    right: 16px;
    bottom: 16px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.22);

    border: 1px solid rgba(255, 255, 255, 0.45);

    color: #ffffff;

    font-size: 20px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.destination-card:hover .destination-arrow {
    background: var(--ocean);

    transform: translateX(3px);
}


/* ============================================================
   CARD CONTENT
   ============================================================ */

.destination-content {
    padding: 23px 23px 25px;
}


.destination-location {
    display: block;

    margin-bottom: 7px;

    color: var(--ocean);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.3px;
}


.destination-content h3 {
    margin: 0;

    color: var(--text);

    font-family: var(--heading-font);

    font-size: 25px;

    line-height: 1.2;
}


.destination-content p {
    margin: 12px 0 20px;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;
}


.destination-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ocean);

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}


.destination-link span {
    font-size: 17px;

    transition: transform 0.3s ease;
}


.destination-link:hover {
    color: var(--ocean-dark);

    gap: 12px;
}


.destination-link:hover span {
    transform: translateX(3px);
}


/* ============================================================
   FILTER ANIMATION
   ============================================================ */

.destination-card.destination-hidden {
    opacity: 0;

    transform: scale(0.94);
}


.destination-card.destination-visible {
    opacity: 1;

    transform: scale(1);
}


/* ============================================================
   CTA
   ============================================================ */

.destinations-cta {
    padding: 0 0 100px;
}


.destinations-cta-card {
    position: relative;

    overflow: hidden;

    min-height: 330px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 60px 70px;

    border-radius: 30px;

    background:
        linear-gradient(135deg,
            rgba(7, 89, 133, 0.88),
            rgba(8, 166, 184, 0.76));

    border: 1px solid rgba(255, 255, 255, 0.35);

    box-shadow:
        0 25px 60px rgba(7, 89, 133, 0.18);

    color: #ffffff;
}


.destinations-cta-card::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -100px;
    top: -180px;

    border-radius: 50%;

    background: rgba(115, 215, 245, 0.22);

    filter: blur(20px);
}


.destinations-cta-card::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -170px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);
}


.destinations-cta-card .cta-content {
    position: relative;

    z-index: 2;

    max-width: 650px;
}


.destinations-cta-card .section-kicker {
    color: #bdf5ff;
}


.destinations-cta-card h2 {
    margin: 0;

    font-family: var(--heading-font);

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.1;
}


.destinations-cta-card h2 span {
    color: #9cefff;
}


.destinations-cta-card p {
    max-width: 580px;

    margin: 18px 0 25px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;

    line-height: 1.75;
}


.cta-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}


.destinations-cta-card .btn-primary {
    background: #ffffff;

    color: var(--ocean-dark);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


.destinations-cta-card .btn-primary:hover {
    background: #e9fbff;

    color: var(--ocean-deep);
}


.destinations-cta-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);
}


.destinations-cta-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
}


/* ============================================================
   CTA DECORATION
   ============================================================ */

.cta-decoration {
    position: relative;

    z-index: 2;

    width: 260px;
    height: 220px;
}


.cta-decoration span {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-size: 35px;

    animation: floatDestination 5s ease-in-out infinite;
}


.cta-decoration span:nth-child(1) {
    top: 20px;
    left: 30px;
}


.cta-decoration span:nth-child(2) {
    right: 10px;
    top: 80px;

    width: 105px;
    height: 105px;

    animation-delay: 1s;
}


.cta-decoration span:nth-child(3) {
    bottom: 0;
    left: 90px;

    width: 70px;
    height: 70px;

    animation-delay: 2s;
}


@keyframes floatDestination {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* ============================================================
   RESPONSIVE
   ============================================================ */


/* ---------- 1200px ---------- */

@media (max-width: 1199px) {

    .destinations-hero {
        min-height: 600px;
    }

    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .destination-image {
        height: 255px;
    }

    .destination-content {
        padding: 20px;
    }

    .destinations-cta-card {
        padding: 50px;
    }

}


/* ---------- 991px ---------- */

@media (max-width: 991px) {

    .destinations-hero {
        min-height: 590px;
    }

    .destinations-hero-content {
        text-align: center;

        margin: 0 auto;

        padding: 100px 0 80px;
    }

    .destinations-hero-content>p {
        margin-left: auto;
        margin-right: auto;
    }

    .destinations-hero-meta {
        justify-content: center;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-filter {
        width: 100%;

        border-radius: 24px;
    }

    .destinations-cta-card {
        text-align: center;

        justify-content: center;

        padding: 55px 35px;
    }

    .destinations-cta-card .cta-content {
        max-width: 700px;
    }

    .destinations-cta-card p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-decoration {
        display: none;
    }

}


/* ---------- 767px ---------- */

@media (max-width: 767px) {

    .destinations-hero {
        min-height: 570px;
    }

    .destinations-hero-content {
        padding: 90px 15px 80px;
    }

    .destinations-hero-content h1 {
        font-size: 46px;
        line-height: 1.08;
    }

    .destinations-hero-content>p {
        font-size: 15px;

        line-height: 1.7;
    }

    .destinations-hero-meta {
        gap: 8px;
    }

    .hero-meta-item {
        padding: 9px 13px;

        font-size: 11px;
    }

    .hero-scroll {
        display: none;
    }


    /* INTRO */

    .destinations-intro {
        padding-top: 65px;
        padding-bottom: 35px;
    }


    /* FILTER */

    .destination-filter {
        justify-content: center;

        gap: 6px;

        padding: 8px;

        border-radius: 20px;
    }

    .filter-btn {
        padding: 10px 13px;

        font-size: 12px;
    }


    /* GRID */

    .destinations-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .destination-image {
        height: 280px;
    }


    /* CTA */

    .destinations-cta {
        padding-bottom: 65px;
    }

    .destinations-cta-card {
        border-radius: 24px;

        padding: 45px 22px;
    }

}


/* ---------- 575px ---------- */

@media (max-width: 575px) {

    .destinations-hero {
        min-height: 540px;
    }

    .destinations-hero-content {
        padding: 80px 10px 70px;
    }

    .destinations-hero-content h1 {
        font-size: 39px;
    }

    .destinations-hero-content>p {
        font-size: 14px;
    }


    .destinations-hero-meta {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;

        max-width: 330px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-meta-item {
        justify-content: center;

        border-radius: 15px;
    }


    /* INTRO */

    .destinations-intro .section-title {
        font-size: 32px;
    }

    .destinations-intro .section-head p {
        font-size: 14px;
    }


    /* FILTER */

    .destination-filter {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;

        max-width: 390px;

        margin-left: auto;
        margin-right: auto;
    }

    .filter-btn {
        width: 100%;
    }

    .filter-btn:first-child {
        grid-column: 1 / -1;
    }


    /* CARD */

    .destination-image {
        height: 260px;
    }

    .destination-content {
        padding: 19px;
    }

    .destination-content h3 {
        font-size: 23px;
    }

    .destination-content p {
        font-size: 13px;
    }


    /* CTA */

    .destinations-cta-card h2 {
        font-size: 34px;
    }

    .destinations-cta-card p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;

        max-width: 250px;
    }

}


/* ---------- 479px ---------- */

@media (max-width: 479px) {

    .destinations-hero {
        min-height: 510px;
    }

    .destinations-hero-content {
        padding-top: 70px;
    }

    .destinations-hero-content h1 {
        font-size: 34px;
    }

    .destinations-hero-content>p {
        font-size: 13px;
    }

    .destinations-hero-meta {
        grid-template-columns: 1fr;

        max-width: 240px;
    }

    .hero-meta-item {
        width: 100%;
    }


    .destination-filter {
        grid-template-columns: 1fr;
    }

    .filter-btn:first-child {
        grid-column: auto;
    }


    .destination-image {
        height: 240px;
    }

    .destination-content {
        padding: 17px;
    }

    .destination-content h3 {
        font-size: 21px;
    }


    .destinations-cta-card {
        padding: 38px 18px;
    }

    .destinations-cta-card h2 {
        font-size: 29px;
    }

}


/* ---------- 359px ---------- */

@media (max-width: 359px) {

    .destinations-hero-content h1 {
        font-size: 30px;
    }

    .destinations-hero-content>p {
        font-size: 12px;
    }

    .destination-image {
        height: 220px;
    }

    .destination-region {
        font-size: 10px;

        padding: 6px 10px;
    }

    .destination-arrow {
        width: 36px;
        height: 36px;

        font-size: 17px;
    }

}