/* =========================================================
   VOYAGEFLOW
   Main Stylesheet
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
    --navy: #071c2c;
    --navy2: #0d2a3f;
    --ocean: #0e6f88;
    --gold: #e5b85c;
    --cream: #f7f4ed;
    --soft: #f4f7f8;
    --ink: #102331;
    --muted: #667884;

    --shadow: 0 24px 70px rgba(7, 28, 44, 0.12);
}


/* =========================================================
   GLOBAL
========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
}

h1,
h2 {
    letter-spacing: -0.035em;
}

h1 em {
    font-family: "Playfair Display", serif;
    color: var(--gold);
}

a {
    text-decoration: none;
}


/* =========================================================
   UTILITIES
========================================================= */
.py-6 {
    padding: 7rem 0;
}

.text-gold {
    color: var(--gold) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.76);
}

.vf-max {
    max-width: 760px;
}

.min-w-0 {
    min-width: 0;
}


/* =========================================================
   BUTTONS
========================================================= */
.btn-gold {
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-bg: #f0c770;
    --bs-btn-hover-border-color: #f0c770;

    color: var(--navy);
    font-weight: 800;

    box-shadow: 0 12px 30px rgba(229, 184, 92, 0.24);
}


/* =========================================================
   BRAND
========================================================= */
.brand-mark {
    display: grid;

    width: 40px;
    height: 40px;

    place-items: center;

    border-radius: 14px;

    background: var(--gold);
    color: var(--navy);
}


/* =========================================================
   PUBLIC NAVBAR
========================================================= */
.vf-navbar {
    padding: 18px 0;

    background: linear-gradient(
        rgba(3, 17, 27, 0.92),
        rgba(3, 17, 27, 0.12)
    );
}

.vf-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}


/* =========================================================
   ALERTS
========================================================= */
.vf-alert {
    position: fixed;

    z-index: 1400;

    top: 95px;
    left: 0;
    right: 0;
}


/* =========================================================
   HERO
========================================================= */
/*

.vf-hero {
    position: relative;

    min-height: 800px;

    background:
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=90')
        center / cover;
}

*/

.vf-hero {
    position: relative;
    min-height: 800px;

    background:
        url('../images/fleet.png')
        center / cover no-repeat;
}

.vf-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(3, 17, 27, 0.96),
        rgba(3, 17, 27, 0.70) 52%,
        rgba(3, 17, 27, 0.25)
    );
}

.vf-eyebrow,
.vf-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;

    color: var(--gold);
}

.vf-eyebrow span {
    display: inline-block;

    width: 42px;
    height: 1px;

    margin-right: 12px;

    background: var(--gold);

    vertical-align: middle;
}

.vf-hero h1 {
    max-width: 850px;
}

.vf-hero .lead {
    max-width: 700px;
}


/* =========================================================
   HERO GLASS CARD
========================================================= */
.vf-glass {
    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 28px;

    background: rgba(7, 28, 44, 0.58);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   HERO TRUST STATS
========================================================= */
.vf-trust strong,
.vf-trust span {
    display: block;
}

.vf-trust strong {
    font-size: 1.45rem;
    color: #fff;
}

.vf-trust span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   SERVICES
========================================================= */
.vf-service {
    position: relative;

    padding: 36px;

    border: 1px solid #e5ecef;
    border-radius: 24px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.vf-service:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: var(--shadow);
}

.vf-icon {
    display: grid;

    width: 58px;
    height: 58px;

    margin-bottom: 28px;

    place-items: center;

    border-radius: 18px;

    background: var(--cream);

    font-size: 1.45rem;
}

.vf-service a {
    color: var(--navy);
    font-weight: 800;
}


/* =========================================================
   SOFT BACKGROUND
========================================================= */
.vf-soft {
    background: var(--soft);
}


/* =========================================================
   DESTINATIONS
========================================================= */
.vf-destination {
    position: relative;

    height: 500px;

    overflow: hidden;

    border-radius: 28px;

    box-shadow: var(--shadow);
}

.vf-destination img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.vf-destination:hover img {
    transform: scale(1.06);
}

.vf-destination .shade {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        0deg,
        rgba(3, 17, 27, 0.90),
        transparent 75%
    );
}

