* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: url('../images/desktop.avif') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    color: white;
}

header {
    position: relative;
    height: 75vh;
    background: url('../images/header.jpg') center top / cover no-repeat;
    overflow: hidden;
    background-position: center -210px;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #f8f9fa 100%);
    pointer-events: none;
}

header .navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

nav a {
    color: white;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00c3ff;
}

main {
    min-height: 70vh;
}

.footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px 20px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #00aced;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    height: 24px;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px; /* razmak između ikonica */
    margin-top: 10px;
}

.footer-social a svg {
    width: 30px;
    height: 30px;
    fill: #555; /* osnovna boja ikonica */
    transition: fill 0.3s, transform 0.3s;
}

.footer-social a:hover svg {
    fill: #1da1f2; /* boja na hover, možeš zamijeniti: LinkedIn plava, Instagram gradient, GitHub crna */
    transform: scale(1.2); /* malo se uveća pri hoveru */
}

/* Ako želiš različite boje za svaku ikonicu */
.footer-social a[aria-label="LinkedIn"] svg:hover {
    fill: #0077b5; /* LinkedIn plava */
}

.footer-social a[aria-label="Instagram"] svg:hover {
    fill: #e4405f; /* Instagram pink */
}

.footer-social a[aria-label="GitHub"] svg:hover {
    fill: #00f320; /* GitHub crna */
}


@media (max-width: 1024px) {
    /* HERO */
    .hero-text {
        height: auto;
        padding: 60px 20px 40px 20px;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-text .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services h2 {
        font-size: 1.7rem;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .intro-owner {
        flex-direction: column;
        padding: 40px 20px;
        max-width: 90%;
    }

    .intro-text {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }
    .intro-text p {
        max-width: 90%;
    }
    .intro-image {
        margin-top: 20px;
    }

    header nav a.nav-link {
        font-size: 2.8rem;
        padding: 10px 15px;
    }

    header {
        background-size: contain;
        background-position: center top;
        height: 50vh;
    }
}