:root {
    --color-sky-light: #E0F6FF;
    --color-sky: #87CEEB;
    --color-sky-dark: #4682B4;
    --color-cloud: #F0F8FF;
    --color-sun: #FFD700;
    --color-sun-orange: #FFA500;
    --color-sun-light: #FFE4B5;
    --color-sun-warm: #FF8C00;
    --color-primary: #5DADE2;
    --color-primary-dark: #3498DB;
    --color-dark: #2C3E50;
    --color-darker: #1A252F;
    --color-light: #FFFFFF;
    --color-gray: #ECF0F1;
    --color-text: #2C3E50;
    --color-text-light: #7F8C8D;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px rgba(44, 62, 80, 0.1);
    --shadow-lg: 0 10px 40px rgba(44, 62, 80, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, var(--color-sky-light) 0%, var(--color-cloud) 100%);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-sun));
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    border-bottom: 3px solid var(--color-sun-orange);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(255, 140, 0, 0.5); }

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

.theater-mascot {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-secondary); font-weight: 700; font-size: 1.5rem;
    color: var(--color-sun-warm); text-decoration: none;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.logo-image { width: 50px; height: auto; animation: sunPulse 2s ease-in-out infinite; }

@keyframes sunPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(10deg); }
}

.nav-menu { display: flex; list-style: none; gap: 2rem; }

.nav-link {
    text-decoration: none; color: var(--color-dark);
    font-weight: 600; position: relative; transition: var(--transition);
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 3px; background: var(--color-sun-orange);
    transition: width 0.3s; border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--color-sun-warm); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.hamburger {
    width: 25px; height: 3px; background: var(--color-sun-warm);
    border-radius: 3px; transition: var(--transition);
}

/* --- Сетка карточек "О театре" --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Адаптивные колонки */
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Чтобы все карточки были одной высоты */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Класс для широких карточек (занимают 2 колонки на больших экранах) */
.feature-card.wide {
    grid-column: span 2;
}

/* На мобильных широкие карточки становятся обычными (в 1 колонку) */
@media (max-width: 768px) {
    .feature-card.wide {
        grid-column: span 1;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Одна колонка на телефонах */
    }
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #ff9800;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* --- Стили для фото сцены --- */
.stage-photo-container {
    margin: 40px auto; /* Отступы сверху/снизу и центровка */
    text-align: center;
    max-width: 800px; /* Ограничиваем ширину, чтобы не было гигантским */
}

.stage-photo {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Закругленные углы */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Красивая тень */
    border: 5px solid #fff; /* Белая рамочка как у картины */
    transition: transform 0.3s ease;
}

.stage-photo:hover {
    transform: scale(1.02); /* Легкое увеличение при наведении */
}

.photo-caption {
    margin-top: 15px;
    font-size: 1.1em;
    color: #666;
    font-style: italic;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .stage-photo-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    .stage-photo {
        border-radius: 15px;
        border-width: 3px;
    }
}
/* Особый стиль для карточки-цитаты */
.quote-card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border: 2px solid #ffe0b2;
}

/* --- Убираем лишнее пустое место сверху --- */
.about.section {
    padding-top: 20px !important; /* Минимальный отступ сверху */
    margin-top: 0 !important;
}

.about h2 {
    margin-top: 0;
    padding-top: 0;
}

/* --- Сетка карточек --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Одинаковая высота всех карточек */
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Широкие карточки занимают 2 колонки на больших экранах */
.feature-card.wide {
    grid-column: span 2;
}

/* На мобильных широкие карточки становятся обычными */
@media (max-width: 768px) {
    .feature-card.wide {
        grid-column: span 1;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Одна колонка на телефонах */
    }
    .about.section {
        padding-top: 40px !important; /* Чуть больше отступ на мобильных для красоты */
    }
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #ff9800;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Стиль для цитаты */
.quote-card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border: 2px solid #ffe0b2;
}

/* Hero Section */
.hero {
    min-height: 15vh; display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    overflow: hidden; padding: 10px 5px 5px;
}

.hero-clouds { position: absolute; width: 100%; height: 100%; overflow: hidden; }

