/* =========================================================
   KIKI-SMART
   style.css
========================================================= */


/* =========================================================
   OSNOVNA PODESAVANJA
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fa;
    color: #1d2430;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #172033;
}

.logo span {
    color: #1473e6;
}


/* =========================================================
   NAVIGACIJA
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #4b5563;

    padding: 27px 0 24px;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #1473e6;
}

.main-nav a.active {
    color: #1473e6;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #1473e6;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f7fb 55%,
            #e9f1fb 100%
        );
}

.hero-container {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 70px;

    align-items: center;

    padding-top: 80px;
    padding-bottom: 80px;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #1473e6;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 3px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.08;

    color: #111827;

    letter-spacing: -1.5px;

    margin-bottom: 28px;
}

.hero-description {
    max-width: 620px;

    font-size: 20px;

    color: #374151;

    margin-bottom: 18px;
}

.hero-secondary {
    max-width: 600px;

    font-size: 16px;

    color: #6b7280;

    margin-bottom: 35px;
}


/* =========================================================
   DUGMAD
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 25px;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}


/* PRIMARY */

.button-primary {
    background: #1473e6;
    color: #ffffff;

    border: 2px solid #1473e6;
}

.button-primary:hover {
    background: #0d63c7;
    border-color: #0d63c7;
}


/* SECONDARY */

.button-secondary {
    background: transparent;

    color: #172033;

    border: 2px solid #cbd5e1;
}

.button-secondary:hover {
    border-color: #1473e6;
    color: #1473e6;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    width: 100%;
}

.image-placeholder {
    min-height: 390px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #172033,
            #263650
        );

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;

    box-shadow:
        0 25px 60px
        rgba(15, 23, 42, 0.18);
}

.image-placeholder span {
    color: #ffffff;

    font-size: 36px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.image-placeholder p {
    color: #aebdce;

    font-size: 15px;
}


/* =========================================================
   INTRO SEKCIJA
========================================================= */

.intro {
    background: #ffffff;

    padding: 90px 0;
}

.intro-container {
    max-width: 850px;

    text-align: center;
}

.intro h2 {
    color: #172033;

    font-size: 36px;

    margin-bottom: 25px;
}

.intro p {
    color: #5b6472;

    font-size: 18px;

    margin-bottom: 25px;
}

.intro strong {
    display: block;

    color: #1473e6;

    font-size: 20px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #111827;

    color: #d1d5db;
}

.footer-container {
    min-height: 150px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.footer-brand strong {
    display: block;

    color: #ffffff;

    font-size: 21px;

    margin-bottom: 8px;
}

.footer-brand p {
    color: #9ca3af;

    font-size: 14px;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 25px;
}

.footer-links a {
    color: #cbd5e1;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top: 1px solid #293241;

    text-align: center;

    padding: 20px;

    color: #7f8998;

    font-size: 13px;
}

/* =========================================================
   KIKI MOGUĆNOSTI
========================================================= */

.capabilities {
    padding: 100px 0;
    background: #f4f7fb;
}


/* NASLOV SEKCIJE */

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-label {
    margin-bottom: 12px;

    color: #1473e6;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
}

.section-heading h2 {
    margin-bottom: 20px;

    color: #172033;

    font-size: 38px;
    line-height: 1.2;
}

.section-heading > p:last-child {
    color: #667085;

    font-size: 18px;
}


/* GRID */

.capabilities-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 22px;
}


/* KARTICA */

.capability-card {
    grid-column: span 2;

    min-height: 270px;

    position: relative;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #e3e8ef;
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-5px);

    border-color: #c6d9f2;

    box-shadow:
        0 18px 40px
        rgba(15, 23, 42, 0.08);
}


/* POSLEDNJE DVE KARTICE CENTRIRAMO */

.capability-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.capability-card:nth-child(5) {
    grid-column: 4 / span 2;
}


/* BROJ */

.capability-number {
    margin-bottom: 30px;

    color: #1473e6;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


/* NASLOV KARTICE */

.capability-card h3 {
    margin-bottom: 15px;

    color: #172033;

    font-size: 24px;
}


/* TEKST */

.capability-card p {
    color: #667085;

    font-size: 16px;
    line-height: 1.7;
}


/* PLAVA LINIJA */

.capability-card::after {
    content: "";

    position: absolute;

    left: 35px;
    bottom: 0;

    width: 45px;
    height: 3px;

    background: #1473e6;

    transition: width 0.25s ease;
}

.capability-card:hover::after {
    width: 90px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .header-container {
        flex-direction: column;

        padding-top: 15px;
    }

    .main-nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 20px;
    }

    .main-nav a {
        padding: 15px 0;
    }


    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content {
        text-align: center;

        margin: 0 auto;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-description,
    .hero-secondary {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 650px;

        margin: 0 auto;
    }
.capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
}

.capability-card {
    grid-column: auto;
}

.capability-card:nth-child(4),
.capability-card:nth-child(5) {
    grid-column: auto;
}
}


/* =========================================================
   MOBILNI TELEFON
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .logo {
        font-size: 21px;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 13px;
    }


    .hero {
        min-height: auto;
    }

    .hero-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-secondary {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }


    .image-placeholder {
        min-height: 280px;
    }

    .image-placeholder span {
        font-size: 27px;
    }


    .intro {
        padding: 65px 0;
    }

    .intro h2 {
        font-size: 29px;
    }

    .intro p {
        font-size: 16px;
    }

    .intro strong {
        font-size: 18px;
    }


    .footer-container {
        flex-direction: column;

        text-align: center;

        justify-content: center;

        padding: 45px 0;
    }

    .footer-links {
        justify-content: center;
    }
.capabilities {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 30px;
}

.section-heading > p:last-child {
    font-size: 16px;
}

.capabilities-grid {
    grid-template-columns: 1fr;
}

.capability-card {
    min-height: auto;
    padding: 30px;
}
}