* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --dark: #0a0a0f;
    --dark-light: #141420;
    --dark-medium: #1a1a28;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-nav {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 12px 24px !important;
    border-radius: 4px;
}

.btn-full {
    width: 100%;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(10, 10, 15, 0.9), rgba(10, 10, 15, 0.7)),
        linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(212,175,55,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

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

.hero-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 2px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 500px;
}

.hero-search {
    background: rgba(20, 20, 32, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 24px;
    max-width: 700px;
}

.search-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.tab {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.search-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.search-field {
    flex: 1;
}

.search-field label {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.search-field select {
    width: 100%;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px;
    color: var(--white);
    font-size: 0.95rem;
}

.btn-search {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: var(--gold-light);
}

.stats {
    padding: 60px 0;
    background: var(--dark-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

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

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 2px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.properties {
    padding: 100px 0;
}

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

.property-card {
    background: var(--dark-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.property-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.property-card.featured {
    grid-column: span 2;
}

.property-image {
    position: relative;
    height: 300px;
}

.property-card.featured .property-image {
    height: 400px;
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-placeholder {
    width: 100%;
    height: 100%;
}

.property-content {
    padding: 24px;
}

.property-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.property-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.property-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.property-details {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.property-details span {
    color: var(--gray);
    font-size: 0.9rem;
}

.property-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.view-all {
    text-align: center;
    margin-top: 48px;
}

.neighborhoods {
    padding: 100px 0;
    background: var(--dark-light);
}

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

.neighborhood-card {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.neighborhood-card:hover {
    transform: scale(1.02);
}

.neighborhood-image {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.neighborhood-image h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.neighborhood-image p {
    color: var(--gold);
}

.services {
    padding: 100px 0;
}

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

.service-card {
    background: var(--dark-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.testimonials {
    padding: 100px 0;
    background: var(--dark-light);
}

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

.testimonial {
    background: var(--dark);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    padding: 32px;
}

.testimonial p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 4px;
}

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

.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 12px;
    color: var(--gray);
}

.contact-form {
    background: var(--dark-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    color: var(--gray);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.footer {
    padding: 80px 0 32px;
    background: var(--dark-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-brand p {
    color: var(--gray);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-field {
        flex: 1 1 45%;
    }

    .btn-search {
        width: 100%;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

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

    .property-card.featured {
        grid-column: span 1;
    }

    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2,
    .contact-info h2 {
        font-size: 2rem;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
