/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #7b68ee;
    --accent-color: #00d4ff;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333;
    --success-color: #28a745;
    --kofi-color: #ff5e5b;
    --paypal-color: #00457c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* ================================
   Navigation Bar
   ================================ */
.navbar {
    background-color: var(--bg-darker);
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/*.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-link:hover {
    opacity: 0.8;
} */

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-title {
    user-select: none; /* Prevents text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.discord-link {
    background-color: #5865f2;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.discord-link:hover {
    background-color: #4752c4;
    color: var(--text-light) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #1a1a2e 100%);
    background-image: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.3) 0%, rgba(26, 26, 46, 0.3) 100%),
        url('images/hero-bg.jpg'); /* ADD YOUR HERO IMAGE */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    min-height: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.btn-kofi {
    background-color: var(--kofi-color);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-kofi:hover {
    background-color: #e04e4b;
    transform: translateY(-2px);
}

.btn-paypal {
    background-color: var(--paypal-color);
    color: var(--text-light);
}

.btn-paypal:hover {
    background-color: #003d70;
    transform: translateY(-2px);
}

/* ================================
   Sections
   ================================ */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* ================================
   About Section
   ================================ */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.about-content blockquote {
    background-color: var(--bg-card);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* ================================
   Gallery/Carousel Section
   ================================ */
.gallery-section {
    background-color: var(--bg-darker);
}

.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    text-align: center;
    padding: 1rem 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--text-gray);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* ================================
   Register Section
   ================================ */
.register-content {
    max-width: 900px;
    margin: 0 auto;
}

.event-info {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
}

.event-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.event-info p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--text-gray);
}

.registration-buttons {
    text-align: center;
    margin: 2rem 0;
}

.payment-section {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.payment-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ================================
   Schedule Section
   ================================ */
.schedule-section {
    background-color: var(--bg-darker);
}

.schedule-grid {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.schedule-item:hover {
    transform: translateX(5px);
}

.schedule-time {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-activity h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.schedule-activity p {
    color: var(--text-gray);
}

/* ================================
   FAQ Section
   ================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ================================
   Rules Section
   ================================ */
.rules-section {
    background-color: var(--bg-darker);
}

.rules-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rule-category {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--primary-color);
}

.rule-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.rule-category ul {
    list-style-position: inside;
    color: var(--text-gray);
}

.rule-category li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* ================================
   Links Section
   ================================ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.link-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.link-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-gray);
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.footer p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .carousel-slide img {
        height: 300px;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-time {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-grid,
    .rules-content,
    .links-grid {
        grid-template-columns: 1fr;
    }
}