.vf-destination .content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 34px;

    color: #fff;
}

.vf-destination h3 {
    font-size: 2rem;
}

.vf-destination p {
    color: rgba(255, 255, 255, 0.70);
}


/* =========================================================
   CHECK ITEMS
========================================================= */
.vf-check {
    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 50%;

    background: #e9f4f2;
    color: #187765;
}


/* =========================================================
   FLEET
========================================================= */
.vf-fleet {
    position: relative;

    padding: 20px 20px 70px;

    border-radius: 36px;

    background: var(--cream);
}

.vf-fleet img {
    width: 100%;
    min-height: 520px;

    object-fit: cover;

    border-radius: 26px;
}

.vf-fleet > div {
    position: absolute;

    left: 45px;
    right: 45px;
    bottom: 28px;

    display: grid;

    gap: 4px;

    padding: 22px 25px;

    border-radius: 20px;

    background: #fff;

    box-shadow: var(--shadow);
}

.vf-fleet .badge {
    justify-self: start;
}


/* =========================================================
   DARK OPERATIONS SECTION
========================================================= */
.vf-dark {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(14, 111, 136, 0.45),
            transparent 30%
        ),
        var(--navy);
}


/* =========================================================
   OPERATIONS STEPS
========================================================= */
.vf-step {
    min-height: 250px;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    color: #fff;
}

.vf-step > span {
    color: var(--gold);
    font-weight: 800;
}

.vf-step h3 {
    margin-top: 48px;
}

.vf-step p {
    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   CTA
========================================================= */
.vf-cta {
    background: linear-gradient(
        135deg,
        #f7f4ed,
        #eef5f5
    );
}


/* =========================================================
   FOOTER
========================================================= */
.vf-footer {
    background: #04131f;
    color: #fff;
}


/* =========================================================
   BOOKING / INTERNAL PAGE HERO
========================================================= */
.vf-page-hero {
    padding: 190px 0 80px;

    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 27, 0.97),
            rgba(3, 17, 27, 0.65)
        ),
        url('https://images.unsplash.com/photo-1465447142348-e9952c393450?auto=format&fit=crop&w=2200&q=85')
        center / cover;
}


/* =========================================================
   BOOKING FORM CARDS
========================================================= */
.vf-form-card,
.vf-side {
    padding: 40px;

    border: 1px solid #e1e9ec;
    border-radius: 28px;

    background: #fff;

    box-shadow: 0 22px 60px rgba(7, 28, 44, 0.08);
}

.vf-form-card .form-control,
.vf-form-card .form-select {
    border-radius: 12px;
}

.vf-number {
    display: grid;

    min-width: 34px;
    height: 34px;

    place-items: center;

    border-radius: 50%;

    background: var(--navy);
    color: #fff;

    font-weight: 800;
}


/* =========================================================
   PUBLIC CHAT WIDGET
========================================================= */
.vf-chat-widget {
    position: fixed;

    z-index: 1500;

    right: 24px;
    bottom: 24px;
}


/* =========================================================
   CHAT LAUNCHER
========================================================= */
.vf-launcher {
    position: relative;

    display: grid;

    width: 64px;
    height: 64px;

    border: 0;
    border-radius: 50%;

    place-items: center;

    background: var(--gold);

    font-size: 1.55rem;

    box-shadow: 0 18px 45px rgba(7, 28, 44, 0.25);
}

.vf-launcher span {
    position: absolute;

    right: 2px;
    top: 2px;

    width: 14px;
    height: 14px;

    border: 3px solid #fff;
    border-radius: 50%;

    background: #2fc276;
}


/* =========================================================
   CHAT PANEL
========================================================= */
.vf-chat-panel {
    position: absolute;

    right: 0;
    bottom: 80px;

    width: min(390px, calc(100vw - 32px));

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    box-shadow: 0 30px 90px rgba(7, 28, 44, 0.28);
}


