/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #2563eb;
    --accent: #f59e0b;
    --dark-bg: #0a0909;
    --dark-secondary: #141211;
    --cream: #F5F0EB;
    --taupe: #A69B8D;
    --gold: #C9A86C;
    --gold-light: #D4B87A;
    --divider: #7A6F64;
    --radius: 12px;
    
    /* Light Mode Colors */
    --light-bg: #F5F0EB;
    --light-secondary: #EDE8E3;
    --light-text: #1a1816;
    --light-text-secondary: #4a4744;
    
    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    --mobile-padding: 80px;
}

/* Light Mode */
[data-theme="light"] {
    --dark-bg: var(--light-bg);
    --dark-secondary: var(--light-secondary);
    --cream: var(--light-text);
    --taupe: var(--light-text-secondary);
    --divider: #A69B8D;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--cream);
    background-color: var(--dark-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: var(--cream);
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-top: 20px;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--taupe);
    margin-top: -30px;
    margin-bottom: 48px;
}

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

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

.mt-4 {
    margin-top: 32px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 9, 9, 0.85);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--taupe);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    margin: 3px 0;
    transition: 0.3s;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid rgba(201, 168, 108, 0.3);
    color: var(--cream);
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.theme-toggle:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 108, 0.1);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Adjust map for light mode */
[data-theme="light"] #propertyMap {
    filter: brightness(0.9);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1816 0%, #0d0c0b 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1816 0%, #0d0c0b 100%);
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(20, 18, 17, 0.7), rgba(20, 18, 17, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

/* Hero Text Animations */
.hero-tagline {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

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

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 32px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 32px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--taupe);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Luxury Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--dark-bg);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(201, 168, 108, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 8px 40px rgba(201, 168, 108, 0.5);
    transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.btn-secondary:hover {
    background: var(--cream);
    color: var(--dark-bg);
    box-shadow: 0 8px 40px rgba(245, 240, 235, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-full {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--taupe);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    border-top: 1px solid rgba(201, 168, 108, 0.15);
    border-bottom: 1px solid rgba(201, 168, 108, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--taupe);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--taupe);
    margin-bottom: 24px;
}

.about-values {
    margin-top: 40px;
}

.value-item {
    margin-bottom: 24px;
    padding-left: 24px;
    border-left: 3px solid var(--gold);
}

.value-word {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--taupe);
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    z-index: -1;
}

/* Team Section */
.team {
    padding: var(--section-padding) 0;
    background: rgba(20, 18, 17, 0.5);
}

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

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

.member-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 24px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.08);
}

.team-member {
    transition: transform 0.4s ease;
}

.team-member:hover {
    transform: translateY(-12px);
}

.team-member:hover .member-name {
    color: var(--gold);
}

.member-name {
    transition: color 0.3s ease;
}

.member-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.member-role {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--taupe);
    line-height: 1.5;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    padding: 60px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 25px 80px rgba(201, 168, 108, 0.15);
    transform: translateY(-16px) scale(1.03);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--taupe);
    margin-bottom: 24px;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--cream);
}

/* Listings Section */
.listings {
    padding: var(--section-padding) 0;
    background: rgba(20, 18, 17, 0.5);
}

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

.listing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.listing-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(201, 168, 108, 0.15);
    transform: translateY(-8px);
}

.listing-image {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.listing-content {
    padding: 24px;
}

.listing-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -1px;
}

.listing-address {
    color: var(--taupe);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.listing-details {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--cream);
    font-size: 0.9rem;
}

.listing-details span {
    position: relative;
    padding-right: 16px;
}

.listing-details span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    color: var(--divider);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    padding: 40px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--gold);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: rgba(20, 18, 17, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--taupe);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.contact-item a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.3);
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.3);
    color: var(--cream);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--taupe);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 149, 108, 0.2);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--cream);
}

.form-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--taupe);
    text-align: center;
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #050505 100%);
    border-top: 1px solid rgba(201, 168, 108, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-text {
    color: var(--taupe);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--cream);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--taupe);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--taupe);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

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

.broker-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(0.9);
}

.broker-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 8px;
}

