/* =========================================================
   SWINGO LANKA - MAIN CSS
   Simple structure with clear sections.
   ========================================================= */

:root {
    --navy: #062b5c;
    --navy-dark: #041f43;
    --cyan: #16c9e9;
    --cyan-soft: #e8fbff;
    --text: #152033;
    --muted: #697386;
    --light: #f6f9fc;
    --white: #ffffff;
    --border: #e6ebf1;
}

/* -------------------------
   GENERAL
   ------------------------- */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.section-space {
    padding: 100px 0;
}

.section-soft {
    background: var(--light);
}

.eyebrow {
    display: inline-block;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 12px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-copy {
    color: var(--muted);
    max-width: 650px;
    line-height: 1.8;
}

/* -------------------------
   TOP BAR + NAVBAR
   ------------------------- */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    padding: 9px 0;
    font-size: 0.85rem;
}

.swingo-navbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(6,43,92,.08);
    transition: all .3s ease;
}

.navbar-scrolled {
    box-shadow: 0 12px 30px rgba(6,43,92,.10);
}

.brand-logo {
    width: 125px;
    height: 58px;
    object-fit: contain;
}

/* Keep desktop navigation compact and on one line. */
.swingo-navbar .navbar-brand {
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.swingo-navbar .navbar-collapse {
    min-width: 0;
}

.swingo-navbar .navbar-nav {
    gap: 0.15rem;
    flex-wrap: nowrap;
}

.swingo-navbar .nav-item {
    flex-shrink: 0;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    padding: 30px 9px !important;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 22px;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-swingo {
    background: var(--navy);
    color: white;
    border: 1px solid var(--navy);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    transition: all .25s ease;
}

.swingo-navbar .btn-swingo {
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-swingo:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(22,201,233,.25);
}

.btn-outline-swingo {
    border: 1px solid var(--navy);
    color: var(--navy);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
}

.btn-outline-swingo:hover {
    background: var(--navy);
    color: white;
}

/* -------------------------
   HERO
   ------------------------- */
.hero-section {
    background: linear-gradient(135deg, #f8fcff 0%, #ffffff 55%, #edfbff 100%);
    padding: 60px 0 80px;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    background: var(--cyan-soft);
    color: var(--navy);
    padding: 9px 15px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .86rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(22,201,233,.15);
}

.hero-title {
    font-size: clamp(3.4rem, 7vw, 6.4rem);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--navy-dark);
}

.hero-title span {
    color: var(--cyan);
}

.hero-text {
    color: var(--muted);
    max-width: 620px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    color: var(--navy);
}

.hero-trust span {
    color: var(--muted);
    font-size: .85rem;
}

.hero-image-wrap {
    position: relative;
    padding: 20px;
}

.hero-image {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 36px 10px 36px 10px;
    box-shadow: 0 35px 80px rgba(6,43,92,.22);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    position: absolute;
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255,255,255,.96);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(6,43,92,.16);
    min-width: 180px;
    animation: cardFloat 5s ease-in-out infinite;
}

.floating-card i {
    color: var(--cyan);
    font-size: 1.6rem;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card small {
    color: var(--muted);
}

.floating-card-top {
    top: 65px;
    left: -10px;
}

.floating-card-bottom {
    right: -10px;
    bottom: 80px;
    animation-delay: .8s;
}

@keyframes cardFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-shape-one {
    width: 280px;
    height: 280px;
    background: rgba(22,201,233,.08);
    left: -90px;
    top: 40px;
}

.hero-shape-two {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(6,43,92,.05);
    right: -140px;
    bottom: -120px;
}

/* -------------------------
   STATS
   ------------------------- */
.stats-section {
    padding: 45px 0;
    background: var(--navy);
    color: white;
}

.stats-section h2 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 3px;
    color: var(--cyan);
}

.stats-section p {
    margin: 0;
    color: rgba(255,255,255,.75);
}

/* -------------------------
   FEATURE CARDS
   ------------------------- */
.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(6,43,92,.10);
    border-color: rgba(22,201,233,.45);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--cyan-soft);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.feature-icon-inline {
    font-size: 2rem;
    color: var(--cyan);
    display: block;
    margin-bottom: 16px;
}

.feature-card h3,
.feature-card h4 {
    font-weight: 800;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* -------------------------
   TOUR CARDS
   ------------------------- */
.tour-card,
.destination-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: all .35s ease;
}

