/* VARIABLES DE COLOR */
:root {
    --color-primary: #008080;         /* Tu color corporativo */
    --color-secondary: #FEC92C;       /* Amarillo para destacados */
    --color-light: #EDF5FD;           /* Fondo claro */
    --color-dark: #212529;            /* Para textos */
    --color-contact-bar: #006666;     /* Versión oscura para barra contacto */
}

/* ESTILOS GENERALES */
body {
    background: var(--color-light);
    color: var(--color-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* BARRA SUPERIOR DE CONTACTO */
.contact-bar {
    background: var(--color-contact-bar);
    font-size: 0.9rem;
}

.contact-bar a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-bar a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.social-icons a {
    color: white;
    margin-left: 0.8rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* NAVBAR PRINCIPAL */
.navbar {
    background: var(--color-primary);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
}

.nav-link {
    color: white !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--color-secondary) !important;
}

.nav-link i {
    margin-right: 5px;
}

.nav-link.active {
    color: var(--color-secondary) !important;
    font-weight: 600;
}

/* Botón de contacto */
.btn-contact {
    background: var(--color-secondary);
    color: var(--color-dark);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #e6b400;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Botón móvil */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CONTENIDO PRINCIPAL */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    background: #CCE5FF;
}

/* TEST PSICOMÉTRICOS */
#Test img {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
}

#Login_test form {
    background: #D3D4D5 !important;
    border-radius: 10px;
    padding: 2rem;
}

/* MODALES */
.modal-header {
    background: var(--color-secondary);
    color: var(--color-dark);
}

/* VIDEO RESPONSIVO */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* BOTONES DE REDES */
.btn-whatsapp:hover {
    background: #25D165 !important;
}

.btn-facebook:hover {
    background: #1877F2 !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar-collapse {
        background: var(--color-primary);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 5px;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .btn-contact {
        margin-top: 1rem;
        width: 100%;
    }
}




















/* Efectos para las marcas */
.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Efectos para cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}







/* Estilos para logos de marca */
.brand-logo {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
    padding: 0.5rem;
}

.brand-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .brand-logo {
        max-width: 120px;
        padding: 0.3rem;
    }
}






/* CSS PARA SERVICIOS.PHP */

/* Estilos específicos para servicios */
.hero-services {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #006666 0%, #008080 100%);
}

.service-section {
    scroll-margin-top: 90px;
}

.brand-grid {
    padding: 1rem;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Formulario de contacto */
#contacto-servicios .form-control {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

#contacto-servicios .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

#contacto-servicios .form-control:focus {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

#contacto-servicios label {
    color: white;
}




/* SE MODIFICÓ LA PAGINA SERVICIOS Y LA IMAGEN DE FONDO */
/* Estilos para el hero de servicios */
.hero-services {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-services .text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Asegurar que el contenido se vea sobre el fondo */
.hero-services .container {
    position: relative;
    z-index: 2;
}











/* CSS PARA LA IMAGEN DEL AULA VIRTUAL */

/* Estilos para el hero con imagen de fondo */
.hero-aula {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Asegurar contraste del texto sobre la imagen */
.hero-aula .text-white {
    color: white !important;
}




/* CSS PARA TEST.PHP Y LA IMAGEN DE FONDO */
/* Estilos para el Hero de test.php */
.hero-test {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-test .text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Asegura que el contenido se vea sobre el fondo */
.hero-test .container {
    position: relative;
    z-index: 2;
}

/* Optimización para móviles */
@media (max-width: 768px) {
    .hero-test {
        min-height: 50vh;
        text-align: center;
    }
    .hero-test .display-4 {
        font-size: 2.5rem;
    }
}


/* EN PRODUCCIÓN SE PERDIÓ EL COLOR */
/* Color base del nombre de la empresa */
/*span.fw-bold{
	color: white !important;
}*/

/* Color base del navbar */
.navbar {
    background-color: #2c3e50 !important; /* Color oscuro */
	/*background-color: white !important;*/
}

/* Color de los enlaces */
.nav-link {
    color: #ecf0f1 !important; /* Color claro */
	/*color: gray !important;*/
    transition: all 0.3s ease;
}

/* Hover corregido */
.nav-link:hover {
    color: #3498db !important; /* Azul al pasar el mouse */
	/*color: black !important;*/
    background-color: transparent !important;
}

/* Dropdown hover */
.dropdown-item:hover {
    background-color: #3498db !important;
    color: white !important;
}
/* FIN DE PRODUCCIÓN */

/* LOGIN TRANSPARENTE */
/*style="background-color: rgba(0,0,0,0.5);"*/
/*style="opacity: 0.25;"*/

/* FIN DE LOGIN TRANSPARENTE */


/* PARA MANEJAR DESPLEGABLE DE LA PAGINA SERVICIOS.PHP */

/* FIN PARA MANEJAR DESPLEGABLE DE LA PAGINA SERVICIOS.PHP */










/* Correcciones generales de responsive */
@media (max-width: 768px) {
    /* Mejorar visualización de inputs en formularios */
    .input-group > .form-control,
    .input-group > .form-select {
        min-height: 45px;
    }
    
    /* Ajustar padding general */
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ajustar tamaño de textos en móvil */
    h1, h2, h3 {
        font-size: 1.5rem !important;
    }
    
    /* Mejorar visualización del menú */
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-item {
        margin-bottom: 0.5rem;
    }
	

}









/* ========== ESTILOS DEL CARRITO - CHECKOUT ========== */
/* Botones de cantidad +/- */
.btn-aumentar, 
.btn-disminuir {
    width: 30px;
    padding: 0.25rem !important;
    line-height: 1;
    border-radius: 0.3rem !important;
}

/* Botón eliminar */
.btn-eliminar {
    transition: transform 0.2s ease;
    min-width: 32px;
}

.btn-eliminar:hover {
    transform: scale(1.1);
    background: #dc3545 !important;
}

/* Efecto hover para filas de items */
tr:hover {
    background-color: #f8f9fa !important;
}

/* Asegurar alineación de columnas */
table th.text-center,
table td.text-center {
    width: 150px; /* Ancho fijo para columna cantidad */
}

table th.text-end,
table td.text-end {
    width: 120px; /* Ancho fijo para columnas de precios */
}



/* ACTUALIZACIÓN AUTOMATICA DE INFORMACIÓN DE PAGO */
/* Efectos de actualización */
@keyframes fadeUpdate {
    0% { background-color: rgba(255, 255, 0, 0.1); }
    100% { background-color: transparent; }
}

.updated {
    animation: fadeUpdate 1.5s ease-out;
}
/* FIN DE ACTUALIZACIÓN AUTOMATICA DE INFORMACIÓN DE PAGO */





/* INICIO DE DASHBOARD PARA ANALITICAS DE LAS VISITAS */
/* Gráficos responsivos */
.canvas-container {
    position: relative;
    margin: auto;
    width: 100%;
    min-height: 300px;
}

/* Tarjetas interactivas */
.card-analytics {
    transition: transform 0.3s;
    cursor: pointer;
}

.card-analytics:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
/* FIN DE DASHBOARD PARA ANALITICAS DE LAS VISITAS */







