/* Fuente y estilo general */
body {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/* Logo central y protagonista */
.logo-central {
    height: 130px;
    max-height: 130px;
    transition: all 0.3s ease-in-out;
    padding: 10px 0;
}

/* NAVBAR Estilo Glassmorphism */
.navbar {
    background: rgba(255, 255, 255, 0.75); /* Transparente */
    backdrop-filter: blur(10px); /* Glass effect */
    -webkit-backdrop-filter: blur(10px); /* Para Safari */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    z-index: 1000;
}

.navbar-nav .nav-link {
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #c0392b; /* Rojo oscuro para impacto */
}

/* Hero Banner */
.hero {
    background: url('/img/fondo-campo.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.hero .container {
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

.hero form .form-control,
.hero form .form-select {
    font-weight: 600;
    border-radius: 8px;
}

.hero button.btn {
    font-weight: bold;
    border-radius: 8px;
}

/* Navbar Toggle */
.navbar-toggler {
    z-index: 1050;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .logo-central {
        height: 120px;
        max-height: 120px;
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: center;
        gap: 1rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 75vh;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

.btn-outline-danger {
    border-width: 2px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.btn-outline-danger:hover {
    background-color: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

/* Cards de propiedades */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3) !important;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 1.2rem;
    background-color: #fff;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.card-text {
    color: #555;
    font-size: 0.95rem;
}

.card .text-danger {
    font-size: 1.1rem;
}

/* Botón dentro de la card */
.card .btn-outline-danger {
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.card .btn-outline-danger:hover {
    background-color: #c0392b;
    color: white;
    border-color: #c0392b;
}

/* Etiquetas flotantes en cards */
.badge-venta,
.badge-arriendo,
.badge-destacado {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-venta {
    background-color: #e74c3c;
}

.badge-arriendo {
    background-color: #2980b9;
}

.badge-destacado {
    background-color: #27ae60;
}

/* Footer */
.footer {
    background-color: #f8f9fa; /* Fondo claro */
    color: #212529; /* Texto oscuro */
    padding: 20px 0;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: #212529;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h5 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #212529;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

/* Estilos específicos para el logotipo en el footer */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    max-width: 150px; /* Ajusta el tamaño según tus necesidades */
    height: auto;
}

/* Responsividad */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 10px 0;
    }

    .logo-section {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .logo-central {
        height: 70px;
    }

    .logo-central {
        padding: 0px !important;
    }
}