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

:root {
    --color-bg: #fafafa;
    --color-text: #1a1a1a;
    --color-border: #e8e8e8;
    --color-accent: #2a2a2a;
    --color-light: #f0f0f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    background-color: rgba(250, 250, 250, 0.95);
}

header h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.scroll-indicator {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item-wrapper {
    position: relative;
    margin: 6rem 0;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.gallery-item-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-light);
    aspect-ratio: 16 / 9;
    will-change: transform;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.gallery-image:hover img {
    filter: brightness(1.05);
}

.gallery-content {
    flex: 1;
    padding: 2rem;
}

.content-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-light);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.content-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.content-divider {
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 1.5rem;
}

.content-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    max-width: 400px;
}

.content-meta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer {
    background: var(--color-accent);
    color: var(--color-light);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    .gallery-item-wrapper {
        flex-direction: column !important;
        gap: 2rem;
    }

    .gallery-image {
        max-width: 100%;
    }

    .gallery-content {
        padding: 1.5rem;
    }

    .content-number {
        font-size: 2.5rem;
    }

    .content-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .gallery-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .gallery-item-wrapper {
        margin: 3rem 0;
    }

    .gallery-image {
        aspect-ratio: 16 / 10;
    }

    .gallery-content {
        padding: 1rem;
    }

    .content-number {
        font-size: 2rem;
    }

    .content-title {
        font-size: 1.3rem;
    }

    .content-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
    }

    header h1 {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 1.5rem 1rem;
    }

    .gallery-item-wrapper {
        margin: 2rem 0;
    }

    .gallery-image {
        aspect-ratio: 4 / 3;
    }

    .gallery-content {
        padding: 0.8rem;
    }

    .content-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .content-title {
        font-size: 1.1rem;
    }

    .content-divider {
        width: 20px;
    }

    .content-description {
        font-size: 0.85rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}