/* =========================
   OSNOVNA PODEŠAVANJA
   ========================= */

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: #161616;
    background: #ffffff;
}



/* =========================
   HEADER
   ========================= */

   .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 100px;
    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #eeeeee;

    backdrop-filter: blur(10px);
}

.header-inner {
    width: 90%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 30px;

    height: 100%;

    text-decoration: none;
}

.logo img {
    height: 62px;
    width: auto;
    display: block;
}

.logo span {
    color: #161616;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;

    letter-spacing: 1px;
}


/* NAVIGACIJA */

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    position: relative;

    color: #161616;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 0;

    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        #3f8cff,
        #6860e8
    );

    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #5865f2;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: #5865f2;
}

.main-nav a.active::after {
    width: 100%;
}


/* =========================
   HERO
   ========================= */

.hero {
    position: relative;

    min-height: 600px;

    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(8, 12, 25, 0.82),
        rgba(8, 12, 25, 0.48),
        rgba(8, 12, 25, 0.25)
    );
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    color: #ffffff;
}

.hero h1 {
    font-size: clamp(48px, 5vw, 78px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    margin-top: 28px;

    font-size: 21px;
    font-weight: 400;

    color: #f1f1f1;
}

.hero-button {
    display: inline-block;

    margin-top: 35px;
    padding: 15px 26px;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    background: linear-gradient(
        135deg,
        #3f8cff,
        #6860e8
    );

    border-radius: 4px;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.hero-button span {
    margin-left: 8px;
}

.hero-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(63, 140, 255, 0.3);
}

/* =========================
   KEY MESSAGES
   ========================= */

   .key-messages {
    width: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 30px 5%;

    background: linear-gradient(
        135deg,
        #f2f7ff 0%,
        #f7f5ff 100%
    );

    border-top: 1px solid #e1e8f5;
    border-bottom: 1px solid #e6e1f2;
}

.message {
    padding: 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.message + .message {
    border-left: 1px solid rgba(80, 100, 150, 0.18);
}

.message p {
    max-width: 300px;

    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;

    color: #333333;
}

.message strong {
    font-weight: 700;
    color: #161616;
}

/* =========================
   O NAMA CONTENT SECTION
   ========================= */

   .about-section {
    scroll-margin-top: 100px;
    background: #ffffff;
    padding: 120px 5%;
}

.about-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.about-heading {
    position: relative;
}

.section-label {
    display: inline-block;

    margin-bottom: 24px;

    color: #5865f2;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}

.about-heading h2 {
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: #161616;
}

.about-content {
    max-width: 680px;
    padding-top: 42px;
}

.about-content h3 {
    margin-bottom: 28px;

    font-size: 27px;
    line-height: 1.35;
    font-weight: 600;

    color: #202020;
}

.about-content p {
    margin-bottom: 22px;

    font-size: 17px;
    line-height: 1.8;
    color: #555555;
}


/* =========================
   USLUGE
   ========================= */

   .services-section {
    scroll-margin-top: 100px;
    padding: 120px 5%;

    background: #f7f8fa;
}

.services-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.services-heading h2 {
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -1.5px;

    color: #161616;
}


.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 55px;
}


.service-item {
    display: flex;
    gap: 22px;

    padding: 35px 0;

    border-top: 1px solid #dfe1e6;
}

.service-item:nth-child(3),
.service-item:nth-child(4) {
    border-bottom: 1px solid #dfe1e6;
}


.service-number {
    flex-shrink: 0;

    font-size: 13px;
    font-weight: 600;

    color: #5865f2;

    padding-top: 4px;
}


.service-text h3 {
    margin-bottom: 14px;

    font-size: 20px;
    font-weight: 600;

    color: #202020;
}


.service-text p {
    font-size: 15px;
    line-height: 1.7;

    color: #626262;
}


/* =========================
   KONTAKT
   ========================= */

   .contact-section {
    scroll-margin-top: 100px;
    padding: 120px 5%;

    background: #111522;
    color: #ffffff;
}

.contact-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}


.contact-section .section-label {
    color: #7185ff;
}


.contact-heading h2 {
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -1.5px;

    color: #ffffff;
}


.contact-details {
    display: flex;
    flex-direction: column;

    padding-top: 30px;
}

.contact-intro {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

.contact-item {
    padding: 25px 0;

    border-bottom: 1px solid rgba(255,255,255,0.12);
}


.contact-item span {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #8c93a5;
}


.contact-item a,
.contact-item p {
    font-size: 18px;
    line-height: 1.5;

    color: #ffffff;
    text-decoration: none;
}


.contact-item a {
    transition: color 0.3s ease;
}


.contact-item a:hover {
    color: #7185ff;
}


/* =========================
   FOOTER
   ========================= */

   .site-footer {
    background: #f2f4f8;
    color: #161616;

    padding: 55px 5% 25px;
}


.footer-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}


.footer-brand strong {

    color: #161616;
    display: block;

    margin-bottom: 6px;

    font-size: 24px;
    letter-spacing: 1px;
}


.footer-brand span {
    font-size: 16px;
    color: #737a89;
}


.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-links a,
.footer-legal a {
    color: #555c6b;
    text-decoration: none;

    font-size: 13px;

    transition: color 0.3s ease;
}


.footer-links a:hover,
.footer-legal a:hover {
    color: #5865f2;
}


.footer-bottom {
    width: 90%;
    max-width: 1400px;

    margin: 45px auto 0;
    padding-top: 20px;

    border-top: 1px solid #dce0e7;
    color: #7b8190;

    font-size: 11px;
    color: #666d7d;
}


/* =========================
   MOBILE MENU BUTTON
   ========================= */

   .menu-toggle {
    display: none;

    width: 42px;
    height: 42px;
    padding: 8px;

    border: none;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: #161616;

    transition: transform 0.3s ease,
                opacity 0.3s ease;
}



/* =========================
   RESPONSIVE
   ========================= */

   @media (max-width: 900px) {

    /* HEADER */

    .site-header {
        height: 85px;
    }

    .header-inner {
        width: 90%;
    }

    .logo img {
        height: 52px;
    }

    .logo span {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        min-height: 600px;

        background-position: center;
    }

    .hero-content {
        width: 90%;
    }

    .hero h1 {
        font-size: clamp(42px, 8vw, 62px);
    }

    .hero p {
        max-width: 450px;
        font-size: 18px;
    }


    /* KEY MESSAGES */

    .key-messages {
        grid-template-columns: 1fr;

        padding: 15px 5%;
    }

    .message {
        padding: 28px 20px;
    }

    .message + .message {
        border-left: none;
        border-top: 1px solid rgba(80, 100, 150, 0.18);
    }


    /* O NAMA */

    .about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-content {
        padding-top: 0;
    }


    /* USLUGE */

    .services-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .services-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .service-item:nth-child(3),
    .service-item:nth-child(4) {
        border-bottom: none;
    }

    .service-item:last-child {
        border-bottom: 1px solid #dfe1e6;
    }


    /* KONTAKT */

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-details {
        padding-top: 0;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =========================
   LEGAL PAGES
   ========================= */

   .legal-page {
    background: #ffffff;
    padding: 100px 5% 120px;
}

.legal-inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-inner h1 {
    margin-bottom: 55px;

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.1;

    color: #161616;
}

.legal-inner h2 {
    margin-top: 50px;
    margin-bottom: 18px;

    font-size: 23px;
    line-height: 1.3;

    color: #202020;
}

.legal-inner p {
    margin-bottom: 20px;

    font-size: 16px;
    line-height: 1.8;

    color: #555555;
}