/* Общие стили */
body {
    font-family: 'Poppins', sans-serif;
    color: #e0e0e0;
    background-color: #121212;
}

/* Переменные цветов - заменяем фиолетовый и синий на огненные оттенки */
:root {
    --primary-color: #ff6a00;
    --primary-dark: #e05c00;
    --primary-light: #ff8c3a;
    --secondary-color: #ff4f4f;
    --dark-color: #0a0a0a;
    --light-color: #2d2d2d;
}

/* Переопределение стандартных классов Bootstrap */
.bg-primary {
    background-color: #ff6a00 !important;
}

.text-primary {
    color: #ff6a00 !important;
}

.btn-primary {
    background-color: #ff6a00 !important;
    border-color: #ff6a00 !important;
}

.btn-primary:hover {
    background-color: #e05c00 !important;
    border-color: #e05c00 !important;
}

.btn-outline-primary {
    border-color: #ff6a00 !important;
    color: #ff6a00 !important;
}

.btn-outline-primary:hover {
    background-color: #ff6a00 !important;
    color: white !important;
}

/* Навигационная панель */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: #1a1a1a !important;
}

.navbar-brand {
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(224, 224, 224, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler {
    border-color: rgba(224, 224, 224, 0.3);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Фиксированный размер логотипа */
.navbar-brand img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 100% !important;
    object-fit: contain;
}


/* Главный баннер */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background-color: #1e1e1e;
    overflow: hidden;
}


.floating-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Удаляем разделительную полосу (shape-divider) */
.shape-divider {
    display: none;
}

/* Секции */
.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-title .title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #ffffff;
}

/* Исправление отступа справа в мобильной версии */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}


