/* ---- ОБЩИЕ СТИЛИ ---- */
:root {
    --bg-color: #0f0f0f; 
    --text-color: #d1d1d1; 
    --accent-color: #d4af37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding-top: var(--header-height);
    line-height: 1.8; 
    font-weight: 300;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- ШАПКА И НАВИГАЦИЯ (ДЛЯ КОМПЬЮТЕРОВ) ---- */
.header {
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    /* border-bottom: 1px solid #222; */ /* <-- УДАЛЕНА ЭТА СТРОКА */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap; 
}

.navigation {
    display: flex;
    align-items: center; 
}

.navigation a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 5px;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.4s;
    min-width: 120px;
    text-align: center;
    padding: 5px 10px;
}

.navigation a:hover {
    color: #fff;
}

.navigation a.active {
    color: var(--accent-color);
    font-weight: 700; 
}

/* ---- ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ (ДЛЯ КОМПЬЮТЕРОВ) ---- */
.lang-switcher {
    display: flex; 
    align-items: center;
    margin-left: 20px;
    padding-left: 15px; 
}

.lang-switcher a {
    min-width: auto;
    margin: 0 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.lang-switcher a.current-lang {
    color: var(--accent-color);
    cursor: default;
}

/* ---- ОСНОВНОЙ КОНТЕНТ ---- */
.hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('5.jpg') no-repeat center center/cover;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.content-page { padding: 5rem 0; }
.content-page h1 { font-family: var(--font-heading); font-size: 3.8rem; text-align: center; margin-bottom: 3rem; color: #fff; }
.subtitle { text-align: center; font-size: 1.2rem; color: #888; margin-top: -2.5rem; margin-bottom: 5rem; }
.bio-content { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: flex-start; }
.bio-content img { width: 100%; max-width: 350px; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.bio-content h3 { font-family: var(--font-heading); color: var(--accent-color); font-size: 2rem; margin-top: 0; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--accent-color); display: inline-block; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item { overflow: hidden; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(80%); transition: all 0.5s ease; }
.gallery-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.footer { background-color: #0A0A0A; border-top: 1px solid #222; padding: 4rem 0; text-align: center; }
.footer h3 { font-family: var(--font-heading); color: #fff; font-size: 1.8rem; margin-top: 0; }
.contact-info a { color: var(--accent-color); text-decoration: none; transition: color 0.4s; }
.contact-info a:hover { color: #fff; }
.copyright { margin-top: 3rem; color: #777; font-size: 0.9rem; }


/* ---- АДАПТИВНОСТЬ (ДЛЯ МОБИЛЬНЫХ) ---- */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .header {
        position: static;
        height: auto;
        padding: 20px 0;
    }

    .header .container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navigation a {
        min-width: 0;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        margin: 0;
    }

    .lang-switcher {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        /* border-top: 1px solid #444; */ /* <-- УДАЛЕНА ЭТА СТРОКА */
        margin-left: 0;
        padding-left: 0;
    }
    
    .lang-switcher a {
        padding: 0 10px;
    }

    .hero { height: auto; padding: 80px 20px; }
    .hero h1 { font-size: 2.8rem; letter-spacing: 1px; }
    .hero p { font-size: 1.2rem; }
    .content-page { padding: 3rem 0; }
    .content-page h1 { font-size: 2.5rem; }
    .bio-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .bio-content h3 { display: block; }
    .bio-content img { margin: 0 auto; }
}