:root {
    --bg-deep: #051610;
    --green-primary: #4caf50;
    --green-soft: #81c784;
    --text-primary: #eef4ff;
    --text-muted: #9aabba;
    --realestate-accent: #bb86fc;
    --purple: #bb86fc;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-deep);
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
}

.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    width: 100%;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1560185007-5f0bb1866cab?q=80&w=1200');
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5,22,16,0.75) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    pointer-events: none;
}
.hero-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.realestate-color {
    color: #bb86fc;
}
.enviro-color {
    color: var(--green-primary);
}
.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #f0f0f0;
    text-transform: lowercase;
    margin-bottom: 2rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-scroll {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #ccc;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.content-section {
    background: var(--bg-deep);
    padding: 5rem 5% 6rem;
    position: relative;
    z-index: 20;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    border-left: 4px solid var(--green-primary);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.card {
    background: #0e1e18;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s;
}
.card:hover {
    transform: translateY(-8px);
    border-color: var(--green-primary);
}
.card-image {
    height: 200px;
    background: linear-gradient(145deg, #1a2e26, #0f241d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--green-soft);
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
}
.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.card-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-soft);
    margin: 0.5rem 0;
}
.fee-note {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #0e1e18;
    border-radius: 24px;
}
.empty-state a {
    color: #bb86fc;
    text-decoration: none;
}
.empty-state a:hover {
    text-decoration: underline;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border-left: 4px solid var(--green-primary);
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.form-container {
    background: #0e1e18;
    padding: 2rem;
    border-radius: 28px;
    max-width: 650px;
    margin: 2rem auto;
    border: 1px solid rgba(255,255,255,0.05);
}
.form-container label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    margin-top: 0.8rem;
}
.form-container label:first-of-type {
    margin-top: 0;
}
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 0.9rem;
    background: #051610;
    border: 1px solid #2a3a32;
    border-radius: 16px;
    color: white;
    font-family: inherit;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}
.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-color: var(--green-primary);
}
.btn-submit {
    background: var(--green-primary);
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-submit:hover {
    background: #5cbb60;
    transform: scale(0.98);
}

.auth-form {
    max-width: 450px;
    margin: 2rem auto;
    background: #0e1e18;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}
.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    background: #051610;
    border: 1px solid #2a3a32;
    border-radius: 16px;
    color: white;
}
.auth-form button {
    width: 100%;
    background: var(--green-primary);
    border: none;
    padding: 0.8rem;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
}
.error {
    color: #ff8888;
    background: rgba(255,0,0,0.1);
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.success {
    color: #88ff88;
    background: rgba(0,255,0,0.1);
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.message-card {
    background: #0e1e18;
    padding: 1rem;
    border-radius: 16px;
    border-left: 4px solid var(--purple);
}
.message-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.message-text {
    font-size: 0.9rem;
}
.reply-form {
    margin-top: 2rem;
    background: #0e1e18;
    padding: 1.5rem;
    border-radius: 16px;
}
.btn-contact {
    display: inline-block;
    margin-top: 1rem;
    background: var(--purple);
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.2s;
}
.btn-contact:hover {
    background: #9b6ad0;
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }
    .hero-tagline {
        font-size: 0.9rem;
    }
    .content-section {
        padding: 3rem 1rem 4rem;
    }
    .property-grid {
        gap: 1rem;
    }
}