/* ============================================================
   SHORELINE SHIELD — Main Stylesheet
   Colors: Black #0A0A0A | Gold #D4A437 | White #FFFFFF | Teal #1F6F78
   Fonts:  Montserrat Bold (headings) | Open Sans Regular (body)
   ============================================================ */

/* ==================== ROOT VARIABLES ==================== */
:root {
    --black:      #0A0A0A;
    --gold:       #D4A437;
    --gold-hover: #B8912E;
    --white:      #FFFFFF;
    --teal:       #1F6F78;
    --teal-dark:  #154f56;
    --gray-dark:  #111111;
    --gray-mid:   #1E1E1E;
    --gray-light: #2A2A2A;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', sans-serif;

    --nav-height:      80px;
    --container-max:   1200px;
    --section-pad:     90px 24px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.15;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background-color: #010000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 164, 55, 0.2);
    z-index: 1000;
    transition: border-color 0.3s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: var(--white);
}

.logo-image{
    width: 32px;
    height: 32px;
    margin-left: 0px;
}

.banner-image {
    width: 250px;
    height: auto;
    margin-left: 0px;
}

.logo-accent { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.btn-book {
    background-color: var(--gold) !important;
    color: var(--black) !important;
    padding: 10px 24px !important;
    border-radius: 2px;
    font-weight: 700 !important;
    transition: background-color 0.3s ease !important;
}

.btn-book:hover { background-color: var(--gold-hover) !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-block;
    background-color: var(--gold);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 34px;
    border: 2px solid rgba(255,255,255,0.75);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* ==================== SECTION TITLES ==================== */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 14px;
}

.section-title .accent { color: var(--gold); }

.section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 52px;
    font-weight: 300;
    max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ==================== HERO (HOME) ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-dark);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 0 24px;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.72) 0%,
        rgba(10,10,10,0.50) 40%,
        rgba(10,10,10,0.88) 100%
    );
}

/* Floating photos drifting behind the hero content */
.hero-floaters {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floater {
    position: absolute;
    width: clamp(110px, 11vw, 165px);
    aspect-ratio: 3/ 4;
    object-fit: cover;
    opacity: 0.45;
    border: 1px solid rgba(212, 164, 55, 0.35);
    border-radius: 3px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    animation: floatDrift 14s ease-in-out infinite;
}

/* Left edge column */
.floater-1 { top: 8%;   left: 3%;   rotate: -6deg; animation-duration: 16s; }
.floater-2 { top: 39%;  left: 7%;   rotate: 4deg;  animation-duration: 19s; animation-delay: -6s; }
.floater-5 { top: 70%;  left: 3%;   rotate: 3deg;  animation-duration: 18s; animation-delay: -8s; }
/* Right edge column */
.floater-3 { top: 6%;   right: 3%;  rotate: 5deg;  animation-duration: 17s; animation-delay: -3s; }
.floater-4 { top: 37%;  right: 7%;  rotate: -4deg; animation-duration: 21s; animation-delay: -10s; }
.floater-6 { top: 68%;  right: 3%;  rotate: -3deg; animation-duration: 15s; animation-delay: -12s; }

@keyframes floatDrift {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(10px, -18px); }
    50%      { transform: translate(-6px, -30px); }
    75%      { transform: translate(-14px, -12px); }
}

