/* =========================================================
   KALAPANI HOLIDAYS
   CRUISES / FERRY SERVICES
========================================================= */


/* =========================================================
   PAGE VARIABLES
========================================================= */

.kh-cruises-page {
    --kh-navy: #06283d;
    --kh-navy-dark: #041d2d;
    --kh-blue: #0b5c8e;
    --kh-blue-light: #eaf6fb;
    --kh-teal: #00a6a6;
    --kh-white: #ffffff;
    --kh-text: #163242;
    --kh-muted: #647986;
    --kh-border: #dce7ec;
    --kh-light: #f5f9fb;
    --kh-shadow: 0 14px 40px rgba(6, 40, 61, 0.08);

    color: var(--kh-text);
    background: var(--kh-white);
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.kh-cruises-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   ANCHOR SCROLL FIX
========================================================= */

.kh-cruises-page section[id] {
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}


/* =========================================================
   HERO
========================================================= */

.kh-cruises-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 29, 45, 0.98) 0%,
            rgba(4, 29, 45, 0.88) 45%,
            rgba(4, 29, 45, 0.45) 75%,
            rgba(4, 29, 45, 0.15) 100%
        ),
        linear-gradient(
            135deg,
            #06283d,
            #0b5c8e
        );
}

.kh-cruises-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -160px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.kh-cruises-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 78px 0;
}

.kh-cruises-eyebrow,
.kh-cruises-section-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.kh-cruises-eyebrow {
    color: #8ddff0;
}

.kh-cruises-hero h1 {
    margin: 0;
    color: var(--kh-white);
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2px;
    font-weight: 800;
}

.kh-cruises-hero h1 span {
    display: block;
    color: #7edbe9;
}

