/* ============================
   1. CONFIGURATION & RESET
   ============================ */
:root {
    --primary-green: #27ae60;
    --primary-hover: #219150;
    --text-light: #f8f9fa;
    --bg-solid: #0e2e1a; /* Dark Green Background */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; overflow-x: hidden; }

/* ============================
   2. HERO SECTION LAYOUT
   ============================ */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: var(--bg-solid); /* Solid Color */
}

/* ============================
   3. TYPOGRAPHY & CONTENT
   ============================ */
.hero-content {
    position: relative; z-index: 2; max-width: 850px; padding: 24px;
}

.main-heading {
    font-size: 3.5rem; font-weight: 700; line-height: 1.1;
    margin-bottom: 20px; opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
}

.brand-highlight { color: #4ade80; position: relative; display: inline-block; }

.sub-heading {
    font-size: 1.25rem; color: #e2e8f0; font-weight: 300;
    margin-bottom: 40px; line-height: 1.6; opacity: 0;
    animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

/* ============================
   4. ACTION BUTTONS
   ============================ */
.button-group {
    display: flex; gap: 20px; justify-content: center;
    opacity: 0; animation: slideUpFade 0.8s ease-out 0.4s forwards;
}

.btn {
    text-decoration: none; padding: 14px 40px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; transition: all 0.3s ease; letter-spacing: 0.5px;
}

.btn-fill {
    background-color: var(--primary-green); color: white;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.btn-fill:hover {
    background-color: var(--primary-hover); border-color: var(--primary-hover);
    transform: translateY(-3px); box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

.btn-outline {
    background-color: transparent; color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
    background-color: white; color: #0b3d20;
    border-color: white; transform: translateY(-3px);
}

/* Animation & Mobile */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .main-heading { font-size: 2.5rem; }
    .sub-heading { font-size: 1rem; }
    .button-group { flex-direction: column; width: 100%; gap: 15px; }
    .btn { width: 100%; display: block; }
}

/* ============================
   5. PROPERTIES SECTION
   ============================ */
.properties-section {
    background-color: #f8f9fa;
    padding: 80px 40px;
    text-align: center;
}

.properties-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0e2e1a;
    margin-bottom: 50px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e0e0e0;
}

.property-content {
    padding: 20px;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0e2e1a;
    margin-bottom: 8px;
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.property-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.property-link {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.property-link:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.no-properties {
    color: #666;
    font-size: 1.1rem;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .properties-section {
        padding: 60px 20px;
    }

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

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

