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

body {
    font-family: 'Inter', sans-serif;
}

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

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.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 ease;
}

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

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: black;

    transition: color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

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

.hero {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: clamp(50px, 12vw, 240px);
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 0 30px rgba(0,0,0,1);

    max-width: none;
    white-space: nowrap;
}

/* INTRO */
.intro-section {
    text-align: center;
    padding: 120px 40px;
    background: #f7f7fb;
}

.intro-section h2 {
    font-family: 'Anton', sans-serif;
    font-size: 60px;
    margin-bottom: 20px;
}

.intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.7;
    color: #333;
}

.intro-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.intro-btn {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: #0F0F0F;
    border-radius: 6px;
    transition: 0.3s ease;
}

.intro-btn:hover {
    transform: scale(1.05);
}

/* FOOTER */
.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;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .intro-section {
        padding: 80px 20px;
    }

    .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) {
    .intro-section {
        padding: 60px 20px;
    }

    .intro-section h2 {
        font-size: 50px;
    }

    .intro-section p {
        font-size: 20px;
    }

    .intro-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .info-box {
        width: 200px;
    }

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

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

/* Väikesed ekraanid – alla 720px laiust */
@media (max-width: 720px) {
    .main-header {
        padding: 10px 12px;
    }

    .nav-left,
    .nav-right {
        gap: 10px;
    }

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

    .logo {
        font-size: 14px;
    }

    .intro-section h2 {
        font-size: 36px;
    }

    .intro-section p {
        font-size: 16px;
    }

    .intro-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

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

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

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

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

/* Väga väikesed ekraanid – alla 480px laiust */
@media (max-width: 480px) {
    .main-header {
        padding: 8px 10px;
    }

    .nav-left,
    .nav-right {
        gap: 8px;
    }

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

    .logo {
        font-size: 12px;
    }

    .intro-section {
        padding: 40px 16px;
    }

    .intro-section h2 {
        font-size: 28px;
    }

    .intro-section p {
        font-size: 14px;
    }

    .intro-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

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

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