/* ===============================
   RESET
=================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

/* ===============================
   HEADER
=================================*/
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;

    background: rgba(48, 179, 106, 0.75);
    backdrop-filter: blur(12px);
    padding: 15px 40px;
    border-radius: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2000;
    overflow: visible;
}

header h1 {
    font-size: 24px;
    font-weight: 600;
    color: white;
}
nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: #f9c74f;
}

/* ===============================
   BOTÓN HAMBURGUESA
=================================*/
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    z-index: 2100;
}
/* ===============================
   HERO SECTION
=================================*/
.about-hero {
    background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
    ),
    url('../img/about.jpg');
    background-size: cover;
    background-position: top center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.about-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
}

/* ===============================
   STORY SECTION
=================================*/
.story {
    padding: 80px 60px;
    max-width: 1100px;
    margin: auto;
}

.story h2 {
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
}

.story p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* ===============================
   FOUNDERS SECTION
=================================*/
.founders {
    background: white;
    padding: 80px 60px;
    text-align: center;
}

.founders h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.founder-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.founder-card:hover {
    transform: translateY(-5px);
    background: #f9c74f;
}

.founder-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.founder-card h3 {
    margin-bottom: 10px;
}

/* ===============================
   MISSION SECTION
=================================*/
.mission {
    background: rgba(48, 179, 106, 0.85); /* mismo verde que header y cta */
    backdrop-filter: blur(15px);          /* efecto flotante/frosted glass */
    color: white;
    padding: 80px 40px;                   /* espacio generoso */
    text-align: center;
    border-radius: 50px;                  /* esquinas redondeadas */
    box-shadow: 0 20px 50px rgba(0,0,0,0.25); /* sombra profunda */
    margin: 40px auto;                     /* espacio arriba y abajo, centrado */
    max-width: 1100px;                     /* que no ocupe todo el ancho */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission:hover {
    transform: translateY(-8px);           /* efecto levitación al pasar mouse */
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.mission h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission p {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
}
/* ===============================
   FOOTER
=================================*/
footer {
        background: rgba(48, 179, 106, 0.75);  /* mismo color que header */
    backdrop-filter: blur(12px);           /* efecto premium flotante */
    color: white;
    padding: 50px 20px;                     /* más espacio vertical */
    text-align: center;
    border-radius: 10px;                    /* opcional, si quieres redondeado */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* sombra elegante */
}

/* ===============================
   ANIMATIONS
=================================*/
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE MENU
=================================*/
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        background: rgba(48, 179, 106, 0.98);
        backdrop-filter: blur(10px);

        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding: 30px 0;
        border-radius: 30px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);

        z-index: 1500;
        margin: 0;       /* elimina la línea blanca */
        border: none;
    }

    nav.active {
        display: flex;
    }

    nav a {
        font-size: 18px;
    }
}
