/* Configuración básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Encabezado y Navegación */
header {
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8; /* Link principales inicio | proyectos | contacto*/
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #38bdf8; /* Link principales inicio | proyectos | contacto */
}

/* Sección Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 3rem;
    padding: 0 2rem;
}

.content {
    flex: 1.2;
    text-align: left;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content h1 span {
    color: #ff6820;
    border-bottom: 3px dashed #38bdf8;
}

.content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Botones con estilo naranja */
.buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: #ff6820;
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e65a1b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 104, 32, 0.3);
}

.btn-secondary {
    border: 2px solid #ff6820;
    color: #ff6820;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ff6820;
    color: white;
}

/* Área de Imagen de Perfil */
.profile-area {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.profile-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #38bdf8;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 104, 32, 0.2);
}

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

/* Animación de Saludo */
@keyframes wave-animation {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.wave {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
    
}

/* Footer */
footer {
    background-color: #0f172a;
    border-top: 1px solid #334155;
    padding: 3rem 0;
    text-align: center;
}

.social-links a {
    color: #38bdf8; /* Azul para links secundarios */
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6820;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .content h1 { font-size: 2.2rem; }
    .buttons { justify-content: center; }
    .profile-circle { width: 280px; height: 280px; }
}