html, body {
    height: 100%;
    margin: 0;
}

html {
    font-size: 100%;
}

/* body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: #1e1e1e;
    color: white;
}

main {
    flex: 1;
} */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #1e1e1e;
    color: white;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 60px;
    background-color: #1e1e1e;
}

.logo {
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-right: auto;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid transparent; 
    transition: border-color 0.3s ease; 
}

/* nav a:hover {
    border-bottom-color: #3e9bff; 
} */

/* Hero sekcija */
.hero {
    max-width: 700px;
    text-align: center;
    margin-top: -50px;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #ccc;
}

.cta {
    background-color: #00A3FF;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #008ad1;
}

/* Servisi */
.services {
    text-align: center;
    padding: 60px 20px;
}

.services h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.service {
    text-align: left;
}

.service .icon {
    margin-bottom: 15px;
}

.service h3 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 10px;
}

.service p {
    color: #ccc;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

/* Footer */
.footer {
    border-top: #000 solid 2px;
   background-color: rgb(22, 22, 22);
    color: #c2c2c2;
    padding: 25px 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
}

.footer p {
    margin: 4px 0;
    font-size: 14px;
}

.footer a {
    color: #e5e5e5;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 1.2;
}

.logo-img {
    height: 100px;
    margin-bottom: -10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-text span {
    margin: 0;
}

.logo-text .subline {
    margin-top: 2px; /* vrlo mali razmak između NIVIAN i SOLUTIONS */
}








/* Responsive tipografija i layout */
@media (max-width: 1024px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 85%;
    }

    header {
        padding: 15px 20px;
                flex-direction: column;
        align-items: center;
        text-align: center;
    }

        nav {
        margin-top: 15px; /* razmak između logotipa i menija */
    }

    nav a {

        margin-left: 15px;
        padding: 8px 10px;
    }

    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 80%;
    }

    .hero {
        padding: 60px 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}
