/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin-left: 0px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #f7fafc;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section-alt {
    background-color: #ffffff;
}

.section-title {
    font-size: 1.9rem;
    text-align: center;
    margin: 0 0 8px;
}

.section-subtitle {
    text-align: center;
    color: #4b5563;
    max-width: 520px;
    margin: 0 auto 32px;
}

.center {
    text-align: center;
}

.mt-2 {
    margin-top: 16px;
}

/* Top bar */
.top-bar {
    background: #111827;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.top-bar a {
    color: #bfdbfe;
}

/* Header & nav */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.logo-text {
    font-size: 1.15rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}

.nav a {
    color: #374151;
}

.nav a.active {
    font-weight: 600;
    color: #111827;
}

.nav a:hover {
    color: #111827;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-drop-btn {
    background: transparent;
    border: none;
    font: inherit;
    color: #374151;
    cursor: pointer;
}

.nav-drop-btn::after {
    content: "▾";
    margin-left: 4px;
    font-size: 0.75em;
}

.nav-drop-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 180px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 30;
}

.nav-dropdown:hover .nav-drop-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-drop-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
}

.nav-drop-menu a:hover {
    background-color: #eff6ff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-small {
    padding: 7px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-outline:hover {
    background-color: #eff6ff;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    padding: 72px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.6rem;
    margin: 0 0 16px;
}

.hero-text p {
    margin: 0 0 24px;
    color: #4b5563;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #374151;
}

.hero-badges span {
    background-color: #ffffff;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hero-side {
    display: flex;
    justify-content: center;
}

.hero-photo-placeholder {
    width: 100%;
    max-width: 360px;
    height: 260px;
    border-radius: 24px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    text-align: center;
    padding: 16px;
    font-size: 0.95rem;
}

/* Cards / Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.card p {
    margin: 0;
    color: #4b5563;
}

.card-link {
    display: block;
    color: inherit;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
}

.card-link-small {
    display: inline-block;
    margin-top: 0px;
    font-size: 0.9rem;
    color: #2563eb;
}

.locations-grid .card h3 {
    margin-bottom: 4px;
}

/* Pickup steps */
.pickup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.pickup-step {
    position: relative;
    padding-left: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: #2563eb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.pickup-step h3 {
    margin: 0 0 8px;
}

/* CTA section */
.section-cta {
    background: #111827;
    color: #f9fafb;
    text-align: center;
}

.section-cta h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.section-cta p {
    margin: 0 0 16px;
    color: #e5e7eb;
}

/* Footer */
.site-footer {
    background-color: #0b1120;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    padding: 24px 16px;
}

.footer-inner a {
    color: #e5e7eb;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 10px 16px 16px;
    text-align: center;
}

/* Discount popup */
.popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 50;
}

.popup-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.popup {
    max-width: 380px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 24px 20px 18px;
    position: relative;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #6b7280;
}

.popup h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    text-align: center;
}

.popup-percent {
    margin: 6px 0 2px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #22c55e;
}

.popup-text {
    text-align: center;
    margin: 0 0 16px;
    color: #4b5563;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.popup-form label {
    font-size: 0.85rem;
    color: #374151;
}

.popup-form input {
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

.popup-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb33;
}

.popup-no {
    border: none;
    background: transparent;
    display: block;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #6b7280;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-side {
        order: -1;
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        height: auto;
        padding: 10px 0;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Split hero layout */
.hero-split {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    padding: 80px 0;
}

.hero-split .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Video Box Styling */
.hero-video-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.hero-video {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-video-box {
        margin-top: 30px;
    }
}

/* Better Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* Service Card */
.service-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Image */
.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Text */
.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-top: 0;
}

/* Map Container Styling */
.map-box {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    padding: 10px;
}

#all-locations-map {
    height: 420px;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

.wf-photo-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wf-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* fills and crops nicely */
}

/* Brand block (boat + name together) */
.brand {
    display: flex;
    align-items: self-end;
    gap: 5px;

    /* spacing between boat and name */
}

/* Boat logo size */
.brand-logo {
    width: 150px;

    /* adjust to taste */
    height: auto;
}

/* Name lockup size */
.brand-name {
    height: 25px;

    /* control by height for SVG */
    width: auto;
    display: block;
}

/* On small screens, shrink nicely */
@media (max-width: 720px) {
    .brand-logo {
        width: 56px;
    }

    .brand-name {
        height: 34px;
    }
}

/* Leaflet legend */
.map-legend {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  font-size: 14px;
  line-height: 1.4;
}

.map-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.map-legend .legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.map-legend .legend-dot.blue { background: #2f6fe4; }
.map-legend .legend-dot.green { background: #2bb673; }


