/* =========================================================
   KALAPANI HOLIDAYS
   PACKAGES LISTING PAGE
   FINAL CSS
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.packages-page {
    background: #f7faff;
    color: #071a33;
    overflow: hidden;
}

.packages-page *,
.packages-page *::before,
.packages-page *::after {
    box-sizing: border-box;
}

.packages-page .container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.packages-breadcrumb-wrap {
    background: #ffffff;
}

.packages-breadcrumb-wrap .container {
    padding-top: 18px;
}

.packages-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.packages-breadcrumb a {
    color: #12aef3;
    text-decoration: none;
    font-weight: 700;
}

.packages-breadcrumb a:hover {
    color: #079ddd;
}

.packages-breadcrumb span {
    color: #64748b;
}


/* =========================================================
   HERO
   ========================================================= */

.packages-hero {
    padding: 28px 0 55px;
    background: #ffffff;
}

.packages-hero-content {
    max-width: 1000px;
}

.packages-eyebrow,
.packages-section-heading > span,
.seo-content-box > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #10aef3;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
}

.packages-hero h1 {
    margin: 0 0 14px;
    color: #071a33;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
}

.packages-hero p {
    max-width: 1050px;
    margin: 0;
    color: #405775;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.packages-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* =========================================================
   COMMON BUTTON
   ========================================================= */

.package-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.package-btn:hover {
    transform: translateY(-2px);
}

.package-btn-primary {
    border: 1.5px solid #10aef3;
    background: #10aef3;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(16, 174, 243, 0.22);
}

.package-btn-primary:hover {
    background: #079ddd;
    border-color: #079ddd;
    color: #ffffff;
}

.package-btn-outline {
    border: 1.5px solid #10aef3;
    background: #ffffff;
    color: #10aef3;
}

.package-btn-outline:hover {
    background: #10aef3;
    color: #ffffff;
}


/* =========================================================
   PACKAGE CATEGORIES
   ========================================================= */

.package-categories {
    padding: 65px 0 70px;
    background: #f7faff;
}

.package-categories .packages-section-heading {
    max-width: 900px;
    margin-bottom: 32px;
}

.package-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.package-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 245px;
    padding: 25px 20px 22px;
    border: 1px solid #e1eaf2;
    border-radius: 20px;
    background: #ffffff;
    color: #071a33;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(7, 26, 51, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.package-category-card:hover {
    transform: translateY(-5px);
    border-color: #bfe9fb;
    box-shadow: 0 16px 38px rgba(7, 26, 51, 0.10);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #eef9fe;
    font-size: 25px;
}

.package-category-card h3 {
    margin: 0 0 9px;
    color: #071a33;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.package-category-card p {
    margin: 0;
    color: #60738a;
    font-size: 14px;
    line-height: 1.6;
}