.cloud {
    position: absolute; font-size: 6rem; opacity: 0.9;
    animation: cloudFloat 30s ease-in-out infinite;
    filter: drop-shadow(0 10px 25px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    color: #FFFFFF; text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}
.cloud-1 { top: 15%; left: 10%; animation-delay: 0s; }
.cloud-2 { top: 25%; right: 15%; animation-delay: 10s; }
.cloud-3 { top: 60%; left: 20%; animation-delay: 20s; }

@keyframes cloudFloat {
    0%, 100% { transform: translateX(0) translateY(0); opacity: 0.9; }
    25% { transform: translateX(50px) translateY(-20px); opacity: 1; }
    50% { transform: translateX(0) translateY(0); opacity: 0.95; }
    75% { transform: translateX(-50px) translateY(15px); opacity: 1; }
}

.hero-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 900px; animation: fadeInUp 1s ease; margin-bottom: 5px;
}



.hero-sun { margin-bottom: 2rem; display: flex; justify-content: center; }

.hero-sun-image {
    width: 220px; height: auto;
    animation: sunSway 4s ease-in-out infinite, sunGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)) 
            drop-shadow(0 0 80px rgba(255, 140, 0, 0.4));
}

@keyframes sunSway {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes sunGlow {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
    50% { filter: drop-shadow(0 0 70px rgba(255, 215, 0, 1)) 
                  drop-shadow(0 0 100px rgba(255, 140, 0, 0.6)); }
}

.hero-title {
    font-family: var(--font-secondary); font-size: 3.5rem;
    margin-bottom: 1rem; color: var(--color-dark);
    text-shadow: 2px 2px 4px rgba(255,255,255,0.6);
}
.title-line { display: block; }
.title-line.highlight {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--color-sun-orange), var(--color-sun-warm));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem; color: var(--color-dark);
    margin-bottom: 3rem; font-weight: 300;
}

.hero-buttons {
    display: flex; gap: 1.5rem; justify-content: center;
    flex-wrap: wrap; margin-bottom: 40px;
}

.btn {
    padding: 1rem 2.5rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem;
    transition: var(--transition); border: 3px solid transparent;
    cursor: pointer; display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-sun), var(--color-sun-orange));
    color: var(--color-dark); border-color: var(--color-sun-orange);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-sun-orange), var(--color-sun-warm));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.6);
}

.btn-secondary {
    background: transparent; color: var(--color-sun-warm);
    border-color: var(--color-sun-orange); border-width: 3px;
}
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-sun), var(--color-sun-orange));
    color: var(--color-dark); transform: translateY(-3px);
}

.btn-block { width: 100%; }

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; color: var(--color-sun-warm);
    animation: bounce 2s infinite; cursor: pointer;
    font-weight: 600; text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    z-index: 2;
}
.hero-scroll span { font-size: 1rem; }
.scroll-arrow { font-size: 2rem; line-height: 1; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* Sections */
.section { padding: 10px 0; }
.section-alt {
    background: linear-gradient(180deg, var(--color-cloud) 0%, var(--color-sky-light) 100%);
}
.section-header { text-align: center; margin-bottom: 5px; }
.section-title {
    font-family: var(--font-secondary); font-size: 2.5rem;
    color: var(--color-sun-warm); margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}
.section-subtitle { font-size: 1.2rem; color: var(--color-text-light); }

/* About Section */
.about-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.8; }
.about-intro { font-size: 1.2rem; color: var(--color-sun-warm); font-weight: 600; }

.feature-box {
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-cloud));
    padding: 2rem; border-radius: var(--radius-lg);
    margin: 2rem 0; box-shadow: var(--shadow);
    border: 3px solid var(--color-sun);
}
.feature-box h3 {
    font-family: var(--font-secondary); font-size: 1.5rem;
    margin-bottom: 1rem; color: var(--color-sun-warm);
}

.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; margin-top: 3rem;
}

.feature-card {
    background: var(--color-light); padding: 2rem;
    border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow); transition: var(--transition);
    border: 2px solid var(--color-sun-light);
}
.feature-card:hover {
    transform: translateY(-10px); box-shadow: var(--shadow-lg);
    border-color: var(--color-sun);
}
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card h4 {
    font-family: var(--font-secondary); font-size: 1.3rem;
    margin-bottom: 0.5rem; color: var(--color-sun-warm);
}

.feature-card-quote {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-cloud));
    border: 3px solid var(--color-sun);
}
.feature-card-quote h4 {
    color: var(--color-sun-warm); font-size: 1.4rem; margin-bottom: 1rem;
}
.quote-text {
    font-style: italic; line-height: 1.8;
    color: var(--color-text); font-size: 1rem;
}
.quote-text strong { color: var(--color-sun-warm); font-weight: 700; }

.about-image { position: relative; }

.image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-sun), var(--color-sun-orange));
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    overflow: hidden; border: 4px solid var(--color-cloud);
}

.theater-photo,
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-icon, .placeholder-text { display: none; }

/* Shows Section */
.shows-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-bottom: 3rem;
}

