/* General Styles */
:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.loader-wrapper {
    text-align: center;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-name {
    font-family: 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

/* Hero Section */
.hero-section {
    background: url('../images/banner.png') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.min-vh-75 {
    min-height: 75vh;
}

.text-gray-400{
    color: rgb(156 163 175);
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.95);
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Property Cards */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

/* Project Cards */
.project-card .card-img-top {
    height: 280px;
}

.project-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.projects-hero img {
    max-height: 500px;
    object-fit: cover;
}

/* Agent Cards */
.agent-card .agent-img {
    height: 300px;
    object-fit: cover;
}

.agent-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.agents-hero img {
    max-height: 500px;
    object-fit: cover;
}

/* Features Section */
.bi {
    line-height: 1;
}

/* Footer */
footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: white !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .card-img-top {
        height: 200px;
    }
}