﻿/* ============================================ 🔹 CONFIGURACIÓN GENERAL ============================================ */

.about-hero,
.values-section,
.history-section,
.team-section {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* ============================================ 🔹 HERO ============================================ */

.about-hero {
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 120px 20px;
    backdrop-filter: blur(6px);
    border-bottom: 2px solid rgba(255,127,80,0.4);
}

    .about-hero h1 {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 15px;
        background: linear-gradient(90deg, #ff7f50, #8a2be2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: fadeInUp 1.5s ease forwards;
    }

    .about-hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto;
        color: #ccc;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1.5s ease forwards;
        animation-delay: 0.4s;
    }

@keyframes glowText {
    from {
        text-shadow: 0 0 10px #ff7f50;
    }

    to {
        text-shadow: 0 0 20px #8a2be2;
    }
}

/* ============================================ 🔹 ANIMACIÓN GLOBAL ============================================ */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ 🔹 VALORES ============================================ */

.values-section {
    text-align: center;
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-top: 2px solid rgba(138,43,226,0.3);
    opacity: 0;
    backdrop-filter: blur(6px);
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.6s;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #ff7f50, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === Cards === */
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background: rgba(25,25,30,0.8);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(138,43,226,0.25);
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255,127,80,0.3);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
}

    .card:nth-child(1) {
        animation-delay: 0.8s;
    }

    .card:nth-child(2) {
        animation-delay: 1s;
    }

    .card:nth-child(3) {
        animation-delay: 1.2s;
    }

    .card img {
        width: 70px;
        margin-bottom: 15px;
        filter: drop-shadow(0 0 10px #ff7f50);
        transition: transform 0.4s ease;
    }

    .card h3 {
        color: #ff7f50;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .card p {
        color: #ccc;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 0 40px rgba(255,127,80,0.5);
    }

        .card:hover img {
            transform: rotate(8deg) scale(1.1);
        }

/* ============================================ 🔹 HISTORIA ============================================ */

.history-section {
    padding: 90px 20px;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    border-top: 2px solid rgba(255,127,80,0.3);
    border-bottom: 2px solid rgba(138,43,226,0.3);
    opacity: 0;
    backdrop-filter: blur(6px);
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 1.4s;
}

.history-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ff7f50, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.history-text {
    max-width: 850px;
    margin: 0 auto;
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================ 🔹 EQUIPO ============================================ */

.team-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 100px 20px;
    text-align: center;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 1.8s;
}

.team-title {
    font-size: 2.3rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #ff7f50, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.team-card {
    background: rgba(25,25,35,0.85);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(138,43,226,0.25);
    width: 250px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,127,80,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
}

    .team-card:nth-child(1) {
        animation-delay: 2s;
    }

    .team-card:nth-child(2) {
        animation-delay: 2.2s;
    }

    .team-card:nth-child(3) {
        animation-delay: 2.4s;
    }

    .team-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255,127,80,0.4);
    }

    .team-card img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ff7f50;
        margin-bottom: 15px;
        box-shadow: 0 0 15px rgba(138,43,226,0.5);
    }

    .team-card h4 {
        color: #ff7f50;
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .team-card p {
        color: #ccc;
        font-size: 0.95rem;
    }

/* ============================================ 🔹 RESPONSIVE ============================================ */

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.4rem;
    }

    .card,
    .team-card {
        width: 90%;
        max-width: 320px;
    }

    .cards-container,
    .team-grid {
        justify-content: center;
    }

    .history-text {
        font-size: 1rem;
    }
}
