/* =========================
   RESET
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* =========================
   GLOBAL FLUID SPACING
   ========================= */

section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 120px);
}


/* =========================
   HEADER (mobile first)
   ========================= */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: clamp(15px, 4vw, 30px);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.logo img {
    height: clamp(32px, 5vw, 48px);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 3vw, 30px);
}

nav a {
    color: #777;
    text-decoration: none;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}


/* =========================
   EVENTS
   ========================= */

.events {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events h1 {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: clamp(5px, 1vw, 15px);
    text-align: center;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
    width: 100%;
    max-width: 1600px;
}

.event {
    flex: 1 1 clamp(280px, 45vw, 420px);
    background: #000;
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.event-link {
    text-decoration: none;
    color: inherit;
}

.event:hover {
    transform: translateY(-10px);
    border-color: #fff;
}

.img-container {
    background: #0a0a0a;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.5s ease;
    display: block;
}

.event:hover .img-container img {
    filter: grayscale(0%);
}

.event-info {
    padding: clamp(18px, 3vw, 35px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.event h2 {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    text-transform: uppercase;
    margin-bottom: clamp(15px, 3vw, 30px);
}

.btn {
    padding: clamp(12px, 2vw, 18px);
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 900;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #fff;
    transition: 0.3s ease;
}

.btn:hover {
    background: #000;
    color: #fff;
}


/* =========================
   ABOUT
   ========================= */

.about-section {
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-section h1 {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: clamp(25px, 4vw, 50px);
}

.about-section p {
    color: #aaa;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 25px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 60px);
    margin-top: clamp(40px, 6vw, 80px);
}

.stat h2 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 900;
}

.stat p {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}


/* =========================
   FOOTER
   ========================= */

footer {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 120px);
}

.sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 5vw, 60px);
    margin-bottom: clamp(30px, 5vw, 60px);
}

.sponsors img {
    height: clamp(20px, 3vw, 35px);
    filter: grayscale(1) invert(1);
    opacity: 0.3;
    transition: 0.3s ease;
}

.sponsors img:hover {
    opacity: 1;
}

footer p {
    font-size: clamp(0.6rem, 1vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
}


/* =========================
   BREAKPOINT ENHANCEMENTS
   ========================= */

/* Tablet and up */
@media (min-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
    }

    .about-stats {
        flex-direction: row;
        justify-content: center;
    }
}

/* Large screens */
@media (min-width: 1600px) {

    .event-list {
        max-width: 1800px;
    }

    .about-content {
        max-width: 1200px;
    }
}.footer-sponsors {
    display: flex;
    flex-wrap: nowrap;          /* ZABRÁNI zalamovaniu */
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
    overflow-x: auto;           /* ak sa nezmestia, môžu scrollovať */
    white-space: nowrap;
    scrollbar-width: none;      /* skryje scrollbar (Firefox) */
}

.footer-sponsors::-webkit-scrollbar {
    display: none;              /* skryje scrollbar (Chrome) */
}

.footer-sponsors img {
    flex: 0 0 auto;             /* každé logo má vlastnú šírku */
    height: clamp(18px, 2.5vw, 28px);
    opacity: 0.3;
    filter: grayscale(1) invert(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-sponsors img:hover {
    opacity: 1;
    transform: translateY(-2px);
}
/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    border-top: 1px solid #1a1a1a;
    padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 120px);
    background: #000;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h1 {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.contact-subtitle {
    color: #777;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    margin-bottom: clamp(40px, 6vw, 80px);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 6vw, 60px);
}

.contact-item h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 10px;
}

.contact-item a,
.contact-item span {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-item a:hover {
    color: #ffcc00;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        justify-content: center;
        gap: 120px;
    }
}