@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ================= BASE ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
            radial-gradient(circle at top, #121826 0%, #0b0f14 50%, #0e1116 100%);
    color: #f2f2f2;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    padding-left: 22px;
}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0f14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffb84d, #ff9a1f);
    border-radius: 20px;
}

/* ================= NAVBAR ================= */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.nav-header #header {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 40px;

    background: rgba(10, 12, 16, 0.88);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 900;
    color: #fff !important;
    letter-spacing: 1px;
}

#header ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

#header a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #eaeaea;
    transition: 0.25s;
}

#header a:hover {
    color: #ffb84d;
}

/* ================= HERO ================= */

header:not(.nav-header) {
    margin-top: 78px;

    height: 85vh;
    min-height: 520px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;

    background:
            linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.85)),
            url("M5G90.jpg");

    background-size: cover;
    background-position: center;
}

header:not(.nav-header)::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
            linear-gradient(180deg, transparent, #0e1116);
}

header:not(.nav-header) h1 {
    position: relative;
    z-index: 2;

    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900;

    margin-bottom: 16px;

    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

header:not(.nav-header) h2 {
    position: relative;
    z-index: 2;

    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;

    color: #d6d6d6;
}

/* ================= MAIN ================= */

main {
    width: min(1200px, 92%);
    margin: 80px auto;

    display: grid;
    gap: 30px;
}

/* ================= SECTIONS ================= */

section {
    background: linear-gradient(145deg, #151a22, #11161d);

    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.06);

    padding: 40px;

    transition: 0.3s;

    box-shadow:
            0 10px 40px rgba(0,0,0,0.35);
}

section:hover {
    transform: translateY(-6px);

    border-color: rgba(255,184,77,0.25);

    box-shadow:
            0 20px 50px rgba(0,0,0,0.45);
}

section h2 {
    font-size: 34px;
    font-weight: 900;

    margin-bottom: 18px;

    color: #fff;
}

section p {
    color: #b8b8b8;
    line-height: 1.8;
    font-size: 16px;
}

/* ================= AUTO LINK ================= */

.DostupnaAuta {
    margin-top: 24px;

    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;

    font-size: 18px;
    font-weight: 700;
}

.DostupnaAuta a {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: linear-gradient(135deg, #ffb84d, #ff9a1f);

    color: #111;
    font-size: 24px;

    transition: 0.25s;
}

.DostupnaAuta a:hover {
    transform: translateY(-4px) scale(1.06);

    box-shadow:
            0 14px 30px rgba(255,184,77,0.35);
}

/* ================= LISTS ================= */

ul,
ol {
    margin-top: 16px;
}

ul li,
ol li {
    margin-bottom: 14px;

    color: #d5d5d5;
    font-size: 17px;
    line-height: 1.6;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    header:not(.nav-header) {
        height: 70vh;
    }

    section {
        padding: 28px;
    }

    section h2 {
        font-size: 28px;
    }

    .DostupnaAuta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {

    .nav-header #header {
        flex-direction: column;

        height: auto;
        gap: 12px;

        padding: 18px;
    }

    header:not(.nav-header) h1 {
        font-size: 42px;
    }

    header:not(.nav-header) h2 {
        font-size: 18px;
    }

    section {
        padding: 24px;
    }
}