/*
==========================================
TISA STAFFORD REAL ESTATE - WITH MARBLE SEPARATORS
Luxury styling with Gunmetal Gray separators
==========================================
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
    /* Colors */
    --color-teal: #2a3e40;
    --color-gold: #c4934f;
    --color-cream: #efece0;
    --color-white: #ffffff;
    --color-dark-gray: #606060;
    
    /* Gradients */
    --gradient-light: linear-gradient(135deg, rgba(239, 236, 224, 0.05) 0%, rgba(239, 236, 224, 0.1) 50%, rgba(239, 236, 224, 0.05) 100%);
    --gradient-warm: linear-gradient(135deg, #efece0 0%, #eae8e1 100%);
    
    /* Shadows */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark-gray);
    background: var(--color-cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3 {
    font-weight: 500;
    color: var(--color-teal);
    letter-spacing: 2px;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; margin-bottom: 60px; text-align: center; }
h3 { font-size: 1.6em; }

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--color-teal);
    margin: 15px auto 0;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s;
}

header.scrolled {
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #D4AF37;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    padding: 15px 0;
    margin-top: 15px;
    border-radius: 4px;
    list-style: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 12px;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* ============================================
   HERO SECTION (UNCHANGED - KEEPS VIDEO)
============================================ */
#hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.hero-video-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(42, 62, 64, 0.3), rgba(47, 41, 38, 0.3)), 
                url('/images/hero-home.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(42, 62, 64, 0.4), rgba(47, 41, 38, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* ADD THIS CSS FOR THE LOGO */
.hero-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    animation: fadeInUp 1s ease-out;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 300px;
    }
}

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

🎯 WHAT THIS DOES
Desktop (Large Screens):

Logo max width: 500px
Beautiful shadow behind logo for visibility
Smooth fade-in animation

Tablet:

Logo max width: 400px

Mobile:

Logo max width: 300px

All Devices:

width: 90% ensures logo doesn't touch screen edges
height: auto maintains aspect ratio
drop-shadow makes logo pop against video background
Fades in smoothly when page loads


📝 COMPLETE HERO SECTION CSS
Here's how your complete hero section CSS should look:
css/* ============================================
   HERO SECTION (UNCHANGED - KEEPS VIDEO)
============================================ */
#hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.hero-video-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(42, 62, 64, 0.3), rgba(47, 41, 38, 0.3)), 
                url('/images/hero-home.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(42, 62, 64, 0.4), rgba(47, 41, 38, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    animation: fadeInUp 1s ease-out;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 2em;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Responsive hero logo */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 300px;
    }
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 2em;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ============================================
   MARBLE SEPARATORS - GUNMETAL GRAY
============================================ */
.separator-gunmetal {
    height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,
        #28292e 0%, #2e2f34 6%, #2a2b30 12%, #303136 18%,
        #28292e 24%, #2e2f34 30%, #2c2d32 36%, #323338 42%,
        #28292e 48%, #2e2f34 54%, #2a2b30 60%, #303136 66%,
        #28292e 72%, #2e2f34 78%, #2c2d32 84%, #323338 90%,
        #28292e 100%);
}

.separator-gunmetal::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200,205,215,0.04) 30%, 
        rgba(200,205,215,0.02) 50%, 
        transparent 60%, 
        rgba(200,205,215,0.03) 80%, 
        transparent 100%);
}

