/* slideshow */
.slideshow-section {
    margin-bottom: 2.5rem;
    text-align: center;
}
.slideshow-container {
    position: relative;
    max-width: 700px;
    margin: 1.5rem auto 1rem auto;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(250,21,0,0.10);
    overflow: hidden;
    min-height: 320px;
}
.slide {
    display: none;
    width: 100%;
    height: 320px;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.7s;
}
.slide img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(250,21,0,0.10);
}
.slide.fade {
    animation: slideFade 0.7s;
}
@keyframes slideFade {
    from { opacity: 0.2; }
    to { opacity: 1; }
}
.slideshow-dots {
    text-align: center;
    margin-top: 1rem;
}
.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    background: #A5A5A5;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: 2px solid #181818;
}
.dot.active, .dot:hover {
    background: #FA1500;
    transform: scale(1.2);
}

@media (max-width: 800px) {
    .slideshow-container, .slide img, .slide {
        height: 200px;
        min-height: 200px;
    }
}
@media (max-width: 500px) {
    .slideshow-container, .slide img, .slide {
        height: 120px;
        min-height: 120px;
    }
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #000000;
    color: #A5A5A5;
}

header {
    background: linear-gradient(120deg, #000000 70%, #FA1500 100%);
    color: #fff;
    padding-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(250,21,0,0.10);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.95);
    box-shadow: 0 2px 8px rgba(250,21,0,0.08);
}
.logo {
    text-decoration: none;
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
/* Logo image: preserve aspect ratio, fit height, allow width to scale */
.logo-img {
    height: 48px;
    width: auto;
    max-width: 80px;
    max-height: 48px;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 2px 8px rgba(250,21,0,0.15);
    object-fit: contain;
    display: block;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}
.nav-links li a {
    color: #A5A5A5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.nav-links li a.active,
.nav-links li a:hover {
    color: #FA1500;
    border-bottom: 2px solid #FA1500;
}

.hero {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
}
.hero-small {
    padding: 2.5rem 2rem 1.5rem 2rem;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FA1500;
    text-shadow: 0 2px 8px rgba(250,21,0,0.10);
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #A5A5A5;
}
.cta-btn {
    background: #FA1500;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(250,21,0,0.15);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}
.cta-btn:hover {
    background: #A5A5A5;
    color: #FA1500;
    transform: scale(1.07);
}

main {
    max-width: 900px;
    margin: -3rem auto 0 auto;
    background: #181818;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(250,21,0,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

section {
    margin-bottom: 2.5rem;
}
section h2 {
    color: #FA1500;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(250,21,0,0.10);
}

.about p, .events ul, .contact p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #A5A5A5;
}

/* Sponsors, Events, Contact, Footer */
.sponsors, .sponsor-logos, footer {
    text-align: center;
}
.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.sponsor-logos img {
    max-width: 150px;
    filter: grayscale(200%);
    padding: 0.5rem 1rem;
    transition: all 0.5s ease;
}
.sponsor-logos img:hover {
    filter: grayscale(0%);
}
footer {
    background: #000000;
    color: #A5A5A5;
    padding: 1.2rem 0 0.5rem 0;
    font-size: 1rem;
    margin-top: 2rem;
    letter-spacing: 1px;
    border-top: 2px solid #FA1500;
}
.footer-social {
    margin: 1rem 0 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.footer-social a {
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}
/* Social icons */
.footer-social img,
.contact .social-links img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1) grayscale(0.2) contrast(1.2);
    transition: filter 0.2s, transform 0.2s;
}
.footer-social a:hover img,
.contact .social-links a:hover img {
    filter: invert(22%) sepia(99%) saturate(7490%) hue-rotate(-3deg) brightness(104%) contrast(105%);
    transform: scale(1.18);
}

/* Animations */
.animate-fade-in { opacity: 0; animation: fadeIn 1.2s ease forwards; }
.animate-slide-up { opacity: 0; transform: translateY(40px); animation: slideUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards; }
.animate-pop { animation: popIn 0.7s cubic-bezier(.23,1.01,.32,1) forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { transform: scale(0.7); opacity: 0; } 80% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

@media (max-width: 700px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
    .nav-links { gap: 1rem; }
    .hero, .hero-small { padding: 2.5rem 1rem 1.5rem 1rem; }
    main { padding: 1.2rem 0.5rem 1rem 0.5rem; }
    .sponsor-logos { gap: 1rem; }
    .logo-img { height: 36px; width: auto; max-width: 60px; max-height: 36px; }
}
