/* --- CONFIGURACIÓN GENERAL --- */
body {
    font-family: 'Avenir Next', 'Avenir', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #fff;
    color: #333;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* --- HEADER Y LOGO --- */
.main-header {
    width: 100%;
    padding: 20px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.logo {
    max-width: 300px;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo:hover {
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .logo {
        max-width: 200px;
    }
}

/* --- NAVEGACIÓN --- */
.navbar {
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #751523;
}

/* --- CONTENIDO PRINCIPAL --- */
.content {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70vh;
}

/* Sección de la obra destacada (Index) */
.hero-work {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.main-piece {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

.main-piece img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/***********************************/
/*              FOOTER             */
/***********************************/
.social-footer {
    text-align: center;
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.social-links a {
    font-size: 24px;
    margin: 0 15px;
    color: #333;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #751523;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 0.75rem;
    background: #fff;
}

/***********************************/
/*             GALERÍA             */
/***********************************/
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    padding: 40px 20px;
}

.art-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.art-card:hover img {
    transform: scale(1.03);
}

.info {
    padding: 15px 5px;
    text-align: center;
}

.info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #751523;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info .dimensions {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    font-style: italic;
}

/* --- MODAL PANTALLA COMPLETA --- */
.modal {
    display: none; /* Se activa con JS */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/***********************************/
/*             BIOGRAFÍA           */
/***********************************/
.bio-container {
    max-width: 800px;
    padding: 60px 20px;
    text-align: center;
    line-height: 1.8;
}

.bio-text {
    text-align: justify;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}

.bio-text h2 {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.bio-images-row {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
}

.bio-images-row img {
    width: calc(50% - 10px);
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

.highlight-text {
    text-align: justify;
    color: #751523; 
    font-weight: bold;
    font-size: 1.15rem;
    margin: 25px auto;
    max-width: 700px;
    line-height: 1.5;
}

.press-title {
    color: #751523 !important;
    border-bottom-color: #751523 !important;
}

.curriculum h2 {
    margin-top: 50px;
    font-size: 1.3rem;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding-bottom: 5px;
}

.curriculum ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.curriculum li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.curriculum li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #751523;
    font-weight: bold;
}

.full-width-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 50px 0;
    width: 100%;
}

.bio-img-stack img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 2px;
}

@media (max-width: 600px) {
    .bio-images-row {
        flex-direction: column;
        align-items: center;
    }
    .bio-images-row img {
        width: 100%;
    }
}

.cv-download-container {
    text-align: center;
    margin: 60px 0;
}

.btn-download {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download i {
    margin-right: 8px;
}

.btn-download:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-details {
    margin-top: 60px;
    padding: 30px;
    border-top: 1px solid #eee;
    line-height: 1.8;
    color: #333;
}

.contact-details h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details p {
    margin: 5px 0;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #888;
    text-decoration: underline;
}