.tour-card:hover,
.destination-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(6,43,92,.12);
}

.tour-image-wrap {
    position: relative;
    overflow: hidden;
}

.tour-image-wrap img,
.destination-info-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .55s ease;
}

.tour-card:hover img,
.destination-info-card:hover img {
    transform: scale(1.06);
}

.tour-days {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.94);
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: .8rem;
    font-weight: 800;
}

.tour-category {
    color: var(--cyan);
    font-weight: 800;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.tour-card h3,
.destination-info-card h3 {
    font-weight: 800;
    margin: 10px 0;
}

.tour-card p,
.destination-info-card p {
    color: var(--muted);
    line-height: 1.7;
}

.card-link {
    color: var(--navy);
    font-weight: 800;
}

.card-link i {
    transition: transform .2s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* -------------------------
   DESTINATION IMAGE CARDS
   ------------------------- */
.place-card {
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    position: relative;
    color: white;
    transition: transform .35s ease;
}

.place-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(4,31,67,.88) 100%);
}

.place-card div {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.place-card span {
    font-size: .75rem;
    letter-spacing: .12em;
}

.place-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

.place-card:hover {
    transform: translateY(-8px);
    color: white;
}

/* -------------------------
   B2B HOME
   ------------------------- */
.b2b-home,
.b2b-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: white;
}

.b2b-home p,
.b2b-hero p {
    color: rgba(255,255,255,.76);
    font-size: 1.05rem;
}

.b2b-list {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    padding: 15px 28px;
    background: rgba(255,255,255,.04);
}

.b2b-list div {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.b2b-list div:last-child {
    border-bottom: 0;
}

.b2b-list i {
    color: var(--cyan);
}

/* -------------------------
   INNER PAGE HERO
   ------------------------- */
.page-hero,
.b2b-hero {
    padding: 110px 0 90px;
}

.page-hero {
    background: linear-gradient(135deg, #f4fbff, #ffffff);
}

.page-hero h1,
.b2b-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    max-width: 900px;
}

.page-hero p,
.b2b-hero p {
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tour-detail-hero {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    color: white;
    padding: 90px 0;
}

.tour-detail-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    max-width: 850px;
}

.route-box,
.enquiry-card,
.contact-info-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
}

.enquiry-card {
    top: 120px;
}

.mini-feature {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.mini-feature i {
    color: var(--cyan);
    margin-right: 8px;
}

.about-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
}

/* -------------------------
   FORMS
   ------------------------- */
.professional-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(6,43,92,.07);
}

.form-label {
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid #dfe6ee;
    padding: 12px 15px;
}

textarea.form-control {
    min-height: 140px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 .2rem rgba(22,201,233,.15);
}

.contact-info-card i {
    color: var(--cyan);
    margin-right: 8px;
}

/* -------------------------
   THANK YOU
   ------------------------- */
.thank-you-section {
    padding: 130px 0;
}

.thank-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cyan-soft);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* -------------------------
   FINAL CTA + FOOTER
   ------------------------- */
.final-cta {
    background: var(--navy);
    color: white;
    padding: 90px 0;
}

.final-cta h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 900;
}

.final-cta p {
    max-width: 650px;
    color: rgba(255,255,255,.75);
}

.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.72);
}

.footer-logo {
    width: 180px;
    height: 70px;
    object-fit: contain;
}

.site-footer h6 {
    color: white;
    font-weight: 800;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(255,255,255,.68);
}

.footer-links a:hover {
    color: var(--cyan);
}

.site-footer hr {
    border-color: rgba(255,255,255,.14);
    margin-top: 35px;
}

.footer-bottom {
    color: rgba(255,255,255,.5);
}

/* -------------------------
   WHATSAPP
   ------------------------- */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #25D366;
    color: white;
    padding: 13px 17px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(0,0,0,.20);
    animation: whatsappPulse 2.4s infinite;
}

.whatsapp-float i {
    font-size: 1.3rem;
}

.whatsapp-float:hover {
    color: white;
    transform: translateY(-3px);
}

@keyframes whatsappPulse {
    0%,100% { box-shadow: 0 14px 35px rgba(0,0,0,.20), 0 0 0 0 rgba(37,211,102,.35); }
    50% { box-shadow: 0 14px 35px rgba(0,0,0,.20), 0 0 0 12px rgba(37,211,102,0); }
}

