/* CRISTÓBAL PEÑA Y LILLO - CÓDIGO FINAL INTEGRADO
   Layout: Hero Responsive + Navbar Glass + Marcos Dorados + Imagen Lateral
*/

:root {
    --gold: #a68a56;
    --gold-hover: #c5a47e;
    --bg-dark: #0a0a0a;
    --text-light: #e0e0e0;
    --gray: #888;
}

/* RESET Y BASES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

/* NAVEGACIÓN (GLASSMORPHISM) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(166, 138, 86, 0.1); 
    transition: background-color 0.3s ease;
}

.logo { font-size: 1.2rem; color: var(--gold); font-weight: bold; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.lang-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 2px 10px;
    cursor: pointer;
    font-size: 0.75rem;
}

/* SECCIÓN HERO - RESPONSIVE */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--gold);
    line-height: 1.1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

/* SECCIÓN SOBRE EL ARTISTA */
.about {
    padding: 100px 10%;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.about-text { flex: 1.2; }
.about-img { flex: 1; }
.about-img img { 
    width: 100%; 
    filter: grayscale(100%); 
    transition: filter 0.6s ease;
}

.overline { 
    color: var(--gold); 
    font-size: 0.7rem; 
    letter-spacing: 3px; 
    margin-bottom: 20px; 
    display: block; 
    text-transform: uppercase;
}

/* SECCIÓN OBRAS (ESTILO DE REFERENCIA) */
.works { 
    padding: 60px 5%; 
    background-color: var(--bg-dark); 
}

.works-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.works-info { flex: 1.6; }
.works-visual { flex: 1; }

.img-side {
    width: 100%;
    height: auto;
    border: 1px solid rgba(166, 138, 86, 0.2);
}

/* MARCOS DORADOS DE TAMAÑOS */
.grid-sizes {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 60px;
}

.size-box {
    border: 1px solid var(--gold);
    position: relative;
    display: flex;
    justify-content: center;
}

.size-box span {
    position: absolute;
    bottom: -25px;
    font-size: 0.6rem;
    color: var(--gray);
    white-space: nowrap;
}

/* Escala Proporcional de Marcos */
.size-lg { width: 130px; height: 180px; }
.size-md { width: 110px; height: 140px; }
.size-sm { width: 85px; height: 85px; }
.size-xs { width: 70px; height: 95px; }
.size-xxs { width: 50px; height: 65px; }

/* FILA DE TÍTULO Y BOTÓN COTIZAR */
.title-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.work-subtitle {
    font-size: 3.5rem;
    color: var(--text-light);
    margin: 0;
    text-transform: uppercase;
}

.btn-cotizar {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 25px;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-cotizar:hover {
    background: var(--gold);
    color: black;
}

/* DESCRIPCIÓN Y EXPANSIÓN */
.bio-container { max-width: 800px; }
.bio-container p { color: var(--text-light); opacity: 0.8; margin-bottom: 20px; }

.more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
}
.more-content.expanded { max-height: 2000px; }

.btn-expand {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 1.2rem;
    float: right;
}

/* FOOTER */
footer { padding: 60px 10%; border-top: 1px solid #1a1a1a; }
.footer-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--gray);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .works-layout { flex-direction: column; }
    .works-visual { width: 100%; order: -1; margin-bottom: 40px; }
    .grid-sizes { flex-wrap: wrap; gap: 45px; justify-content: center; }
    .work-subtitle { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .about { flex-direction: column; text-align: center; }
}