/*
==================================
COACH SISTÉMICA - ESTILOS PERSONALIZADOS
==================================
*/

/* Variables de Color */




:root {
    --color-celeste-claro: #E3F2FD;
    --color-celeste-medio: #90CAF9;
    --color-azul-fuerte: #04a7a4;
    --color-rosa-claro: #F8BBD0;
    --color-fondo-rosa: #FCE4EC;
    --color-gris-texto: #555555;
    --color-gris-claro: #f8f9fa;
}

/* Reset y Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-gris-texto);
    line-height: 1.6;
    overflow-x: hidden;
    
}

/* Navegación */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* vabecera */
.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-azul-fuerte);
    
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--color-gris-texto);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-azul-fuerte);
}

.navbar-nav .btn-contacto {
    background-color: var(--color-azul-fuerte);
    color: white !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.navbar-nav .btn-contacto:hover {
    background-color: #F8BBD0;
    transform: translateY(-2px);
}

/* Sección Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 167, 164, 1) 0%, rgba(144, 202, 249, 0.75) 100%);
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botones */
.btn-primary {
    background-color: var(--color-azul-fuerte);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #F8BBD0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
}

.btn-outline-primary {
    border-color: var(--color-azul-fuerte);
    color: var(--color-azul-fuerte);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--color-azul-fuerte);
    border-color: var(--color-azul-fuerte);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--color-azul-fuerte);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-azul-fuerte) 0%, var(--color-celeste-medio) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
}

/* Tarjetas de Servicio */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-celeste-claro) 0%, var(--color-celeste-medio) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--color-azul-fuerte);
}

/* Sección Quiénes Somos */
#quienes-somos {
    background: linear-gradient(180deg, white 0%, var(--color-celeste-claro) 100%);
}

.value-box {
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-azul-fuerte);
}

.value-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Tarjetas de Programas */
.program-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-azul-fuerte);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Metodología */
.methodology-step {
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-azul-fuerte) 0%, var(--color-celeste-medio) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
}

.methodology-details {
    background-color: var(--color-fondo-rosa);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.7rem 0;
    font-size: 1rem;
}

.feature-list i {
    margin-right: 0.5rem;
}

/* Testimonios */
.testimonial-card {
    background-color: white;
    border-radius: 15px;
}

.testimonial-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 4px solid var(--color-celeste-medio);
    border-radius: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--color-azul-fuerte);
    border-radius: 50%;
    padding: 30px;
}

.carousel-indicators button {
    background-color: var(--color-azul-fuerte);
}

/* Contacto */
#contacto {
    background: linear-gradient(180deg, var(--color-celeste-claro) 0%, white 100%);
}

.contact-info {
    background-color: var(--color-fondo-rosa);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-azul-fuerte) 0%, var(--color-celeste-medio) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-form-wrapper {
    background-color: white;
    border-left: 5px solid var(--color-azul-fuerte);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-azul-fuerte);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.15);
}

.map-container iframe {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* Botón Volver Arriba */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-azul-fuerte);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-back-to-top:hover {
    background-color: #1565C0;
    transform: translateY(-5px);
}

.btn-back-to-top.show {
    display: flex;
}

/* Mensajes Flash */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.flash-messages .alert {
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav .btn-contacto {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-section {
        background-attachment: scroll;
    }

    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
}

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

    .hero-subtitle {
        font-size: 1rem !important;
    }

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

    .card-img-wrapper {
        height: 200px;
    }

    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .methodology-step {
        margin-bottom: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Animaciones adicionales */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mejoras de accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-azul-fuerte);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Impresión */
@media print {
    .navbar,
    .btn-back-to-top,
    footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
