﻿/* EGIDRA - Estilos Página Sobre Nosotros */

/* Page Header */
.page-header {
    position: relative;
    min-height: 50vh;
    background: 
        linear-gradient(to right, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.7) 50%, rgba(13, 13, 13, 0.5) 100%),
        url('../../../img/template/bg-equipo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 193, 7, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.page-header .badge {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.page-header .lead {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.header-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.header-scroll-indicator a {
    text-decoration: none;
}

/* History Section */
.history-section {
    background: #fff;
    padding: 5rem 0;
}

.history-section img {
    transition: var(--transition);
}

.history-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* MVV Section */
.mvv-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.mvv-card {
    transition: var(--transition);
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-10px);
}

.mvv-card:hover::before {
    height: 100%;
}

.mvv-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.1);
}

/* Team Section */
.team-section {
    background: #fff;
    padding: 5rem 0;
}

.team-card {
    transition: var(--transition);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-card:hover .team-icon {
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.1);
}

/* Certifications Section */
.certifications-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.certifications-section img {
    transition: var(--transition);
}

.certifications-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.certifications-section .row > div > div {
    transition: var(--transition);
}

.certifications-section .row > div > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* CTA Section */
.cta-section {
    background: #fff;
    padding: 5rem 0;
}

.cta-section .card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .page-header {
        min-height: 40vh;
        background: 
            linear-gradient(to right, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.85) 100%),
            url('../../img/template/bg-equipo.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .page-header h1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .page-header {
        min-height: 35vh;
    }
    
    .page-header h1 {
        font-size: 1.75rem !important;
    }
    
    .page-header .display-3 {
        font-size: 2rem !important;
    }
    
    .history-section,
    .mvv-section,
    .team-section,
    .certifications-section,
    .cta-section {
        padding: 3rem 0;
    }
}