/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #e0e0e0;
    line-height: 1.6;
}

/* Selector de ID para el encabezado */
#header {
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
    color: #1a1a2e;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

#header h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.subtitle {
    font-size: 1.2em;
    margin: 10px 0 0 0;
    opacity: 0.9;
}

/* Selector de clase para el menú de navegación */
.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.nav-menu li {
    display: inline;
    margin: 0 20px;
}

.nav-menu a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Selector de clase para las secciones */
.section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
}

.section h2 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Selector de clase para el texto de contenido */
.content-text {
    font-size: 18px;
    text-align: justify;
    margin: 20px 0;
}

/* Selector de clase para la imagen de perfil */
.profile-img {
    border-radius: 50%;
    margin: 20px auto;
    display: block;
    max-width: 200px;
    height: auto;
    border: 4px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.project-card h3 {
    color: #00ffff;
    margin-top: 0;
}

.project-link {
    display: inline-block;
    background: #00ffff;
    color: #1a1a2e;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.project-link:hover {
    background: #0080ff;
}

.status {
    color: #ffa500;
    font-style: italic;
    margin: 10px 0;
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.skill-category h3 {
    color: #00ffff;
    margin-top: 0;
    text-align: center;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.contact-link {
    transition: transform 0.3s ease;
}

.contact-link:hover {
    transform: scale(1.05);
}

/* Selector de clase para el pie de página */
.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    color: #e0e0e0;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    #header h1 {
        font-size: 2em;
    }

    .section {
        margin: 20px;
        padding: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .nav-menu li {
        margin: 0 10px;
    }
}