/* 🌐 ESTILO GLASS + DORADO PROFESIONAL – DANIEL SANTIAGO GONZÁLEZ HERNÁNDEZ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --color-bg: #0c0b09;
    --color-accent: #c6a564;
    /* Dorado principal */
    --color-accent-2: #f2d16b;
    /* Dorado brillante */
    --color-text: #f8f5e4;
    /* Blanco cálido */
    --glass: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at top right, #1a1712, #0c0b09);
    color: var(--color-text);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Contenedor de los botones */
.habilidades-botones {
    display: flex;
    gap: 20px;
    /* espacio entre botones */
    justify-content: center;
    /* centrar horizontalmente */
    margin: 20px 0;
    flex-wrap: wrap;
    /* que los botones bajen si no caben en pantalla */
}

/* Estilo general de los botones */
.habilidades-botones button {
    background: rgba(255, 255, 255, 0.1);
    /* efecto glass */
    color: #FFD700;
    /* dorado elegante */
    border: 2px solid #FFD700;
    /* borde dorado */
    border-radius: 12px;
    /* bordes redondeados */
    padding: 12px 25px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    /* efecto glass */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Efecto hover */
.habilidades-botones button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Efecto activo/click */
.habilidades-botones button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ===== HEADER ===== */
header {
    position: relative;
    text-align: center;
    color: var(--color-text);
    padding: 8rem 2rem 10rem;
    background: linear-gradient(270deg, var(--color-accent), var(--color-accent-2));
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    overflow: hidden;
    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text);
}

header p {
    font-weight: 300;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* === BOTÓN "ENGLISH" === */
#idioma-btn {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 10px 28px;
    background: var(--color-bg);
    color: var(--color-accent-2);
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    text-decoration: none;
}

#idioma-btn:hover {
    background: var(--color-accent-2);
    color: var(--color-bg);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--color-accent-2);
}

/* ===== MENÚ SUPERIOR ===== */
.menu {
    backdrop-filter: blur(10px);
    background: rgba(15, 13, 10, 0.9);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: var(--color-text);
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--color-accent-2);
}

/* ===== BOTÓN DE IDIOMA ===== */
.language-toggle {
    position: absolute;
    right: 25px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
    border: none;
    color: var(--color-bg);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.language-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    position: absolute;
    left: 25px;
    z-index: 1000;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--color-accent-2);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(198, 165, 100, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== CONTENIDO GENERAL ===== */
.container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 25px;
}

/* ===== TÍTULOS ===== */
h2 {
    text-align: center;
    font-size: 2em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

h3 {
    text-align: center;
    font-size: 1.4em;
    color: var(--color-accent-2);
    margin-bottom: 20px;
}

/* ===== SOBRE MÍ ===== */
#sobre-mi {
    text-align: center;
    animation: fadeIn 1s ease-in;
}

#sobre-mi p {
    font-weight: 300;
    opacity: 0.9;
}

.sobre-mi-foto img {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    margin-bottom: 20px;
}

/* ===== VIDEO ===== */
.video-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ===== TARJETAS ===== */
.tarjetas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.tarjeta {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 20px;
    width: 230px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(198, 165, 100, 0.4);
}

/* ===== PROYECTOS ===== */
.proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.proyecto {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.4s ease;
}

.proyecto:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.proyecto a {
    color: var(--color-accent-2);
    font-weight: 600;
    text-decoration: none;
}

.proyecto a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(15, 13, 10, 0.9);
    color: #d8c48c;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        background: rgba(15, 13, 10, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links.show {
        max-height: 400px;
    }

    .language-toggle {
        position: static;
        margin-top: 10px;
    }
}

.contacto-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;                
    justify-content: center;     
    align-items: center;          
    gap: 30px;                    
    flex-wrap: wrap;              
}

.contacto-lista li {
    margin: 0; 
}

.icono-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.icono-link:hover {
    color: #d4af37; 
}

.icono {
    width: 50px;   
    height: 50px;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: brightness(0.95);
}

.icono-link:hover .icono {
    transform: scale(1.15);
    filter: brightness(1.2);
}