@media (max-width: 768px) {
    .hero-floaters { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .floater { animation: none; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-logo {
    display: block;
    width: clamp(120px, 17vw, 190px);
    height: auto;
    margin: 0 auto 28px;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.4rem, 6.5vw, 5rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 44px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== SERVICES PREVIEW (HOME) ==================== */
.services-preview {
    padding: var(--section-pad);
    background-color: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px;
}

.service-card {
    background-color: var(--gray-mid);
    padding: 44px 32px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    border-bottom-color: var(--gold);
    background-color: #222222;
}

.service-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 22px;
    line-height: 1;
}

.service-card h3 {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    color: var(--white);
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
}

.card-link:hover { color: var(--gold-hover); }

/* ==================== WHY US (HOME) ==================== */
.why-us {
    padding: var(--section-pad);
    background-color: var(--gray-dark);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.split-text > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: 0.98rem;
}

.check-list { margin-bottom: 36px; }

.check-list li {
    padding: 11px 0 11px 22px;
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--gold);
    border-radius: 50%;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 3;
    border: 2px solid rgba(212,164,55,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    border-radius: 2px;
}

/* ==================== SLIDESHOW ==================== */
.slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
    opacity: 1;
}

/* ==================== BEFORE / AFTER COMPARE ==================== */
.ba-compare {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid rgba(212,164,55,0.15);
    background-color: var(--gray-light);
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.ba-img.active { opacity: 1; }

.ba-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 10;
}

.ba-btn {
    flex: 1;
    padding: 13px 0;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    background-color: rgba(10,10,10,0.78);
    color: rgba(255,255,255,0.5);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.ba-btn.active {
    background-color: var(--gold);
    color: var(--black);
}

.ba-btn:not(.active):hover {
    background-color: rgba(10,10,10,0.92);
    color: var(--white);
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
    padding: 52px 24px;
    background-color: var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--black);
    display: block;
    letter-spacing: 0.04em;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(10,10,10,0.65);
    text-transform: uppercase;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 90px 24px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 14px;
}

.cta-banner p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    font-size: 1.05rem;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.cta-actions .btn-secondary i { margin-right: 6px; }

/* ==================== FOOTER ==================== */
.footer {
    background-color: #0D0D0D;
    border-top: 1px solid rgba(212,164,55,0.18);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 72px 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 52px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 10px;
}

.footer-motto {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 260px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212,164,55,0.35);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.footer h4 {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 22px;
}

.footer ul li {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-nav-links li a {
    color: rgba(255,255,255,0.55);
    transition: color 0.3s ease;
}

.footer-nav-links li a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

.footer-phone {
    margin-bottom: 8px;
}

.footer-phone a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.footer-phone a:hover { color: #fff; }

.footer-phone i { margin-right: 6px; }

/* ==================== PAGE HERO (inner pages) ==================== */
.page-hero {
    padding: calc(var(--nav-height) + 72px) 24px 72px;
    background-color: var(--gray-dark);
    text-align: center;
    border-bottom: 1px solid rgba(212,164,55,0.12);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/page-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 580px;
    margin: 0 auto;
    font-weight: 300;
}

/* ==================== ABOUT PAGE ==================== */
.about-intro {
    padding: var(--section-pad);
}

.about-values {
    padding: var(--section-pad);
    background-color: var(--gray-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.value-card {
    padding: 40px 28px;
    border: 1px solid rgba(212,164,55,0.15);
    background-color: var(--gray-mid);
    text-align: center;
    transition: border-color 0.3s ease;
}

.value-card:hover { border-color: var(--gold); }

.value-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.75;
}

.service-areas-section {
    padding: var(--section-pad);
    text-align: center;
}

.areas-map-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
}

#service-map {
    width: 100%;
    height: 460px;
    border: 1px solid rgba(212,164,55,0.25);
    border-radius: 6px;
    background-color: var(--gray-mid);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Gold map pins */
.area-pin {
    color: var(--gold);
    font-size: 30px;
    text-align: center;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Leaflet popup + tooltip theming */
.leaflet-popup-content-wrapper,
.leaflet-tooltip {
    background-color: var(--gray-mid);
    color: var(--white);
    border: 1px solid rgba(212,164,55,0.3);
    border-radius: 4px;
}
.leaflet-popup-content { font-family: var(--font-body); font-size: 0.85rem; }
.leaflet-popup-content strong { color: var(--gold); letter-spacing: 0.05em; }
.leaflet-popup-tip { background-color: var(--gray-mid); }
.leaflet-tooltip::before { display: none; }

/* Keep Leaflet controls below the fixed navbar (z-index 1000) so the
   zoom buttons hide behind it instead of floating over the page on scroll */
.leaflet-top,
.leaflet-bottom { z-index: 800; }

.areas-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin-top: 24px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.7);
}

.areas-legend li { display: flex; align-items: center; gap: 8px; }

.legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--gold);
    display: inline-block;
}

@media (max-width: 600px) {
    #service-map { height: 360px; }
}

/* ==================== SERVICES PAGE ==================== */
.services-page {
    padding: var(--section-pad);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    max-width: var(--container-max);
    margin: 0 auto;
}

.service-item:last-of-type { border-bottom: none; }

.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }

.service-item-text .section-label { display: block; }

.service-item-text h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    margin-bottom: 18px;
}

.service-item-text h2 .accent { color: var(--gold); }

.service-item-text p {
    color: rgba(255,255,255,0.68);
    margin-bottom: 20px;
    font-size: 0.96rem;
}

.feature-list { margin: 24px 0 32px; }

.feature-list li {
    padding: 9px 0 9px 20px;
    position: relative;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
        --section-pad: 64px 20px;
    }

    /* Mobile nav */
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: rgba(10,10,10,0.98);
        flex-direction: column;
        padding: 28px 24px;
        gap: 22px;
        border-bottom: 1px solid rgba(212,164,55,0.2);
    }

    .nav-links.open { display: flex; }
    .btn-book { width: 100%; text-align: center; }

    /* Layouts */
    .split-grid,
    .service-item,
    .service-item.reverse { grid-template-columns: 1fr; gap: 36px; direction: ltr; }

    .hero-cta { flex-direction: column; align-items: center; }

    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .services-grid,
    .stats-grid,
    .footer-inner { grid-template-columns: 1fr; }
}
