* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Навигация */
header {
    background-color: #111;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav li {
    margin: 0 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ccc;
}

/* Основной контент */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 2rem;
    min-height: 100vh;
    border-bottom: 1px solid #333;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Стили для описаний */
.description {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #111;
    border: 1px solid #333;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1rem;
}

/* Галерея */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-frame {
    background-color: #111;
    padding: 1rem;
    border: 1px solid #333;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-frame:hover {
    transform: scale(1.02);
}

.photo-frame img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Футер */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #111;
    color: #666;
    border-top: 1px solid #333;
}

/* Адаптивность */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
}