/* Style général */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section .carousel-item {
    height: 100vh; /* Occupe toute la hauteur de l'écran */
    background-size: cover;
    background-position: center;
}

.hero-section .caption-content {
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    padding: 20px;
    border-radius: 10px;
}

.hero-section .carousel-caption {
    bottom: 30%;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section .carousel-caption {
        bottom: 15%;
    }
    .hero-section .caption-content h1 {
        font-size: 2rem;
    }
    .hero-section .caption-content p {
        font-size: 1rem;
    }
}


/* Featured Apartments */
.featured-apartments .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.featured-apartments .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.featured-apartments .card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Features Section */
.feature-box {
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    color: #007bff;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar + .hero-section {
    margin-top: 0 !important;
    padding-top: 4rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007bff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .search-box {
        padding: 1rem;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }
}