/* =========================================================
   CHAT HEADER
========================================================= */
.vf-chat-panel header {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px 20px;

    background:
        radial-gradient(
            circle at top right,
            rgba(14, 111, 136, 0.60),
            transparent 42%
        ),
        var(--navy);

    color: #fff;
}

.vf-chat-panel header small {
    display: block;

    color: rgba(255, 255, 255, 0.62);
}

.vf-chat-panel header small b {
    display: inline-block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #43d68d;
}

.vf-chat-panel header > button {
    margin-left: auto;

    border: 0;

    background: none;
    color: #fff;
}


/* =========================================================
   CHAT AGENT ICON
========================================================= */
.vf-agent {
    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 14px;

    background: var(--gold);
    color: var(--navy);
}


/* =========================================================
   CHAT MESSAGES
========================================================= */
.vf-chat-messages {
    height: 400px;

    padding: 18px;

    overflow-y: auto;

    background: #f5f7f8;
}

.vf-chat-message {
    display: flex;

    flex-direction: column;

    margin-bottom: 14px;
}

.vf-chat-message.agent {
    align-items: flex-start;
}

.vf-chat-message.guest {
    align-items: flex-end;
}

.vf-chat-message .bubble {
    max-width: 82%;

    padding: 11px 14px;

    border-radius: 16px;

    white-space: pre-wrap;
}

.vf-chat-message.agent .bubble {
    background: #fff;

    border-bottom-left-radius: 4px;
}

.vf-chat-message.guest .bubble {
    background: var(--navy);
    color: #fff;

    border-bottom-right-radius: 4px;
}

.vf-chat-message small {
    margin-top: 4px;

    color: #89969d;

    font-size: 0.68rem;
}


/* =========================================================
   CHAT COMPOSER
========================================================= */
.vf-compose {
    display: flex;

    gap: 10px;

    padding: 14px;

    border-top: 1px solid #e4eaed;
}

.vf-compose textarea {
    flex: 1;

    padding: 10px 12px;

    border: 1px solid #dbe3e6;
    border-radius: 14px;

    resize: none;
}

.vf-compose button {
    display: grid;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 13px;

    place-items: center;

    background: var(--gold);
}


/* =========================================================
   ADMIN BODY
========================================================= */
.vf-admin-body {
    background: #f3f6f8;
}

.vf-admin-shell {
    display: flex;

    min-height: 100vh;
}


/* =========================================================
   ADMIN SIDEBAR
========================================================= */
.vf-sidebar {
    position: fixed;

    inset: 0 auto 0 0;

    display: flex;

    width: 265px;

    flex-direction: column;

    padding: 24px 18px;

    background: var(--navy);
    color: #fff;
}


/* =========================================================
   SIDEBAR BRAND
========================================================= */
.vf-side-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 8px 28px;

    color: #fff;

    font-weight: 800;
}

.vf-side-brand small {
    display: block;

    color: var(--gold);

    font-size: 0.6rem;
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */
.vf-sidebar nav {
    display: grid;

    gap: 5px;

    overflow-y: auto;
}

.vf-sidebar nav a {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 12px 14px;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.62);

    font-weight: 600;
}

.vf-sidebar nav a:hover,
.vf-sidebar nav a.active {
    background: rgba(255, 255, 255, 0.09);

    color: #fff;
}


