/* Variables globales */
:root {
    --primary-color: #0B5159;
    --secondary-color: #5DA6A6;
    --accent-color: #73BFB8;
    --text-color: #333;
    --light-bg: #f5f8fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern.png');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background: var(--light-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-slogan {
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 1rem;
    opacity: 0.9;
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries para móvil */
@media (max-width: 768px) {
    /* Navegación móvil */
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }

    /* Ajustes generales para móvil */
    .hero-content,
    .discover-content,
    .team-container,
    .contest-container,
    .contact-container {
        padding: 1 1rem;
    }

    /* Ajustes de tipografía para móvil */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem !important;
    }

    /* Ajustes de grid para móvil */
    .team-grid,
    .values-grid,
    .achievements-grid,
    .stats-grid,
    .features-grid,
    .collaborators-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }

    /* Ajustes de tarjetas para móvil */
    .feature-card,
    .stat-card,
    .collaborator-card,
    .testimonial-card {
        padding: 2rem 1.5rem !important;
        margin: 0 0% !important;
        border-radius: 15px !important;
    }

    .feature-icon,
    .collaborator-icon {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }

    .feature-card h3,
    .collaborator-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }

    .feature-card p,
    .collaborator-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Ajustes de espaciado para móvil */
    section {
        padding: 6rem 1rem 3rem !important;
    }

    .section-content,
    .contact-form,
    .contest-content {
        padding: 1.5rem !important;
    }

    /* Ajustes de botones para móvil */
    .submit-btn,
    .cta-btn {
        width: 100%;
        padding: 1rem !important;
    }

    /* Ajustes de imágenes para móvil */
    .member-image,
    .contest-image {
        height: 250px !important;
    }

    /* Ajustes de timeline para móvil */
    .timeline::before {
        left: 20px !important;
    }

    .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px !important;
    }

    .timeline-content::before {
        left: -40px !important;
        right: auto !important;
    }

    /* Ajustes de formulario para móvil */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important; /* Evita zoom en iOS */
    }

    /* Ajustes de footer para móvil */
    footer {
        padding: 3rem 1rem 1.5rem !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem !important;
    }

    .footer-section {
        padding: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .footer-section h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-section p {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .footer-slogan {
        display: block;
        text-align: center;
        margin: 1.5rem 0 !important;
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem !important;
    }

    .social-links a {
        font-size: 1.8rem !important;
        padding: 0.5rem !important;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .social-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .contact-item {
        justify-content: center;
        margin: 1rem 0 !important;
    }

    .footer-bottom {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* Ajustes de estadísticas para móvil */
    .stat-card {
        padding: 1.5rem 1rem !important;
        margin: 0 0.5rem !important;
        border-radius: 12px !important;
    }

    .stat-number {
        font-size: 2rem !important;
        margin-bottom: 0.3rem !important;
    }

    .stat-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    .stats-grid {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }

    /* Ajustes de secciones para móvil */
    .section-header {
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
    }

    .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .section-header p {
        font-size: 1rem !important;
    }

    /* Hero móvil */
    .hero-content h1 {
        font-size: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .hero-content p {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .cta-button {
        width: 100%;
        padding: 1.5rem !important;
        font-size: 1.2rem !important;
    }

    /* Ajustes de colaboradores para móvil */
    .collaborator-card {
        padding: 0.6rem 0.4rem !important;
        margin: 0 0.2rem !important;
        border-radius: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        max-width: 150px !important;
        margin: 0 auto !important;
        background: var(--white) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .collaborator-icon {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
        color: var(--primary-color) !important;
        background: rgba(0, 102, 204, 0.1) !important;
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .collaborator-card h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.2rem !important;
        color: var(--primary-color) !important;
        font-weight: 600 !important;
    }

    .collaborator-card p {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        margin: 0 auto !important;
        max-width: 95% !important;
        color: var(--text-color) !important;
        opacity: 0.8 !important;
    }

    .collaborators-grid {
        gap: 0.5rem !important;
        padding: 0 0.2rem !important;
        justify-items: center !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .collaborators {
        padding: 2rem 0.2rem !important;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .section-header p {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
} 