.broker-address,
.broker-phone {
    color: var(--taupe);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(200, 149, 108, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal {
    flex: 1;
    min-width: 300px;
}

.footer-legal p {
    color: var(--taupe);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.nar-compliance {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 600px;
}

.disclaimer {
    font-size: 0.8rem;
}

.disclaimer a {
    color: var(--gold);
    text-decoration: underline;
}

.equal-housing {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--taupe);
}

.equal-housing svg {
    color: var(--cream);
}

.equal-housing span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neighborhoods Section */
.neighborhoods {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

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

.neighborhood-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.neighborhood-card:hover {
    border-color: var(--gold);
    box-shadow: 0 25px 80px rgba(201, 168, 108, 0.2);
    transform: translateY(-12px) scale(1.02);
}

.neighborhood-card:hover .neighborhood-image img {
    transform: scale(1.1);
}

.neighborhood-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.neighborhood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.neighborhood-card:hover .neighborhood-image img {
    transform: scale(1.05);
}

.neighborhood-content {
    padding: 32px;
}

.neighborhood-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.neighborhood-price {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.neighborhood-content p {
    color: var(--taupe);
    margin-bottom: 24px;
    line-height: 1.6;
}

.neighborhood-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.neighborhood-link:hover {
    color: var(--cream);
}

/* Map Placeholder Styles */
.map-placeholder {
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a1816 0%, #2a2826 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(201, 168, 108, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 108, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.map-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.map-instruction {
    display: block;
    font-size: 0.85rem;
    color: var(--taupe);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--gold);
}

/* Specific neighborhood map backgrounds */
.rittenhouse-map { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.fishtown-map { background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%); }
.society-hill-map { background: linear-gradient(135deg, #2e1a1a 0%, #3e1616 100%); }
.nolibs-map { background: linear-gradient(135deg, #1a2e1a 0%, #163e16 100%); }
.grad-hospital-map { background: linear-gradient(135deg, #2e2a1a 0%, #3e3616 100%); }
.point-breeze-map { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); }

/* Mortgage Calculator Section */
.mortgage-calculator {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.calc-group label {
    font-size: 0.9rem;
    color: var(--taupe);
    font-weight: 500;
}

.calc-group input,
.calc-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 108, 0.2);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.calculator-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.result-item.total {
    border-bottom: none;
    border-top: 2px solid var(--gold);
    margin-top: 16px;
    padding-top: 24px;
}

.result-label {
    color: var(--taupe);
    font-size: 1rem;
}

.result-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    font-weight: 600;
}

.result-item.total .result-value {
    font-size: 2rem;
    color: var(--gold);
}

.calc-disclaimer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--taupe);
    text-align: center;
    margin-bottom: 24px;
}

/* Property Map Section */
.property-map {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    height: 600px;
}

#propertyMap {
    height: 100%;
    width: 100%;
    border-radius: 0;
    border: 1px solid rgba(201, 168, 108, 0.2);
}

.map-listings {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    padding: 32px;
    overflow-y: auto;
}

.map-listings h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201, 168, 108, 0.2);
}

.map-listing-item {
    padding: 20px;
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-listing-item:hover {
    background: rgba(201, 168, 108, 0.05);
    transform: translateX(8px);
}

.map-price {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.map-address {
    display: block;
    color: var(--cream);
    font-weight: 500;
    margin-bottom: 4px;
}

.map-details {
    display: block;
    color: var(--taupe);
    font-size: 0.9rem;
}

/* Custom Map Markers */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    box-shadow: 0 4px 20px rgba(201, 168, 108, 0.4);
    animation: markerPulse 2s infinite;
}

.marker-pin::after {
    content: '';
    width: 24px;
    height: 24px;
    margin: 8px 0 0 8px;
    background: var(--dark-bg);
    position: absolute;
    border-radius: 50%;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 4px 20px rgba(201, 168, 108, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(201, 168, 108, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(201, 168, 108, 0.4);
    }
}

/* Map Popup Styles */
.map-popup {
    padding: 16px;
    min-width: 200px;
}

.map-popup h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.map-popup p {
    color: var(--cream);
    margin-bottom: 4px;
}

.popup-details {
    color: var(--taupe);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.popup-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    background: var(--cream);
}

/* Join Our Team Section */
.join-team {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

.join-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.join-team-intro {
    font-size: 1.2rem;
    color: var(--taupe);
    margin-bottom: 40px;
    line-height: 1.8;
}

.join-team-benefits h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--cream);
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--gold);
    transform: translateX(8px);
}

.benefit-icon {
    font-size: 2rem;
    line-height: 1;
}

.benefit-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--gold);
}

.benefit-item p {
    color: var(--taupe);
    font-size: 0.95rem;
    line-height: 1.6;
}

.join-team-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
}

.join-team-form h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--cream);
}

/* Featured Listings Section */
.featured-listings {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(201, 168, 108, 0.03) 50%, var(--dark-bg) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.featured-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.15);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.featured-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(201, 168, 108, 0.15);
    border-color: var(--gold);
}

.featured-card.premium {
    border: 2px solid var(--gold);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.featured-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.featured-content {
    padding: 32px;
}

.featured-price {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.featured-address {
    color: var(--taupe);
    font-size: 1rem;
    margin-bottom: 20px;
}

.featured-details {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.featured-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    font-size: 0.95rem;
}

.featured-details svg {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--mobile-padding);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(200, 149, 108, 0.2);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .testimonial {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 1.2rem;
    }
    
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        padding: 32px 24px;
    }
    
    .map-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    #propertyMap {
        height: 400px;
    }
    
    .map-listings {
        max-height: 400px;
    }
    
    .join-team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .join-team-form-wrapper {
        position: static;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}