/* ========================================
   PALETA DE COLORES MIKUBY
   ======================================== */
:root {
    --azul-oscuro: #0C1844;    /* Azul marino profundo */
    --rojo-intenso: #C80036;   /* Rojo vibrante */
    --rosa-suave: #FF6969;     /* Rosa/coral */
    --crema: #FFF5E1;          /* Crema cálido */
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */
body {
    background-color: var(--crema);
    color: var(--azul-oscuro);
}

/* ========================================
   NAVEGACIÓN
   ======================================== */
.navbar.bg-dark {
    background-color: var(--azul-oscuro) !important;
}

.navbar-brand,
.nav-link {
    color: var(--crema) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--rosa-suave) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.bg-body-tertiary {
    background-color: var(--crema) !important;
}

.hero-section h1 {
    color: var(--rojo-intenso) !important;
}

.hero-section h3 {
    color: var(--azul-oscuro) !important;
}

/* Dispositivos decorativos del hero */
.product-device {
    position: absolute;
    right: 10%;
    bottom: -30%;
    width: 300px;
    height: 540px;
    background-color: var(--azul-oscuro);
    border-radius: 21px;
    transform: rotate(30deg);
}

.product-device-2 {
    top: -25%;
    right: auto;
    bottom: 0;
    left: 5%;
    background-color: var(--rosa-suave);
}

/* ========================================
   SECCIONES DE SERVICIOS
   ======================================== */

/* Laboratorio 3D - Fondo oscuro */
.text-bg-dark {
    background-color: var(--azul-oscuro) !important;
    color: var(--crema) !important;
}

/* Portafolio - Fondo destacado */
.text-bg-primary {
    background-color: var(--rosa-suave) !important;
    color: var(--crema) !important;
}

/* Recuadros de imágenes */
.bg-dark {
    background-color: var(--azul-oscuro) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(12, 24, 68, 0.15) !important;
}

.labo-img {
    background-image: url("img/12.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.imp-img {
    background-image: url("img/14.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mikuby-img {
    background-image: url("img/16.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.port-img {
    background-image: url("img/15.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--crema);
    border-top: 2px solid var(--rosa-suave);
    padding-top: 2rem;
}

footer h5 {
    color: var(--azul-oscuro);
    font-weight: 600;
}

footer .link-secondary {
    color: var(--azul-oscuro) !important;
    transition: color 0.3s ease;
}

footer .link-secondary:hover {
    color: var(--rojo-intenso) !important;
}

footer .text-body-secondary {
    color: var(--azul-oscuro) !important;
    opacity: 0.7;
}

footer svg {
    stroke: var(--rojo-intenso);
}

/* ========================================
   UTILIDADES Y RESPONSIVE
   ======================================== */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .product-device,
    .product-device-2 {
        display: none;
    }
}

.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

/* ========================================
   BOTONES PERSONALIZADOS
   ======================================== */
.btn-mikuby-primary {
    background-color: var(--rojo-intenso);
    border-color: var(--rojo-intenso);
    color: var(--crema);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-mikuby-primary:hover {
    background-color: var(--azul-oscuro);
    border-color: var(--azul-oscuro);
    color: var(--crema);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(200, 0, 54, 0.3);
}

.btn-mikuby-secondary {
    background-color: var(--rosa-suave);
    border-color: var(--rosa-suave);
    color: var(--azul-oscuro);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-mikuby-secondary:hover {
    background-color: var(--rojo-intenso);
    border-color: var(--rojo-intenso);
    color: var(--crema);
    transform: translateY(-2px);
}

/* ========================================
   ANIMACIONES SUAVES
   ======================================== */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
}

/* Efecto hover en las tarjetas de servicios */
.overflow-hidden {
    transition: transform 0.3s ease;
}

.overflow-hidden:hover {
    transform: translateY(-5px);
}

/* ========================================
   ESTILOS PARA PORTAFOLIO/ALBUM
   ======================================== */

/* Cards del portafolio */
.album .card {
    background-color: var(--crema) !important;
    border: 2px solid var(--azul-oscuro);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.album .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(12, 24, 68, 0.2);
    border-color: var(--rojo-intenso);
}

.album .card-title {
    color: var(--azul-oscuro);
    font-weight: 700;
    font-size: 1.2rem;
}

.album .card-text {
    color: var(--azul-oscuro) !important;
    opacity: 0.8;
}

.album .btn-outline-secondary {
    border-color: var(--rosa-suave) !important;
    color: var(--rosa-suave) !important;
    background-color: transparent;
    font-weight: 600;
    font-size: 0.75rem;
}

.album .btn-outline-secondary:hover {
    background-color: var(--rosa-suave) !important;
    color: var(--crema) !important;
}

.album .text-body-secondary {
    color: var(--azul-oscuro) !important;
    opacity: 0.6;
    font-weight: 500;
}

/* Imágenes de las cards */
.album .card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--azul-oscuro);
}

/* Ajuste del fondo del album */
.album.bg-body-tertiary {
    background-color: var(--crema) !important;
}
/* ========================================
   TABLA DE HABILIDADES
   ======================================== */
.container.habilidades-section {
    background-color: var(--crema);
    padding: 3rem 2rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    border: none;
}

.container.habilidades-section h4 {
    color: var(--azul-oscuro);
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reset completo de estilos Bootstrap para esta tabla específica */
.habilidades-section .table {
    background-color: var(--crema) !important;
    border: 2px solid !important;
    border-color: var(--rosa-suave) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 4px 15px rgba(12, 24, 68, 0.08);
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.habilidades-section .table thead th {
    background-color: var(--rosa-suave) !important;
    color: var(--crema) !important;
    padding: 1.2rem 1.5rem !important;
    border: none !important;
    border-bottom: none !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.habilidades-section .table tbody {
    background-color: var(--crema) !important;
}

.habilidades-section .table tbody td {
    background-color: var(--crema) !important;
    color: var(--azul-oscuro) !important;
    padding: 1.3rem 1.5rem !important;
    vertical-align: middle !important;
    border-top: 1px solid rgba(255, 105, 105, 0.1) !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: 600;
    font-size: 1.05rem;
}

.habilidades-section .table tbody tr:hover {
    background-color: rgba(255, 105, 105, 0.05) !important;
    transform: translateX(5px);
}

.habilidades-section .table tbody tr:hover td {
    background-color: rgba(255, 105, 105, 0.05) !important;
}

/* Barras de progreso SVG - Estilo mejorado */
.habilidades-section .table svg {
    width: 100%;
    height: 24px;
    display: block;
}

.habilidades-section .table svg rect {
    fill: var(--rosa-suave);
    transition: fill 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 105, 105, 0.3));
}

.habilidades-section .table tbody tr:hover svg rect {
    fill: var(--rojo-intenso);
    filter: drop-shadow(0 3px 8px rgba(200, 0, 54, 0.4));
}

/* Primera columna con ancho fijo */
.habilidades-section .table tbody td:first-child {
    width: 30%;
    min-width: 150px;
    font-weight: 700;
}

/* ========================================
   GRÁFICO - ESTILOS MEJORADOS
   ======================================== */
.grafico-section {
    margin-bottom: 3rem;
}

.grafico-section .card {
    background-color: var(--crema) !important;
    border: 3px solid var(--rojo-intenso) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(12, 24, 68, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grafico-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(12, 24, 68, 0.2);
}

.grafico-section .card-header {
    background-color: var(--rojo-intenso) !important;
    color: var(--crema) !important;
    font-weight: 800;
    font-size: 1.4rem;
    padding: 1.8rem;
    border-bottom: none !important;
    text-align: center;
    letter-spacing: 0.5px;
}

.grafico-section .card-body {
    padding: 2.5rem;
}

/* Canvas del gráfico */
#graficoBarras {
    max-height: 400px;
    width: 100% !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .container.habilidades-section h4 {
        font-size: 1.6rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .table svg {
        height: 20px;
    }
    
    .grafico-section .card-header {
        font-size: 1.1rem;
        padding: 1.3rem;
    }
}

/* ========================================
                    CARRUSEL
   ======================================== */
   .carousel-caption {
                position: static !important;
                padding-top: 1rem;
                padding-bottom: 1rem;
            }
/* ========================================
   CARRUSEL - Textos personalizados
   ======================================== */

.carousel-caption h5 {
    color: var(--rojo-intenso) !important;
    font-weight: 600;
    font-size: 2rem; /* <-- tamaño del título */
}

.carousel-caption p {
    color: var(--rosa-suave) !important;
    font-size: 1.2rem; /* <-- tamaño del texto */
}

.carousel-caption {
    background-color: var(--crema) !important;
    padding: 1rem;
    border-radius: 8px;
}

/* Punto activo */
.carousel-indicators .active {
    background-color: var(--rojo-intenso) !important; /* Color del punto seleccionado */
}

/* Puntos inactivos */
.carousel-indicators [data-bs-target] {
    background-color: var(--rosa-suave) !important;  /* Color de los puntos normales */
    opacity: 1; /* Evita que Bootstrap los haga muy claros */
}
.card {
  background-color: var(--crema);
  border-radius: 8px;
  border-color: var(--azul-oscuro);
}

.card-title {
    color: var(--rojo-intenso);
    font-size: 2rem;
} 

.card-text {
    color: var(--rosa-suave);
    font-size: 1.1rem;
    text-align: justify;
}

.card img {
    border-radius: 8px;
}


.fefy-img {
    background-image: url("img/17.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-falso {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--gris-oscuro);
    border: 3px solid gray;
    border-radius: 4px;
    opacity: 0.6; /* para simular disabled */
    cursor: default;
}

.badge-progreso {
    color: var(--rosa-suave);
}

.badge-suspendido {
    color: var(--rojo-intenso);
}

.badge-expansion {
    color: var(--azul-oscuro);
}

.fefy-img {
    width: 250px;
    height: 250px;
    background-image: url('img/fefy.webp'); 
    background-size: cover;
    background-position: center;
    border-radius: 10%;
    border: 4px solid var(--azul-oscuro);
    margin-bottom: 1rem;
}