:root {
    --primary-taupe: #8B7355;
    --dark-taupe: #6B5645;
    --primary-beige: #E8E3DB;
    --light-cream: #FAF9F7;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --accent-gold: #C9A870;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--light-cream);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-beige);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo {
    height: 118px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav a:hover {
    color: var(--dark-taupe);
}

.cta-button {
    background: linear-gradient(135deg, var(--dark-taupe) 0%, var(--text-light) 100%);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.95) 0%, rgba(107, 86, 69, 0.98) 100%),
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23E8E3DB" width="100" height="100"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232, 227, 219, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 4rem 2rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-taupe);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-beige);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 115, 85, 0.2);
    border-color: var(--primary-taupe);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    color: var(--dark-taupe);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-beige);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 115, 85, 0.2);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-taupe);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.property-content {
    padding: 1.8rem;
}

.property-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.property-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.property-features span {
    background: var(--light-cream);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--primary-beige);
}

.property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-taupe);
}

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

.btn-link:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    background: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 3px solid var(--primary-beige);
    border-bottom: 3px solid var(--primary-beige);
}

.stats-section h2 {
    color: var(--primary-taupe);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-taupe);
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--primary-beige);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--primary-beige);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dark-taupe);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

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

.btn-submit {
    background: linear-gradient(135deg, var(--dark-taupe) 0%, var(--text-light) 100%);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.testimonial-rating {
    color: #FFB800;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        height: 72px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

/* Filters */
.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-beige);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark-taupe);
    color: var(--white);
    border-color: var(--dark-taupe);
}