l@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
     font-family: "Montserrat", sans-serif !important;
}

header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

/* Menu de Navegacion */
.custom-navbar {
    background-color: #FFFFFF !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #00BFFF !important;
}

/* Estilo para el logotipo */
.brand-logo {
    width: 90px !important;
    border-radius: 50% !important;
    border: 2px solid #00BFFF !important;
    transition: transform 0.3s ease !important;
}

.brand-logo:hover {
    transform: scale(1.05) !important;
}

/* Texto de la marca */
.brand-text {
    font-size: 1.7rem !important;
    font-weight: bold !important;
    color: #1C3B72 !important;
    transition: color 0.3s ease !important;
}
.brand-text:hover {
    color: #00BFFF !important;
}

/* Enlaces de navegación */
.custom-nav-link {
    color: #1C3B72 !important;
    font-weight: 500 !important;
    padding: 10px 15px !important;
    /* border-radius: 5px !important; */
    transition: background-color 0.3s, color 0.3s !important;
}

.custom-nav-link:hover {
    background-color: rgba(0, 191, 255, 0.1) !important;
    color: #00BFFF !important;
}

/* Input de búsqueda */
.search-group {
    border-radius: 25px !important;
    overflow: hidden !important;
    border: 1px solid #00BFFF !important;
}

.custom-search-input {
    border: none !important;
    border-radius: 25px 0 0 25px !important;
}

.custom-search-input:focus {
    outline: none !important;
}

.custom-search-btn {
    background-color: #00BFFF !important;
    color: #FFFFFF !important;
    border-radius: 0 25px 25px 0 !important;
}

/* Botón de carrito */
.custom-cart-btn {
    background-color: #00BFFF !important;
    color: #FFFFFF !important;
    padding: 8px 12px !important;
    border-radius: 50px !important;
    position: relative !important;
    transition: background-color 0.3s ease !important;
}
.custom-cart-btn:hover {
    background-color: #1C3B72 !important;
}

/* Contador del carrito */
.custom-cart-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background-color: #FF6347 !important;
    color: #FFFFFF !important;
    font-size: 0.75rem !important;
    padding: 3px 6px !important;
    border-radius: 50% !important;
    font-weight: bold !important;
}

/* Botones de sesión */
.custom-login-btn, .custom-logout-btn {
    color: #FFFFFF !important;
    background-color: #00BFFF !important;
    border-radius: 25px !important;
    padding: 8px 15px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease !important;
}
.custom-login-btn:hover, .custom-logout-btn:hover {
    background-color: #1C3B72 !important;
}

/* Toggler personalizado */
.custom-toggler {
    border: none !important;
    background-color: #007bff !important;
}
.custom-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><path stroke="rgba(0, 191, 255, 0.8)" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>') !important;
}

/* Estilos Principales */
.parallax {
    background: radial-gradient(circle, rgba(43, 43, 43, 0.02) 0%, rgba(20, 40, 60, 0.3) 100%), 
                url('../img/purificadoras_santaelena/banner.jpg');
    
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* Mantenemos los filtros que le dan vida (puedes bajarlos un poco si quieres aún más claridad, ej. 1.05) */
    filter: brightness(1.1) contrast(1.1); 
    
    position: relative;
    /* Mantenemos el color de texto blanco para contraste */
    color: white; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Para que el texto resalte pero no se vea "sucio" */
.parallax h1 {
    font-weight: bold;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.parallax p {
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
}

.parallax-2 {
    background-image: url('../img/purificadoras_santaelena/banner.jpg');
    height: 60vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: white;
    object-fit: contain;
}

.parallax-3 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/logo_purificadora.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurece el video */
    z-index: 1;
}

.parallax::before,
.parallax-2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Fondo oscuro para mejorar la legibilidad del texto */
}

.parallax .container,
.parallax-2 .container {
    z-index: 1;
    /* Asegura que el contenido esté encima del fondo */
}

.container {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

/* Estilo para los inputs */
.custom-input {
    border: 1px solid #e0e0e0;
    padding: 12px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.custom-input:focus {
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
    background-color: #fff;
}

/* Ajuste de iconos en las redes sociales */
.btn-light.rounded-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-light.rounded-circle:hover {
    transform: translateY(-3px);
    background-color: #fff;
}   

/* Estilo general de la tarjeta */
.custom-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.custom-product-card:hover {
    transform: translateY(-10px); /* Efecto de levitación */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Imagen con zoom al pasar el mouse */
.img-product {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.custom-product-card:hover .img-product {
    transform: scale(1.05);
}

/* Estilo del botón */
.btn-detail {
    border-radius: 8px;
    transition: background 0.3s;
}

/* Badge estilizado */
.badge {
    padding: 8px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hover-shadow:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
    }
    .transition {
        transition: all 0.3s ease-in-out;
    }
    .rounded-top-4 {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
    }

/* Footer */

.footer-custom {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 80px 0 30px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Encabezados de columna */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #0d6efd; /* Azul primario */
}

/* Enlaces de navegación */
.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Información de contacto */
.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact-info i {
    color: #0d6efd;
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
}

/* Iconos Sociales Modernos */
.social-links-v2 {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-v2 a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-v2 a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Sección para el Logo en el Footer */
.footer-logo {
    display: inline-block; 
    width: 150px;  
    height: 150px;
    background-color: #ffffff;
    border-radius: 50%;
    overflow: hidden;  
    display: flex;      
    align-items: center;   
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    margin-bottom: 20px; 
}

/* La Imagen del Logo dentro del círculo */
.footer-logo img {
    max-width: 180%; 
    max-height: 180%;
    object-fit: cover;
}

/* Responsivo */
@media (max-width: 991px) {
    .footer-heading {
        margin-top: 20px;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .text-md-center {
        text-align: center;
    }
}