/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --brand-green: #064e3b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* header */
.header {
    background-color: var(--brand-green);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header {
    background-color: var(--brand-green);
    color: white;
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.top-right-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* search bar */
.search-bar {
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.grid-search {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.col-2 {
    grid-column: span 2;
}

.btn-update {
    background-color: var(--brand-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Main Layout */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

.results-col {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-col {
    width: 40%;
    height:40%;
    background-color: #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

/* Property Cards */
.property-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.property-img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.property-info h3 {
    color: var(--brand-green);
    margin-bottom: 0.25rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
}

.details {
    color: var(--text-muted);
    font-size: 0.85rem;
}