/* ==============================
   CSS Reset and Variables
   ============================== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #141414;
    --color-primary: #ff6600; /* Orange */
    --color-primary-dark: #cc5200;
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 102, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==============================
   Typography & Utilities
   ============================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
}

.text-center {
    text-align: center;
}
.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.w-100 {
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--color-bg);
}

.section-gradient {
    background: linear-gradient(to bottom, #111 0%, #000 100%);
}

/* ==============================
   Buttons
   ============================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

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

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

/* ==============================
   Navbar
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    object-fit: cover;
}

.brand-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   About Section
   ============================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.stat-box span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.about-logo {
    width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.2);
}

.slogan {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* ==============================
   Events Section
   ============================== */
.events-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Eventos Realizados (Slide/Scroll Horizontal) */
#past.events-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 350px;
    overflow-x: auto;
    padding-bottom: 15px; /* espaço para scrollbar */
}

/* Custom Scrollbar para o Slide */
#past.events-grid::-webkit-scrollbar {
    height: 8px;
}

#past.events-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#past.events-grid::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

#past.events-grid::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(30,30,30,0.8) 0%, rgba(15,15,15,0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: var(--glass-border);
    transform: translateY(-5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    min-width: 80px;
    height: 80px;
    box-shadow: 0 5px 15px rgba(255,102,0,0.3);
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
}

.event-card.glass-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 25px;
    gap: 15px;
}

.event-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-info-title h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.event-info-title p,
.event-info-title p a {
    color: var(--color-primary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.event-info-title p a:hover {
    color: #fff;
    text-decoration: underline;
}

.event-info-title p i {
    margin-right: 5px;
}

.event-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.event-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.fee {
    font-weight: 600;
    color: #ccc !important;
}

.badge {
    display: inline-block;
    background: #333;
    color: #aaa;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
}

.event-finished {
    opacity: 0.7;
    filter: grayscale(80%);
}

.event-finished:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==============================
   Store Section
   ============================== */
.store-subtitle {
    margin-bottom: 50px;
    color: var(--color-text-muted);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-img-wrapper {
    height: 300px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.shirt-placeholder {
    font-size: 150px;
    color: #222;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.shirt-placeholder.orange {
    color: var(--color-primary-dark);
}

.product-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-details h3 {
    font-size: 1.3rem;
}

.product-details .price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* ==============================
   Footer
   ============================== */
.footer {
    background-color: #050505;
    padding: 60px 0 20px;
    border-top: 2px solid var(--color-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    width: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-style: italic;
}

.footer-social h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--color-primary);
    background: rgba(255, 102, 0, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.social-link.icon-only {
    padding: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.social-link:hover {
    background: var(--color-primary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

.developer-link {
    color: var(--color-primary);
    font-weight: 600;
}

.developer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==============================
   Media Queries (Responsive)
   ============================== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
        display: none;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease forwards;
    }

    .mobile-menu {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .glass-panel {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
