/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    display: flex; /* Layout de duas colunas */
}

/* --- MENU LATERAL FIXO --- */
aside {
    width: 300px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #222;
    background: #0a0a0a;
    z-index: 10;
}

.logo h1 {
    font-size: 1.5rem;
    letter-spacing: 4px;
    font-weight: 300;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin-top: 50px;
}

nav ul li {
    margin: 15px 0;
}

nav ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #fff;
    padding-left: 10px; /* Efeito de deslize no hover */
}

/* --- CONTEÚDO PRINCIPAL (GALERIA) --- */
main {
    margin-left: 300px; /* Compensa a largura do menu fixo */
    width: calc(100% - 300px);
    padding: 20px;
}

.masonry-grid {
    column-count: 2; /* Cria colunas automáticas estilo Pinterest */
    column-gap: 20px;
}

.photo-card {
    position: relative;
    margin-bottom: 20px;
    break-inside: avoid; /* Evita que a imagem seja cortada entre colunas */
    overflow: hidden;
    border-radius: 8px;
}

.photo-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

/* Overlay de Legenda */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 25px 20px;
    opacity: 0;
    transition: 0.4s ease;
}

.overlay h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Estados de Hover */
.photo-card:hover .overlay {
    opacity: 1;
}

.photo-card:hover img {
    transform: scale(1.05);
}

.footer-info {
    font-size: 0.7rem;
    color: #444;
}

/* --- RESPONSIVIDADE (TABLETS E CELULARES) --- */
@media (max-width: 900px) {
    body { 
        flex-direction: column; 
    }
    
    aside {
        width: 100%;
        height: auto;
        position: relative;
        padding: 40px 20px;
        border-right: none;
        border-bottom: 1px solid #222;
    }
    
    main {
        margin-