* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0b0f14;
    color: white;
}


/* HEADER */

header {
    height: 80px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    background-color: #080b0f;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    margin-right: 0;
}

.logo img {
    width: 130px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    gap: 55px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    color: #1683d8;
}

.btn-ponuda {
    margin-left: auto;

    background-color: #1683d8;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-ponuda:hover {
    background-color: #126caf;
}


/* MAIN */

main {
    padding: 0 60px 100px;
}

main h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

main p {
    font-size: 20px;
    color: #b8c0c8;
}


/* HERO */

.hero {
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;

    padding: 80px 60px;

    background-image:
        linear-gradient(
            to right,
            rgba(8, 11, 15, 0.75),
            rgba(8, 11, 15, 0.45),
            rgba(8, 11, 15, 0.16)
        ),
        url("../images/hero.png");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #1683d8;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: #c5cbd1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 25px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary {
    background-color: #1683d8;
    color: white;
}

.btn-secondary {
    border: 1px solid white;
    color: white;
}


/* USLUGE */

.services {
    padding: 100px 60px;
    background-color: #0b0f14;
}

.section-title {
    margin-bottom: 50px;
}

.section-title p {
    color: #1683d8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    color: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 35px 25px;
    background-color: #111820;
    border: 1px solid #1d2a35;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #1683d8;
}

.service-card span {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #1683d8;
}

.service-card h3 {
    color: white;
    font-size: 21px;
    margin-bottom: 15px;
}

.service-card p {
    color: #9da7b1;
    font-size: 15px;
    line-height: 1.6;
}


/* O NAMA */

.about {
    padding: 100px 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;

    background-color: #080b0f;
}

.about-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    max-width: 600px;
}

.about-content .about-label {
    color: #1683d8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-content h2 {
    color: white;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.about-content p {
    color: #aeb7c0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 35px;
}

.about-stats div {
    display: flex;
    flex-direction: column;
}

.about-stats strong {
    color: #1683d8;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.about-stats span {
    color: white;
    font-size: 14px;
}


/* NAŠA OPREMA */

.equipment {
    padding: 100px 60px;

    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;

    background-color: #0b0f14;
}

.equipment-content {
    max-width: 550px;
}

.equipment-content .equipment-label {
    color: #1683d8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.equipment-content h2 {
    color: white;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.equipment-content p {
    color: #aeb7c0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.equipment-video {
    width: 100%;
    overflow: hidden;
    border: 1px solid #1d2a35;
    background-color: #080b0f;
}

.equipment-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}


/* ZAŠTO NDT-IN */

.why-us {
    padding: 100px 60px;
    background-color: #0b0f14;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    padding: 40px 30px;
    background-color: #111820;
    border-left: 3px solid #1683d8;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    background-color: #151e27;
}

.why-card span {
    display: block;
    color: #1683d8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.why-card h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 15px;
}

.why-card p {
    color: #9da7b1;
    font-size: 16px;
    line-height: 1.7;
}


/* KONTAKT */

.contact {
    padding: 100px 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    background-color: #080b0f;
}

.contact-info {
    max-width: 600px;
}

.contact-label {
    color: #1683d8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-info h2 {
    color: white;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.contact-text {
    color: #aeb7c0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item span {
    color: #1683d8;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a,
.contact-item p {
    color: white;
    font-size: 17px;
    text-decoration: none;
    margin: 0;
}

.contact-item a:hover {
    color: #1683d8;
}

.contact-form {
    background-color: #111820;
    border: 1px solid #1d2a35;
    padding: 40px;
}

.contact-form h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    color: #c5cbd1;
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;

    background-color: #080b0f;
    border: 1px solid #263541;

    color: white;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1683d8;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 15px 25px;

    background-color: #1683d8;
    color: white;

    border: none;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #126caf;
}


/* FOOTER */

.footer {
    background-color: #05070a;
    padding: 70px 60px 25px;
    border-top: 1px solid #1d2a35;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;

    padding-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-brand img {
    width: 130px;
    height: auto;
    margin-bottom: 10px;
}

.footer-brand p {
    max-width: 300px;
    color: #7f8a95;
    font-size: 14px;
    line-height: 1.6;
}

.footer-column h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column a {
    color: #9da7b1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #1683d8;
}

.footer-column p {
    color: #9da7b1;
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;

    padding-top: 20px;

    border-top: 1px solid #18212a;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #59636d;
    font-size: 12px;
    margin: 0;
}


/* GLATKI SCROLL */

html {
    scroll-behavior: smooth;
}


/* RESPONSIVE - TABLET / MOBITEL */

@media (max-width: 900px) {

    header {
        height: auto;
        padding: 20px 30px;

        flex-wrap: wrap;
        gap: 20px;
    }

    .logo img {
        width: 110px;
    }

    nav {
        order: 3;
        width: 100%;

        position: static;
        transform: none;

        justify-content: center;
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .btn-ponuda {
        padding: 10px 16px;
        font-size: 14px;
    }


    /* HERO */

    .hero {
        min-height: 700px;
        padding: 70px 30px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }


    /* USLUGE */

    .services {
        padding: 80px 30px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* O NAMA */

    .about {
        padding: 80px 30px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 400px;
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .about-content h2 {
        font-size: 34px;
    }


    /* NAŠA OPREMA */

    .equipment {
        padding: 80px 30px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .equipment-content h2 {
        font-size: 34px;
    }


    /* ZAŠTO NDT-IN */

    .why-us {
        padding: 80px 30px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* KONTAKT */

    .contact {
        padding: 80px 30px;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .contact-form {
        padding: 30px;
    }


    /* FOOTER */

    .footer {
        padding: 60px 30px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }


    /* MAIN */

    main {
        padding: 0;
    }

}


/* MANJI MOBITEL */

@media (max-width: 600px) {

    header {
        padding: 20px;
    }

    nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 13px;
    }

    .btn-ponuda {
        font-size: 13px;
        padding: 9px 13px;
    }


    /* HERO */

    .hero {
        min-height: 650px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }


    /* USLUGE */

    .services {
        padding: 70px 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }


    /* O NAMA */

    .about {
        padding: 70px 20px;
    }

    .about-image {
        height: 300px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-stats {
        gap: 35px;
    }

    .about-stats strong {
        font-size: 34px;
    }


    /* NAŠA OPREMA */

    .equipment {
        padding: 70px 20px;
    }

    .equipment-content h2 {
        font-size: 30px;
    }


    /* ZAŠTO NDT-IN */

    .why-us {
        padding: 70px 20px;
    }


    /* KONTAKT */

    .contact {
        padding: 70px 20px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .contact-form {
        padding: 25px;
    }


    /* FOOTER */

    .footer {
        padding: 50px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
    }

}