/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --primary-red: #FF0000;
    --dark-red: #CC0000;
    --light-red: #FF3333;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary-white);
    background-color: var(--primary-black);
    overflow-x: hidden;
    position: relative;
}

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

/* Контейнер для фона */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Полупрозрачная фиксированная шапка с КРАСНЫМ разделителем */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-red);
    transition: all 0.3s ease;
}

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

/* Логотип в шапке */
.logo {
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

/* Основная навигация */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--primary-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Бургер-меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация бургер-меню при открытии */
.menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Главный экран */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Адаптивный логотип в герое */
.hero-logo {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-logo-image {
    
    
    object-fit: contain; /* Важно: сохраняем пропорции без обрезки */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Уменьшил размер для баланса с логотипом */
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-white);
    font-weight: 900;
    animation: blink 3s infinite;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    line-height: 1.4;
}

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

/* Кнопки */
.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 2px solid;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-white);
    border-color: var(--primary-white);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary-white);
    color: var(--primary-white);
}

.btn-secondary:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Секции с разной степенью затенения */
.section {
    padding: 100px 0;
    position: relative;
}

/* Разное затенение для разделов */
.about-section {
    background-color: rgba(0, 0, 0, 0.6);
}

.music-section {
    background-color: rgba(0, 0, 0, 0.8);
}

.photo-section {
    background-color: rgba(0, 0, 0, 0.5);
}

.contacts-section {
    background-color: rgba(0, 0, 0, 0.7);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-white);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-red);
}

/* Секция "О нас" */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Секция "Музыка" */
.music-player {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.track {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.track h3 {
    color: var(--primary-white);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.track p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.audio-player {
    width: 100%;
    margin-top: 10px;
}

.streaming-links h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-white);
}

.links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stream-link {
    padding: 10px 20px;
    background: var(--primary-red);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stream-link:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
}

/* Секция "Фото" */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Секция "Контакты" */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.social-link:hover {
    background: var(--primary-red);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary-white);
    margin-bottom: 20px;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--primary-white);
    font-family: inherit;
}

.message-form input::placeholder,
.message-form textarea::placeholder {
    color: #ccc;
}

.message-form button {
    width: 100%;
}

/* Футер */
.main-footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid var(--primary-red);
}

.main-footer p {
    margin-bottom: 5px;
}

/* Анимации */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

.hero-content, .section-title, .about-content, .music-player, .photo-gallery, .contacts-content {
    animation: fadeIn 0.8s ease-out;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 2px solid var(--primary-red);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Адаптация логотипа для мобильных */
    .hero-logo-image {
        max-width: 300px; /* Уменьшаем максимальную ширину для планшетов */
        width: 70%; /* Увеличиваем процент ширины для мобильных */
    }
    
    .hero-content {
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem); /* Уменьшаем размер для мобильных */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .about-content,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .music-player {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .section {
        padding: 70px 0;
    }
    
    .logo-image {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-logo-image {
        max-width: 250px; /* Еще меньше для маленьких экранов */
        width: 85%; /* Больший процент для очень маленьких экранов */
    }
    
    .hero-title {
        letter-spacing: 0.1em;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .links-container,
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .stream-link,
    .social-link {
        width: 200px;
        text-align: center;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .hero-content {
        margin-top: 60px; /* Меньше отступ для очень маленьких экранов */
    }
}

/* Дополнительные медиа-запросы для очень высоких или очень широких экранов */
@media (min-width: 1200px) {
    .hero-logo-image {
        max-width: 500px; /* Увеличиваем для больших экранов */
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .hero-logo-image {
        max-width: 250px; /* Уменьшаем для ландшафтной ориентации */
        width: 50%;
    }
    
    .hero-content {
        margin-top: 60px;
    }
}