.kh-cruises-hero p {
    max-width: 600px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

.kh-cruises-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kh-cruises-primary-button,
.kh-cruises-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.kh-cruises-primary-button {
    color: var(--kh-navy);
    background: var(--kh-white);
}

.kh-cruises-primary-button:hover {
    transform: translateY(-2px);
    color: var(--kh-navy);
    background: #e8f8fb;
}

.kh-cruises-secondary-button {
    color: var(--kh-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.kh-cruises-secondary-button:hover {
    transform: translateY(-2px);
    color: var(--kh-white);
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.14);
}


/* =========================================================
   INTRO
========================================================= */

.kh-cruises-intro {
    padding: 68px 0;
    background: var(--kh-white);
}

.kh-cruises-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kh-cruises-section-label {
    color: var(--kh-teal);
}

.kh-cruises-intro-heading h2,
.kh-cruises-section-heading h2,
.kh-cruises-why-content h2,
.kh-cruises-cta-box h2 {
    margin: 0;
    color: var(--kh-navy);
    font-size: clamp(32px, 3.7vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.kh-cruises-intro-heading h2 span,
.kh-cruises-section-heading h2 span,
.kh-cruises-why-content h2 span,
.kh-cruises-cta-box h2 span {
    display: block;
    color: var(--kh-blue);
}

.kh-cruises-intro-text {
    padding-left: 18px;
    border-left: 2px solid var(--kh-border);
}

.kh-cruises-intro-text p {
    margin: 0 0 14px;
    color: var(--kh-muted);
    font-size: 15px;
    line-height: 1.75;
}

.kh-cruises-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.kh-cruises-section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.kh-cruises-section-heading p {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--kh-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   OPERATORS
========================================================= */

.kh-cruises-operators {
    padding: 72px 0;
    background: var(--kh-light);
}

.kh-cruises-operator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kh-cruise-operator-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--kh-border);
    border-radius: 14px;
    background: var(--kh-white);
    box-shadow: 0 8px 28px rgba(6, 40, 61, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.kh-cruise-operator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kh-shadow);
}

.kh-cruise-operator-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.kh-cruise-operator-number {
    color: var(--kh-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.kh-cruise-operator-tag {
    padding: 6px 9px;
    border-radius: 30px;
    color: var(--kh-blue);
    background: var(--kh-blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kh-cruise-operator-card h3 {
    margin: 0 0 11px;
    color: var(--kh-navy);
    font-size: 25px;
}

.kh-cruise-operator-card p {
    min-height: 76px;
    margin: 0 0 18px;
    color: var(--kh-muted);
    font-size: 14px;
    line-height: 1.65;
}

.kh-cruise-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--kh-blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.kh-cruise-text-link span {
    transition: transform 0.2s ease;
}

.kh-cruise-text-link:hover {
    color: var(--kh-teal);
}

.kh-cruise-text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FLEET SECTIONS
========================================================= */

.kh-cruises-fleet-section {
    padding: 78px 0;
    background: var(--kh-white);
}

.kh-cruises-fleet-alt {
    background: var(--kh-light);
}

.kh-cruises-vessel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.kh-cruises-green-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin: 0 auto;
}


/* =========================================================
   VESSEL CARD
========================================================= */

.kh-cruise-vessel-card {
    overflow: hidden;
    border: 1px solid var(--kh-border);
    border-radius: 16px;
    background: var(--kh-white);
    box-shadow: 0 9px 30px rgba(6, 40, 61, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.kh-cruise-vessel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kh-shadow);
}


/* =========================================================
   VESSEL IMAGE
========================================================= */

.kh-cruise-vessel-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #dbeaf0;
}

.kh-cruise-vessel-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.kh-cruise-vessel-card:hover
.kh-cruise-vessel-image img {
    transform: scale(1.035);
}

.kh-cruise-vessel-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to top,
            rgba(4, 25, 39, 0.78) 0%,
            rgba(4, 25, 39, 0.25) 45%,
            rgba(4, 25, 39, 0) 75%
        );
    pointer-events: none;
}

.kh-cruise-vessel-image span {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 18px;
    color: var(--kh-white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   VESSEL CONTENT
========================================================= */

.kh-cruise-vessel-content {
    padding: 23px;
}

.kh-cruise-vessel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.kh-cruise-vessel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 30px;
    color: var(--kh-blue);
    background: var(--kh-blue-light);
    font-size: 10px;
    font-weight: 800;
}

.kh-cruise-vessel-content h3 {
    margin: 0 0 9px;
    color: var(--kh-navy);
    font-size: 23px;
    line-height: 1.2;
}

.kh-cruise-vessel-content p {
    min-height: 68px;
    margin: 0 0 17px;
    color: var(--kh-muted);
    font-size: 13px;
    line-height: 1.65;
}

.kh-cruise-class-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 19px;
}

.kh-cruise-class-list span {
    padding: 6px 9px;
    border: 1px solid var(--kh-border);
    border-radius: 5px;
    color: var(--kh-text);
    background: var(--kh-white);
    font-size: 10px;
    font-weight: 700;
}

.kh-cruise-vessel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 45px;
    border-radius: 7px;
    color: var(--kh-white);
    background: var(--kh-navy);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kh-cruise-vessel-button:hover {
    color: var(--kh-white);
    background: var(--kh-blue);
    transform: translateY(-1px);
}


/* =========================================================
   ROUTES
========================================================= */

.kh-cruises-routes {
    padding: 72px 0;
    background: var(--kh-navy);
}

.kh-cruises-routes
.kh-cruises-section-heading h2 {
    color: var(--kh-white);
}

.kh-cruises-routes
.kh-cruises-section-heading h2 span {
    color: #7edbe9;
}

.kh-cruises-routes
.kh-cruises-section-heading p {
    color: rgba(255, 255, 255, 0.65);
}

.kh-cruises-route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.kh-cruises-route-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 108px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kh-cruises-route-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
}

.kh-cruises-route-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #7edbe9;
    background: rgba(126, 219, 233, 0.10);
    font-size: 17px;
}

.kh-cruises-route-card > div {
    min-width: 0;
    flex: 1;
}

.kh-cruises-route-card > div > span {
    display: block;
    margin-bottom: 3px;
    color: #7edbe9;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.kh-cruises-route-card strong {
    display: block;
    color: var(--kh-white);
    font-size: 16px;
}

.kh-cruises-route-card small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
}

.kh-cruises-route-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}


/* =========================================================
   WHY KALAPANI
========================================================= */

.kh-cruises-why {
    padding: 78px 0;
    background: var(--kh-white);
}

.kh-cruises-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.kh-cruises-why-content p {
    margin: 20px 0 0;
    color: var(--kh-muted);
    font-size: 15px;
    line-height: 1.75;
}

.kh-cruises-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--kh-border);
    border-left: 1px solid var(--kh-border);
}

.kh-cruises-benefit {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-right: 1px solid var(--kh-border);
    border-bottom: 1px solid var(--kh-border);
}

.kh-cruises-benefit > span {
    flex: 0 0 auto;
    color: var(--kh-teal);
    font-size: 11px;
    font-weight: 900;
}

.kh-cruises-benefit h3 {
    margin: 0 0 6px;
    color: var(--kh-navy);
    font-size: 16px;
}

.kh-cruises-benefit p {
    margin: 0;
    color: var(--kh-muted);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   CTA
========================================================= */

.kh-cruises-cta {
    padding: 65px 0;
    background: var(--kh-light);
}

.kh-cruises-cta-box {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border-radius: 17px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            #06283d,
            #0b5c8e
        );
    box-shadow: var(--kh-shadow);
}

.kh-cruises-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.kh-cruises-cta-box > * {
    position: relative;
    z-index: 2;
}

.kh-cruises-cta-box .kh-cruises-section-label {
    color: #7edbe9;
}

