@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 10px solid #fff;
    border-top: 10px solid #ff6347;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: background-color 0.3s, height 0.3s, padding 0.3s;
}

.header.transparent {
    background-color: rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    height: 60px;
    padding: 5px 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: width 0.3s, height 0.3s;
}

.header.scrolled .logo {
    width: 30px;
    height: 30px;
}

.title {
    font-size: 20px;
    transition: font-size 0.3s;
}

.header.scrolled .title {
    font-size: 16px;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    transition: font-size 0.3s;
}

.header.scrolled .nav a {
    font-size: 14px;
}

.nav a:hover {
    color: #ff6347;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content {
    max-width: 90%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #ff6347;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4500;
}

section {
    padding: 40px 20px;
    text-align: center;
}

.about-section,
.events-section,
.contact-section {
    background-color: #111;
}

.about-section h2,
.events-section h2,
.contact-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-section p,
.contact-section p {
    font-size: 18px;
    max-width: 90%;
    margin: 0 auto 20px;
}

.event-card {
    background-color: #222;
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
    text-align: left;
    max-width: 90%;
    margin: 10px auto;
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 16px;
}

.details-button {
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    background-color: #ff6347;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.details-button:hover {
    background-color: #ff4500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6347;
}

.footer {
    background-color: #000;
    text-align: center;
    padding: 10px;
}

.footer p {
    font-size: 14px;
}

.event-detail-section {
    padding: 60px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.event-detail-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
}

.event-detail-container h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.event-detail-container p {
    font-size: 18px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6347;
}


/* Media Queries */
@media (min-width: 600px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
    }

    .logo-container {
        margin-bottom: 0;
    }

    .logo {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .title {
        font-size: 24px;
    }

    .nav {
        flex-direction: row;
        gap: 20px;
    }

    .nav a {
        font-size: 18px;
    }

    .hero-content h2 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .cta-button {
        font-size: 18px;
    }

    .about-section h2,
    .events-section h2,
    .contact-section h2 {
        font-size: 36px;
    }

    .about-section p,
    .contact-section p {
        font-size: 20px;
    }

    .event-card h3 {
        font-size: 28px;
    }

    .event-card p {
        font-size: 18px;
    }

    .details-button {
        font-size: 18px;
    }

    .social-links a {
        font-size: 20px;
    }

    .footer p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .nav {
        display: none;
    }
}