* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
    background: var(--bg-light);
    color: #3E2A1F;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.top-bar {
    background: var(--bg-dark);
    color: #f5e6d3;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.auth-links a {
    color: #f5e6d3;
    text-decoration: none;
    margin-right: 15px;
}
.auth-links a:hover { color: var(--secondary); }
.navbar {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    height: 50px;
    width: auto;
}
.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--bg-dark);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}
.nav-links a {
    text-decoration: none;
    color: #4a3727;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: #6b451e;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-block {
    width: 100%;
    text-align: center;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fefaf5;
}
.slider-section {
    position: relative;
}
.slider-container {
    height: 500px;
    overflow: hidden;
}
.slide {
    display: none;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.slide-caption {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    background: rgba(62,42,31,0.7);
    color: white;
    padding: 30px;
    text-align: center;
}
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.property-card:hover {
    transform: translateY(-5px);
}
.property-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
}
.property-body {
    padding: 20px;
}
.property-price {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: bold;
}
.footer {
    background: #3E2A1F;
    color: #e2d5c0;
    padding: 40px 0 20px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}
.footer a { color: #e2d5c0; text-decoration: none; }
.footer a:hover { color: var(--secondary); }
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #5a4332;
}
@media (max-width: 992px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 20px;
    }
    .nav-links.active { display: flex; }
    .slider-container { height: 350px; }
}