@import url('https://fonts.bunny.net/css?family=Inter:wght@400;700&display=swap');

:root {
	--accent: #809FFF;
	--accent-hover: #809FFF;
	--radius: 12px;
	--max: 1250px;
}

body {font-family: 'Inter', sans-serif; font-size: 16px; color: #fff; background: #000; margin: 0; padding-top: 80px;}

nav {z-index: 21; position: fixed; top: 0; left: 0; width: 100%; height: 80px; background: rgba(8, 7, 16, .62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 8px 30px rgba(0, 0, 0, .35);}
nav > .inner {max-width: var(--max); height: 100%; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between;}
nav > .inner > div {line-height: 39px;}
nav .right {display: flex; align-items: center;}
nav .left {display: flex; align-items: center; font-size: 18px; font-weight: 700;}
nav .left a {text-decoration: none !important; color: #555 !important}
nav .logo {height: 40px; display: block; margin-right: 5px; filter: drop-shadow(0 0 8px rgba(0,0,0,.6));}
nav .item {display: inline-block; margin-left: 24px; position: relative; color: rgba(255,255,255,.82); font-weight: 700; font-size: 16px; transition: color .2s;}
nav .item:hover {color: #fff;}
nav .item:before {transition: all .2s; opacity: 0; position: absolute; bottom: 0px; left: 50%; content: ''; width: 0%; height: 2px; border-radius: 2px; background-color: var(--accent); z-index: 10;}
nav .item:hover:before, nav .item.a:before {opacity: 1; margin-bottom: 4px; left: 8%; width: 84%;}
nav .item.a {color: #fff;}
nav a {text-decoration: none;}
nav a:hover {text-decoration: none;}
nav .icmenu {display: none;}
nav .icmenu .mdi {position: relative; padding-right: 5px; display: inline-block; transform: scale(1.4)}
@media screen and (max-width: 800px) {
	body {padding-top: 60px;}
	nav .logo {height: 34px; margin-top: 0;}
	nav {position: absolute; height: 60px; background: #000; box-shadow: none;}
	nav > .inner {padding: 0 20px}
	nav > .inner > div {line-height: 39px;}
	nav .item {display: none}
	nav .icmenu {display: block;}
}

/* Section System */

.section {position: relative; overflow: hidden;}
.section > * {position: relative; z-index: 1}
.section > .inner > * {position: relative; z-index: 1}

.section .centered {width: 100%; height: 100%; display: table}
.section .centered .inner {display: table-cell; text-align: center; vertical-align: middle;}

.section .grid {display: grid; grid-gap: 0em;}
.section > .inner {padding: 40px; padding-top: 80px; padding-bottom: 80px; margin: auto; max-width: var(--max);}
.section > .inner.fwidth {max-width: 1800px;}
.section > .inner.nopadding {padding-top: 0px !important; padding-bottom: 0px !important;}

.section.header {position: relative; background: #000; z-index: 1}
.section.header > .inner {position: relative; padding: 0px; margin: 0px; max-width: none;}
.section.header > .inner:after {content: ''; position: absolute; bottom: 0px; left: 0px; width: 100%; height: 300px; background: linear-gradient(to top, #000, transparent); z-index: 10; pointer-events: none;}
.section.header .headerbg {width: 100%; max-width: 1400px; display: block; margin: auto; height: auto; aspect-ratio: 16 / 9; opacity: 1;}
.section.header .logo {width: 40%; max-width: 300px; margin: auto; display: block; filter: drop-shadow(0 0 3px #000);}
.section.header .btm {z-index: 11; width: 100%; position: absolute; bottom: 0px; text-align: center; padding: 40px; padding-top: 90px; padding-bottom: 0px;}
.section.header h1 {font-size: clamp(28px, 5vw, 48px); letter-spacing: .01em; margin: 0 0 8px;}
.section.header .btm p {color: rgba(255,255,255,.85); margin: 0;}

/* Section content variants */

.section.intro > .inner {max-width: 900px; text-align: center; font-size: 18px; padding-top: 30px;}
.section.events > .inner {max-width: 900px; text-align: center; font-size: 18px; padding-top: 0px;}
.section.gallery > .inner {text-align: center; font-size: 18px; padding-top: 30px; position: relative; z-index: auto;}
.section.videos > .inner {padding-top: 30px; z-index: auto;}
.section.downloads > .inner {max-width: 500px; text-align: center; font-size: 20px; padding-top: 30px;}
.section.contact > .inner {max-width: 400px; text-align: center; font-size: 20px; padding-top: 30px;}
.section.repertoire > .inner {text-align: center; font-size: 18px; padding-top: 30px; position: relative;}
.section.notfound > .inner {text-align: center; font-size: 18px; padding-top: 30px;}

@media screen and (max-width: 800px) {
	.section.header > .inner:after {height: 200px;}
}

@media screen and (max-width: 500px) {
	.section.header > .inner:after {height: 150px;}
}

.section .mwidth {max-width: 600px;}

.section > .inner.w {max-width: 1400px;}

.sec-bg {background: #FAFAFA; color: #000}

.section .bck {opacity: .3; z-index: 0; content: ''; background-size: cover; background-position: center; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px;}

a {color: var(--accent); transition: color .2s}
a:hover {color: var(--accent-hover)}

h1, h2, h3, h4, h5, h6 {font-weight: 700;}

.footer {color: #888; text-align: center; padding: 24px; border-top: 1px solid rgba(255,255,255,.08);}
.footer .lp-badge {color: #888; text-decoration: none; transition: color .2s; margin-left: 24px;}
.footer .lp-badge:hover {color: #bbb;}
@media (max-width: 800px) {
	.footer .lp-badge {display: block; margin: 6px 0 0;}
}

.navmenu {text-align: center; padding: 10px 20px;}
.navmenu a {color: #fff; display: block; padding: 10px 0px}
.navmenu a:active {color: var(--accent)}

/* Video gallery */

.video-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-item { position: relative; overflow: hidden; border-radius: var(--radius); background: #111; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); aspect-ratio: 16 / 10; contain: layout style paint; }
.video-item:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(159, 118, 236, 0.28); }
.video-thumbnail { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 50%, transparent); color: white; padding: 20px 12px 12px 12px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0, 0, 0, 0.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.play-button::after { content: '▶'; color: white; font-size: 24px; margin-left: 3px; }
.video-item:hover .play-button { opacity: 1; }
@media (max-width: 768px) { .video-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; } }
@media (max-width: 480px) { .video-gallery { grid-template-columns: 1fr; gap: 15px; } }
.video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.video-modal.active { display: flex; }
.video-modal-content { position: relative; max-width: 90vw; }
.video-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.video-modal video { width: 100%; height: 100%; max-height: 90vh; border-radius: var(--radius); }
.video-modal-header { color: white; font-size: 18px; text-align: center; }
.video-modal-close { color: white; font-size: 28px; cursor: pointer; background: none; border: none; padding: 0; line-height: 1; transition: opacity 0.3s ease; flex-shrink: 0; display: flex; align-items: center; }
.video-modal-close:hover { opacity: 0.7; }
/* Keep the modal fixed/above the section content stacking context */
#videoModal { position: fixed; z-index: 1000; }

/* Gallery */

.gallery {display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px; --row: 240px;}
.gallery-item {position: relative; flex-grow: 1; flex-basis: 220px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #111; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,.1);}
.gallery-item:hover {transform: translateY(-5px); box-shadow: 0 12px 28px rgba(159, 118, 236, 0.28);}
.gallery-item img {width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease;}
.gallery-item:hover img {transform: scale(1.05);}

#galleryLightbox {display: none; position: fixed; inset: 0; z-index: 1000; flex-direction: column; gap: 10px; padding: 20px; background: rgba(0,0,0,.95); backdrop-filter: blur(5px);}
#galleryLightbox.active {display: flex;}
.gallery-lightbox-image {flex: 1; min-height: 0; background-size: contain; background-position: center; background-repeat: no-repeat; border-radius: var(--radius);}
.gallery-lightbox-close, .gallery-lightbox-prev, .gallery-lightbox-next {position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease;}
.gallery-lightbox-close:hover, .gallery-lightbox-prev:hover, .gallery-lightbox-next:hover {background: rgba(255,255,255,.15); box-shadow: 0 0 0 10px rgba(255,255,255,.1);}
.gallery-lightbox-close {top: 16px; right: 16px;}
.gallery-lightbox-prev {top: 50%; left: 16px; transform: translateY(-50%);}
.gallery-lightbox-next {top: 50%; right: 16px; transform: translateY(-50%);}

@media (max-width: 800px) {
	.gallery {--row: 150px; gap: 6px;}
}
