/* --- CONFIGURACIÓN BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background-color: #000; 
    color: #fff; 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

/* --- PORTADA (SPLASH) --- */
.splash {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('foto5.jpg');
    background-size: cover;
    background-position: center;
}

.splash-content {
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 70%);
    padding: 40px;
    z-index: 1;
}

.splash-content h1 {
    font-weight: 200;
    letter-spacing: 15px;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.splash-content p {
    font-weight: 400;
    letter-spacing: 10px;
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* --- HEADER --- */
header { position: fixed; top: 0; width: 100%; padding: 30px 5%; z-index: 2000; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { letter-spacing: 5px; font-size: 0.9rem; font-weight: 600; }
nav ul { display: flex; list-style: none; gap: 25px; align-items: center; }
nav ul li a { text-decoration: none; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.6; transition: 0.4s; }
.btn-contacto { background: #fff; color: #000 !important; padding: 8px 18px; opacity: 1 !important; font-weight: 600; border-radius: 2px; }

/* --- SECCIONES Y GALERÍA --- */
section { padding: 100px 2%; max-width: 1600px; margin: 0 auto; }
.titulo-seccion { font-weight: 200; letter-spacing: 10px; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 60px; opacity: 0.9; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.galeria { display: block; width: 100%; overflow: hidden; }
.galeria img { width: 100%; height: 600px; object-fit: cover; display: block; filter: grayscale(100%); transition: filter 0.6s ease, transform 0.6s ease; }
.galeria:hover img { filter: grayscale(0%); transform: scale(1.03); }

/* --- SECCIÓN SOBRE MÍ (ESTILO EDITORIAL) --- */
.sobre-mi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-mi-texto h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
}

.sobre-mi-texto p { 
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; 
    line-height: 2.2; 
    font-weight: 200; 
    opacity: 0.8;
}

.foto-perfil {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.8s ease;
}
.foto-perfil:hover { filter: grayscale(0%); transform: scale(1.01); }

/* --- FOOTER Y LIMPIEZA DE ENLACES --- */
footer { padding: 120px 5% 60px; text-align: center; }
footer a, footer a:visited { color: #fff !important; text-decoration: none; }
footer a:hover { opacity: 0.5; }

/* --- AJUSTE MÓVIL --- */
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .galeria img { height: 400px; filter: grayscale(0); }
    .sobre-mi-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .sobre-mi-texto { display: flex; flex-direction: column; align-items: center; }
}
