/* Estilos Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px; /* Espacio para la barra de navegación fija */
}

/* Barra de Navegación */
.navbar-logo {
    height: 100px; /* Altura del Logo más grande */
    width: auto;
}

.navbar.bg-dark {
    transition: background-color 0.3s ease;
}

/* Hero Section (Ajustado para el nuevo header) */
.hero-section {
    height: 100vh;
    background: url('/img/Logix_2.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: -70px; /* Compensa el padding-top del body */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-text {
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.5rem;
}

.nav-link {
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    margin: 0 5px;
    color: #000; /* Letras negras para el navbar light */
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Un ligero fondo al pasar el ratón */
    color: #000;
}

/* Tarjetas de Servicios */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Carrusel */
.carousel-item img {
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* Novedades */
#novedades-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Estilos para la galería de caballos */
.gallery-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05); /* Agranda la imagen al 105% */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Sombra más pronunciada */
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #25d366 !important;
}

/* Media Queries para Responsividad */
@media (max-width: 992px) { /* Para pantallas medianas y pequeñas */
    .navbar-logo {
        height: 70px; /* Logo más pequeño en pantallas más pequeñas */
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    .carousel-item img {
        height: 200px;
    }
}

/* Estilos para el menú hamburguesa */
.navbar-toggler {
    border-color: rgba(0,0,0,.1); /* Borde sutil */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cuando la barra de navegación es oscura, el icono del toggler debe ser blanco */
.navbar.bg-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Asegurar que el icono sea visible al hacer focus/hover */
.navbar-toggler:focus {
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, .25); /* Sombra para accesibilidad */
}

