/* ============================================
   TICDAT CONSULTING - Mejoras CSS 2026
   Archivo complementario a styles.css
   ============================================ */

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Cards: hover effect con elevacion --- */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.card-highlight {
    border: 2px solid var(--bs-primary, #ffc800);
}
.card-highlight:hover {
    box-shadow: 0 8px 30px rgba(255, 200, 0, 0.2);
}

/* --- Botones: transiciones suaves --- */
.btn {
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb, 255, 200, 0), 0.3);
}

/* --- Links navbar: transicion hover --- */
.navbar .nav-link {
    transition: color 0.2s ease, border-bottom 0.2s ease;
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary, #ffc800);
    transition: width 0.3s ease, left 0.3s ease;
}
.navbar .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* --- Mejor contraste en textos ligeros --- */
.fw-lighter {
    color: #4a4a4a;
}
.text-secondary.fw-lighter {
    color: #5a6370 !important;
}

/* --- Focus states para accesibilidad teclado --- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--bs-primary, #ffc800);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Secciones: transicion suave al aparecer --- */
.full-width-section,
.full-width-section-nocolor,
.full-width-section-precios {
    position: relative;
}

/* --- Imagenes: bordes suaves y sombra --- */
.rounded.d-block.w-100 {
    transition: transform 0.3s ease;
}
.rounded.d-block.w-100:hover {
    transform: scale(1.02);
}

/* --- Carousel: mejora visual --- */
.carousel-item img {
    border-radius: 8px;
}
.carousel-item-amazon img {
    width: 100%;
    height: auto;
}
.carousel-caption {
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

/* --- Iconos circulares (proceso VAT) --- */
.rounded-circle.d-inline-flex {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rounded-circle.d-inline-flex:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Pricing cards: destacar precio --- */
.card-body h1.fw-light,
.card-body h2.fw-light {
    transition: color 0.3s ease;
}
.card:hover .card-body h1.fw-light,
.card:hover .card-body h2.fw-light {
    color: var(--bs-primary, #ffc800) !important;
}

/* --- Footer: links hover --- */
footer .nav-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}
footer .nav-link:hover {
    padding-left: 5px;
}

/* --- WhatsApp boton: pulso animacion --- */
.bi-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}
@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Warning/info cards (obligations section) --- */
.d-flex.align-items-start {
    transition: background-color 0.2s ease;
    padding: 8px;
    border-radius: 8px;
}
.d-flex.align-items-start:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* --- Responsive: mejoras tablets --- */
@media (max-width: 767px) {
    .titulos-grandes {
        font-size: 1.8rem;
    }
    .titulos-seccion {
        font-size: 1.5rem;
    }
    .navbar .nav-link {
        font-size: 1rem !important;
    }
    .card-body {
        padding: 1rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* --- Selection color branding --- */
::selection {
    background-color: rgba(255, 200, 0, 0.3);
    color: #333;
}