/* Marble Carrara Sections (Light) */
.marble-carrara {
    background: linear-gradient(165deg,
        #f5f5f8 0%, #eeeef3 10%, #f5f5f8 18%, #e8e8ef 25%,
        #f2f2f6 35%, #eaeaef 42%, #f5f5f8 52%, #e6e6ee 60%,
        #f0f0f5 70%, #e8e8f0 80%, #f3f3f7 90%, #f5f5f8 100%);
    position: relative;
}

.marble-carrara::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(125deg, transparent 20%, rgba(140,145,170,0.08) 22%, rgba(140,145,170,0.03) 24%, transparent 26%),
        linear-gradient(132deg, transparent 40%, rgba(130,135,165,0.07) 42%, transparent 44%),
        linear-gradient(118deg, transparent 55%, rgba(150,155,180,0.06) 57%, rgba(150,155,180,0.02) 59%, transparent 61%),
        linear-gradient(128deg, transparent 70%, rgba(135,140,170,0.05) 72%, transparent 74%),
        linear-gradient(122deg, transparent 10%, rgba(140,145,175,0.04) 12%, transparent 14%);
    pointer-events: none;  /* CRITICAL: Allows clicks through the overlay */
}

.marble-carrara > * {
    position: relative;
    z-index: 2;
}

/* ============================================
   SECTIONS
============================================ */
section {
    padding: 80px 20px;
    position: relative;
}

/* Override default backgrounds with marble */
.gradient-overlay-light {
    background: transparent;
}

.gradient-shimmer {
    background: transparent;
}

.neutral-white {
    background: var(--color-white);
}

.gradient-warm-white {
    background: linear-gradient(135deg, #ffffff 0%, #eae8e1 100%);
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: start;
}

.about-image {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    margin-top: 80px;
}

.about-text p {
    color: var(--color-teal);
    font-size: 0.90em;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ============================================
   GRID LAYOUTS
============================================ */
.open-house-grid,
.neighborhood-grid,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.neighborhood-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   CARDS
============================================ */
.open-house-card,
.listing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    position: relative;
}

.open-house-card:hover,
.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(239, 236, 224, 0.3);
}

.open-house-image,
.listing-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.open-house-details,
.listing-details {
    padding: 30px;
}

.open-house-details h3,
.listing-details h3 {
    color: var(--color-teal);
    font-weight: 700;
    margin-bottom: 10px;
}

.open-house-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(239, 236, 224, 0.95);
    color: #2a3e40;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.open-house-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(239, 236, 224, 0.05) 0%, rgba(239, 236, 224, 0.1) 100%);
    border-radius: 10px;
}

.info-item-small {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 3px;
}

.info-value {
    font-weight: bold;
    color: #2a3e40;
    font-size: 1.1em;
}

.open-house-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.open-house-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: linear-gradient(45deg, #2a3e40 0%, #1a2e30 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: bold;
}

.listing-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(239, 236, 224, 0.95);
    color: #2a3e40;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2em;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.listing-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(239, 236, 224, 0.05) 0%, rgba(239, 236, 224, 0.1) 100%);
    border-radius: 10px;
}

.listing-specs span {
    font-weight: bold;
    color: #2a3e40;
}

.view-details {
    display: inline-block;
    background: linear-gradient(135deg, #2a3e40 0%, #1a2e30 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

/* ============================================
   NEIGHBORHOOD CARDS
============================================ */
.neighborhood-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: var(--shadow);
    z-index: 2;  /* Ensures cards are above marble overlay */
}

.neighborhood-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    transition: all 0.4s;
    border-radius: 20px;
    pointer-events: none;  /* Allows clicks to pass through to the card */
}

.neighborhood-card:hover {
    transform: translateY(-10px);
}

.neighborhood-card h3 {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.8em;
    color: var(--color-cream);
    z-index: 10;
}

.neighborhood-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    transform: translateY(0);
    transition: transform 0.4s;
}

.neighborhood-learn-more {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    color: #efece0;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(10px);
}

.neighborhood-card:hover .neighborhood-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.neighborhood-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    border: 2px solid rgba(239, 236, 224, 0.5);
}

.neighborhood-card:hover .neighborhood-preview {
    opacity: 1;
}

.neighborhood-preview h4 {
    font-size: 1.5em;
    color: #2a3e40;
    margin-bottom: 15px;
    border-bottom: 2px solid #efece0;
    padding-bottom: 10px;
}

.neighborhood-preview-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #2a3e40;
    font-size: 0.95em;
    line-height: 1.5;
}

