/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */
:root {
    --bg: #050509;
    --bg-card: #101018;
    --accent: #e50914;
    --accent-soft: #ff9955;
    --border-soft: #222;
    --text-main: #f5f5f5;
    --text-muted: #c0c0c0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, #111322 0, #050509 45%, #020206 100%);
    color: var(--text-main);
}

a { color: inherit; }

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(5,5,9,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-title {
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--accent-soft);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-main);
    white-space: nowrap;
}

nav a:hover {
    border-color: var(--accent-soft);
    background: rgba(255,153,85,0.08);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ---------------------------------------------------------
   SECTIONS
--------------------------------------------------------- */
section {
    max-width: 1000px;
    margin: 26px auto;
    padding: 20px 18px;
    background: rgba(16,16,24,0.95);
    border-radius: 16px;
    box-shadow: 0 0 26px rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.03);
}

h2 {
    margin: 0 0 14px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    color: #f8f8f8;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #000;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    min-height: min(80vh, 600px);
}

.hero-media {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0,0,0,0.05), rgba(0,0,0,0.85)),
        linear-gradient(to right, rgba(5,5,9,0.95) 0, transparent 50%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.hero-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title span {
    display: block;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    letter-spacing: 3px;
    color: var(--accent-soft);
    margin-top: 4px;
}

.btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */
.gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.gallery > div {
    min-width: 240px;
    max-width: 280px;
    scroll-snap-align: center;
}

.gallery img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ---------------------------------------------------------
   SLIDESHOW
--------------------------------------------------------- */
.slideshow-section {
    padding: 40px 20px;
    background: rgba(16,16,24,0.95);
    border-radius: 16px;
    margin: 26px auto;
    max-width: 1000px;
    box-shadow: 0 0 26px rgba(0,0,0,0.65);
}

.slideshow-wrapper {
    position: relative;
}

.slideshow-container {
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    transition: height 0.4s ease;
}

.slideshow-track > div {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slideshow-track > div.active {
    opacity: 1;
}

.slideshow-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.4);
    transform: scale(1.2);
    z-index: 0;
}

.slideshow-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    position: relative;
    z-index: 2;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
}

.slide-btn.left { left: 10px; }
.slide-btn.right { right: 10px; }

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.slideshow-dots .dot {
    width: 12px;
    height: 12px;
    background: #444;
    border-radius: 50%;
    cursor: pointer;
}

.slideshow-dots .dot.active {
    background: var(--accent-soft);
}

.slideshow-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.slideshow-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.5;
    cursor: pointer;
    border: 2px solid transparent;
}

.slideshow-thumbs img.active {
    opacity: 1;
    border-color: var(--accent-soft);
}

/* ---------------------------------------------------------
   EVENTS
--------------------------------------------------------- */
.event-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
}

.event-card {
    min-width: 260px;
    border-radius: 14px;
    background: #0a0a0f;
    overflow: hidden;
}

.event-bg {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.event-content {
    padding: 12px;
}

.event-content h3 {
    margin: 0;
    color: var(--accent-soft);
}

.event-date {
    color: var(--accent);
    font-weight: bold;
}

/* ---------------------------------------------------------
   VIDEO GALLERY
--------------------------------------------------------- */
.video-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
}

.video-card {
    min-width: 260px;
    border-radius: 14px;
    background: #0a0a0f;
    cursor: pointer;
    position: relative;
}

.video-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.video-title {
    padding: 10px;
    color: var(--accent-soft);
    font-weight: bold;
}

/* ---------------------------------------------------------
   PRIVATE GALLERY
--------------------------------------------------------- */
#private-gallery {
    display: none;
}

/* ---------------------------------------------------------
   VIDEO POPUP
--------------------------------------------------------- */
#video-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#video-popup-inner {
    max-width: 900px;
    width: 100%;
}

#video-popup video,
#video-popup iframe {
    width: 100%;
    border-radius: 12px;
}

#video-popup-close {
    position: absolute;
    top: -32px;
    right: 4px;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-media { height: 260px; }
}

@media (max-width: 768px) {
    nav { display: none; flex-direction: column; }
    nav.open { display: flex; }
    .mobile-menu-toggle { display: block; }
}

@media (max-width: 480px) {
    .brand-title { font-size: 1rem; }
    .hero-title { font-size: 1.4rem; }
}
