* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/*HERO SEKCIJA*/
.hero {
    height: 84.5vh;
    background-image: url("../images/header.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/*NAVIGACIJA */
.nav {
    position: absolute;
    top: 16px;
    left: 35px;
    right: 60px;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 147px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 31px;
    margin-top: -9px; 
}

.menu a,
.menu a:hover,
.menu a:focus,
.menu a:active,
.menu a:visited {
    display: flex;
    align-items: center;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

/*HERO TEKST */
.hero-text {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1.4em;
    color: #fff;
}

/*SEKCIJE*/
.section {
    padding: 80px 10%;
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.section p {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/*KARTICE*/
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.card {
    border: 1px solid #eee;
    padding: 40px 25px;
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card p {
    font-size: 15px;
}

/*BUTTON*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 30px;
    padding: 16px 48px;

    background-color: rgb(251, 32, 86);
    color: #fff;

    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    border-radius: 50px;
    text-decoration: none;
    transition: box-shadow 0.25s ease;
}

.btn:hover {
    background-color: rgb(230, 28, 78);
}

/*FOOTER */
.site-footer {
    width: 100%;
    padding: 42px 0;
    background: rgb(25, 25, 25);
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
}

.site-footer p {
    margin: 0;
    color: #fff;
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0.6px;
}

/* HAMBURGER*/
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 35px;
    height: 35px;

    background-color: rgb(251, 32, 86);
    border-radius: 0;
    cursor: pointer;

    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    padding: 5px;
    gap: 3px;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* X stanje */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/*MOBILE*/
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .nav {
        left: 0;
        right: 0;
        padding: 0 15px;
    }

    .logo img {
        height: 70px;
    }

    .hamburger {
        display: flex;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 30;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #fff;
        display: none;
        flex-direction: column;
        align-items: flex-start;

        gap: 5px;
        padding: 10px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .menu a {
        color: #000 !important;
        font-size: 14px;
        font-weight: 400;
        width: 100%;
        padding: 10px 20px;
        justify-content: flex-start;
        transition: color 0.2s ease;
    }

    .menu a:hover,
    .menu a.active {
        color: rgb(251, 32, 86) !important;
        font-size: 14px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}