.neighborhood-preview-item strong {
    color: #2a3e40;
    min-width: 100px;
    font-weight: 600;
}

.neighborhood-preview-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(239, 236, 224, 0.5);
    color: #2a3e40;
    font-size: 0.9em;
    font-style: italic;
}

/* ============================================
   NEIGHBORHOOD MODAL
============================================ */
.neighborhood-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neighborhood-modal.active {
    display: block;
    opacity: 1;
}

.neighborhood-modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
    transition: transform 0.4s ease;
}

.neighborhood-modal.active .neighborhood-modal-content {
    transform: translateY(0);
}

.neighborhood-modal-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neighborhood-modal-title {
    text-align: center;
    z-index: 2;
    position: relative;
}

.neighborhood-modal-title h2 {
    color: white;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.neighborhood-modal-title p {
    color: #efece0;
    font-size: 1.3em;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.close-neighborhood-modal {
    position: absolute;
    right: 30px;
    top: 20px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 3;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.close-neighborhood-modal:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg);
}

.neighborhood-modal-body {
    padding: 50px;
    color: #2a3e40;
    line-height: 1.8;
}

/* Neighborhood Modal Content Styles */
.neighborhood-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-item {
    background: linear-gradient(135deg, rgba(239, 236, 224, 0.1), rgba(239, 236, 224, 0.2));
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-item h4 {
    color: #2a3e40;
    font-size: 1.3em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    font-size: 1.5em;
}

.highlight-item p {
    color: #606060;
    font-size: 0.95em;
    line-height: 1.6;
}

.neighborhood-description {
    margin-bottom: 40px;
}

.neighborhood-description h3 {
    color: #2a3e40;
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 2px solid #efece0;
    padding-bottom: 10px;
}

.neighborhood-description p {
    color: #606060;
    font-size: 1.05em;
    line-height: 1.8;
}

.neighborhood-features {
    margin-bottom: 40px;
}

.neighborhood-features h3 {
    color: #2a3e40;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid #efece0;
    padding-bottom: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    background: rgba(239, 236, 224, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
    color: #2a3e40;
    font-size: 0.95em;
    font-weight: 500;
    border-left: 3px solid #c4934f;
}

.neighborhood-cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(239, 236, 224, 0.2), rgba(239, 236, 224, 0.4));
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.neighborhood-cta-section h3 {
    color: #2a3e40;
    font-size: 2em;
    margin-bottom: 15px;
}

.neighborhood-cta-section p {
    color: #606060;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2a3e40 0%, #1a2e30 100%);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(42, 62, 64, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(42, 62, 64, 0.4);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .neighborhood-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .neighborhood-modal-header {
        height: 200px;
    }
    
    .neighborhood-modal-title h2 {
        font-size: 2em;
    }
    
    .neighborhood-modal-body {
        padding: 30px 20px;
    }
    
    .neighborhood-highlights,
    .features-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LISTINGS SECTION - ADD THIS AFTER NEIGHBORHOOD SECTION
============================================ */
#listings {
    padding: clamp(60px, 8vw, 100px) 20px;
    min-height: auto;
    position: relative;
}

#listings h2 {
    text-align: center;
    font-size: 2.8em;
    font-weight: 500;
    color: #2a3e40;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

#listings h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2a3e40, transparent);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.listing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #efece0, #d4cdb8, #efece0);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(239, 236, 224, 0.3);
}

.listing-card:hover::before {
    transform: scaleX(1);
}

.listing-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.listing-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.listing-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(239, 236, 224, 0.95);
    color: #2a3e40;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2em;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10;  /* ← ADD THIS */
}

.under-contract-banner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.90);
    color: #d4af37;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    transform: translateY(-50%);;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.listing-details {
    padding: 25px;
}

.listing-details h3 {
    font-size: 1.5em;
    color: #2a3e40;
    margin-bottom: 10px;
}

.listing-details p {
    color: #666;
    margin-bottom: 15px;
}

