/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-primary: #FAF8F5;    /* Warm Alabaster */
    --color-bg-secondary: #FAF8F5;  /* Secondary background */
    --color-bg-dark: #1E1D1C;       /* Rich Warm Charcoal */
    --color-bg-dark-accent: #2C2A29;/* Dark card fill */
    
    --color-text-primary: #2C2A29;  /* Warm Dark Charcoal */
    --color-text-secondary: #5A5653;/* Muted Taupe */
    --color-text-light: #F4F1ED;     /* Cream White */
    --color-text-light-muted: #B3ADA6;/* Muted Cream */
    
    --color-accent: #C5A880;        /* Restrained Brushed Gold */
    --color-accent-hover: #D6BD96;  /* Lighter Gold */
    --color-slate-blue: #4A5B66;    /* Coastal Slate Blue */
    --color-border: #E8E3DD;        /* Thin Sand Border */
    --color-border-dark: #3D3936;   /* Dark Theme Border */
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-mobile: 70px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   GLOBAL RESETS & CORE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

button {
    font-family: var(--font-body);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

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

.dark-bg {
    background-color: var(--color-bg-dark) !important;
    color: var(--color-text-light) !important;
}

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 {
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.hidden-field {
    display: none !important;
    visibility: hidden;
}

/* ==========================================================================
   REUSABLE COMPONENTS (Buttons, Cards, Section Headings)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #FFFFFF;
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
}

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
    transform: translateY(-2px);
}

.btn-secondary-light {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
}

.btn-secondary-light:hover {
    background-color: var(--color-text-light);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 11px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Headings */
.section-heading-wrap {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--color-accent);
}

.section-title {
    font-size: 42px;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.section-title.light {
    color: var(--color-text-light);
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-desc.light {
    color: var(--color-text-light-muted);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(250, 248, 245, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--color-border);
}

.main-header.scrolled-dark {
    background-color: rgba(30, 29, 28, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border-dark);
}

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

.brand-link {
    display: flex;
    flex-direction: column;
}

.brand-address {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-city {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.desktop-nav a:hover {
    color: var(--color-accent);
}

.desktop-nav a.nav-cta {
    background-color: var(--color-accent);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 0;
}

.desktop-nav a.nav-cta:hover {
    background-color: var(--color-accent-hover);
    color: #FFFFFF;
}

/* Hamburger mobile button */
.mobile-nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.hamburger {
    width: 20px;
    height: 2px;
    background-color: var(--color-text-primary);
    position: absolute;
    transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--color-text-primary);
    position: absolute;
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger open state */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent !important;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile navigation drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-primary);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.05em;
    padding: 10px 0;
}

.mobile-nav-links a.mobile-nav-cta {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--color-accent);
    color: #FFFFFF;
    padding: 12px 32px;
    margin-top: 15px;
}

/* Header theme overrides based on page scroll / section */
.main-header.light-theme {
    color: var(--color-text-light);
}

.main-header.light-theme .hamburger,
.main-header.light-theme .hamburger::before,
.main-header.light-theme .hamburger::after {
    background-color: var(--color-text-light);
}

.main-header.scrolled.light-theme {
    color: var(--color-text-primary);
}

.main-header.scrolled.light-theme .hamburger,
.main-header.scrolled.light-theme .hamburger::before,
.main-header.scrolled.light-theme .hamburger::after {
    background-color: var(--color-text-primary);
}

/* ==========================================================================
   SECTION 1: HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Fallback image style if video breaks or hasn't loaded */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/01-dji_20260709124132_0163_d.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    color: var(--color-text-light);
    padding: 0 24px;
    margin-top: 60px;
}

.hero-text-wrap {
    margin-bottom: 40px;
}

.hero-title {
    font-size: 64px;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(30, 29, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 24px 40px;
    margin-bottom: 48px;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-text-light);
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Hero Mute Button */
.hero-mute-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(30, 29, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: var(--transition-fast);
}

.hero-mute-btn:hover {
    background-color: rgba(30, 29, 28, 0.8);
    transform: scale(1.05);
}

/* Scroll Indicator Mouse */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-text-light);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 1.8s infinite;
}