.kh-cruises-cta-box h2 {
    color: var(--kh-white);
}

.kh-cruises-cta-box h2 span {
    color: #7edbe9;
}

.kh-cruises-cta-box p {
    max-width: 620px;
    margin: 17px auto 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.7;
}

.kh-cruises-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 0 24px;
    border-radius: 7px;
    color: var(--kh-navy);
    background: var(--kh-white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.kh-cruises-cta-button:hover {
    color: var(--kh-navy);
    background: #e8f8fb;
    transform: translateY(-2px);
}


/* =========================================================
   IMPORTANT NOTE
========================================================= */

.kh-cruises-note {
    padding: 0 0 50px;
    background: var(--kh-light);
}

.kh-cruises-note-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 23px;
    border: 1px solid #d8e8ee;
    border-radius: 10px;
    background: #eef8fb;
}

.kh-cruises-note-box > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--kh-blue);
    font-size: 18px;
}

.kh-cruises-note-box strong {
    display: block;
    margin-bottom: 5px;
    color: var(--kh-navy);
    font-size: 13px;
}

.kh-cruises-note-box p {
    margin: 0;
    color: var(--kh-muted);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .kh-cruises-container {
        width: min(100% - 32px, 900px);
    }

    .kh-cruises-hero {
        min-height: 480px;
    }

    .kh-cruises-intro-grid {
        gap: 40px;
    }

    .kh-cruises-operator-grid,
    .kh-cruises-vessel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kh-cruises-route-grid {
        grid-template-columns: 1fr;
    }

    .kh-cruises-why-grid {
        gap: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .kh-cruises-container {
        width: calc(100% - 28px);
    }

    .kh-cruises-page section[id] {
        scroll-margin-top: 75px;
    }


    /* HERO */

    .kh-cruises-hero {
        min-height: auto;
    }

    .kh-cruises-hero-content {
        padding: 62px 0;
    }

    .kh-cruises-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .kh-cruises-hero p {
        margin: 19px 0 24px;
        font-size: 15px;
        line-height: 1.65;
    }

    .kh-cruises-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .kh-cruises-primary-button,
    .kh-cruises-secondary-button {
        width: 100%;
    }


    /* INTRO */

    .kh-cruises-intro {
        padding: 55px 0;
    }

    .kh-cruises-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kh-cruises-intro-text {
        padding-left: 16px;
    }


    /* HEADINGS */

    .kh-cruises-section-heading {
        margin-bottom: 30px;
    }

    .kh-cruises-intro-heading h2,
    .kh-cruises-section-heading h2,
    .kh-cruises-why-content h2,
    .kh-cruises-cta-box h2 {
        font-size: 32px;
    }


    /* OPERATORS */

    .kh-cruises-operators {
        padding: 58px 0;
    }

    .kh-cruises-operator-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .kh-cruise-operator-card {
        padding: 24px;
    }

    .kh-cruise-operator-card p {
        min-height: auto;
    }


    /* FLEETS */

    .kh-cruises-fleet-section {
        padding: 60px 0;
    }

    .kh-cruises-vessel-grid,
    .kh-cruises-green-grid {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 18px;
    }

    .kh-cruise-vessel-image {
        height: 225px;
    }

    .kh-cruise-vessel-content {
        padding: 21px;
    }

    .kh-cruise-vessel-content p {
        min-height: auto;
    }


    /* ROUTES */

    .kh-cruises-routes {
        padding: 58px 0;
    }

    .kh-cruises-route-grid {
        gap: 12px;
    }

    .kh-cruises-route-card {
        min-height: 96px;
        padding: 16px;
    }

    .kh-cruises-route-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }


    /* WHY */

    .kh-cruises-why {
        padding: 60px 0;
    }

    .kh-cruises-why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kh-cruises-benefits {
        grid-template-columns: 1fr;
    }

    .kh-cruises-benefit {
        padding: 20px;
    }


    /* CTA */

    .kh-cruises-cta {
        padding: 50px 0;
    }

    .kh-cruises-cta-box {
        padding: 45px 20px;
        border-radius: 14px;
    }


    /* NOTE */

    .kh-cruises-note {
        padding-bottom: 40px;
    }

    .kh-cruises-note-box {
        padding: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .kh-cruises-hero h1 {
        font-size: 35px;
    }

    .kh-cruises-vessel-image {
        height: 210px;
    }

    .kh-cruise-vessel-image span {
        left: 18px;
        bottom: 16px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .kh-cruises-benefit {
        gap: 12px;
        padding: 18px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.kh-cruises-page a:focus-visible {
    outline: 3px solid rgba(0, 166, 166, 0.35);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .kh-cruises-page *,
    .kh-cruises-page *::before,
    .kh-cruises-page *::after {
        transition: none !important;
        animation: none !important;
    }

}