/* ============================================================
   TECNOPSICO SAS - MEJORAS VISUALES 2026
   Este archivo SE AGREGA después de tecnopsico.css
   NO reemplaza nada, solo mejora lo existente
   ============================================================ */

/* =====================================================
   MEJORAS A CLASES EXISTENTES (OVERRIDE)
   ===================================================== */

/* Mejorar el naranja para mejor legibilidad */
.text-warning,
.subsection-title,
.text-tecno,
.timeline-title {
    color: #ff6b35 !important;  /* Naranja más legible */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

.section-title::after,
.timeline::before {
    background: linear-gradient(90deg, #ff6b35, #ff8c5f) !important;
}

.timeline ul li::before {
    background: #ff6b35 !important;
}

/* Mejorar botón tecno */
.btn-tecno {
    background: linear-gradient(135deg, #ff6b35, #ff8c5f) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-tecno:hover {
    background: linear-gradient(135deg, #ff8c5f, #ff6b35) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* =====================================================
   NUEVAS CLASES - EFECTOS SCROLL
   ===================================================== */

/* Fade-up mejorado */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* =====================================================
   NUEVAS CLASES - TIPOGRAFÍAS GRANDES
   ===================================================== */

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.section-title-xl {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title-lg {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =====================================================
   NUEVAS CLASES - FRANJAS DE COLOR
   ===================================================== */

.franja-clara {
    background-color: #ffffff;
    padding: 4rem 0;
}

.franja-oscura {
    background: linear-gradient(135deg, #2596be, #6dcadb);
    color: white;
    padding: 4rem 0;
}

.franja-oscura h1,
.franja-oscura h2,
.franja-oscura h3,
.franja-oscura h4,
.franja-oscura h5,
.franja-oscura h6 {
    color: white;
}

.franja-accent {
    background: linear-gradient(135deg, #ff6b35, #ff8c5f);
    color: white;
    padding: 4rem 0;
}

.franja-accent h1,
.franja-accent h2,
.franja-accent h3,
.franja-accent h4,
.franja-accent h5,
.franja-accent h6 {
    color: white;
}

/* =====================================================
   NUEVAS CLASES - LAYOUT ALTERNADO
   ===================================================== */

.alternating-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.alternating-section.reverse {
    flex-direction: row-reverse;
}

.alternating-content {
    flex: 1;
}

.alternating-image {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.alternating-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.alternating-section:hover .alternating-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .alternating-section,
    .alternating-section.reverse {
        flex-direction: column;
    }
}

/* =====================================================
   MEJORAS - ESPACIADO GENEROSO
   ===================================================== */

section.espaciado-generoso {
    padding: 5rem 0 !important;
}

.mb-generoso {
    margin-bottom: 4rem !important;
}

.mt-generoso {
    margin-top: 4rem !important;
}

.py-generoso {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* =====================================================
   MEJORAS - CARRUSEL MÁS MODERNO
   ===================================================== */

#carouselTecnopsico .carousel-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

#carouselTecnopsico .caption-bg {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

#carouselTecnopsico .carousel-title {
    color: #2c2c2c;
    font-size: 2rem;
}

#carouselTecnopsico .carousel-control-prev,
#carouselTecnopsico .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#carouselTecnopsico .carousel-control-prev {
    left: 20px;
}

#carouselTecnopsico .carousel-control-next {
    right: 20px;
}

#carouselTecnopsico .carousel-control-prev:hover,
#carouselTecnopsico .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#carouselTecnopsico .carousel-control-prev-icon,
#carouselTecnopsico .carousel-control-next-icon {
    filter: invert(1);
}

/* =====================================================
   MEJORAS - CARDS MÁS ELEGANTES
   ===================================================== */

.card {
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.20) !important;
}

.card-img-top {
    transition: transform 0.6s ease !important;
}

.card:hover .card-img-top {
    transform: scale(1.08) !important;
}

/* =====================================================
   MEJORAS - PSICÓLOGOS UNIFORMES
   ===================================================== */

.psico-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.psico-img-wrapper {
    height: 250px !important;
    background: linear-gradient(135deg, #6dcadb, #2596be);
}

.psico-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center top;
}

.psico-content {
    flex-grow: 1;
}

.psico-footer {
    margin-top: auto;
}

/* =====================================================
   MEJORAS - SERVICIOS CON BOTONES MÁS EVIDENTES
   ===================================================== */

.service-card:hover .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
}

.service-btn {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-info-action {
    background: #ff6b35 !important;
    color: white !important;
    border: none !important;
}

.btn-info-action:hover {
    background: #d95323 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4) !important;
}

.add-to-cart {
    background: #28a745 !important;
    color: white !important;
}

.add-to-cart:hover {
    background: #218838 !important;
    transform: translateX(5px) !important;
}

/* =====================================================
   MEJORAS - LOGO GRID MÁS ELEGANTE
   ===================================================== */

.logo-card {
    transition: all 0.3s ease !important;
}

.logo-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.20) !important;
}

.logo-card img {
    filter: grayscale(0.2);
    transition: all 0.3s ease !important;
}

.logo-card:hover img {
    filter: grayscale(0);
    transform: scale(1.05) !important;
}

/* =====================================================
   MEJORAS - FORMULARIOS
   ===================================================== */

.form-control:focus {
    border-color: #2596be !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 150, 190, 0.15) !important;
}

/* =====================================================
   MEJORAS - MODALES
   ===================================================== */

.modal-content {
    border-radius: 18px !important;
}

.modal-header {
    border-radius: 18px 18px 0 0 !important;
}

/* =====================================================
   UTILIDADES ADICIONALES
   ===================================================== */

.text-naranja {
    color: #ff6b35 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

.shadow-soft {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

.shadow-medium {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.shadow-strong {
    box-shadow: 0 12px 32px rgba(0,0,0,0.16) !important;
}

.rounded-modern {
    border-radius: 18px !important;
}

/* =====================================================
   ANIMACIÓN DEL BADGE DEL CARRITO
   ===================================================== */

#cart-count {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* =====================================================
   BOTÓN WHATSAPP MEJORADO
   ===================================================== */

.btn-whatsapp {
    width: 65px !important;
    height: 65px !important;
    background: linear-gradient(135deg, #25D366, #1EBE5B) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    animation: float 3s ease-in-out infinite;
}

.btn-whatsapp:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6) !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =====================================================
   RESPONSIVE - AJUSTES ADICIONALES
   ===================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title-xl {
        font-size: 2rem;
    }

    .franja-clara,
    .franja-oscura,
    .franja-accent {
        padding: 3rem 0;
    }

    section.espaciado-generoso {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title-xl {
        font-size: 1.75rem;
    }
}

/* =====================================================
   MEJORAS ESPECÍFICAS PARA SECCIÓN NOSOTROS
   ===================================================== */

.section-nosotros .info-card:hover {
    transform: scale(1.05) !important;
}

/* =====================================================
   FIN DE MEJORAS
   ===================================================== */