.listing-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(239, 236, 224, 0.05) 0%, rgba(239, 236, 224, 0.1) 100%);
    border-radius: 10px;
}

.listing-specs span {
    font-weight: bold;
    color: #2a3e40;
}

.view-details {
    display: inline-block;
    background: linear-gradient(135deg, #2a3e40 0%, #1a2e30 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.view-details:hover {
    background: linear-gradient(135deg, #efece0 0%, #d4cdb8 100%);
    color: #2a3e40;
    transform: translateX(5px);
}

/* Responsive Listings */
@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    #listings h2 {
        font-size: 2em;
    }
    
    .listing-specs {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================
   TESTIMONIALS CAROUSEL
============================================ */
#testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background: rgba(239, 236, 224, 0.95);
    padding: 50px 40px 40px 40px;
    border-radius: 20px;
    transition: all 0.4s;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 8em;
    color: rgba(196, 147, 79, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #2a3e40;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-weight: 600;
    color: #2a3e40;
    font-style: normal;
    font-size: 1.1em;
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(196, 147, 79, 0.2);
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 62, 64, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: rgba(42, 62, 64, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(42, 62, 64, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(42, 62, 64, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #2a3e40;
    width: 30px;
    border-radius: 6px;
}

/* Auto-play pause indicator */
.carousel-autoplay-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(42, 62, 64, 0.8);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-autoplay-toggle:hover {
    background: rgba(42, 62, 64, 1);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 50px;
    }
    
    .testimonial-card {
        padding: 40px 30px 30px 30px;
    }
    
    .testimonial-card::before {
        font-size: 5em;
        left: 15px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-slide {
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 35px 25px 25px 25px;
    }
    
    .testimonial-card p {
        font-size: 0.95em;
    }
}

/* ============================================
   RESOURCES - FLIPBOOKS
============================================ */
.flipbooks-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.flipbook-column {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.flipbook-column h3 {
    color:var(--color-teal);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.flipbook-column iframe {
    border-radius: 8px;
    display: block;
}

/* Mobile: Stack vertically */
@media (max-width: 1024px) {
    .flipbooks-side-by-side {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flipbook-column iframe {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .flipbook-column iframe {
        height: 500px;
    }
}

/* ============================================
   CONTACT FORM
============================================ */
.contact-subtitle {
    text-align: center;
    font-size: 1.2em;
    font-weight: 300;
    color: #2a3e40;
    margin-bottom: 50px;
}

.contact-form {
    width: 100%;
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-teal);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-teal);
    background: rgba(176, 196, 209, 0.5);
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    color: var(--color-teal);
}

.contact-form textarea {
    min-height: 200px;
    resize: vertical;
}

.checkbox-options {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recaptcha-notice {
    font-size: 0.85em;
    color: #2a3e40;
    margin: 20px 0;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: #2a3e40;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    background: #1a2527;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
}

.submit-button:hover {
    background: var(--color-teal);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
============================================ */
footer {
    padding: 60px 20px 30px;
}

.footer-about {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.footer-about h2 {
    color: var(--color-teal);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.footer-contact-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    text-align: center;
    font-size: 0.7em;
}

.footer-contact-line a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-line a:hover {
    color: var(--color-teal);
}

.footer-social {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 30px 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social svg {
    width: 26px;
    height: 26px;
    fill: var(--color-teal);
}

.footer-social a:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.mls-disclaimer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mls-disclaimer p {
    font-size: 0.5em;
    font-weight: 500;
    color: var(--color-teal);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-video-bg {
        display: none;
    }
    
    .hero-video-fallback {
        display: block;
    }
    
    .about-content,
    .neighborhood-grid,
    .flipbooks-side-by-side {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        height: 400px;
        margin-top: 0;
    }
    
    .separator-gunmetal {
        height: 80px;
    }
    
    h1 { font-size: 2.2em; }
    h2 { font-size: 2em; }
    
    section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    
    .separator-gunmetal {
        height: 60px;
    }
}