/* OSNOVNE POSTAVKE - ČISTA MATRICA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: #050505; /* True Black */
    color: #ffffff; /* Čista bijela */
    line-height: 1.6;
}

/* NAVIGACIJA */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300; /* Tanji KOD za brutalan kontrast */
}

/* GUMBI */
.btn-outline {
    padding: 0.5rem 1.5rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-solid {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    background-color: #cccccc;
}

/* HERO SEKCIJA */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.75), rgba(5, 5, 5, 1)), 
                url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
}
}
}
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #aaaaaa;
}

/* USLUGE (GRID) */
.services {
    padding: 6rem 5%;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid #ffffff;
    padding-left: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #0a0a0a;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card p {
    color: #888888;
    font-size: 0.95rem;
}

/* KONTAKT */
.contact {
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    color: #aaaaaa;
}

/* =========================================
   ANIMACIJE I TRANZICIJE (TOP TIER)
   ========================================= */

/* Osnovno stanje elemenata prije nego uđu u ekran */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(40px); /* Pomaknuto dolje za 40 piksela */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra glatka krivulja */
}

/* Stanje kada Intersection Observer doda klasu 'show' */
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Kaskadno paljenje (Stagger effect) za grid kartice */
.grid .card:nth-child(1) { transition-delay: 100ms; }
.grid .card:nth-child(2) { transition-delay: 300ms; }
.grid .card:nth-child(3) { transition-delay: 500ms; }

/* Cyber-Glow efekt za glavni gumb */
.btn-solid {
    position: relative;
    overflow: hidden;
}

.btn-solid::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-solid:hover::before {
    left: 100%;
}