img:not(.navbar-brand img) {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

@media (max-width: 768px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
        overflow-x: hidden;
    }
    
    .row {
        margin-right: -10px;
        margin-left: -10px;
    }
    
    [class*="col-"] {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .gallery-item, .track-card, .event-card {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Треки */
.track-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #2a2a2a !important;
    color: #e0e0e0;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.track-number {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

.track-image {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.track-card:hover .play-button {
    opacity: 1;
}

.track-duration {
    color: #a0a0a0;
    font-weight: 500;
}

.bg-light {
    background-color: #1a1a1a !important;
}

.bg-white {
    background-color: #2a2a2a !important;
    color: #e0e0e0;
}

.text-dark {
    color: #e0e0e0 !important;
}

.text-muted {
    color: #a0a0a0 !important;
}

/* О группе */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

/* Стили для карточек концертов с границей и простой анимацией */
.event-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background-color: #2a2a2a !important;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Стили для даты события */
.event-card .event-date {
    transition: background-color 0.3s ease;
}

.event-card:hover .event-date {
    background-color: var(--primary-dark) !important;
}

/* Стили для кнопки внутри карточки */
.event-card .btn-primary {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.event-card:hover .btn-primary {
    transform: translateY(-3px);
    background-color: var(--primary-dark) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Стили для мобильной версии */
@media (max-width: 768px) {
    .event-card {
        margin-bottom: 20px;
    }
    
    .event-card:hover {
        transform: translateY(-5px);
    }
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month,
.event-date .year {
    font-size: 14px;
}

.venue, .time {
    color: #a0a0a0;
}

.event-details {
    color: #e0e0e0;
}

/* Галерея */
.gallery-item {
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 106, 0, 0.7); /* Изменено на оранжево-огненный */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.gallery-icon:hover {
    transform: scale(1.1);
}

/* Подписка */
.newsletter-box {
    border-radius: 20px;
    background-color: #2a2a2a !important;
    color: #e0e0e0;
}

/* Футер */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-info i {
    color: var(--primary-color);
}

.opening-hours li {
    margin-bottom: 10px;
}

/* Кнопки */
.btn {
    font-weight: 500;
    padding: 10px 25px;
}

.btn-outline-dark {
    border-color: #e0e0e0;
    color: #e0e0e0;
}

.btn-outline-dark:hover {
    background-color: #e0e0e0;
    color: #1a1a1a;
}

/* Добавляем огненные эффекты */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, #ff3c00, transparent);
    z-index: -1;
    transition: height 0.3s ease;
}

.btn-primary:hover:after {
    height: 100%;
}

/* Медиа-запросы */
/* Для больших планшетов */
@media (max-width: 1024px) {
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .experience-badge .text {
        font-size: 13px;
    }
}

/* Для планшетов среднего размера */
@media (max-width: 900px) {
    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -12px;
        right: -12px;
    }
    
    .experience-badge .years {
        font-size: 26px;
    }
}

/* Для малых планшетов и больших телефонов */
@media (max-width: 768px) {
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .years {
        font-size: 24px;
    }
    
    .experience-badge .text {
        font-size: 12px;
    }
}

/* Для телефонов среднего размера */
@media (max-width: 576px) {
    .experience-badge {
        width: 75px;
        height: 75px;
        bottom: -8px;
        right: -8px;
    }
    
    .experience-badge .years {
        font-size: 22px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .experience-badge {
        width: 70px;
        height: 70px;
        bottom: -5px;
        right: -5px;
    }
    
    .experience-badge .years {
        font-size: 20px;
    }
    
    .experience-badge .text {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-brand {
        margin-right: 0;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }

    .hero-section {
        padding: 100px 0 80px;
    }
    
    .section-title .title {
        font-size: 26px;
    }
}

/* Добавляем градиентные эффекты для секций */
.bg-primary {
    background: linear-gradient(135deg, #ff6a00, #ff3c00) !important;
}

/* Добавляем эффект огня для некоторых элементов */
.event-date.bg-primary {
    position: relative;
    overflow: hidden;
}

.event-date.bg-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M30,50 Q40,20 50,50 Q60,20 70,50 Q80,20 90,50 L90,100 L10,100 L10,50 Q20,20 30,50" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    animation: fireAnimation 3s infinite linear;
    opacity: 0.5;
}

@keyframes fireAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100px;
    }
}

/* Фиксированный размер логотипа в футере */
footer img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 100% !important;
    object-fit: contain;
}

/* Дополнительные правила для мобильной версии */
@media (max-width: 768px) {
    footer img {
        height: 35px !important;
    }
    
    /* Убедимся, что контент футера не выходит за пределы экрана */
    footer .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    footer [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* Скрытие полосы прокрутки с использованием Bootstrap-совместимого подхода */
.overflow-y-auto {
    overflow-y: auto;
}

/* Для Chrome, Safari и Opera */
.overflow-y-auto::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Для Firefox */
.overflow-y-auto {
    scrollbar-width: none;
}

/* Для IE и Edge */
.overflow-y-auto {
    -ms-overflow-style: none;
}

/* Применяем к body */
body {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Скрытие полосы прокрутки для всех браузеров */
/* Для Chrome, Safari и Opera */
::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

/* Для Firefox */
html {
    scrollbar-width: none !important;
}

/* Для IE и Edge */
body {
    -ms-overflow-style: none !important;
}

/* Стили для анимации навбара при прокрутке */
.navbar {
    transition: all 0.3s ease;
}

.navbar.bg-dark {
    background-color: rgba(26, 26, 26, 0.95) !important;
}

.navbar.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Анимация для элементов при прокрутке */
.track-card, .gallery-item, .event-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.track-card.animated, .gallery-item.animated, .event-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.bi-custom-img {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

.custom-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Делаем иконки белыми */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--bs-primary);
    transform: translateY(-3px);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 576px) {
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    .custom-icon {
        width: 24px;
        height: 24px;
    }
    
    .social-icons {
        gap: 15px !important;
    }
}

/* Стили для временной шкалы истории группы */
.timeline-container {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -45px;
    top: -25px; /* Сдвигаем бейдж с годом выше */
    z-index: 10;
}

.timeline-year .badge {
    font-size: 14px;
    padding: 8px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative; /* Добавляем position: relative для корректной работы z-index */
    z-index: 10; /* Добавляем z-index и для самого бейджа */
}

.timeline-content {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-top: 10px;
    margin-top: 10px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.timeline-item:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: -39px;
    top: -10px;
    box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.2);
}

/* Стили для обложек альбомов */
.album-cover {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.album-cover:hover {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.album-year {
    font-size: 14px;
}

/* Стили для состава группы */
.band-lineup {
    background-color: rgba(255, 106, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
}

.band-lineup ul li {
    margin-bottom: 8px;
}

/* Стили для статистики группы */
.band-stats {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
}

.stat-item p {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .timeline-container {
        padding-left: 20px;
    }
    
    .timeline-year {
        left: -35px;
        top: -12px; 
    }
    
    .timeline-year .badge {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .timeline-item:before {
        left: -29px;
        width: 12px;
        height: 12px;
        top: -3px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .band-lineup {
        padding: 10px 15px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    .timeline-item {
        margin-bottom: 30px;
    }
}

/* Стили для раздела музыки */
.album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #2a2a2a !important;
    color: #e0e0e0;
    height: 100%;
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.album-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.song-item {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.song-item:hover {
    background-color: rgba(255, 106, 0, 0.2) !important;
}

.lyrics-content {
    white-space: pre-line;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* Стили для модальных окон в темной теме */
.modal-content {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.modal-header {
    border-bottom: 1px solid #3a3a3a;
}

.modal-footer {
    border-top: 1px solid #3a3a3a;
}

.list-group-item.bg-dark {
    background-color: #1e1e1e !important;
}

.list-group-item.bg-dark:hover {
    background-color: #2e2e2e !important;
}

/* Стили для галереи */
.album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.album-image {
    position: relative;
    overflow: hidden;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.photo-card {
    position: relative;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.photo-link {
    display: block;
    position: relative;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-card:hover {
    transform: translateY(-5px);
}
