/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #ededfa;
    background-image: url(imagenesEXTRA/logoFondo.png);
    background-repeat: repeat;
    background-size: 30px 30px; 
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.titulo h2{
    font-family: "Georgia", serif;
    font-style: italic;
    color: #244b5a;
    font-size: 35px;
    text-shadow: 2px 2px 5px rgba(15, 17, 131, 0.7);

}

#carouselExampleCaptions {
  
    overflow: hidden; /* Evita que las imágenes sobresalgan de los bordes */
    box-sizing: border-box;
}


/* Animación para las imágenes del carrusel */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-item img {
    max-height: 500px; /* Cambia esto según lo que necesites */
    object-fit: contain; /* Para que la imagen no se deforme */
    animation: slideIn 1s ease-out forwards;
}

/* Estilo de las descripciones del carrusel */
.carousel-caption p {
    font-family: "Georgia", serif;
    font-size: 1.1rem;
    color: #06325e;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
}

/* Estilo del título h5 de las imágenes en el carrusel */
.carousel-caption h5 {
    font-family: "Georgia", serif;
    font-size: 25px;
    font-weight: bold;
    color: #634505;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Animación para el texto (fade-in) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Estilos del título de los productos */
.titulo-productos {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    color: #366da0;
    font-weight: bold;
    font-style: italic;
}

/* Barra de navegación */
.navbar {
    background-color: #004080;
    animation: fadeDown 1s ease-out forwards;
    opacity: 0; 
    font-family: 'Montserrat', sans-serif;
}

.navbar-brand, .nav-link {
    color: #d9e6f5 ;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ca5454 ;
}

/* Estilos para la sección hero */
.hero {
  
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* Estilos de las tarjetas de productos */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Pie de página */
.footer {
    background-color: #004080;
    color: white;
    padding: 20px 0;
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0; /* Para ocultarlo antes de que inicie */
    font-family: 'Montserrat', sans-serif;

}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #858dd8; /* Color de hover */
}

.footer a:hover {
    text-decoration: underline;
}

/* Estilos generales para los títulos */
h1 {
    font-family: 'Times New Roman', Times, serif;
    color: #244b5a;
}

h2{
    font-family: "Georgia", serif;
    font-style: italic;
    color: #244b5a;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(15, 17, 131, 0.7);
}

p {
    color: #004080;
}

/* Estilos específicos para el pie de página */
footer p {
    color: rgb(241, 231, 213);
}

.redes{
    font-size: 25px;
    color: white;
    margin: 5px;
}