/* =========================================================
   SIDEBAR USER
========================================================= */
.vf-side-user {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: auto;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.vf-side-user strong,
.vf-side-user small,
.vf-lead strong,
.vf-lead span,
.vf-lead small {
    display: block;
}

.vf-side-user small {
    color: rgba(255, 255, 255, 0.46);

    text-transform: capitalize;
}


/* =========================================================
   AVATAR
========================================================= */
.vf-avatar {
    display: grid;

    min-width: 40px;
    width: 40px;
    height: 40px;

    place-items: center;

    border-radius: 13px;

    background: #e8eef0;
    color: var(--navy);

    font-weight: 800;
}


/* =========================================================
   ADMIN MAIN CONTENT
========================================================= */
.vf-admin-main {
    width: calc(100% - 265px);

    margin-left: 265px;
}


/* =========================================================
   ADMIN TOPBAR
========================================================= */
.vf-topbar {
    display: flex;

    align-items: center;

    min-height: 105px;

    padding: 24px 36px;

    border-bottom: 1px solid #e1e8eb;

    background: #fff;
}

.vf-topbar h1 {
    margin: 0;

    font-size: 1.55rem;
    font-weight: 800;
}

.vf-topbar p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.88rem;
}


/* =========================================================
   ADMIN CONTENT
========================================================= */
.vf-admin-content {
    padding: 32px 36px;
}


/* =========================================================
   ADMIN STATS
========================================================= */
.vf-stat {
    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 145px;

    padding: 24px;

    border: 1px solid #e4eaed;
    border-radius: 20px;

    background: #fff;
}

.vf-stat-icon {
    display: grid;

    width: 54px;
    height: 54px;

    place-items: center;

    border-radius: 18px;

    background: var(--cream);

    font-size: 1.35rem;
}

.vf-stat span,
.vf-stat strong,
.vf-stat small {
    display: block;
}

.vf-stat span {
    color: var(--muted);

    font-size: 0.8rem;
    font-weight: 700;
}

.vf-stat strong {
    font-size: 2rem;
}

.vf-stat small {
    color: #99a5ab;

    font-size: 0.68rem;
}


/* =========================================================
   ADMIN CARDS
========================================================= */
.vf-card {
    overflow: hidden;

    border: 1px solid #e4eaed;
    border-radius: 20px;

    background: #fff;
}

.vf-card-head {
    display: flex;

    align-items: center;

    padding: 23px 24px;

    border-bottom: 1px solid #e8edef;
}

.vf-card-head h2 {
    margin: 0;

    font-size: 1.05rem;
    font-weight: 800;
}

.vf-card-head p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.78rem;
}

.vf-card-head .btn {
    margin-left: auto;
}

.vf-card th {
    padding: 14px 18px;

    background: #f8fafb;

    color: var(--muted);

    font-size: 0.72rem;
}

.vf-card td {
    padding: 17px 18px;
}

.vf-card td small {
    display: block;

    color: var(--muted);
}


/* =========================================================
   ADMIN LEAD
========================================================= */
.vf-lead {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 20px;

    border-bottom: 1px solid #eef2f3;
}

.vf-lead span,
.vf-lead small {
    color: var(--muted);

    font-size: 0.75rem;
}


/* =========================================================
   ADMIN INBOX
========================================================= */
.vf-inbox {
    display: grid;

    min-height: calc(100vh - 170px);

    grid-template-columns:
        340px
        minmax(0, 1fr)
        280px;

    overflow: hidden;

    border: 1px solid #dfe7ea;
    border-radius: 20px;

    background: #fff;
}


/* =========================================================
   INBOX SIDEBARS
========================================================= */
.vf-inbox-list {
    border-right: 1px solid #e3eaed;
}

.vf-details {
    border-left: 1px solid #e3eaed;
}


/* =========================================================
   CONVERSATION LIST
========================================================= */
.vf-conv-list {
    max-height: calc(100vh - 330px);

    overflow-y: auto;
}

.vf-conv {
    display: flex;

    gap: 12px;

    padding: 15px;

    border-bottom: 1px solid #eef2f3;

    color: var(--ink);
}

.vf-conv:hover,
.vf-conv.active {
    background: #f4f7f8;
}

.vf-conv.active {
    box-shadow: inset 3px 0 0 var(--gold);
}

.vf-conv span,
.vf-conv small {
    color: var(--muted);

    font-size: 0.72rem;
}


/* =========================================================
   MESSAGE THREAD
========================================================= */
.vf-thread {
    display: flex;

    min-width: 0;

    flex-direction: column;
}

