/* ===== VARIABLES ===== */
:root {
    --primary: #ffffff;
    --primary-glow: rgba(255, 255, 255, 0.2);
    --accent: #cccccc;
    --highlight: #ff3c00;
    --highlight-glow: rgba(255, 60, 0, 0.4);
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #888888;
    --text-light: #cccccc;
    --border: #222222;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.tachometer {
    width: 80px;
    height: 80px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    animation: tach-spin 0.8s linear infinite;
}

.tach-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--primary);
    transform-origin: bottom center;
    transform: translate(-50%, -100%);
    border-radius: 2px;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--text-gray);
    margin-top: 24px;
}

@keyframes tach-spin {
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-white);
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.catalog-link {
    color: var(--primary) !important;
    font-weight: 600;
}

.catalog-link:hover {
    color: var(--accent) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 24px 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-gray);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 4s ease-in-out infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 30px;
}

.hero-logo {
    max-width: 320px;
    width: 60%;
    height: auto;
    margin: 0 auto 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 10vw, 100px);
    letter-spacing: 8px;
    opacity: 0;
    transform: translateY(40px);
}

.title-line.accent {
    color: var(--text-white);
    text-shadow: 0 0 60px var(--primary-glow);
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-white);
    color: #0a0a0a;
    box-shadow: 0 4px 30px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--highlight);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--highlight-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-gray);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}

.accent {
    color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition);
}

.about-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--text-white);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== EVENTS ===== */
.events {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.event-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.event-month {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--primary);
}

.event-day {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.event-location {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.event-desc {
    font-size: 14px;
    color: var(--text-light);
}

.status-badge {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-badge.upcoming {
    background: rgba(255, 60, 0, 0.15);
    color: var(--primary);
    border: 1px solid rgba(255, 60, 0, 0.3);
}

.status-badge.planning {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border: 1px solid var(--border);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 120px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: var(--transition);
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 14px;
    transition: var(--transition);
}

.gallery-placeholder:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-desc {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin: 24px 0 40px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-gray);
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-gray);
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-down"] {
    transform: translateY(0);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        justify-content: space-between;
    }

    .logo-img {
        height: 50px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        margin-top: 10px;
        padding: 0 16px;
    }

    .hero-logo {
        max-width: 240px;
        width: 65%;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 12px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .stats-bar .container {
        gap: 32px;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .about {
        padding: 80px 0;
    }

    .events {
        padding: 80px 0;
    }

    .gallery {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }
}
