/* Estilos Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    font-size: 1.1em;
}

.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link:hover {
    color: #00bcd4;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3em;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.5em;
}

.hero-section .btn {
    font-size: 1.2em;
    padding: 10px 30px;
}

/* Productos Section */
.productos-section .product-carousel {
    display: flex;
    flex-wrap: nowrap;
}

.product-carousel .product-item {
    padding: 20px;
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-item h3 {
    margin-top: 15px;
    font-weight: bold;
}

.product-item p {
    color: #666;
}

/* Servicios Section */
.servicios-section .service-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3em;
    color: #00bcd4;
    margin-bottom: 15px;
}

/* Innovación Section */
.innovacion-section {
    background: url('../images/innovacion-bg.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    padding: 80px 0;
}

.innovacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.innovacion-section .container {
    position: relative;
    z-index: 2;
}

.innovacion-card {
    text-align: center;
    padding: 30px 20px;
}

.innovacion-icon {
    font-size: 3em;
    color: #00bcd4;
    margin-bottom: 15px;
}

/* Contacto Section */
.contacto-section .contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.contacto-section .social-icon {
    font-size: 1.5em;
    color: #333;
    margin-right: 15px;
}

.contacto-section .social-icon:hover {
    color: #00bcd4;
}

/* Footer */
.footer-section {
    background-color: #111;
}

.footer-section a {
    color: #00bcd4;
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1.2em;
    }
}



/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px;
    z-index: 9999;
}

.cookie-banner .cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 60%;
}

.cookie-banner a {
    color: #00bcd4;
    text-decoration: underline;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-banner .btn {
    padding: 8px 20px;
    font-size: 0.9em;
}

@media (min-width: 768px) {
    .cookie-banner .cookie-buttons {
        margin-top: 0;
    }
}

/* Estilos para los mensajes */
.alert-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1rem;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Personalizar los botones del carrusel */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    color: white; /* Icono de color blanco */
    border: none;
    width: 40px; /* Tamaño personalizado */
    height: 40px;
    border-radius: 50%; /* Forma circular */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Posiciones de los botones */
.slick-prev {
    left: -10px; /* Ajusta según el diseño */
}

.slick-next {
    right: -10px; /* Ajusta según el diseño */
}

/* Iconos de los botones */
.slick-prev::before, .slick-next::before {
    font-size: 20px; /* Tamaño del icono */
    line-height: 1;
    color: white; /* Color de los iconos */
    content: ''; /* Elimina el contenido predeterminado */
}

/* Añadir iconos personalizados */
.slick-prev::after, .slick-next::after {
    content: '\f104'; /* Código de Font Awesome o similar */
    font-family: 'FontAwesome'; /* O la fuente que uses */
    font-size: 16px;
}

.slick-next::after {
    content: '\f105'; /* Código de Font Awesome para la flecha derecha */
}

/* Efectos al pasar el ratón */
.slick-prev:hover, .slick-next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Cambia el color de fondo */
}


/* Contenedor de los indicadores (botones del carrusel) */
.slick-dots {
    position: absolute;
    top: -30px; /* Ajusta la posición superior según el diseño */
    right: 10px; /* Alinea a la derecha */
    display: flex;
    justify-content: flex-end; /* Alinea los indicadores hacia la derecha */
    list-style: none;
    gap: 10px; /* Espaciado entre los botones */
    padding: 0;
    margin: 0;
    z-index: 10;
}

/* Indicadores individuales */
.slick-dots li {
    display: inline-block;
    cursor: pointer;
}

/* Botones de los indicadores */
.slick-dots li button {
	font-size: 0;
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%; /* Forma circular */
    background-color: rgba(0, 0, 0, 0.5); /* Color base */
    transition: background-color 0.3s ease, transform 0.3s ease;
    outline: none; /* Elimina el contorno al hacer clic */
}

/* Indicador activo */
.slick-dots li.slick-active button {
    background-color: #00bcd4; /* Color del indicador activo */
    transform: scale(1.2); /* Efecto de ampliación */
}

/* Efectos al pasar el ratón */
.slick-dots li button:hover {
    background-color: #007c91; /* Color al pasar el ratón */
    transform: scale(1.1); /* Ampliación ligera */
}


/* Sección de Presentación */
#presentacion {
    background-color: #f9f9f9;
    color: #333;
}

#presentacion h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #00bcd4;
}

#presentacion .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
}

#presentacion img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#presentacion a {
    color: #00bcd4;
    text-decoration: underline;
    transition: color 0.3s;
}

#presentacion a:hover {
    color: #007c91;
}



/* Sección de Productos Detallados */
#productos-detallados {
    background-color: #f9f9f9;
    color: #333;
}

#productos-detallados h2 {
    font-size: 2.5rem;
    color: #00bcd4;
    margin-bottom: 2rem;
}

#productos-detallados .row {
    margin-bottom: 2rem;
}

#productos-detallados img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

#productos-detallados h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#productos-detallados p {
    font-size: 1rem;
    line-height: 1.6;
}

#productos-detallados .btn {
    background-color: #00bcd4;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#productos-detallados .btn:hover {
    background-color: #007c91;
}