@keyframes scrollAnimation {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
    100% { top: 8px; opacity: 1; }
}

/* ==========================================================================
   SECTION 2: PROPERTY OVERVIEW
   ========================================================================== */
.overview-section {
    padding: 100px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.overview-narrative .lead-text {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: 28px;
    font-style: italic;
}

.overview-narrative p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.overview-facts-panel {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.panel-title {
    font-size: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.facts-list li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #FAF8F5;
    font-size: 14px;
}

.facts-list li:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.fact-value {
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: right;
    max-width: 60%;
}

/* ==========================================================================
   SECTION 3: PROPERTY FILM
   ========================================================================== */
.film-section {
    padding: 100px 0;
}

.custom-video-player-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video controls overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition-smooth);
}

.play-trigger-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(197, 168, 128, 0.4);
    transition: var(--transition-smooth);
    padding-left: 6px; /* Offset to center play triangle */
}

.play-trigger-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-accent-hover);
}

.video-container:hover .custom-video-controls {
    transform: translateY(0);
    opacity: 1;
}

/* HTML5 Custom control bar */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 10;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.control-btn {
    color: var(--color-text-light);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.control-btn:hover {
    color: var(--color-accent);
}

.progress-bar-container {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(255,255,255,0.25);
    margin: 0 15px;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.video-timer {
    font-size: 12px;
    color: var(--color-text-light);
    margin-right: 15px;
}

.video-fallback-link-wrap {
    margin-top: 24px;
    text-align: center;
}

.fallback-text {
    font-size: 13px;
    color: var(--color-text-light-muted);
}

.fallback-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.fallback-text a:hover {
    color: var(--color-accent-hover);
}

/* ==========================================================================
   SECTION 4: SIGNATURE FEATURES
   ========================================================================== */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-color: var(--color-accent);
}

.feature-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 66%; /* 3:2 Aspect Ratio */
}

.feature-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.08);
}

.feature-body {
    padding: 30px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   SECTION 5: PHOTO GALLERY
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.filter-btn {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light-muted);
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--color-text-light);
}

.filter-btn.active {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Gallery Masonry Layout using dynamic grid columns */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-dark-accent);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

.gallery-item::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 32px;
    color: var(--color-text-light);
    font-weight: 300;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 17, 16, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.lightbox-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--color-text-light);
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
    font-weight: 300;
}

