/* =========================================================
   ANDAMAN GUIDERS
   PACKAGES PAGE
========================================================= */

.packages-page {
    position: relative;
    overflow: hidden;
    background: var(--sky-pale);
    color: var(--text);
}


/* =========================================================
   HERO
========================================================= */

.packages-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(3, 55, 94, 0.94),
            rgba(7, 133, 198, 0.82),
            rgba(39, 199, 230, 0.72)
        ),
        url("../images/packages/package-hero.jpg")
        center / cover no-repeat;
}


.packages-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(255, 179, 107, 0.18),
            transparent 30%
        );
}


.packages-hero-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 92%);

    text-align: center;

    padding: 100px 20px 130px;

    color: var(--white);
}


.packages-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, 0.45);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 28px;
}


.packages-hero-content h1 {
    max-width: 900px;

    margin: 0 auto;

    font-family: var(--heading-font);

    font-size: clamp(45px, 6vw, 78px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -1px;
}


.packages-hero-content h1 span {
    display: block;

    margin-top: 8px;

    background: linear-gradient(
        90deg,
        #ffffff,
        #73d7f5,
        #ffffff
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.packages-hero-content > p {
    max-width: 720px;

    margin: 28px auto 0;

    font-size: 17px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.86);
}


/* =========================================================
   HERO META
========================================================= */

.packages-hero-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 35px;

    margin-top: 48px;
}


.hero-meta-item {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.hero-meta-item strong {
    font-size: 25px;

    line-height: 1;

    color: var(--white);
}


.hero-meta-item span {
    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: rgba(255, 255, 255, 0.68);
}


.hero-meta-line {
    width: 1px;

    height: 42px;

    background: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   HERO WAVE
========================================================= */

.hero-wave {
    position: absolute;

    left: -5%;
    bottom: -70px;

    width: 110%;
    height: 150px;

    background: var(--sky-pale);

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

    z-index: 3;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.packages-section {
    position: relative;

    padding: 90px 0 110px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(39, 199, 230, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(115, 215, 245, 0.12),
            transparent 30%
        ),
        var(--sky-pale);
}


.packages-container {
    width: min(1240px, 92%);

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}


.section-eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.5px;

    color: var(--ocean);
}


.section-heading h2 {
    margin: 0;

    font-family: var(--heading-font);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.15;

    color: var(--ocean-deep);
}


.section-heading h2 span {
    color: var(--ocean);
}


.section-heading p {
    max-width: 650px;

    margin: 18px auto 0;

    font-size: 15px;

    line-height: 1.8;

    color: var(--text-light);
}


/* =========================================================
   FILTERS
========================================================= */

.package-filters {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 48px;
}


.package-filter {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 21px;

    border: 1px solid rgba(7, 133, 198, 0.16);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.58);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    color: var(--text);

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.package-filter:hover {
    transform: translateY(-3px);

    border-color: rgba(7, 133, 198, 0.4);

    background: rgba(255, 255, 255, 0.85);

    color: var(--ocean);

    box-shadow: 0 10px 25px rgba(7, 133, 198, 0.10);
}


.package-filter.active {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--ocean-deep),
            var(--ocean),
            var(--aqua)
        );

    color: var(--white);

    box-shadow:
        0 12px 30px rgba(7, 133, 198, 0.24);
}


/* =========================================================
   PACKAGE GRID
========================================================= */

.packages-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   PACKAGE CARD
========================================================= */

.package-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--glass-border-light);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.38)
        );

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 18px 50px rgba(6, 59, 102, 0.08);

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}


.package-card:hover {
    transform: translateY(-10px);

    border-color: rgba(39, 199, 230, 0.42);

    box-shadow:
        0 28px 65px rgba(6, 59, 102, 0.14);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.package-card-image {
    position: relative;

    /* height: 270px; */

    overflow: hidden;

    background: var(--ocean-deep);
}


.package-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.7s cubic-bezier(.2,.8,.2,1);
}


.package-card:hover .package-card-image img {
    transform: scale(1.08);
}


.package-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.03) 25%,
            rgba(3, 35, 60, 0.72) 100%
        );

    pointer-events: none;
}


/* =========================================================
   DURATION BADGE
========================================================= */

.package-duration {
    position: absolute;

    left: 18px;
    bottom: 18px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 9px 14px;

    border: 1px solid rgba(255, 255, 255, 0.38);

    border-radius: 12px;

    background: rgba(3, 59, 102, 0.72);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: var(--white);

    font-size: 14px;

    font-weight: 800;
}


.package-duration small {
    opacity: 0.6;
}


/* =========================================================
   RATING
========================================================= */

.package-rating {
    position: absolute;

    top: 18px;
    right: 18px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 8px 12px;

    border: 1px solid rgba(255, 255, 255, 0.45);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: var(--white);

    font-size: 13px;

    font-weight: 800;
}


.package-rating span {
    color: #ffd166;

    font-size: 14px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.package-card-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 25px 24px 23px;
}


