/* ============================================
   Reset & Base Styles
   ============================================ */

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

:root {
    /* Colors - Dark theme with new accent colors */
    --color-bg: #1a1a1a;
    --color-bg-dark: #0f0f0f;
    --color-bg-section: #252525;
    --color-text: #e8e8e8;
    --color-text-light: #b0b0b0;
    --color-accent: #F70C9B;
    --color-accent-hover: #CB007B;
    --color-accent-purple: #9b59b6;
    --color-white: #ffffff;
    --color-border: #3a3a3a;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.nav-brand:hover,
.nav-brand:focus {
    color: var(--color-accent) !important;
    text-shadow: 
        0 0 5px rgba(247, 12, 155, 0.6),
        0 0 10px rgba(247, 12, 155, 0.4),
        0 0 15px rgba(247, 12, 155, 0.3);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.lang-btn:hover {
    background-color: rgba(214, 63, 186, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lang-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Music Toggle Button */
.music-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    position: relative;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Пульсация для привлечения внимания, когда музыка выключена */
.music-toggle:not(.active) {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(247, 12, 155, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(247, 12, 155, 0);
    }
}

.music-toggle:hover {
    background-color: rgba(247, 12, 155, 0.08);
    border-color: rgba(247, 12, 155, 0.4);
    color: rgba(247, 12, 155, 0.8);
    opacity: 1;
    transform: scale(1.05);
    animation: none; /* Отключить пульсацию при hover */
}

.music-toggle.active {
    background-color: rgba(247, 12, 155, 0.15);
    border-color: rgba(247, 12, 155, 0.5);
    color: rgba(247, 12, 155, 0.9);
    opacity: 1;
    animation: none; /* Отключить пульсацию когда музыка включена */
}

.music-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
    opacity: 0.9;
}

.music-toggle:hover .music-icon,
.music-toggle.active .music-icon {
    opacity: 1;
}

/* Приглушенная иконка выключенного состояния */
.music-toggle:not(.active) .music-icon {
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.4);
}

/* По умолчанию показываем иконку выключенного звука */
.music-icon {
    display: block;
}

/* По умолчанию скрываем иконку включенного звука */
.music-on {
    display: none;
}

/* Показываем иконку включенного звука, когда музыка активна */
.music-toggle.active .music-on {
    display: block !important;
}

/* Показываем иконку выключенного звука, когда музыка неактивна */
.music-toggle:not(.active) .music-off {
    display: block !important;
}

/* Скрываем иконки в противоположных состояниях */
.music-toggle.active .music-off {
    display: none !important;
}

.music-toggle:not(.active) .music-on {
    display: none !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 60px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(37, 37, 37, 0.5) 50%,
        rgba(26, 26, 26, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
    text-align: left;
    margin-right: 5%;
    margin-left: auto;
    margin-top: clamp(10vh, 15vh, 20vh);
    margin-bottom: clamp(5vh, 8vh, 10vh);
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    right: 5%;
    max-height: 80vh;
    overflow-y: auto;
    min-width: fit-content;
}

@media (min-width: 1400px) {
    .hero-content {
        right: 10%;
        max-width: 550px;
        padding-left: var(--spacing-lg);
    }
}

@media (min-width: 1920px) {
    .hero-content {
        right: 15%;
        max-width: 600px;
        padding-left: var(--spacing-lg);
    }
}

@media (max-width: 1200px) {
    .hero-content {
        padding-left: var(--spacing-sm);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow: visible;
    width: auto;
    min-width: 0;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: inline-block;
}

/* Стили для отдельных букв */
.hero-title-letter {
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

/* Анимация блика - волна проходит через буквы */
.hero-title.animate .hero-title-letter {
    animation: neonGlowWave 2.5s ease-in-out forwards;
    animation-delay: calc(var(--letter-index) * 0.08s);
}

@keyframes neonGlowWave {
    0%, 100% {
        color: var(--color-text);
        text-shadow: 
            0 2px 10px rgba(255, 255, 255, 0.3),
            0 4px 20px rgba(255, 255, 255, 0.2),
            0 0 30px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    10%, 30% {
        color: #ffb3d9;
        text-shadow: 
            0 0 4px rgba(255, 182, 193, 1),
            0 0 8px rgba(255, 182, 193, 0.8),
            0 0 12px rgba(255, 182, 193, 0.6),
            0 0 16px rgba(255, 182, 193, 0.4);
        transform: scale(1.03);
    }
    20% {
        color: #ff9ec7;
        text-shadow: 
            0 0 5px rgba(255, 158, 199, 1),
            0 0 10px rgba(255, 158, 199, 0.9),
            0 0 15px rgba(255, 158, 199, 0.7),
            0 0 20px rgba(255, 158, 199, 0.5);
        transform: scale(1.05);
    }
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 
        0 2px 8px rgba(255, 255, 255, 0.4),
        0 4px 16px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.15);
    text-align: right;
    align-self: flex-end;
    max-width: 100%;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid var(--color-accent);
    background-color: var(--color-accent);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(247, 12, 155, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(247, 12, 155, 0.5);
}

/* Hero button specific styles */
.hero .btn-primary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(247, 12, 155, 0.6);
    text-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1),
        0 0 2px rgba(247, 12, 155, 0.3),
        0 0 4px rgba(247, 12, 155, 0.2);
    -webkit-text-stroke: 0.5px rgba(247, 12, 155, 0.2);
    box-shadow: 0 2px 8px rgba(247, 12, 155, 0.2);
    align-self: flex-end;
    font-weight: 600;
}

.hero .btn-primary:hover {
    background-color: transparent;
    border-color: rgba(247, 12, 155, 0.9);
    color: var(--color-white);
    text-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.5),
        0 4px 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 2px rgba(247, 12, 155, 0.4),
        0 0 4px rgba(247, 12, 155, 0.3);
    -webkit-text-stroke: 0.5px rgba(247, 12, 155, 0.3);
    box-shadow: 
        0 2px 10px rgba(247, 12, 155, 0.4),
        0 4px 20px rgba(247, 12, 155, 0.3),
        0 0 30px rgba(247, 12, 155, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   Container & Sections
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

/* ============================================
   Portfolio / Gallery
   ============================================ */

.portfolio {
    background-color: var(--color-bg);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.filter-btn:hover {
    background-color: rgba(247, 12, 155, 0.2);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.artwork-card {
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--color-bg-section);
    border: 1px solid transparent;
}

.artwork-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(247, 12, 155, 0.3);
    transform: translateY(-2px);
}

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

.artwork-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #1a1a1a;
    transition: var(--transition);
    padding: 10px;
    display: block;
}

/* Скрыть элементы галереи с несуществующими изображениями */
.gallery-item:has(img[src=""]) {
    display: none;
}

.gallery-item img[src=""] {
    display: none;
}

.artwork-card:hover .artwork-image {
    filter: brightness(0.95);
}

.artwork-info {
    padding: var(--spacing-sm);
    text-align: left;
}

.artwork-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.artwork-caption {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ============================================
   About Section
   ============================================ */

.about {
    background-color: var(--color-bg-section);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.about-image {
    text-align: center;
}

.portrait-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    background-color: #e0e0e0;
}

/* ============================================
   Exhibitions Section
   ============================================ */

.exhibitions {
    background-color: var(--color-bg);
}


.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--spacing-md);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 3px solid var(--color-white);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.timeline-location {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background-color: var(--color-bg-section);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

/* Стильное оформление email адреса */
.email-address {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(247, 12, 155, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 12, 155, 0.1), transparent);
    transition: left 0.5s ease;
}

.email-link:hover::before {
    left: 100%;
}

.email-link:hover {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(247, 12, 155, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(247, 12, 155, 0.2);
}

.email-link-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.email-link:hover .email-link-icon {
    transform: scale(1.1) rotate(-5deg);
}

.email-link-text {
    position: relative;
    z-index: 1;
}

/* Контактные кнопки */
.contact-buttons {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

/* Обёртка для кнопки email с 3D эффектом */
.contact-btn-wrapper {
    position: relative;
    perspective: 1000px;
}

/* Зоны наведения для 3D эффекта */
.hover-zone {
    position: absolute;
    pointer-events: auto;
    z-index: 200;
}

.zone-1 {
    top: -30px;
    left: -30px;
    width: 40px;
    height: 40px;
}

.zone-2 {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
}

.zone-3 {
    top: -30px;
    right: -30px;
    width: 40px;
    height: 40px;
}

.zone-4 {
    bottom: -30px;
    left: -30px;
    width: 40px;
    height: 40px;
}

.zone-5 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
}

.zone-6 {
    bottom: -30px;
    right: -30px;
    width: 40px;
    height: 40px;
}

/* Общий стиль для всех круглых кнопок */
.contact-btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    cursor: pointer;
}

.contact-btn:active {
    transform: scale(0.95);
}

.contact-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(247, 12, 155, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.contact-btn:hover::before {
    background-color: rgba(247, 12, 155, 0.2);
}

.contact-btn-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.contact-btn:hover {
    border-color: var(--color-accent-hover);
    box-shadow: 0 4px 12px rgba(247, 12, 155, 0.4);
    transform: translateY(-2px);
}

.contact-btn:hover .contact-btn-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 6px rgba(247, 12, 155, 0.6));
}

/* 3D эффекты для email кнопки */
.zone-1:hover ~ .email-contact-btn {
    transform: rotateX(15deg) rotateY(-15deg) rotateZ(0deg);
    box-shadow: -4px -4px 12px rgba(247, 12, 155, 0.5);
}

.zone-1:hover ~ .email-contact-btn::before {
    background-color: rgba(247, 12, 155, 0.3);
}

.zone-3:hover ~ .email-contact-btn {
    transform: rotateX(15deg) rotateY(15deg) rotateZ(0deg);
    box-shadow: 4px -4px 12px rgba(247, 12, 155, 0.5);
}

.zone-3:hover ~ .email-contact-btn::before {
    background-color: rgba(247, 12, 155, 0.3);
}

.zone-4:hover ~ .email-contact-btn {
    transform: rotateX(-15deg) rotateY(-15deg) rotateZ(0deg);
    box-shadow: -4px 4px 12px rgba(247, 12, 155, 0.5);
}

.zone-4:hover ~ .email-contact-btn::before {
    background-color: rgba(247, 12, 155, 0.3);
}

.zone-6:hover ~ .email-contact-btn {
    transform: rotateX(-15deg) rotateY(15deg) rotateZ(0deg);
    box-shadow: 4px 4px 12px rgba(247, 12, 155, 0.5);
}

.zone-6:hover ~ .email-contact-btn::before {
    background-color: rgba(247, 12, 155, 0.3);
}

.zone-2:hover ~ .email-contact-btn,
.zone-5:hover ~ .email-contact-btn {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(247, 12, 155, 0.6);
}

.zone-2:hover ~ .email-contact-btn::before,
.zone-5:hover ~ .email-contact-btn::before {
    background-color: rgba(247, 12, 155, 0.4);
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: relative;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(247, 12, 155, 0.03) 0%, rgba(155, 89, 182, 0.03) 100%);
    border: 1px solid var(--color-border);
}

/* Декоративный элемент формы */
.form-decoration {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

.form-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.label-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-accent);
    filter: drop-shadow(0 2px 4px rgba(247, 12, 155, 0.3));
    transition: var(--transition);
    vertical-align: middle;
    display: inline-block;
}

.form-group:focus-within .label-icon {
    color: var(--color-accent-hover);
    transform: scale(1.1);
    filter: drop-shadow(0 2px 6px rgba(247, 12, 155, 0.5));
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    background-color: rgba(37, 37, 37, 0.8);
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(247, 12, 155, 0.5);
    background-color: rgba(37, 37, 37, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(37, 37, 37, 1);
    box-shadow: 0 0 0 3px rgba(247, 12, 155, 0.1), 0 4px 12px rgba(247, 12, 155, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

/* Кнопка отправки формы */
.form-submit-btn {
    margin-top: var(--spacing-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    position: relative;
    overflow: hidden;
}

.form-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition);
    color: currentColor;
    vertical-align: middle;
}

.form-submit-btn:hover .btn-icon {
    transform: translateX(3px) translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.form-message {
    padding: var(--spacing-sm);
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

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

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

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: var(--spacing-md) 0;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--color-accent);
}

/* ============================================
   Lightbox Modal
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
}

/* Swiper Styles для Lightbox */
.lightbox-swiper {
    width: 100%;
    max-width: 90vw;
    max-height: 75vh;
    position: relative;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.lightbox-swiper .lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* Кнопки навигации Swiper */
.lightbox-swiper .swiper-button-next,
.lightbox-swiper .swiper-button-prev {
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    transition: var(--transition);
}

.lightbox-swiper .swiper-button-next:after,
.lightbox-swiper .swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

.lightbox-swiper .swiper-button-next:hover,
.lightbox-swiper .swiper-button-prev:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.lightbox-swiper .swiper-button-next.swiper-button-disabled,
.lightbox-swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0.3;
}

/* Пагинация Swiper */
.lightbox-swiper .swiper-pagination {
    position: relative;
    margin-top: var(--spacing-sm);
}

.lightbox-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    opacity: 1;
    transition: var(--transition);
}

.lightbox-swiper .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.lightbox-swiper .swiper-pagination-bullet-active {
    background-color: var(--color-accent);
    border-color: var(--color-white);
    transform: scale(1.2);
}

.lightbox-info {
    text-align: center;
    color: var(--color-white);
    max-width: 90vw;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.lightbox-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .language-switcher {
        order: -1;
        margin-right: var(--spacing-sm);
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .music-toggle {
        width: 30px;
        height: 30px;
        margin-left: var(--spacing-xs);
    }
    
    .music-icon {
        width: 14px;
        height: 14px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .timeline {
        padding-left: var(--spacing-sm);
    }
    
    .timeline-item {
        padding-left: var(--spacing-md);
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .lightbox-content {
        max-width: 95vw;
    }
    
    .lightbox-title {
        font-size: 1.5rem;
    }
    
    .lightbox-carousel {
        max-width: 95vw;
    }
    
    .carousel-container {
        max-width: 95vw;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
    
    /* Адаптивные стили для контактной формы */
    .contact-form {
        padding: var(--spacing-sm);
    }
    
    .contact-buttons {
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .contact-btn {
        width: 70px;
        height: 70px;
    }
    
    .contact-btn::before {
        width: 70px;
        height: 70px;
    }
    
    .contact-btn-icon {
        width: 24px;
        height: 24px;
    }
    
    .zone-1 {
        top: -25px;
        left: -25px;
        width: 35px;
        height: 35px;
    }
    
    .zone-2 {
        top: -25px;
        width: 35px;
        height: 35px;
    }
    
    .zone-3 {
        top: -25px;
        right: -25px;
        width: 35px;
        height: 35px;
    }
    
    .zone-4 {
        bottom: -25px;
        left: -25px;
        width: 35px;
        height: 35px;
    }
    
    .zone-5 {
        bottom: -25px;
        width: 35px;
        height: 35px;
    }
    
    .zone-6 {
        bottom: -25px;
        right: -25px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero {
        padding: var(--spacing-lg) var(--spacing-sm);
        justify-content: center;
        align-items: center;
    }
    
    .hero-slide {
        background-attachment: scroll;
    }
    
    .hero-content {
        margin-right: 0;
        margin-left: 0;
        margin-top: 5vh;
        margin-bottom: 0;
        text-align: right;
        max-width: 90%;
        padding-right: 0;
        right: auto;
        align-items: flex-end;
        max-height: none;
    }
    
    .hero-title {
        text-align: right;
        margin-bottom: var(--spacing-sm);
        margin-top: var(--spacing-sm);
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        white-space: nowrap;
        overflow: visible;
        width: auto;
    }
    
    .hero-tagline {
        text-align: right;
        max-width: 70%;
        margin-left: auto;
        margin-top: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Мобильные стили для контактной формы */
    .contact-btn {
        width: 60px;
        height: 60px;
    }
    
    .contact-btn::before {
        width: 60px;
        height: 60px;
    }
    
    .contact-btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .zone-1 {
        top: -20px;
        left: -20px;
        width: 30px;
        height: 30px;
    }
    
    .zone-2 {
        top: -20px;
        width: 30px;
        height: 30px;
    }
    
    .zone-3 {
        top: -20px;
        right: -20px;
        width: 30px;
        height: 30px;
    }
    
    .zone-4 {
        bottom: -20px;
        left: -20px;
        width: 30px;
        height: 30px;
    }
    
    .zone-5 {
        bottom: -20px;
        width: 30px;
        height: 30px;
    }
    
    .zone-6 {
        bottom: -20px;
        right: -20px;
        width: 30px;
        height: 30px;
    }
    
    .email-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .email-link-icon {
        width: 18px;
        height: 18px;
    }
    
    .form-decoration {
        display: none;
    }
    
    .contact-form {
        padding: var(--spacing-sm);
    }
}

