/* Estilos específicos para la página de Nosotros */

/* Header alternativo */
.alt-header {
    background-color: var(--primary-color);
}

.alt-header .logo h1,
.alt-header nav ul li a {
    color: var(--light-text);
}

.alt-header .menu-toggle i {
    color: var(--light-text);
}

.alt-header nav ul li a:after {
    background-color: var(--secondary-color);
}

/* Hero de About */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/about-hero.jpg') no-repeat center center;
    background-size: cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: var(--header-height);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--light-text);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Sección de Timeline */
.timeline {
    background-color: #fff;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-light.png');
    opacity: 0.05;
    z-index: 0;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
    text-align: left;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(200, 169, 126, 0.3);
    z-index: 3;
}

.timeline-item:nth-child(odd):before {
    right: calc(50% - 10px);
}

.timeline-item:nth-child(even):before {
    left: calc(50% - 10px);
}

.year {
    position: absolute;
    top: -5px;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .year {
    right: calc(50% + 30px);
}

.timeline-item:nth-child(even) .year {
    left: calc(50% + 30px);
}

.content {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-top: 40px;
}

.content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Equipo */
.team {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    overflow: hidden;
    height: 300px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Valores */
.values-section {
    background-color: #fff;
    position: relative;
}

.values-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 45, 69, 0.03) 0%, rgba(200, 169, 126, 0.03) 100%);
    z-index: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.value-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
}

.value-card .icon {
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.value-card .icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Testimonios */
.testimonials {
    background-color: var(--primary-color);
    color: var(--light-text);
    position: relative;
}

.testimonials .section-title {
    color: var(--light-text);
}

.testimonials .section-title:after {
    background-color: var(--secondary-color);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.quote {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.quote i.fa-quote-left {
    position: absolute;
    top: -15px;
    left: 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.quote i.fa-quote-right {
    position: absolute;
    bottom: -15px;
    right: 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.client {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.client-info {
    text-align: center;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--light-text);
}

.client-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Certificaciones */
.certifications {
    background-color: var(--light-bg);
}

.certifications-content {
    max-width: 1000px;
    margin: 0 auto;
}

.certification-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.certification-item {
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
}

.certification-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.certification-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 2.8rem;
    }

    .about-hero-content p {
        font-size: 1.1rem;
    }

    .timeline-container:before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd):before,
    .timeline-item:nth-child(even):before {
        left: 10px;
        right: auto;
    }

    .timeline-item:nth-child(odd) .year,
    .timeline-item:nth-child(even) .year {
        left: 60px;
        right: auto;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 350px;
    }

    .about-hero-content h1 {
        font-size: 2.2rem;
    }

    .about-hero-content p {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .certification-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-hero {
        min-height: 300px;
    }

    .about-hero-content h1 {
        font-size: 1.8rem;
    }

    .content {
        padding: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .certification-list {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin: 0 auto;
    }
} 