:root {
    --primary-color: #1a5f7a;
    --secondary-color: #86c6da;
    --accent-color: #ff6b6b;
    --background-color: #f8fafb;
    --text-color: #2c3e50;
    --light-text: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    object-fit: cover;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover:not(.soon) {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.nav-menu a.soon {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.attention-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--light-text);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher button {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.language-switcher button:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.language-switcher button.active {
    background: var(--primary-color);
    color: var(--light-text);
}

.burger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(26, 95, 122, 0.1); /* rgba из --primary-color */
  box-shadow: var(--shadow-md);
  text-align: center;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 500;
}

footer p {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        justify-content: space-between;
        gap: 1rem;
        position: relative;
    }

    .burger-menu {
        display: block;
        order: 1;
        margin-right: 0.5rem;
        flex: 0 0 auto;
    }

    .logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-shrink: 0;
        white-space: nowrap;
        
    }

    .language-switcher {
        order: 3;
        margin-left: auto;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: flex;
        gap: 0.5rem;
    }

    .language-switcher button {
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
        background: none;
        color: #333;
    }

    .language-switcher button.active {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: 0.3s;
        z-index: 900;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0.5rem 0;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        padding: 0;
    }

    main {
        margin-top: 60px;
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 1rem 0;
        word-wrap: break-word;
        hyphens: auto;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .text-block {
        padding: 2rem;
    }

    .text-block h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .text-block p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .text-block li {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .attention-badge {
        font-size: 0.7rem;
        padding: 2px 6px;
        top: -8px;
        right: -8px;
    }

    footer {
    padding: 1.5rem;
    font-size: 0.9rem;
    margin-top: 2rem;
    }

}

@media (max-width: 480px) {
    .language-switcher {
        position: fixed;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.9);
        padding: 0.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
    }

    footer {
    padding: 1rem;
    font-size: 0.85rem;
    }


}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

section:hover {
    box-shadow: var(--shadow-lg);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/9;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.text-block {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    transition: var(--transition);
}

.text-block:hover {
    box-shadow: var(--shadow-lg);
}

.text-block ul {
    list-style: none;
    margin: 1.5rem 0;
}

.text-block li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.text-block li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Masonry Gallery */
.masonry-gallery {
    columns: 4 300px;
    column-gap: 1.5rem;
    margin: 2rem 0;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

