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

html {
    background-color: white;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: white;
}

.main-header {
    width: 100%;
    padding: 20px 40px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.nav-left {
    display: flex;
    gap: 25px;
}

.nav-left a {
    text-decoration: none;
    font-weight: 600;
    color: black;
    font-size: 16px;
    position: relative;
}

.nav-left a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: black;
    transition: width 0.3s;
}

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

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 18px;
    color: black;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateX(-50%) scale(1.08);
}

.nav-right {
    display: flex;
    gap: 18px;
}

.nav-right img {
    width: 22px;
}

/* HERO */
.hero-events {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    position: absolute;
    top: 60px;       
    left: 60px;      
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 120px;
    line-height: 1.05;
    text-shadow: 0 5px 20px rgba(0,0,0);
}

.event-info {
    width: 100%;
    background: #eeeef4;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 0;
    text-align: center;
}

.event-item {
    flex: 1;
    max-width: 350px;
}

.event-item strong {
    font-size: 26px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.event-item p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}


.event-gallery {
    overflow: hidden;
    background-color: white;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;   
    gap: 40px;
    padding: 30px 40px;
    overflow: hidden;
}


.event-gallery img {
    width: 550px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.35s ease;
    cursor: pointer;
}

.event-gallery img:hover {
    transform: scale(1.1);
    z-index: 5;
}


.event-bottom-text {
    max-width: 1200px;     
    margin: 0 auto;      
    text-align: center;   
    padding: 60px 20px;   
    background-color: white;
}

.event-bottom-text h2 {
    font-family: 'Anton', sans-serif;
    font-size: 70px;
    margin-bottom: 30px;
}

.event-bottom-text p {
    font-size: 22px;
    line-height: 1.7;
}

.footer-info {
    width: 100%;
    background: lightgray;
    padding: 40px 0;
}

.footer-info-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;   
    align-items: flex-start;
    gap: 400px;                
    text-align: center;        
}

.info-box {
    width: 260px;
}

.info-box strong {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.info-box p {
    font-size: 28px;
    line-height: 1.7;
    margin: 0;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -4px;
  max-height: 32px;
}


.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {

    .hero-title {
        font-size: 90px;
    }

    .gallery-track {
        gap: 25px;
        padding: 20px;
    }

    .event-gallery img {
        width: 420px;
    }

    .event-bottom-text h2 {
        font-size: 50px;
    }

    .footer-info-inner {
        gap: 120px;
    }

    .info-box {
        width: 240px;
    }

    .info-box strong {
        font-size: 30px;
    }

    .info-box p {
        font-size: 26px;
    }
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 70px;
    }

    .event-info {
        padding: 40px 15px;
    }

    .event-item strong {
        font-size: 24px;
    }

    .event-item p {
        font-size: 16px;
    }

    .gallery-track {
        gap: 20px;
        padding: 15px;
    }

    .event-gallery img {
        width: 320px;
    }

    .event-bottom-text h2 {
        font-size: 42px;
    }

    .event-bottom-text p {
        font-size: 20px;
    }

    .footer-info-inner {
        gap: 60px;
    }

    .info-box {
        width: 200px;
    }

    .info-box strong {
        font-size: 26px;
    }

    .info-box p {
        font-size: 22px;
    }
}


/* Väiksemad ekraanid – alla 720px */
@media (max-width: 720px) {

    .main-header {
        padding: 10px 14px;
    }

    .logo {
        font-size: 14px;
    }

    .nav-left {
        gap: 12px;
    }

    .nav-left a {
        font-size: 14px;
    }

    .nav-right {
        gap: 12px;
    }

    .hero-title {
        font-size: 50px;
        top: 30px;
        left: 30px;
    }

    .event-info {
        flex-direction: column;
        gap: 35px;
        padding: 35px 20px;
    }

    .event-item strong {
        font-size: 20px;
    }

    .event-item p {
        font-size: 15px;
    }

    .gallery-track {
        gap: 15px;
        padding: 15px;
    }

    .event-gallery img {
        width: 280px;
    }

    .event-bottom-text h2 {
        font-size: 38px;
    }

    .event-bottom-text p {
        font-size: 18px;
    }

    .footer-info-inner {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .info-box {
        width: 100%;
        text-align: center;
    }

    .info-box strong {
        font-size: 20px;
    }

    .info-box p {
        font-size: 18px;
    }
}


/* Väga väikesed ekraanid – alla 480px */
@media (max-width: 480px) {

    .main-header {
        padding: 8px 10px;
    }

    .nav-left {
        gap: 8px;
    }

    .nav-left a {
        font-size: 12px;
    }

    .logo {
        font-size: 12px;
    }

    .nav-right {
        gap: 8px;
    }

    .hero-title {
        font-size: 35px;
        top: 25px;
        left: 25px;
        line-height: 1.1;
    }

    .event-info {
        padding: 25px 15px;
    }

    .event-item strong {
        font-size: 18px;
    }

    .event-item p {
        font-size: 14px;
    }

    .gallery-track {
        gap: 10px;
        padding: 10px;
        flex-wrap: wrap;
    }

    .event-gallery img {
        width: calc(50% - 10px);
    }

    .event-bottom-text h2 {
        font-size: 30px;
    }

    .event-bottom-text p {
        font-size: 16px;
    }

    .info-box strong {
        font-size: 18px;
    }

    .info-box p {
        font-size: 16px;
    }
}
