/* Variables de color */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Encabezado */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.anniversary-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.anniversary-logo {
    height: 50px;
    width: auto;
}

.anniversary-text {
    display: flex;
    flex-direction: column;
}

.anniversary-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.school-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Menú hamburguesa */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
    z-index: 1001;
}

.menu-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.menu-list {
    list-style: none;
    padding: 1rem;
}

.menu-link {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--light-color);
    transition: var(--transition);
}

.menu-link:hover, .menu-link.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenido principal */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-container {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.hero-text {
    padding: 2rem;
    text-align: center;
}

.hero-title {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.hero-description {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Pie de página */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    border-top: 3px solid var(--secondary-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-photo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.social-container {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.privacy-btn {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.privacy-btn:hover {
    background-color: var(--white);
}

.support-btn {
    background-color: var(--secondary-color);
    color: var(--white);
}

.support-btn:hover {
    background-color: #2980b9;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .anniversary-title {
        font-size: 1rem;
    }
    
    .school-name {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-text {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-container, .anniversary-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hero-text {
        padding: 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
}
/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 1px, transparent 1px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 550px 550px, 350px 350px;
    background-position: 0 0, 40px 60px;
}

/* Encabezado */
.main-header {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #3498db;
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
    z-index: 1001;
}

.menu-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ecf0f1;
    transition: all 0.3s ease;
}

/* Contenido principal */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.history-container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.history-title {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.history-section {
    margin-bottom: 2rem;
}

.section-title {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.history-text {
    color: #ecf0f1;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.milestone-card {
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #3498db;
    transition: transform 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-5px);
    background-color: rgba(52, 152, 219, 0.2);
}

.milestone-year {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Pie de página */
.main-footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem 0;
    border-top: 1px solid #3498db;
    backdrop-filter: blur(5px);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .milestones {
        grid-template-columns: 1fr;
    }
}

/* Estilos adicionales para la investigación */
.research-section {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
    border-left: 5px solid #3498db;
}

.research-title {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.research-content {
    color: #ecf0f1;
    line-height: 1.8;
    font-size: 16px;
}

.research-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.highlight {
    background-color: rgba(52, 152, 219, 0.3);
    padding: 2px 5px;
    border-radius: 3px;
}

.student-signature {
    font-style: italic;
    text-align: right;
    margin-top: 30px;
    color: #3498db;
}


/* Estilos mejorados para la sección de la tierra */
.earth-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    perspective: 1000px;
}

.earth-video-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 150, 255, 0.5);
    z-index: 2;
}

.earth-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.satellite {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 3;
    overflow: hidden;
    transform-style: preserve-3d;
}

.satellite-front, .satellite-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.satellite-front {
    background-size: cover;
    background-position: center;
    transform: rotateY(0deg);
}

.satellite-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.satellite-back {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 15px;
    flex-direction: column;
    text-align: center;
    transform: rotateY(180deg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    overflow: auto;
}

.satellite-back h3 {
    margin-bottom: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.satellite-back p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.satellite.active {
    transform: rotateY(180deg) scale(1.15);
    width: 140px;
    height: 140px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: rotateOrbit linear infinite;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .earth-section {
        height: 500px;
    }
    
    .earth-video-container {
        width: 220px;
        height: 220px;
    }
    
    .satellite {
        width: 70px;
        height: 70px;
    }
    
    .satellite.active {
        width: 110px;
        height: 110px;
    }
    
    .satellite-back {
        padding: 10px;
    }
    
    .satellite-back h3 {
        font-size: 12px;
    }
    
    .satellite-back p {
        font-size: 10px;
    }
}

/* Estilos para el formulario */
.form-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #3498db;
}

.form-title {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ecf0f1;
    font-weight: 500;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #3498db;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.student-fields {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(52, 152, 219, 0.2);
    border-radius: 5px;
    border-left: 3px solid #e74c3c;
}

.form-submit {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 30px auto 0;
}

.form-submit:hover {
    background-color: #c0392b;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.hero-description {
    color: #ecf0f1;
}

.feature-box {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #3498db;
    color: #ecf0f1;
}

.feature-title, .feature-text {
    color: #ecf0f1;
}