/* ================================
   Chartwell Realty - Modern Design
   Brand Colors: #004d8f (Blue), #001C36 (Navy)
   ================================ */

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

:root {
    --brand-blue: #004d8f;
    --brand-navy: #001C36;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --white: #ffffff;
    --accent-blue: #2196F3;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 15px;
}

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

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #003d73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 143, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--brand-blue);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 28, 54, 0.85) 0%, rgba(0, 77, 143, 0.75) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: var(--white);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 77, 143, 0.15);
}

.service-image {
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 26px;
    color: var(--brand-navy);
    padding: 25px 30px 15px;
}

.service-card ul {
    list-style: none;
    padding: 0 30px;
    margin-bottom: 20px;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

.service-link {
    display: inline-block;
    padding: 0 30px 30px;
    color: var(--brand-blue);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Buying Section */
.buying-section {
    padding: 80px 0;
    background: var(--white);
}

.two-column {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.column-content h2 {
    font-size: 38px;
    color: var(--brand-navy);
    margin-bottom: 20px;
}

.column-content > p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 35px;
    line-height: 1.7;
}

.feature-list {
    margin-bottom: 35px;
}

.feature-item {
    margin-bottom: 25px;
}

.feature-item h4 {
    color: var(--brand-blue);
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
    color: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Selling Section */
.selling-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.selling-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.selling-feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.selling-feature h3 {
    font-size: 22px;
    color: var(--brand-navy);
    margin-bottom: 15px;
}

.selling-feature p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Areas Section */
.areas-section {
    padding: 80px 0;
    background: var(--white);
}

.areas-section h2 {
    font-size: 38px;
    color: var(--brand-navy);
    text-align: center;
    margin-bottom: 15px;
}

.areas-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.area-column h3 {
    font-size: 24px;
    color: var(--brand-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--brand-blue);
}

.area-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.area-list li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 20px;
}

.area-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.contact-info h2 {
    font-size: 38px;
    color: var(--brand-navy);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
}

.office {
    margin-bottom: 35px;
}

.office h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.office p {
    color: var(--text-medium);
    line-height: 1.7;
}

.phone {
    margin-top: 10px;
}

.phone a {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 20px;
    transition: var(--transition);
}

.phone a:hover {
    color: var(--brand-navy);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--brand-navy);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 77, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--brand-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column a:hover {
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-logo {
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

@media (max-width: 640px) {
    .hero {
        height: 450px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .area-list {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}
