/*
Theme Name: Florence Paris 2026
Author: psy
Description: Premium Dark Event Theme (Mobile Fix)
Version: 6.0
*/

:root {
    --gold: #d4af37;
    --dark-bg: #0b0b0b;
    --card-bg: #141414;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body { margin: 0; padding: 0; font-family: var(--font-body); background-color: var(--dark-bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; margin: 0; }

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Параллакс */
    padding-bottom: 60px; /* Место для наезда инфо-бара */
}
.hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), var(--dark-bg)); }

.hero-content { position: relative; z-index: 10; padding: 20px; max-width: 90%; animation: fadeIn 2s ease; }
.hero-uptitle { font-size: 1.2rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 15px; }
.hero-title { font-size: 5rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.hero-subtitle { font-size: 1.5rem; color: #ccc; font-weight: 300; }

.btn-main { display: inline-block; padding: 15px 40px; margin-top: 30px; background-color: transparent; color: var(--gold); border: 1px solid var(--gold); text-transform: uppercase; text-decoration: none; font-weight: 600; letter-spacing: 2px; transition: 0.3s; cursor: pointer; }
.btn-main:hover { background-color: var(--gold); color: #000; }

/* --- INFO BAR --- */
.info-bar {
    position: relative;
    z-index: 20;
    background-color: var(--card-bg);
    max-width: 1200px;
    margin: -60px auto 0; /* Отрицательный отступ (наезд на Hero) */
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #222;
}

.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.info-item h3 { color: var(--gold); font-size: 1rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; }
.info-item p { font-size: 1.1rem; margin: 0; }


/* --- SECTIONS --- */
.ticket-section { padding: 80px 0 100px 0; background-color: var(--dark-bg); }
.section-title { font-size: 3rem; text-align: center; color: var(--gold); margin-bottom: 50px; }

/* LEGEND */
.artist-legend { padding: 120px 0; background-color: #080808; background-image: linear-gradient(to bottom, #0b0b0b, #111); border-top: 1px solid #222; text-align: center; }
.legend-content { max-width: 800px; margin: 0 auto; }
.legend-title { font-size: 3.5rem; color: var(--gold); margin-bottom: 40px; letter-spacing: -1px; }
.legend-text { font-size: 1.2rem; color: #ccc; line-height: 1.8; margin-bottom: 30px; font-weight: 300; }
.legend-text em { color: #fff; font-style: normal; border-bottom: 1px solid #444; }
.legend-awards { display: flex; justify-content: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.legend-awards span { font-family: var(--font-heading); color: var(--gold); font-size: 1.1rem; letter-spacing: 1px; border: 1px solid #333; padding: 10px 20px; border-radius: 50px; }

/* FAQ */
.faq-section { padding: 100px 0; background-color: #050505; border-top: 1px solid #111; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.faq-item { background: #111; padding: 30px; border-radius: 4px; border: 1px solid #222; transition: 0.3s; }
.faq-item h4 { color: var(--gold); font-size: 1.2rem; margin-bottom: 15px; }
.faq-item p { color: #888; margin: 0; font-size: 1rem; line-height: 1.6; }

/* FOOTER */
footer { padding: 50px 0; text-align: center; border-top: 1px solid #222; color: var(--text-muted); font-size: 0.9rem; }


/* =========================================
   MOBILE & TABLET OPTIMIZATION (FIXED)
   ========================================= */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .container { padding: 0 20px; }
    .section-title { font-size: 2.5rem; }
    .legend-title { font-size: 2.8rem; }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
    /* Исправляем Hero */
    .hero { min-height: 400px; padding-bottom: 20px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-uptitle { font-size: 0.9rem; }

    /* Исправляем Info Bar (Убираем наезд, чтобы не ломался) */
    .info-bar { 
        margin-top: 0; 
        border-radius: 0; 
        border-left: none; 
        border-right: none;
        padding: 30px 20px;
    }
    
    /* Делаем грид в 1 колонку */
    .info-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Добавляем разделители между пунктами на мобильном */
    .info-item { border-bottom: 1px solid #222; padding-bottom: 20px; }
    .info-item:last-child { border-bottom: none; }

    /* Остальные секции */
    .ticket-section, .artist-legend, .faq-section { padding: 50px 0; }
    .legend-text { text-align: left; font-size: 1rem; }
    .faq-grid { grid-template-columns: 1fr; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ... (Ваш предыдущий код) ... */


/* === PREMIUM LANGUAGE SWITCHER === */

/* Контейнер в правом верхнем углу */
.lang-switcher-wrapper {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 9999;
}

/* Скрываем стандартный логотип Google и бар сверху */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget span { display: none !important; }

/* Стилизация самого выпадающего списка */
#google_translate_element select {
    background-color: #000;
    color: #d4af37; /* Золотой текст */
    border: 1px solid #d4af37;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}

/* При наведении */
#google_translate_element select:hover {
    background-color: #1a1a1a;
}

/* Скрываем тултип Google при наведении на текст */
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .lang-switcher-wrapper {
        top: 10px;
        right: 10px;
    }
    #google_translate_element select {
        padding: 5px;
        font-size: 0.8rem;
    }
}