/* =========================================================
   АЛЕКСЕЙ КОНЮХОВ — РЕЗИНОВЫЙ CSS
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    background: #0b0e1a;
    color: #f0f4ff;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ================== КОНТЕЙНЕР ================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================== ШАПКА ================== */
.header {
    padding: 1em 0;
    background: #0b0e1a;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8em;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1em, 2vw, 1.4em);
    font-weight: 700;
    color: #c9a959;
    text-decoration: none;
    white-space: nowrap;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2em;
    justify-content: flex-end;
}

.menu a {
    color: #f0f4ff;
    text-decoration: none;
    font-size: clamp(0.85em, 1.2vw, 1em);
    font-weight: 300;
    transition: color 0.3s;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.menu a:hover,
.menu a.active { color: #c9a959; }

.menu a.active { font-weight: 600; }

/* ================== ЯЗЫКИ ================== */
.lang-dropdown { position: relative; display: inline-block; }

.lang-current {
    background: transparent;
    border: 1px solid #5e7499;
    color: #a0b8d0;
    font-size: clamp(0.8em, 1.1vw, 0.95em);
    padding: 0.5em 1em;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.lang-current:hover { border-color: #c9a959; color: #c9a959; }

.lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #0f1a36;
    border: 1px solid #1a2a4a;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.open .lang-list { display: block; }

.lang-item {
    display: block;
    padding: 0.7em 1.1em;
    color: #f0f4ff;
    text-decoration: none;
    font-size: clamp(0.8em, 1.1vw, 0.95em);
    transition: background 0.2s;
    white-space: nowrap;
}

.lang-item:hover { background: #1a2a4a; color: #c9a959; }

.lang-item.active {
    color: #c9a959;
    font-weight: 600;
    background: rgba(201, 169, 89, 0.08);
}

/* ================== HERO ================== */
.hero { padding: 1.5em 0 2em; }

.hero-container {
    display: flex;
    align-items: flex-start;
    gap: 5%;
    width: 100%;
    padding: 0 5%;
}

.hero-content { flex: 1 1 55%; min-width: 0; }

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: 700;
    color: #c9a959;
    margin-bottom: 0.1em;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1em, 1.6vw, 1.3em);
    font-weight: 300;
    color: #a0b8d0;
    margin-bottom: 0.8em;
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1em, 1.4vw, 1.15em);
    font-style: italic;
    color: #c9a959;
    border-left: 3px solid #c9a959;
    padding-left: 1em;
    margin-bottom: 1.5em;
    max-width: 90%;
}

.hero-quote cite {
    display: block;
    font-style: normal;
    font-size: 0.75em;
    color: #a0b8d0;
    margin-top: 0.3em;
}

.hero-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ================== КНОПКИ ================== */
.btn {
    display: inline-block;
    padding: 0.75em 1.8em;
    background: transparent;
    border: 2px solid #c9a959;
    color: #c9a959;
    font-size: clamp(0.8em, 1.1vw, 0.95em);
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover { background: #c9a959; color: #0b0e1a; }

/* ================== СЕКЦИИ ================== */
.section {
    padding: 2.5em 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5em, 3vw, 2.2em);
    color: #c9a959;
    margin-bottom: 0.7em;
    letter-spacing: 1px;
}

.about-text {
    max-width: 90%;
    font-size: clamp(1em, 1.3vw, 1.1em);
    line-height: 1.8;
    color: #d0d8e8;
}

.about-text p { margin-bottom: 1em; }

/* ================== ДОСТИЖЕНИЯ ================== */
.achievements-list { list-style: none; padding-left: 0; }

.achievements-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.6em;
    font-size: clamp(0.95em, 1.2vw, 1.05em);
    color: #d0d8e8;
}

.achievements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #c9a959;
    font-size: 1.2em;
    line-height: 1;
}

/* ================== РЕПЕРТУАР / ГЕОГРАФИЯ ================== */
.repertoire-details { margin-bottom: 1em; }

.repertoire-details summary {
    cursor: pointer;
    font-size: clamp(1em, 1.5vw, 1.15em);
    color: #c9a959;
    font-weight: 600;
    padding: 0.5em 0;
    list-style: none;
}

.repertoire-details summary::-webkit-details-marker { display: none; }

.repertoire-details summary::before {
    content: "▸ ";
    transition: transform 0.3s;
}

.repertoire-details[open] summary::before { content: "▾ "; }

.repertoire-details ul {
    list-style: none;
    padding-left: 1em;
    margin-top: 0.5em;
}

.repertoire-details ul li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.4em;
    font-size: clamp(0.9em, 1.15vw, 1em);
    color: #d0d8e8;
}

