:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    /* Añadimos padding-top para compensar el header fijo */
    padding-top: 64px; /* Altura del header */
}

/* Estilo para el efecto Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.parallax > * {
    position: relative;
    z-index: 2;
}

/* Estilo para el hover en los proyectos */
.project-item h4:hover {
    color: #2c5282; /* Azul más oscuro al pasar el mouse */
}
.project-item {
    transition: all 0.3s ease;
}

/* Otros estilos generales */
section {
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

h1, h2, h3 {
    color: var(--secondary-color);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    section {
        padding: 2rem 1rem;
    }
    body {
        padding-top: 64px;
    }
}