.package-category-card > span {
    margin-top: auto;
    padding-top: 18px;
    color: #10aef3;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}


/* =========================================================
   PACKAGE LIST SECTION
   ========================================================= */

.packages-list-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.packages-section-heading {
    max-width: 1050px;
    margin-bottom: 42px;
}

.packages-section-heading h2 {
    margin: 0 0 12px;
    color: #071a33;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.packages-section-heading p {
    margin: 0;
    color: #50657f;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   PACKAGE GRID
   ========================================================= */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}


/* =========================================================
   PACKAGE CARD
   ========================================================= */

.package-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(7, 26, 51, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(7, 26, 51, 0.12);
}


/* =========================================================
   PACKAGE IMAGE
   ========================================================= */

.package-card-image {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: #eaf1f7;
}

.package-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.package-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.package-card:hover .package-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   BADGE
   ========================================================= */

.package-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 50px;
    background: #10aef3;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(16, 174, 243, 0.25);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.package-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}


/* =========================================================
   DURATION
   ========================================================= */

.package-duration {
    margin-bottom: 10px;
    color: #10aef3;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}


/* =========================================================
   TITLE
   ========================================================= */

.package-card-title {
    margin: 0 0 9px;
    color: #071a33;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.package-card-title a {
    color: inherit;
    text-decoration: none;
}

.package-card-title a:hover {
    color: #10aef3;
}


/* =========================================================
   LOCATION
   ========================================================= */

.package-location {
    margin-bottom: 14px;
    color: #63758c;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.package-description {
    margin: 0 0 18px;
    color: #52677f;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   META
   ========================================================= */

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.package-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f0f7fc;
    color: #405875;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   FEATURES
   ========================================================= */

.package-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.package-features li {
    display: flex;
    gap: 7px;
    position: relative;
    color: #4c6179;
    font-size: 13px;
    line-height: 1.5;
    padding-left: 0;
}

.package-features li span {
    flex: 0 0 auto;
    color: #10aef3;
    font-weight: 800;
}


/* =========================================================
   PRICE
   ========================================================= */

.package-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e8eef4;
}

.package-price small {
    width: 100%;
    margin-bottom: 2px;
    color: #7a8b9e;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.package-price strong {
    color: #071a33;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
}

.package-price span {
    color: #718197;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   CARD BUTTONS
   ========================================================= */

.package-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.package-btn-whatsapp {
    border: 1.5px solid #25d366;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(37, 211, 102, 0.18);
}

.package-btn-whatsapp:hover {
    background: #1fbd5b;
    border-color: #1fbd5b;
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.packages-empty {
    padding: 60px 30px;
    border: 1px solid #e1eaf2;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 35px rgba(7, 26, 51, 0.06);
}

.packages-empty .empty-icon {
    margin-bottom: 12px;
    font-size: 38px;
}

.packages-empty h2 {
    margin: 0 0 12px;
    color: #071a33;
    font-size: 32px;
}

.packages-empty p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #60738a;
    line-height: 1.7;
}


/* =========================================================
   SEO CONTENT
   ========================================================= */

.packages-seo-content {
    padding: 75px 0;
    background: #ffffff;
}

.seo-content-box {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content-box h2 {
    margin: 0 0 20px;
    color: #071a33;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.seo-content-box p {
    margin: 0 0 18px;
    color: #50657d;
    font-size: 17px;
    line-height: 1.8;
}

.seo-content-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FAQ
   ========================================================= */

.packages-faq {
    padding: 75px 0;
    background: #f7faff;
}

.packages-faq .packages-section-heading {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.packages-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.packages-faq details {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e1eaf2;
    border-radius: 14px;
    background: #ffffff;
}

.packages-faq summary {
    position: relative;
    padding: 20px 55px 20px 22px;
    color: #071a33;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.packages-faq summary::-webkit-details-marker {
    display: none;
}

.packages-faq summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #10aef3;
    font-size: 25px;
    font-weight: 400;
}

.packages-faq details[open] summary::after {
    content: '−';
}

.packages-faq details p {
    margin: 0;
    padding: 0 22px 22px;
    color: #5b6e84;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .package-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 1050px) {

    .packages-page .container {
        width: min(100% - 36px, 960px);
    }

    .package-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-card-image {
        height: 230px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .packages-page .container {
        width: min(100% - 28px, 600px);
    }

    .packages-breadcrumb-wrap .container {
        padding-top: 14px;
    }

    .packages-breadcrumb {
        font-size: 13px;
    }

    .packages-hero {
        padding: 22px 0 45px;
    }

    .packages-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .packages-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .packages-hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 22px;
    }

    .packages-hero-actions .package-btn {
        width: 100%;
    }

    .package-categories {
        padding: 50px 0 55px;
    }

    .package-category-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .package-category-card {
        min-height: auto;
        padding: 21px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .package-category-card > span {
        padding-top: 14px;
    }

    .packages-list-section {
        padding: 55px 0 65px;
    }

    .packages-section-heading {
        margin-bottom: 30px;
    }

    .packages-section-heading h2 {
        font-size: 34px;
    }

    .packages-section-heading p {
        font-size: 15px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .package-card-image {
        height: 235px;
    }

    .package-card-content {
        padding: 22px;
    }

    .package-card-title {
        font-size: 23px;
    }

    .package-card-actions {
        grid-template-columns: 1fr;
    }

    .packages-seo-content,
    .packages-faq {
        padding: 60px 0;
    }

    .seo-content-box h2 {
        font-size: 32px;
    }

    .seo-content-box p {
        font-size: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .packages-page .container {
        width: calc(100% - 22px);
    }

    .packages-hero h1 {
        font-size: 34px;
    }

    .packages-section-heading h2 {
        font-size: 30px;
    }

    .package-card-image {
        height: 215px;
    }

    .package-card-content {
        padding: 19px;
    }

    .package-category-card h3 {
        font-size: 18px;
    }

}


/* =========================================================
   SAFETY / IMAGE FIX
   ========================================================= */

.packages-page img {
    max-width: 100%;
}


/* =========================================================
   FINAL EMPTY STATE COMPATIBILITY
   ========================================================= */

.packages-empty-state {
    padding: 56px 32px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(7, 26, 51, 0.06);
}

.packages-empty-state h3 {
    margin: 0 0 10px;
    color: #071a33;
    font-size: 28px;
    font-weight: 800;
}

.packages-empty-state p {
    margin: 0 auto 24px;
    max-width: 620px;
    color: #526b88;
    line-height: 1.7;
}