/* style.css - Ebere Igwe & Partners */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2D2D2D;
    line-height: 1.6;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

:root {
    --green-deep: #1A5B4A;
    --green-sage: #9BB88B;
    --blue-deep: #1E3A5F;
    --blue-sky: #6BAED6;
    --white: #FFFFFF;
    --cream: #F8F6F2;
    --charcoal: #2D2D2D;
    --gold: #C6A43F;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Buttons */
.btn-primary {
    background-color: var(--green-deep);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    background-color: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--green-deep);
}

.btn-secondary {
    background-color: var(--blue-deep);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--green-deep);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--charcoal);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: var(--green-deep);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--green-deep);
    font-weight: 700;
}

.logo p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--blue-deep);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--green-deep);
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--green-deep);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26,91,74,0.92), rgba(30,58,95,0.88)), url('https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?q=80&w=2070&auto=format');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-small {
    padding: 60px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.trust-badges span {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--white);
}

.section-cream {
    background-color: var(--cream);
}

.section-dark {
    background-color: var(--blue-deep);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--green-deep);
}

.section-subtitle {
    text-align: center;
    color: var(--blue-deep);
    margin-bottom: 48px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.two-col > div {
    flex: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--cream);
    border-radius: 16px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-deep);
    font-family: 'Playfair Display', serif;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 4px solid var(--green-sage);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--green-deep);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--blue-deep);
    font-weight: 600;
    text-decoration: none;
}

/* Property Search Section */
.property-search-section {
    background: linear-gradient(135deg, var(--blue-deep), var(--green-deep));
    color: var(--white);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-box {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-box button {
    padding: 16px 32px;
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.search-results {
    margin-top: 40px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.result-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    color: var(--charcoal);
    text-decoration: none;
    transition: transform 0.3s;
    display: block;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.result-info {
    padding: 16px;
}

.result-info h4 {
    margin-bottom: 8px;
    color: var(--green-deep);
}

.result-price {
    color: var(--green-deep);
    font-weight: 700;
    font-size: 1.2rem;
}

.view-all-link {
    text-align: center;
    margin-top: 30px;
}

/* Property Grid */
.property-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.search-bar input {
    width: 100%;
    min-width: 250px;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid var(--green-sage);
    background: var(--white);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--green-deep);
    color: var(--white);
    border-color: var(--green-deep);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.property-badge.sale {
    background: var(--green-deep);
    color: white;
}

.property-badge.lease {
    background: var(--blue-deep);
    color: white;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.property-price {
    color: var(--green-deep);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 10px 0;
}

.property-features {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.inquiry-btn {
    width: 100%;
    padding: 10px;
    background: var(--cream);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.inquiry-btn:hover {
    background: var(--green-deep);
    color: white;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.team-role {
    color: var(--gold);
    font-weight: 600;
    margin: 10px 0;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-form, .contact-info {
    flex: 1;
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}

.contact-info i {
    color: var(--green-deep);
    width: 30px;
    margin-right: 12px;
}

.office-list {
    margin-top: 20px;
}

.office-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--green-sage);
}

/* Footer */
footer {
    background-color: var(--green-deep);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
}

.footer-col a {
    color: var(--cream);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .two-col {
        flex-direction: column;
    }
    .container {
        padding: 0 20px;
    }
    .property-grid {
        grid-template-columns: 1fr;
    }
    .search-box {
        flex-direction: column;
    }
}