/* ========== Header (Estilos del encabezado) ========== */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 300;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Estilos específicos para el ícono de Instagram */
.instagram-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.instagram-icon a:hover {
    color: #E1306C; /* Color de Instagram */
    transform: scale(1.1);
}

/* Versión mobile - ajustar según sea necesario */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem 5%;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .instagram-icon a {
        font-size: 1.1rem;
    }
}