/* 1. RESET Y FUENTES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background-color: #fff;
}

/* 2. HEADER Y NAVBAR */
.navbar-container {
    padding: 20px 50px;
    background: white;
}

.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    list-style: none; /* Esto quita los puntos */
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: #b24d3d;
}

/* 3. HERO (TÍTULO GRANDE) */
.hero {
    text-align: center;
    padding: 100px 20px 50px 20px;
}

.hero h1 {
    font-size: clamp(60px, 10vw, 120px); /* Tamaño responsivo */
    font-weight: 900;
    letter-spacing: 15px;
    margin-bottom: -15px;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #b24d3d;
    font-size: 40px;
    position: relative;
    display: inline-block;
}

/* Línea roja decorativa a la izquierda del subtítulo */
.subtitle::before {
    content: "";
    position: absolute;
    left: -80px;
    top: 55%;
    width: 60px;
    height: 1px;
    background-color: #b24d3d;
}

/* 4. CONTENIDO (COPYWRITING) */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 18px;
}

.content-section p {
    margin-bottom: 25px;
}

.copy-red {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: #b24d3d;
}

/* 5. FOOTER */
footer {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-top: 100px;
    border-top: 1px solid #eee;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

footer h3, footer h4 {
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 2px;
}

footer p, footer a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.copyright {
    text-align: left;
    max-width: 1200px;
    margin: 40px auto 0;
    font-size: 12px;
    color: #999;
}

/* --- VARIABLES DE COLOR --- */
:root {
    --rojo-oxido: #b24d3d;
    --dark-bg: #111111;
    --teal-accent: #00c2a8;
    --gray-text: #666;
}

.nav-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-logo {
    height: 60px; /* Ajusta esta altura según prefieras el tamaño del logo */
    width: auto;  /* Mantiene la proporción */
    transition: transform 0.3s ease;
}

.img-logo:hover {
    transform: scale(1.05); /* Pequeño efecto al pasar el mouse */
}

/* Ajuste para el header si el logo es muy alto */
.navbar-container {
    padding: 10px 40px; /* Reduje un poco el padding para compensar el tamaño del logo */
}


/* --- ESTILOS GENERALES --- */
.container-wide { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.container-mid { max-width: 900px; margin: 0 auto; padding: 80px 20px; }
.title-serif { font-family: 'Playfair Display', serif; font-size: 42px; color: #1a1a1a; }
.title-serif-white { font-family: 'Playfair Display', serif; font-size: 42px; color: #fff; }
.title-serif-italic { font-family: 'Playfair Display', serif; font-style: italic; font-size: 32px; }

/* --- CREADORES (Imagen 1) --- */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.view-all { text-decoration: none; color: #1a1a1a; font-weight: 700; font-size: 12px; letter-spacing: 1px; }

.creadores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card-artista { border: 1px solid #f0f0f0; border-radius: 20px; padding: 30px; transition: transform 0.3s; }
.card-artista:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.card-header { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.artista-info h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0; }
.pais { font-size: 10px; color: #999; letter-spacing: 2px; }

.descripcion { color: #555; font-size: 15px; margin-bottom: 20px; }
.tags span { background: #f5f5f5; padding: 5px 15px; border-radius: 15px; font-size: 12px; margin-right: 8px; color: #666; }

.card-footer { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.status { color: var(--rojo-oxido); font-weight: 700; font-size: 11px; letter-spacing: 1px; }
.perfil-link { text-decoration: none; color: #1a1a1a; font-weight: 700; font-size: 12px; }

/* --- GALERÍA DARK (Imagen 2) --- */
.galeria-dark { background: var(--dark-bg); color: #fff; text-align: center; }
.kicker { color: var(--rojo-oxido); font-size: 12px; letter-spacing: 3px; font-weight: 700; display: block; margin-bottom: 15px; }
.galeria-intro p { opacity: 0.7; max-width: 600px; margin: 20px auto 40px; }
.galeria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.obra img { width: 100%; border-radius: 10px; }

/* --- VALORES (Imagen 3) --- */
.valores-dark { background: var(--dark-bg); color: #fff; border-top: 1px solid #222; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.valor-card { padding: 30px; border: 1px solid #222; border-radius: 15px; }
.icon-box {
    color: #b24d3d;
    font-size: 24px;
    margin-bottom: 20px;
}
.valor-card h3 { font-size: 16px; letter-spacing: 1px; margin-bottom: 15px; }
.valor-card p { font-size: 14px; opacity: 0.6; line-height: 1.8; }

/* --- CTA Y BADGE (Imagen 4 y 5) --- */
.postulacion { text-align: center; padding: 100px 20px; background: #fff; }
.badge-independiente { 
    display: inline-block; padding: 10px 25px; border: 1px solid #eee; 
    font-size: 11px; letter-spacing: 2px; color: #666; margin-bottom: 50px; 
}
.badge-independiente i { color: var(--rojo-oxido); margin-right: 10px; }

.cta-box { max-width: 700px; margin: 0 auto; position: relative; }
.ribbon { color: var(--rojo-oxido); font-size: 40px; margin-bottom: 20px; }
.cta-box p { margin: 20px 0 40px; color: #666; font-size: 18px; }

.btn-outline { 
    display: inline-block; padding: 18px 40px; border: 2px solid #1a1a1a; 
    text-decoration: none; color: #1a1a1a; font-weight: 700; font-size: 13px; 
    letter-spacing: 2px; transition: all 0.3s;
}
.btn-outline:hover { background: #1a1a1a; color: #fff; }

/* Responsivo */
@media (max-width: 768px) {
    .creadores-grid, .galeria-grid, .grid-3 { grid-template-columns: 1fr; }
}

/* --- DIRECTORIO HEADER --- */
.directorio-page { padding: 60px 0; }
.kicker-line { 
    color: var(--rojo-oxido); font-size: 11px; letter-spacing: 3px; 
    font-weight: 700; position: relative; padding-left: 30px;
}
.kicker-line::before { 
    content: ""; position: absolute; left: 0; top: 50%; 
    width: 20px; height: 1px; background: var(--rojo-oxido); 
}
.title-serif-lg { font-family: 'Playfair Display', serif; font-size: 64px; margin: 20px 0; font-weight: 700; }
.directorio-intro { max-width: 750px; color: #777; font-size: 18px; line-height: 1.6; margin-bottom: 50px; }

/* --- BOTONES DE FILTRO --- */
.filtros-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.filter-btn {
    background: #fff; border: 1px solid #e0e0e0; padding: 12px 20px;
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--rojo-oxido); color: var(--rojo-oxido); }
.filter-btn.active { background: var(--rojo-oxido); border-color: var(--rojo-oxido); color: #fff; }

/* --- TARJETAS DIRECTORIO --- */
.artistas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card-directorio { border: 1px solid #eee; background: #fff; transition: box-shadow 0.3s; }
.card-directorio:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.05); }

.card-body { padding: 40px; }
.profile-header { display: flex; gap: 25px; margin-bottom: 25px; }

.img-container { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.img-container img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.badge-pais {
    position: absolute; bottom: -5px; right: -10px; background: #fff;
    padding: 4px 10px; border: 1px solid #eee; border-radius: 5px;
    font-size: 10px; font-weight: 700; color: #666;
}

.profile-info h2 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 5px; }
.cat-italic { font-family: 'Playfair Display', serif; font-style: italic; color: var(--rojo-oxido); font-size: 16px; display: block; margin-bottom: 12px; }

.mini-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-tags span { border: 1px solid #eee; padding: 3px 8px; font-size: 9px; color: #999; font-weight: 700; letter-spacing: 1px; }

.card-desc { font-size: 16px; color: #555; line-height: 1.6; }

/* FOOTER DE LA TARJETA */
.card-footer-directorio {
    border-top: 1px solid #f9f9f9; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.social-links a { text-decoration: none; color: #bbb; font-weight: 700; font-size: 11px; margin-right: 15px; }
.link-portafolio { text-decoration: none; color: #1a1a1a; font-weight: 700; font-size: 12px; letter-spacing: 1px; }

@media (max-width: 900px) { .artistas-grid { grid-template-columns: 1fr; } }

/* --- HEADER MEJORADO --- */
.navbar-container {
    background: #fff;
    padding: 15px 50px;
    border-bottom: 1px solid #f0f0f0;
}
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.nav-search {
    display: flex;
    align-items: center;
}
.search-btn {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.img-logo { height: 50px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a.active { color: #000; border-bottom: 2px solid #b24d3d; padding-bottom: 5px; }

/* --- FOOTER DARK --- */
.main-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 80px 50px 40px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

/* Títulos de columna */
.main-footer h4 {
    font-size: 11px;
    letter-spacing: 3px;
    color: #555;
    margin-bottom: 25px;
}

/* Columna 1 */
.footer-logo-title { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo-title i { color: #f39c12; font-size: 20px; }
.footer-logo-title h3 { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: 2px; }
.footer-brand p { color: #666; font-size: 14px; line-height: 1.6; }

/* Columna 2: Links */
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { text-decoration: none; color: #aaa; font-size: 14px; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }

/* Columna 3: Nodos */
.nodos-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.nodo {
    border: 1px solid #333;
    padding: 6px 12px;
    font-size: 12px;
    color: #ccc;
    background: #111;
    border-radius: 4px;
}

/* Columna 4: Contacto */
.footer-email { color: #888; text-decoration: none; font-size: 14px; display: block; margin-bottom: 20px; }
.footer-social { display: flex; gap: 20px; font-size: 18px; }
.footer-social a { color: #555; transition: color 0.3s; }
.footer-social a:hover { color: #fff; }

/* Barra inferior */
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #444;
}
.motto { font-family: 'Courier New', Courier, monospace; letter-spacing: 1px; }

/* Botón Volver Arriba */
.scroll-top {
    position: absolute;
    bottom: 30px;
    right: 50px;
    background: #b24d3d;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.scroll-top:hover { transform: translateY(-5px); }

/* Responsive */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* --- PAGINA PERFIL --- */
.perfil-artista-page { background: #fff; padding: 40px 0; }

.btn-volver {
    display: inline-block; padding: 15px 25px; border: 1px solid #ddd;
    text-decoration: none; color: #555; font-size: 12px; font-weight: 700;
    margin-bottom: 40px;
}

.perfil-header { text-align: center; margin-bottom: 40px; }
.perfil-foto-wrapper img {
    width: 350px; height: 350px; border-radius: 50%;
    object-fit: cover; border: 1px solid #eee; padding: 10px;
}

.badge-pais-box {
    display: inline-block; border: 1px solid #eee; padding: 8px 20px;
    margin: 20px 0; font-size: 11px; font-weight: 700; color: #666;
}

.kicker-red { color: var(--rojo-oxido); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.nombre-artista { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 700; font-style: italic; margin: 10px 0; }

/* INTRO */
.perfil-intro { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.cita-autor { font-family: 'Playfair Display', serif; font-style: italic; font-size: 26px; line-height: 1.4; color: #444; margin-bottom: 30px; }

.tags-perfil { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.tags-perfil .tag { border: 1px solid #eee; padding: 10px 20px; font-size: 13px; color: var(--rojo-oxido); font-weight: 700; }

.redes-perfil { display: flex; justify-content: center; gap: 20px; }
.btn-social {
    border: 1px solid #ddd; padding: 15px 30px; text-decoration: none;
    color: #000; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 10px;
}

/* TABS */
.tabs-nav { display: flex; justify-content: center; border-bottom: 1px solid #eee; margin-bottom: 40px; }
.tab-btn {
    background: none; border: none; padding: 25px 40px; cursor: pointer;
    font-size: 12px; font-weight: 700; color: #888; display: flex; align-items: center; gap: 10px;
}
.tab-btn.active { color: var(--rojo-oxido); border: 1px solid #eee; border-bottom: 4px solid var(--rojo-oxido); border-radius: 5px 5px 0 0; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

/* FICHA OBRA */
.ficha-obra { border: 1px solid #eee; padding: 40px; margin-bottom: 40px; }
.obra-img-wrapper { position: relative; margin-bottom: 40px; }
.obra-img-wrapper img { width: 100%; }
.obra-counter { position: absolute; bottom: 20px; right: 20px; background: #fff; padding: 10px 20px; border: 1px solid #000; font-size: 11px; }

.obra-info .kicker-small { color: var(--rojo-oxido); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.obra-info h2 { font-family: 'Playfair Display', serif; font-size: 38px; margin: 10px 0; font-style: italic; }
.obra-info .año { font-size: 12px; font-weight: 700; color: #999; letter-spacing: 1px; }

.tecnica-box { background: #f9f9f9; padding: 25px; margin: 25px 0; border: 1px solid #eee; }
.tecnica-box .label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #888; display: block; margin-bottom: 10px; }
.tecnica-box p { font-size: 18px; font-weight: 600; line-height: 1.4; }

.obra-desc { font-size: 17px; color: #555; line-height: 1.6; margin-bottom: 30px; }
.link-detalle { color: var(--rojo-oxido); text-decoration: underline; font-weight: 700; font-size: 13px; }

.galeria-completa h3 { font-size: 11px; letter-spacing: 2px; color: #999; text-align: center; margin: 60px 0 30px; }
.galeria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.galeria-grid img { width: 100%; border: 1px solid #eee; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.nav-links a.active {
    color: #000; /* O el color de tu marca */
    border-bottom: 2px solid #b24d3d; /* Tu rojo óxido */
    padding-bottom: 5px;
}

/* --- ESTILOS BASE NAV --- */
.navbar-container {
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left, .nav-right { width: 20%; }
.nav-right { display: flex; justify-content: flex-end; }
.nav-logo { width: 60%; text-align: center; }

.img-logo { height: 65px; width: auto; } /* Ajusta según tu imagen */

/* Botón Hamburguesa e Iconos */
.mobile-menu-btn, .search-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
}

/* Ocultar elementos según pantalla */
.mobile-menu-btn { display: none; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* Oculta links de escritorio */
    .mobile-menu-btn { display: block; } /* Muestra hamburguesa */
    
    .nav-left, .nav-right { width: 50px; } /* Ajuste para centrar mejor logo */
    .img-logo { height: 55px; } /* Logo un poco más pequeño en móvil */
}

/* --- OVERLAY MENÚ MÓVIL --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Empieza fuera de pantalla */
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-overlay.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li { margin: 25px 0; }
.mobile-nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
}