/* --- 1. VARIABLES Y BASE --- */
:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --grey-light: #f8f8f8;
    --gold: #b2945e;
    --text-main: #333333;
    --text-muted: #777;
    --font-serif: 'Playfair Display', serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--white);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- 2. NAVEGACIÓN --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo, .logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }

/* --- 3. HERO SECTION (PORTADA) --- */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('MULTIMEDIA/foto28.jpeg') no-repeat;
    background-position: 50% 20%; 
    background-size: cover;
    background-attachment: scroll;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.subtitle {
    letter-spacing: 8px;
    color: var(--white);
    text-transform: uppercase;
}

/* --- 4. SECCIONES DE CONTENIDO --- */
.content-section { padding: 100px 10%; }
.light-bg { background-color: var(--grey-light); }

.section-title {
    font-family: var(--font-serif);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.bio-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: justify;
}

/* --- 5. REDES SOCIALES Y CONTACTO --- */
.tenor-socials { 
    text-align: center; 
    padding: 80px 0; 
}

.tenor-socials h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 50px; 
}

.social-icons-wrapper { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
}

.social-link {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: 0.4s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 1px;
    bottom: -5px; 
    left: 0;
    background-color: var(--gold);
    transition: 0.4s;
}

.social-link:hover { color: var(--gold); }
.social-link:hover::after { width: 100%; }

.contact-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.opciones-correo{
    align-items: center;
    margin-top: 15px;
}


.btn-gmail {
    text-decoration: none;
    color: #db4437; 
    border: 1px solid #db4437;
    padding: 8px 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.btn-gmail:hover {
    background-color: #db4437;
    color: white;
}

.main-footer {
    text-align: center;
    padding: 40px;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #999;
    border-top: 1px solid #eee;
    letter-spacing: 1px;
}

/* --- 6. MEDIA QUERIES (RESPONSIVE) --- */

/* AJUSTES PARA MÓVIL */
@media screen and (max-width: 768px) {
    .navbar { 
        flex-direction: column !important; 
        padding: 15px 10px !important; 
    }

    .nav-links { 
        display: flex !important;
        margin-top: 15px !important; 
        gap: 10px !important; 
        flex-wrap: wrap !important;       
        justify-content: center !important; 
        padding: 0 !important;
    }

    .nav-links a { font-size: 0.65rem !important; }

    .hero-section {
        background-position: 80% 15% !important; 
        background-attachment: scroll !important;
    }

    .hero-content { margin-top: 220px !important; }

    .hero-content h1 {
        font-size: 1.6rem !important;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

    .subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 3px !important;
    }

    .content-section { padding: 60px 5%; }
}

/* EFECTO FIJO PARA ORDENADOR */
@media screen and (min-width: 1024px) {
    .hero-section {
        background-attachment: fixed !important;
        background-position: center center !important;
    }
}