* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    display: flex;
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 20px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.content {
    margin-left: 250px; 
    padding: 60px 40px;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /
    gap: 20px;
}

.gallery-item {
    width: 100%;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 2; 
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.gallery-item img:hover {
    filter: brightness(1);
}

.item-info {
    margin-top: 12px;
}

.item-info h3 {
    font-size: 0.9rem;
    font-weight: 400;
}

.item-info p {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

.site-footer {
    margin-top: 100px;
    padding-bottom: 40px;
    text-align: right; 
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.6;
}

.copyright {
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { flex-direction: column; }
    .sidebar { position: relative; width: 100%; height: auto; }
    .content { margin-left: 0; }
    .gallery-grid { grid-template-columns: 1fr; }
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.error-content {
    max-width: 400px;
}

.error-code {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.error-message {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.back-home-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}

.back-home-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .error-container {
        height: 60vh; 
        padding-top: 0;
    }
}