/* -------------------------
   SCROLL ANIMATION
   ------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

/* -------------------------
   RESPONSIVE
   ------------------------- */
/* Slightly tighter desktop navigation for medium laptop widths. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .brand-logo {
        width: 105px;
    }

    .swingo-navbar .navbar-brand {
        margin-right: .75rem;
    }

    .swingo-navbar .navbar-nav {
        gap: 0;
    }

    .swingo-navbar .nav-link {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: .88rem;
    }

    .swingo-navbar .btn-swingo {
        padding: 10px 16px;
        font-size: .9rem;
        margin-left: .6rem !important;
    }
}

@media (max-width: 991px) {
    .section-space {
        padding: 75px 0;
    }

    .swingo-navbar .navbar-nav {
        gap: 0;
        flex-wrap: wrap;
        align-items: stretch !important;
    }

    .swingo-navbar .nav-link {
        padding: 10px 0 !important;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-link::after {
        display: none;
    }

    .swingo-navbar .btn-swingo {
        display: inline-block;
        width: fit-content;
        margin-left: 0 !important;
    }

    .hero-section {
        padding-top: 45px;
    }

    .hero-image {
        height: 480px;
    }

    .floating-card-top {
        left: 0;
    }

    .floating-card-bottom {
        right: 0;
    }
}

@media (max-width: 576px) {
    .professional-form {
        padding: 24px 18px;
    }

    .hero-image {
        height: 380px;
    }

    .floating-card {
        display: none;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        justify-content: center;
        padding: 0;
    }
}

/* Respect users who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   PROFESSIONAL HERO IMPROVEMENTS
   ========================================================= */

.professional-hero-title {
    font-size: clamp(3.1rem, 5.7vw, 5.6rem);
    line-height: 0.98;
    max-width: 720px;
}

.professional-hero-title span {
    display: block;
    margin-top: 8px;
}

.hero-content {
    padding-right: 20px;
}

.hero-text {
    max-width: 590px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-trust {
    padding-top: 8px;
}

.hero-trust div {
    min-width: 120px;
}

.hero-trust strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.hero-trust span {
    margin-top: 3px;
}

.hero-image-wrap {
    padding: 10px 0 10px 25px;
}

.hero-image {
    height: 560px;
    border-radius: 28px;
}

.floating-card {
    min-width: 170px;
    padding: 13px 16px;
    border: 1px solid rgba(6,43,92,.06);
}

.floating-card-top {
    top: 55px;
    left: 0;
}

.floating-card-bottom {
    right: -5px;
    bottom: 65px;
}


/* Desktop balance */
@media (min-width: 1200px) {

    .hero-section .container {
        max-width: 1320px;
    }

}


/* Tablet */
@media (max-width: 991px) {

    .professional-hero-title {
        font-size: clamp(3rem, 8vw, 4.8rem);
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image-wrap {
        padding-left: 0;
    }

    .hero-image {
        height: 470px;
    }

}


/* Mobile */
@media (max-width: 576px) {

    .professional-hero-title {
        font-size: 3rem;
        line-height: 1;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-trust {
        gap: 20px;
    }

    .hero-image {
        height: 360px;
        border-radius: 22px;
    }

}

/* =========================================================
   HERO BRAND + MAIN TITLE
   Keeps brand in H1 for SEO, but visually smaller.
   ========================================================= */

.hero-brand {
    display: block;
    font-size: 0.42em;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy) !important;
    margin-bottom: 14px;
    font-weight: 800;
}

.hero-main-title {
    display: block;
    font-size: 1em;
    line-height: 0.98;
    color: var(--cyan) !important;
    font-weight: 900;
    margin-top: 0 !important;
}

/* Keep the professional hero balanced on desktop. */
.professional-hero-title {
    font-size: clamp(3.1rem, 5.7vw, 5.6rem);
    line-height: 0.98;
    max-width: 720px;
}

/* Tablet */
@media (max-width: 991px) {
    .professional-hero-title {
        font-size: clamp(3rem, 8vw, 4.8rem);
    }

    .hero-brand {
        font-size: 0.40em;
        margin-bottom: 12px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .professional-hero-title {
        font-size: 3rem;
        line-height: 1;
    }

    .hero-brand {
        font-size: 0.38em;
        margin-bottom: 10px;
        letter-spacing: 0.03em;
    }

    .hero-main-title {
        line-height: 1.02;
    }
}