.repertoire-details ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #5e7499;
}

/* ================== АФИША ================== */
.poster-item {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    max-width: 500px;
    margin: 0 auto;
}

.poster-card {
    padding: 1.5em;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.poster-card .poster-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 1em;
}

.poster-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1em, 1.8vw, 1.4em);
    color: #c9a959;
    margin-bottom: 0.4em;
    text-align: center;
}

.poster-card p {
    font-size: clamp(0.9em, 1.2vw, 1em);
    color: #d0d8e8;
    margin-bottom: 0.3em;
    text-align: center;
}

/* ================== ВИДЕО ================== */
.video-section {
    padding: 2.5em 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
}

.video-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ================== КОНТАКТЫ ================== */
.contacts-wrapper {
    display: flex;
    gap: 3em;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contacts-info {
    font-size: clamp(0.95em, 1.2vw, 1.05em);
    line-height: 2;
    color: #d0d8e8;
}

.contacts-info a { color: #c9a959; text-decoration: none; }
.contacts-info a:hover { text-decoration: underline; }

.contact-form {
    flex: 1 1 45%;
    min-width: 280px;
    background: rgba(255,255,255,0.03);
    padding: 1.5em;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1em, 1.4vw, 1.2em);
    color: #c9a959;
    margin-bottom: 0.8em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7em 1em;
    margin-bottom: 0.7em;
    background: #1a1f2e;
    border: 1px solid #2a3040;
    border-radius: 10px;
    color: #f0f4ff;
    font-size: clamp(0.85em, 1.1vw, 0.95em);
    font-family: 'Inter', sans-serif;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c9a959;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    background: #c9a959;
    color: #0b0e1a;
    border: none;
    padding: 0.8em;
    font-weight: 600;
}

.contact-form .btn:hover { background: #d4b86a; }

/* ================== ПОДВАЛ ================== */
.footer {
    padding: 1em 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    margin-bottom: 0.3em;
}

.social-links a {
    color: #a0b8d0;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s;
}

.social-links a:hover { color: #c9a959; }

.footer-contacts {
    font-size: 0.85em;
    color: #a0b8d0;
    margin-bottom: 0.2em;
}

.footer-contacts a { color: #a0b8d0; text-decoration: none; }
.footer-contacts a:hover { color: #c9a959; }

.footer-copy { font-size: 0.75em; color: #5e7499; }

/* ================== КНОПКА НАВЕРХ ================== */
.back-to-top {
    position: fixed;
    bottom: 4%;
    right: 3%;
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    background: #c9a959;
    color: #0b0e1a;
    border: none;
    border-radius: 50%;
    font-size: clamp(18px, 1.8vw, 24px);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201,169,89,0.3);
    transition: all 0.3s;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.back-to-top:hover { background: #d4b86a; transform: scale(1.05); }

/* ================== КНОПКА ПЕРЕКЛЮЧЕНИЯ САЙТОВ ================== */
.site-switch {
    position: fixed;
    top: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 14, 26, 0.85);
    border: 2px solid #c9a959;
    border-radius: 12px;
    color: #c9a959;
    font-size: 20px;
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s;
}

.site-switch:hover { background: #c9a959; color: #0b0e1a; }

/* ================== МОБИЛЬНАЯ ================== */
@media (max-width: 768px) {
    .nav { flex-direction: column; align-items: center; }
    .menu { justify-content: center; gap: 0.8em; }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5em;
        padding: 0 4%;
    }

    .hero-content { flex: 1 1 100%; }
    .hero-image { flex: 1 1 100%; width: 100%; }

    .hero-image img { max-width: 70%; margin: 0 auto; }

    .hero-quote {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 1.2em;
        max-width: 100%;
    }

    .about-text { max-width: 100%; }

    .poster-item { padding: 1.2em; }

    .contacts-wrapper { flex-direction: column; gap: 1.5em; }
    .contact-form { min-width: 100%; }

    /* Кнопки в разных углах */
    .back-to-top { bottom: 20px; right: 20px; }
    .site-switch { top: auto; bottom: 80px; right: 20px; }
}

@media (min-width: 1400px) {
    .container { max-width: 1300px; }
}