/* General styles */
body {
    display: flex;
    flex-direction: column; /* Stack header, main content, and footer vertically */
    height: 100vh; /* Full height of the viewport */
    margin: 0; /* Remove default margin */
}

/* Main content section should grow to fill available space */
.main-content {
    flex: 1; /* This will take up all the available space between the header and footer */
}

/* Navbar styles */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107;
}

.btn-outline-warning {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #000;
}

/* Banner styles */
.banner {
    position: relative;
    text-align: center;
    color: white;
    height: 75vh;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7); /* Fond blanc transparent */
    padding: 20px; /* Ajoute de l'espace intérieur si nécessaire */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); /* Optionnel : ombre intérieure pour l'effet visuel */
}


.banner-text h1 {
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
    color: #fff;
}

#searchBtn {
    background-color: #ffc107;
    color: #000;
    border: none;
    font-weight: bold;
}

#searchBtn:hover {
    background-color: #e0a800;
}

/* Footer styling */
footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    background-color: #28a745;
    color: white;
    text-align: center;
    padding: 20px;
}

.social-icons .nav-item {
    margin-right: 10px; /* Space between icons */
}

.social-icons .nav-item:last-child {
    margin-right: 0; /* Remove margin after the last icon */
}

.social-icons .nav-item a {
    font-size: 1.5em;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons .nav-item a:hover {
    transform: scale(1.2);
    color: #ffc107;
}

footer p {
    font-size: 0.9em;
    margin-top: 10px;
}

/* Property card styles */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2em;
    }

    .form-group {
        width: 100%;
    }

    #searchBtn {
        width: 100%;
    }
}

.contact-card {
    background: url("{{ asset('images/banner/banner4.jpg') }}") no-repeat center center;
    background-size: cover;
    color: white;
}

.contact-card-body {
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-link {
    color: white;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.badge {
    font-size: 1rem;
}

hr {
    border-color: #fff;
}

.bg-success {
    background-color: #3c8c4c !important; /* Remplacez par la couleur de votre choix */
}

.card-img-overlay {
    pointer-events: none;
}

.rounded-logo {
    border-radius: 50%; /* Rend l'image circulaire */
    width: 40px; /* Ajustez la taille selon vos besoins */
    height: 40px; /* Assurez-vous que largeur et hauteur sont égales */
    object-fit: cover; /* Évite les déformations */
}

.icon-circle {
    background-color: #fff;
    border-radius: 50%;
    width: 80px; /* Uniforme pour tous les cercles */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Centrer horizontalement */
}

.icon-circle i {
    font-size: 40px;
    color: #000;
}