.lightbox-counter {
    color: var(--color-text-light-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: var(--color-text-light-muted);
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-text-light);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: var(--color-text-light-muted);
    padding: 20px;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    color: var(--color-text-light);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

/* ==========================================================================
   SECTION 6 & 7: MAPS & LOCATION
   ========================================================================== */
.boating-section {
    padding: 100px 0;
}

.boating-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.boating-info .lead-text {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 24px;
}

.boating-info p {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.boating-destinations {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dest-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.dest-number {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
}

.dest-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.dest-text p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.styled-map {
    height: 480px;
    width: 100%;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Grayscale Leaflet tile override for premium dark/editorial style */
.leaflet-tile-container {
    filter: grayscale(100%) invert(5%) contrast(92%);
}

.dark-bg .leaflet-tile-container {
    filter: grayscale(100%) invert(90%) contrast(90%);
}

.location-section {
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.location-map-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-controls-row {
    display: flex;
    gap: 12px;
}

.location-copy .lead-text {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 24px;
}

.location-copy p {
    color: var(--color-text-light-muted);
    margin-bottom: 30px;
}

.location-proximity-list {
    background-color: var(--color-bg-dark-accent);
    border: 1px solid var(--color-border-dark);
    padding: 30px;
    margin-bottom: 24px;
}

.proximity-title {
    font-size: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--color-border-dark);
    padding-bottom: 10px;
}

.location-proximity-list ul li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 14px;
}

.location-proximity-list ul li:last-child {
    border-bottom: none;
}

.place {
    color: var(--color-text-light);
}

.dist {
    color: var(--color-accent);
}

.fair-housing-statement {
    font-size: 11px;
    color: var(--color-text-light-muted) !important;
    font-style: italic;
}

/* ==========================================================================
   SECTION 8: VIRTUAL TOUR
   ========================================================================== */
.virtual-tour-section {
    padding: 100px 0;
}

.virtual-card {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.tour-preview-wrap {
    position: relative;
    max-width: 600px;
    margin: 40px auto 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
}

.floorplan-preview {
    width: 100%;
    height: auto;
    filter: blur(1px) brightness(0.9);
    transition: var(--transition-smooth);
}

.tour-preview-wrap:hover .floorplan-preview {
    transform: scale(1.03);
    filter: blur(2px) brightness(0.8);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 29, 28, 0.4);
}

.tour-note {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   SECTION 9: SHOWINGS BOOKING FORM
   ========================================================================== */
.showing-section {
    padding: 100px 0;
}

.showing-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.showing-direct-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 40px;
}

.direct-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.direct-contact-item:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.icon-wrap {
    width: 40px;
    height: 40px;
    background-color: #FAF8F5;
    border-radius: 50%;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
}

.contact-val {
    font-weight: 500;
}

/* Interactive form elements */
.showing-form-wrap {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
    position: relative;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    width: 100%;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    background-color: #FAF8F5;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background-color: #FFFFFF;
    outline: none;
}

/* Validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #D32F2F !important;
}

.error-msg {
    display: none;
    font-size: 11px;
    color: #D32F2F;
}

.form-group.error .error-msg {
    display: block;
}

/* Custom inputs styling */
.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 13px;
    cursor: pointer;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.checkbox-label input {
    margin-top: 3px;
}

/* Form success UI card */
.form-success-card {
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(197, 168, 128, 0.15);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.form-success-card p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

.form-success-card button {
    margin-top: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SECTION 10: PRESENTED BY AGENT
   ========================================================================== */
.agent-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border-dark);
}

.agent-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.agent-headshot-wrap {
    border: 1px solid var(--color-border-dark);
    padding: 12px;
    background-color: var(--color-bg-dark-accent);
}

.agent-headshot {
    width: 100%;
    height: auto;
}

.agent-name {
    font-size: 40px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.agent-team {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 2px;
}

.agent-brokerage {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light-muted);
    margin-bottom: 30px;
}

.agent-bio p {
    font-size: 15px;
    color: var(--color-text-light-muted);
    margin-bottom: 16px;
}

.agent-branding-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    border-top: 1px solid var(--color-border-dark);
    padding-top: 30px;
}

.agent-branding-logos img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
}

/* ==========================================================================
   FOOTER & REQUIRED DISCLOSURES
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light-muted);
    padding: 80px 0 40px;
    font-size: 14px;
    border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.branding-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-text-light);
}

.footer-brokerage-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.footer-licensing {
    font-size: 11px;
}

.footer-icons-row {
    font-size: 11px;
    margin-top: 16px;
}

.footer-header {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.links-col ul li,
.contact-col ul li {
    list-style: none;
    margin-bottom: 12px;
}

.links-col ul li a:hover,
.contact-col ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 40px;
}

.footer-disclaimers {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-meta-links {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 12px;
    flex-wrap: wrap;
}

.footer-meta-links a:hover {
    color: var(--color-text-light);
}

.share-link-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.share-link-btn:hover {
    color: var(--color-accent-hover);
}

.footer-copyright {
    font-size: 11px;
}

/* ==========================================================================
   CONVERSION FEATURE: OPEN HOUSE BANNER & MOBILE STICKY BAR
   ========================================================================== */
/* Sliding Open House Banner */
.open-house-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-accent);
    color: #FFFFFF;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.banner-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.banner-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.3);
}

.banner-text {
    font-size: 13px;
    font-weight: 500;
}

#banner-close {
    position: absolute;
    right: 24px;
    font-size: 24px;
    color: #FFFFFF;
    opacity: 0.8;
}

#banner-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Shift header down when banner is active */
.main-header.banner-active {
    top: 45px;
}

/* Sticky Contact Bar for Mobile devices */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: rgba(30, 29, 28, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border-dark);
    display: none;
    z-index: 998;
}

.sticky-action-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    gap: 4px;
}

.sticky-action-item svg {
    color: var(--color-accent);
}