.show-card {
    background: var(--color-light); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition); border: 2px solid var(--color-sun-light);
    display: flex; flex-direction: column;
}
.show-card:hover {
    transform: translateY(-10px); box-shadow: var(--shadow-lg);
    border-color: var(--color-sun);
}

.show-image {
    height: 200px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; background: var(--color-gray);
}
.show-main-image {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.show-card:hover .show-main-image { transform: scale(1.1); }
.show-placeholder {
    font-size: 5rem; opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.show-content {
    padding: 1.2rem; flex: 1; display: flex; flex-direction: column;
}
.show-content h3 {
    font-family: var(--font-secondary); font-size: 1.3rem;
    margin-bottom: 0.6rem; color: var(--color-sun-warm);
}
.show-content p {
    font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem;
    color: var(--color-text); flex: 1;
}

.btn-show-more {
    background: linear-gradient(135deg, var(--color-sun), var(--color-sun-orange));
    color: var(--color-dark); border: none;
    padding: 0.7rem 1.5rem; border-radius: 25px;
    font-weight: 600; cursor: pointer; transition: var(--transition);
    margin-top: auto; font-size: 0.95rem;
}
.btn-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.show-info {
    display: flex; gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap;
}
.show-duration {
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-cloud));
    padding: 0.4rem 0.9rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--color-sun-warm); border: 2px solid var(--color-sun);
}

