/* VARIABLES */
:root {
    --navy-900: #0b1d3a;
    --navy-800: #102a4a;
    --navy-700: #14385f;
    --navy-500: #1f4f8f;
    --navy-300: #4c76b0;
    --navy-100: #e5edf7;
    --sand-100: #f5f5f2;
    --charcoal: #2b2f33;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(11, 29, 58, 0.16);
}

/* BASE STYLES */
html {
    font-size: 18px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Verdana", "Trebuchet MS", "Tahoma", sans-serif;
    color: var(--charcoal);
    background: radial-gradient(circle at 85% 5%, rgba(20, 56, 95, 0.16), transparent 48%),
        linear-gradient(180deg, #f8fafd 0%, #ffffff 60%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: -20vh -10vw auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(31, 79, 143, 0.18) 0%, rgba(31, 79, 143, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5 {
    font-family: "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Verdana", "Tahoma", sans-serif;
    color: var(--navy-900);
}

img {
    max-width: 100%;
}

a {
    color: var(--navy-700);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--navy-900);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy-900);
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
}

.skip-link:focus {
    top: 10px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(230, 238, 247, 0.82));
    border-bottom: 1px solid rgba(11, 29, 58, 0.08);
    box-shadow: 0 12px 30px rgba(11, 29, 58, 0.08);
}

.navbar {
    padding: 14px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-500));
    position: relative;
    box-shadow: 0 10px 20px rgba(11, 29, 58, 0.25);
}

.brand-mark::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.brand-text {
    color: var(--navy-900);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--navy-800);
    padding: 0.5rem 0.95rem;
    border-radius: 10px;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-nav .nav-link.active {
    color: #fff;
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(11, 29, 58, 0.25);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--navy-900);
    background: linear-gradient(120deg, rgba(31, 79, 143, 0.18), rgba(31, 79, 143, 0.04));
    border-color: rgba(31, 79, 143, 0.2);
    transform: translateY(-1px);
}

.navbar-nav {
    gap: 6px;
}

.navbar .dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(11, 29, 58, 0.08);
    border-top: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 18px 40px rgba(11, 29, 58, 0.16);
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    margin-top: 14px;
}

.navbar .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 12px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: var(--navy-100);
    color: var(--navy-900);
}

/* BUTTONS */
.btn-accent {
    background: var(--navy-500);
    color: #fff;
    border: none;
    box-shadow: 0 12px 30px rgba(31, 79, 143, 0.25);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--navy-700);
    color: #fff;
}

.btn-outline-accent {
    border: 1px solid var(--navy-500);
    color: var(--navy-500);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
    background: var(--navy-500);
    color: #fff;
}

/* HERO */
.page-hero {
    padding: 90px 0 70px;
}

.page-home .page-hero {
    background: linear-gradient(120deg, rgba(11, 29, 58, 0.9), rgba(11, 29, 58, 0.55)),
        url("/img/charter-boat.webp") center/cover no-repeat;
    color: #fff;
}

.page-home .page-hero h1,
.page-home .page-hero h2,
.page-home .page-hero h3,
.page-home .page-hero h4 {
    color: #fff;
}

.page-home .page-hero .text-muted,
.page-home .page-hero .section-subtitle,
.page-home .page-hero .lead {
    color: rgba(255, 255, 255, 0.78) !important;
}

.page-home .page-hero .hero-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.page-home .page-hero .card-glow {
    background: rgba(255, 255, 255, 0.94);
    color: var(--charcoal);
    backdrop-filter: blur(6px);
}

.page-home .page-hero .card-glow h4 {
    color: var(--navy-900);
}

.page-home .page-hero .card-glow .text-muted {
    color: #4f5b66 !important;
}

.page-home .page-hero .stat-card {
    background: rgba(255, 255, 255, 0.94);
    color: var(--charcoal);
    backdrop-filter: blur(6px);
}

.page-home .page-hero .stat-card h4 {
    color: var(--navy-900);
}

.page-home .page-hero .stat-card .text-muted {
    color: #4f5b66 !important;
}

.page-home .page-hero .btn-outline-accent {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.page-home .page-hero .btn-outline-accent:hover,
.page-home .page-hero .btn-outline-accent:focus {
    background: #fff;
    color: var(--navy-900);
}

.page-home .page-hero .btn-link {
    color: #fff;
}

.mobile-preview {
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}

.hero-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--navy-100);
    color: var(--navy-700);
    font-weight: 600;
    font-size: 0.85rem;
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section-title {
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 640px;
    color: #586069;
}

/* CARDS */
.card-glow {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 29, 58, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 29, 58, 0.18);
}

.stat-card {
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(11, 29, 58, 0.08);
    box-shadow: 0 12px 24px rgba(11, 29, 58, 0.08);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-100);
    display: grid;
    place-items: center;
    color: var(--navy-700);
}

/* LISTS */
.list-bullets {
    list-style: none;
    padding-left: 0;
}

.list-bullets li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(31, 79, 143, 0.12), rgba(31, 79, 143, 0));
}

.list-bullets .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #d6e3f6 35%, var(--navy-500) 100%);
    box-shadow: 0 6px 12px rgba(31, 79, 143, 0.25);
    margin-top: 6px;
    flex-shrink: 0;
}

/* BADGES & CHIPS */
.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(31, 79, 143, 0.12);
    color: var(--navy-700);
    font-size: 0.8rem;
    font-weight: 600;
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(31, 79, 143, 0.3);
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--navy-700);
}

/* IMAGES */
.image-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 29, 58, 0.08);
}

/* GRIDS */
.feature-grid {
    display: grid;
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(11, 29, 58, 0.08);
    box-shadow: 0 16px 30px rgba(11, 29, 58, 0.1);
    height: 100%;
}

.feature-card img {
    border-radius: 16px;
    margin-bottom: 16px;
}

/* CTA */
.cta-panel {
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.96), rgba(31, 79, 143, 0.92));
    color: #fff;
    padding: 36px;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.cta-panel h3,
.cta-panel p {
    color: #fff;
}

/* FOOTER */
.site-footer {
    padding: 60px 0 30px;
    background: var(--navy-900);
    color: #e6eef7;
    margin-top: 70px;
}

.site-footer a {
    color: #e6eef7;
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand {
    font-family: "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Verdana", "Tahoma", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-note {
    color: rgba(230, 238, 247, 0.7);
    margin-top: 8px;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(230, 238, 247, 0.2);
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        border-radius: 10px;
        letter-spacing: 0.01em;
    }

    .navbar-nav {
        padding: 4px 0;
    }

    .page-hero {
        padding-top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* MODAL */
.modal-body {
    text-align: center;
}

.modal-body img {
    margin: 0 auto;
}