.sticky-action-item span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sticky-action-item.sticky-cta-btn {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.sticky-action-item.sticky-cta-btn svg {
    color: #FFFFFF;
}

.sticky-divider {
    width: 1px;
    height: 30px;
    background-color: var(--color-border-dark);
    align-self: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Layout (Max 1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        column-count: 2;
    }
    
    .boating-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .showing-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .agent-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .agent-headshot-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .agent-branding-logos {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .branding-col {
        grid-column: span 2;
        border-bottom: 1px solid var(--color-border-dark);
        padding-bottom: 30px;
    }
}

/* Mobile Screen Layout (Max 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 64px; /* Space for sticky bar */
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    
    .hero-stats-row {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        margin-bottom: 36px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        column-count: 1;
    }
    
    .mobile-sticky-bar {
        display: flex;
    }
    
    .showing-form-wrap {
        padding: 30px 20px;
    }
    
    .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .branding-col {
        grid-column: span 1;
    }
    
    .virtual-card {
        padding: 40px 20px;
    }
    
    .styled-map {
        height: 320px;
    }
    
    .main-header.scrolled, 
    .main-header.scrolled-dark {
        height: 60px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding-right: 48px;
    }
    
    .main-header.banner-active {
        top: 68px;
    }
}

/* Accessibility Reduced Motion Queries */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-wheel {
        animation: none;
    }
}

/* ==========================================================================
   PRINT STYLES (Generates high-quality downloadable brochure)
   ========================================================================== */
@media print {
    body {
        background-color: #FFFFFF !important;
        color: #000000 !important;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    /* Hide non-printable elements */
    header,
    .open-house-banner,
    .hero-video-container,
    .hero-overlay,
    .hero-ctas,
    .hero-mute-btn,
    .scroll-indicator,
    .film-section,
    .gallery-filters,
    .gallery-load-more,
    .lightbox-modal,
    .virtual-tour-section,
    .showing-form-wrap,
    .mobile-sticky-bar,
    .map-controls-row,
    .styled-map,
    #share-website-btn,
    #download-brochure-btn,
    .success-icon,
    button {
        display: none !important;
    }
    
    /* Reveal floorplan and details fully */
    .floorplan-preview {
        filter: none !important;
    }
    
    .hero-section {
        height: auto !important;
        padding: 50px 0;
        background: none !important;
        border-bottom: 2px solid #000000;
        page-break-after: avoid;
    }
    
    .hero-content {
        margin: 0 !important;
        color: #000000 !important;
    }
    
    .hero-title {
        font-size: 32pt !important;
        color: #000000 !important;
        text-shadow: none !important;
    }
    
    .hero-subtitle {
        font-size: 14pt !important;
        color: #555555 !important;
        text-shadow: none !important;
    }
    
    .hero-stats-row {
        background: none !important;
        border: 1px solid #000000 !important;
        color: #000000 !important;
        backdrop-filter: none !important;
        padding: 15px;
        margin: 20px 0;
        page-break-inside: avoid;
    }
    
    .stat-value, .stat-label {
        color: #000000 !important;
    }
    
    .overview-section, .features-section, .boating-section, .agent-section {
        padding: 30px 0 !important;
        page-break-inside: avoid;
    }
    
    .overview-grid {
        grid-template-columns: 1fr !important;
    }
    
    .overview-facts-panel {
        border: 1px solid #000000 !important;
        box-shadow: none !important;
        padding: 20px !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .feature-card {
        border: 1px solid #CCCCCC !important;
        box-shadow: none !important;
    }
    
    .gallery-section {
        background: none !important;
        color: #000000 !important;
        padding: 30px 0 !important;
    }
    
    .gallery-grid {
        column-count: 2 !important;
        page-break-inside: avoid;
    }
    
    .gallery-item {
        border: 1px solid #CCCCCC !important;
        page-break-inside: avoid;
    }
    
    .agent-grid {
        grid-template-columns: 1fr 2fr !important;
        text-align: left !important;
    }
    
    .agent-headshot-wrap {
        max-width: 150px !important;
    }
    
    .site-footer {
        border-top: 1px solid #000000 !important;
        background: none !important;
        color: #444444 !important;
        page-break-inside: avoid;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
