/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #561d25;
    background-color: #d4e79e;
}

/* Cabecera compacta */
header {
    background-color: #264653;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-title a {
    color: #d4e79e;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Menú en una línea compacto */
.main-nav {
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
}

.single-line-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.single-line-menu li {
    flex: 0 0 auto;
    white-space: nowrap;
}

.single-line-menu a {
    color: #d4e79e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    display: block;
    transition: background-color 0.3s;
}

.single-line-menu a:hover,
.single-line-menu a.active {
    background-color: #561d25;
    border-radius: 4px;
}

/* Contenido principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-section {
    padding: 2rem 0;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    text-align: center;
    color: #561d25;
    margin-bottom: 2rem;
}

/* Etapas artísticas */
.art-stage {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.art-stage h3 {
    font-size: 1.5rem;
    color: #264653;
    margin-bottom: 1rem;
    text-align: center;
}

.stage-description {
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.artwork {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.artwork:hover {
    transform: translateY(-5px);
}

.artwork img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.artwork-info {
    padding: 1rem;
}

.artwork-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #561d25;
}

.artwork-info p {
    font-size: 0.9rem;
    color: #264653;
}

/* Footer */
footer {
    background-color: #264653;
    color: #d4e79e;
    padding: 1rem 0;
    text-align: center;
}

/* Responsive */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #d4e79e;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: -2.2rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .single-line-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #264653;
        padding: 1rem;
    }
    
    .single-line-menu.active {
        display: flex;
    }
    
    .single-line-menu a {
        padding: 0.8rem;
        text-align: center;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}