.package-topic {
    display: inline-block;

    width: fit-content;

    margin-bottom: 10px;

    padding: 6px 11px;

    border-radius: 8px;

    background: rgba(39, 199, 230, 0.10);

    color: var(--ocean);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


.package-card-content h3 {
    margin: 0;

    font-family: var(--heading-font);

    font-size: 25px;

    line-height: 1.25;

    color: var(--ocean-deep);
}


.package-quote {
    margin: 12px 0 18px;

    font-size: 13px;

    line-height: 1.7;

    color: var(--text-light);

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   PLACES
========================================================= */

.package-places {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    min-height: 45px;

    margin-bottom: 22px;

    padding: 12px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.48);

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.6;
}


.places-icon {
    flex: 0 0 auto;

    color: var(--coral);

    font-size: 13px;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.package-card-footer {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid rgba(6, 59, 102, 0.08);
}


.package-price {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.package-price small {
    color: var(--text-light);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


.package-price strong {
    color: var(--ocean-deep);

    font-size: 22px;

    line-height: 1;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.package-view-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 43px;

    padding: 0 17px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--ocean-deep),
            var(--ocean)
        );

    color: var(--white);

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(7, 133, 198, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.package-view-btn i {
    font-size: 11px;

    transition:
        transform 0.3s ease;
}


.package-view-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(7, 133, 198, 0.28);
}


.package-view-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.packages-empty {
    max-width: 550px;

    margin: 40px auto 0;

    padding: 60px 30px;

    text-align: center;

    border: 1px solid var(--glass-border-light);

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.55);

    backdrop-filter: blur(18px);
}


.empty-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: rgba(39, 199, 230, 0.12);

    color: var(--ocean);

    font-size: 25px;
}


.packages-empty h3 {
    margin: 0 0 10px;

    font-family: var(--heading-font);

    font-size: 28px;

    color: var(--ocean-deep);
}


.packages-empty p {
    margin: 0 0 25px;

    color: var(--text-light);

    font-size: 14px;
}


.empty-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 45px;

    padding: 0 22px;

    border-radius: 12px;

    background: var(--ocean);

    color: var(--white);

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   CTA
========================================================= */

.packages-cta {
    position: relative;

    overflow: hidden;

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--ocean-deep),
            var(--ocean),
            #0ca6c9
        );

    color: var(--white);
}


.cta-content {
    position: relative;

    z-index: 2;

    max-width: 780px;

    margin: 0 auto;

    text-align: center;
}


.packages-cta .section-eyebrow {
    color: var(--turquoise);
}


.packages-cta h2 {
    margin: 0;

    font-family: var(--heading-font);

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.15;
}


.packages-cta h2 span {
    display: block;

    color: var(--sand-light);
}


.packages-cta p {
    max-width: 650px;

    margin: 20px auto 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.cta-buttons {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 32px;
}


.cta-primary,
.cta-secondary {
    min-height: 50px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 25px;

    border-radius: 13px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.cta-primary {
    background: var(--white);

    color: var(--ocean-deep);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.14);
}


.cta-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.20);
}


.cta-primary i {
    transition: transform 0.3s ease;
}


.cta-primary:hover i {
    transform: translateX(4px);
}


.cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.38);

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: var(--white);
}


.cta-secondary:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   CTA GLOWS
========================================================= */

.cta-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;
}


.cta-glow-one {
    width: 420px;
    height: 420px;

    top: -240px;
    left: -120px;

    background: rgba(39, 199, 230, 0.18);
}


.cta-glow-two {
    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -300px;

    background: rgba(255, 179, 107, 0.15);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .package-card-image {
        height: 250px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .packages-hero {
        min-height: 540px;
    }


    .packages-hero-content {
        padding: 80px 15px 120px;
    }


    .packages-hero-badge {
        font-size: 9px;

        letter-spacing: 1.5px;

        padding: 8px 14px;
    }


    .packages-hero-content h1 {
        font-size: 42px;
    }


    .packages-hero-content > p {
        font-size: 14px;

        line-height: 1.7;
    }


    .packages-hero-meta {
        gap: 17px;

        margin-top: 35px;
    }


    .hero-meta-item strong {
        font-size: 19px;
    }


    .hero-meta-item span {
        font-size: 8px;

        letter-spacing: 1px;
    }


    .hero-meta-line {
        height: 32px;
    }


    .hero-wave {
        bottom: -55px;

        height: 110px;
    }


    .packages-section {
        padding: 70px 0 80px;
    }


    .packages-container {
        width: min(92%, 520px);
    }


    .section-heading {
        margin-bottom: 35px;
    }


    .section-heading h2 {
        font-size: 36px;
    }


    .section-heading p {
        font-size: 13px;
    }


    .package-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding: 5px 2px 15px;

        margin-bottom: 30px;

        scrollbar-width: none;
    }


    .package-filters::-webkit-scrollbar {
        display: none;
    }


    .package-filter {
        flex: 0 0 auto;

        min-height: 42px;

        padding: 0 16px;

        font-size: 11px;
    }


    .packages-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .package-card-image {
        height: 245px;
    }


    .package-card-content {
        padding: 22px 20px 20px;
    }


    .package-card-content h3 {
        font-size: 23px;
    }


    .package-price strong {
        font-size: 20px;
    }


    .package-view-btn {
        min-height: 42px;

        padding: 0 14px;
    }


    .packages-cta {
        padding: 75px 0;
    }


    .packages-cta h2 {
        font-size: 39px;
    }


    .packages-cta p {
        font-size: 13px;
    }


    .cta-buttons {
        flex-direction: column;

        width: 100%;
    }


    .cta-primary,
    .cta-secondary {
        width: 100%;

        max-width: 280px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .packages-hero-content h1 {
        font-size: 36px;
    }


    .packages-hero-meta {
        gap: 12px;
    }


    .hero-meta-item strong {
        font-size: 17px;
    }


    .package-card-image {
        height: 220px;
    }


    .package-card-footer {
        align-items: stretch;

        flex-direction: column;
    }


    .package-view-btn {
        width: 100%;
    }

}