/* Show Image Colors */
.show-image-1 { background: linear-gradient(135deg, #FFE4B5, #FFD700); }
.show-image-2 { background: linear-gradient(135deg, #B0E0E6, #87CEEB); }
.show-image-3 { background: linear-gradient(135deg, #FFB6C1, #FFA07A); }
.show-image-4 { background: linear-gradient(135deg, #98D8C8, #7EC8AA); }
.show-image-5 { background: linear-gradient(135deg, #C7CEEA, #B8C5E8); }
.show-image-6 { background: linear-gradient(135deg, #F7DC6F, #F4D03F); }
.show-image-7 { background: linear-gradient(135deg, #D7BDE2, #C39BD3); }
.show-image-8 { background: linear-gradient(135deg, #A9DFBF, #82E0AA); }
.show-image-9 { background: linear-gradient(135deg, #AED6F1, #85C1E9); }
.show-image-10 { background: linear-gradient(135deg, #85C1E9, #5DADE2); }
.show-image-11 { background: linear-gradient(135deg, #E59866, #D35400); }
.show-image-12 { background: linear-gradient(135deg, #FFB6C1, #FF69B4); }

/* Modal Styles with Gallery */
.modal {
    display: none; position: fixed; z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(5px); animation: fadeIn 0.3s;
}
.modal.active {
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-content {
    background: linear-gradient(180deg, var(--color-cloud) 0%, var(--color-sky-light) 100%);
    margin: auto; padding: 0; border-radius: var(--radius-lg);
    width: 100%; max-width: 800px; max-height: 90vh;
    overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s; border: 4px solid var(--color-sun);
    position: relative;
}
.modal-close {
    color: var(--color-sun-warm); position: absolute;
    right: 20px; top: 15px; font-size: 32px; font-weight: bold;
    cursor: pointer; transition: var(--transition); z-index: 10;
    width: 40px; height: 40px; display: flex;
    align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, 0.9);
}
.modal-close:hover, .modal-close:focus {
    color: var(--color-sun-orange); background: var(--color-sun-light);
    transform: rotate(90deg);
}
.modal-header {
    text-align: center; padding: 2rem;
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-cloud));
    border-bottom: 3px solid var(--color-sun);
}
.modal-header h2 {
    font-family: var(--font-secondary); font-size: 2.2rem;
    color: var(--color-sun-warm); margin: 0;
}
.modal-body { padding: 2rem; }

/* Gallery Viewer */
.modal-gallery { margin-bottom: 2rem; }

.gallery-viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.gallery-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 3px solid var(--color-sun);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: var(--color-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 5;
}

.gallery-nav:hover {
    background: var(--color-sun);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid var(--color-sun-light);
    transition: var(--transition);
    opacity: 0.7;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-sun);
    opacity: 1;
    transform: scale(1.1);
}

.modal-placeholder-large {
    font-size: 8rem; margin: 2rem 0;
    animation: float 3s ease-in-out infinite;
}

.modal-description {
    font-size: 1.1rem; line-height: 1.8;
    color: var(--color-text); margin-bottom: 1.5rem;
}
.modal-themes {
    background: linear-gradient(135deg, var(--color-sun-light), var(--color-cloud));
    padding: 1.5rem; border-radius: var(--radius);
    border-left: 4px solid var(--color-sun-orange);
    margin-bottom: 1.5rem;
}
.modal-themes strong {
    color: var(--color-sun-warm); display: block;
    margin-bottom: 0.5rem; font-size: 1.1rem;
}
.modal-themes p { margin: 0; line-height: 1.6; color: var(--color-text); }
.modal-info {
    display: flex; gap: 1rem; justify-content: center;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 2px solid var(--color-sky);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gallery Section */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    aspect-ratio: 1; border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    border: 3px solid var(--color-cloud);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    border-color: var(--color-sun-orange);
}
.gallery-item:hover img { transform: scale(1.1); }

/* Contact Section */
.contact-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
    display: flex; gap: 1.2rem; align-items: flex-start;
    background: var(--color-light); padding: 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    transition: var(--transition); border: 2px solid var(--color-sun-light);
}
.contact-card:hover {
    transform: translateX(10px); box-shadow: var(--shadow-lg);
    border-color: var(--color-sun);
}
.contact-icon { font-size: 2rem; }
.contact-details h4 {
    font-family: var(--font-secondary); font-size: 1.2rem;
    margin-bottom: 0.3rem; color: var(--color-sun-warm);
}
.contact-details a {
    color: var(--color-primary-dark); text-decoration: none; font-weight: 500;
}
.contact-person {
    color: var(--color-sun-orange); font-weight: 600;
    font-size: 0.95rem; margin-top: 0.2rem;
}
.contact-form-wrapper {
    background: var(--color-light); padding: 2rem;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-sun-light);
}
.contact-form h3 {
    font-family: var(--font-secondary); font-size: 1.6rem;
    margin-bottom: 1.5rem; color: var(--color-sun-warm); text-align: center;
}
.form-group { margin-bottom: 1.2rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.9rem; border: 2px solid var(--color-sky);
    border-radius: var(--radius); font-family: var(--font-primary);
    font-size: 1rem; transition: var(--transition);
    background: var(--color-cloud);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--color-sun-orange);
    background: var(--color-light);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--color-darker), #0f1720);
    color: var(--color-light);
    position: relative;
}

.footer-main {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--color-sun-orange), var(--color-sun-warm));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 70px;
    height: auto;
    animation: sunPulse 2s ease-in-out infinite;
}

.footer-logo-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}

.footer-logo-text p {
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-description {
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-sun);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--color-sun);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-sun-warm);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-dark);
}

.footer-contact-list i {
    color: var(--color-sun-warm);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact-list a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--color-sun-warm);
}

.footer-bottom {
    background: var(--color-darker);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Form Styles */
.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.3rem;
    font-style: italic;
}

.form-select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--color-sky);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-cloud);
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--color-sun-orange);
    background: var(--color-light);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-loading {
    display: inline-block;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-official {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Animations on Scroll */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Institution Dropdown ===== */
.institution-group {
    position: relative;
}

.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--color-light);
    border: 2px solid var(--color-sky);
    border-radius: var(--radius);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-gray);
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--color-text);
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--color-sun-light);
    color: var(--color-dark);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item .suggestion-type {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* Скроллбар для выпадашки */
.suggestions-dropdown::-webkit-scrollbar {
    width: 6px;
}
.suggestions-dropdown::-webkit-scrollbar-thumb {
    background: var(--color-sky);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 1200px) {
    .shows-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .title-line.highlight { font-size: 3rem; }
    .hero-sun-image { width: 180px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-quote { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-main-image { max-height: 300px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 70px; left: 0; right: 0;
        background: linear-gradient(135deg, var(--color-sun-light), var(--color-sun));
        flex-direction: column; padding: 2rem; gap: 1rem;
        box-shadow: var(--shadow); transform: translateX(-100%);
        transition: var(--transition);
    }
    .nav-menu.active { transform: translateX(0); }
    .shows-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2rem; }
    .title-line.highlight { font-size: 2.5rem; }
    .hero-sun-image { width: 150px; }
    .cloud { font-size: 4rem; opacity: 0.8; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero-scroll { bottom: 30px; }
    .logo-image { width: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-quote { grid-column: span 1; }
    .modal-header h2 { font-size: 1.6rem; }
    .gallery-main-image { max-height: 250px; }
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    .footer-main { padding: 40px 0 30px; }
}

@media (max-width: 480px) {
    .shows-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .hero-scroll { bottom: 20px; }
    .hero-sun-image { width: 120px; }
    .modal-content { margin: 10px; max-height: 95vh; }
    .modal-header { padding: 1.5rem; }
    .modal-body { padding: 1.5rem; }
    .gallery-main-image { max-height: 200px; }
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
    .footer-logo { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; }
}