.vf-thread-head {
    display: flex;

    align-items: center;

    min-height: 84px;

    padding: 16px 20px;

    border-bottom: 1px solid #e5ebed;
}

.vf-thread-head h2 {
    margin: 0;

    font-size: 1.05rem;
    font-weight: 800;
}

.vf-thread-head p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 0.78rem;
}


/* =========================================================
   THREAD MESSAGES
========================================================= */
.vf-thread-messages {
    flex: 1;

    padding: 22px;

    overflow-y: auto;

    background: #f5f7f8;
}

.vf-thread-msg {
    display: flex;

    flex-direction: column;

    margin-bottom: 18px;
}

.vf-thread-msg.agent {
    align-items: flex-end;
}

.vf-thread-msg.guest {
    align-items: flex-start;
}

.vf-thread-msg.internal {
    align-items: center;
}

.vf-thread-msg .meta {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 5px;

    color: #8a979e;

    font-size: 0.68rem;
}

.vf-thread-msg .meta span {
    padding: 2px 6px;

    border-radius: 5px;

    background: #fff1c9;
    color: #795c0a;

    font-weight: 800;
}

.vf-thread-msg .bubble {
    max-width: 75%;

    padding: 12px 15px;

    border-radius: 17px;

    white-space: pre-wrap;
}

.vf-thread-msg.guest .bubble {
    background: #fff;

    border-bottom-left-radius: 4px;
}

.vf-thread-msg.agent .bubble {
    background: var(--navy);
    color: #fff;

    border-bottom-right-radius: 4px;
}

.vf-thread-msg.internal .bubble {
    border: 1px dashed #d3aa46;

    background: #fff9e9;
    color: #5c490f;
}


/* =========================================================
   THREAD COMPOSER
========================================================= */
.vf-thread-compose {
    padding: 16px 20px;

    border-top: 1px solid #e3eaed;
}


/* =========================================================
   EMPTY STATE
========================================================= */
.vf-empty {
    display: grid;

    height: 100%;

    place-content: center;

    text-align: center;

    color: var(--muted);
}

.vf-empty i {
    font-size: 3rem;
}


/* =========================================================
   DETAILS PANEL
========================================================= */
.vf-details dl {
    display: grid;

    gap: 10px;
}

.vf-details dt {
    color: var(--muted);

    font-size: 0.67rem;

    text-transform: uppercase;
}

.vf-details dd {
    margin: -6px 0 4px;

    font-size: 0.88rem;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
========================================================= */
@media (max-width: 1199px) {

    .vf-inbox {
        grid-template-columns: 310px 1fr;
    }

    .vf-details {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 991px) {

    .py-6 {
        padding: 5rem 0;
    }

    .vf-navbar {
        background: rgba(3, 17, 27, 0.96);
    }

    .vf-sidebar {
        display: none;
    }

    .vf-admin-main {
        width: 100%;
        margin: 0;
    }

    .vf-topbar,
    .vf-admin-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 767px) {

    .vf-hero h1 {
        font-size: 3rem;
    }

    .vf-destination {
        height: 430px;
    }

    .vf-form-card,
    .vf-side {
        padding: 25px;
    }

    .vf-inbox {
        grid-template-columns: 1fr;
    }

    .vf-inbox-list {
        display: none;
    }

    .vf-chat-widget {
        right: 16px;
        bottom: 16px;
    }

    /* =========================================================
    NAVBAR LOGO
    ========================================================= */
    .brand-logo {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;

        flex: 0 0 48px;

        overflow: hidden;

        border-radius: 50%;
    }

    .brand-logo img {
        display: block;

        width: 100%;
        height: 100%;

        max-width: 48px;
        max-height: 48px;

        object-fit: contain;
    }


    /* Navbar Brand Text */
    .brand-name {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.1;
        white-space: nowrap;
    }

    .vf-navbar {
    padding: 14px 0;

    background: linear-gradient(
        rgba(3, 17, 27, 0.92),
        rgba(3, 17, 27, 0.12)
    );
}

.vf-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

}