/* Основные стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Прямой шрифт с прямыми углами */
    color: #333;
    padding-top: 80px;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Стили навбара */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Белый с прозрачностью 30% */
    backdrop-filter: blur(5px); /* Эффект размытия для лучшей читаемости */
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: -80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
}

.logo img {
    height: 40px; /* Высота логотипа */
    width: auto;
}

.nav-links {
    display: none;
}

.menu-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #FF6B6B;
    cursor: pointer;
    z-index: 5;
    margin-left: 94%;
}

/* Стиль мобильного меню */
.mobile-menu {
    position: fixed;
    top: 80px; /* высота navbar */
    left: -150%;
    width: 94%;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(5px);
    padding: 20px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease, opacity 0.5s ease;
    z-index: 5;
    height: auto;
    border-radius: 10px;
    visibility: hidden;
}

.mobile-menu.active {
    left: 0;
    background-color: rgba(255, 255, 255, 0.95); /* Фон появляется */
    opacity: 1; /* Полная видимость */
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: #FF6B6B;
}

/* Фон затемнения при открытом меню */
.overlay {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
    transition: 
        background-color 0.5s ease,
        opacity 0.5s ease;
}

.overlay.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
}

/* Стили для секции слайдов */
.slides-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.7);
    z-index: 1;
}

.slide-main-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.slide-img {
    width: 50%;
    height: 80%;
    object-fit: contain;
    border-radius: 5px;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.slide-content {
    width: 40%;
    margin-left: 1%;
    color: white;
}

.event-type {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 5px;
}

.slide-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-top: 3%;
    margin-bottom: 3%;
}

.premiere {
    color: #ffb6b6;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
    text-transform: uppercase;
}

.slide-description {
    font-size: 0.7rem;
    color: #fff;
    margin-top: 3%;
    margin-bottom: 3%;
}

.slide-buttons {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slide-buttons:empty {
    display: none;
}

.buy-btn {
    background-color: #ffb6b6;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.buy-btn:hover {
    background-color: #FF6B6B;
    transform: scale(1.05);
}

.read-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.read-btn:hover {
    color: #ffb6b6;
}

.buy-btn:empty,
.read-btn:empty {
    display: none;
}

.arrow {
    font-size: 1.2rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: solid black 1px;;
    color: #ff6464;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev-arrow {
    left: 5px;
}

.next-arrow {
    right: 5px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffb6b6;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
    border-color: #FF6B6B;
    transform: scale(1.05);
}

/* Mobile Events Section */
.events-section {
    padding: 32px 16px;
    background: linear-gradient(to bottom, #FFF5F5 0%, white 100%);
}

.events-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    text-align: left;
    gap: 8px;
}

.events-header h2 {
    color: #FF5252;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 16px 0;
    position: relative;
    display: inline-block;
    width: 100%;
}

.view-all {
    display: inline-flex;
    align-items: center;
    color: #FF5252;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    gap: 4px;
    border: solid 1px #FF5252;
    border-radius: 10px;
    padding: 3px;
    padding-left: 8px;
}

.view-all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.view-all:hover {
    color: #FF7878;
}

.view-all:hover svg {
    transform: translateX(3px);
}

/* Events Grid */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #FFE5E5;
    text-decoration: none !important;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.2);
}

.event-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF5252;
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.event-card {
    display: flex;
    flex-direction: column;
    height: auto;
    text-decoration: none;
    color: inherit;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-title {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    fill: #FF5252;
}

.event-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.event-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.buy-btn-event {
    background: linear-gradient(to right, #FF5252, #FF7878);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.buy-btn-event:hover {
    background: linear-gradient(to right, #FF7878, #FF5252);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
}

.read-btn-event {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FF5252;
    font-size: 15px;
    font-weight: 600;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #FFE5E5;
    background: white;
}

.read-btn-event:hover {
    background: #FFF5F5;
    color: #FF7878;
}

.read-btn-event svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.read-btn-event:hover svg {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .events-section {
        padding: 24px 12px;
    }
    
    .events-header h2 {
        font-size: 24px;
    }
    
    .event-image-container {
        height: 120px;
    }
    
    .event-title {
        font-size: 16px;
    }
    
    .event-description {
        font-size: 13px;
    }
}

.about-section {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    background: url('aboutusbg.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.about-content {
    margin-left: 5%;
    margin-right: 5%;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.news-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    scrollbar-width: thin;
}

.news-scroll-wrapper {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.news-card,
.view-all-card {
    display: inline-block;
    width: 280px;
    min-width: 280px;
    height: auto;
    vertical-align: top;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.news-card:hover,
.view-all-card:hover {
    transform: scale(1.02);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.news-content {
    padding: 15px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.news-date {
    font-size: 12px;
    color: #888;
}

.view-all-card {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.view-all-text {
    font-weight: bold;
    font-size: 16px;
}

.view-all-arrow {
    font-size: 24px;
    margin-top: 5px;
}

.footer {
    margin-bottom: 10px;
}