:root {
    --bg-color: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #444444;
    --accent: #118AB2;
    --grid-line: rgba(0, 0, 0, 0.07);
    /* Pojačane tačkice za "trunku" */
    --grid-dot: rgba(0, 0, 0, 0.07); 
    --border-section: rgba(17, 138, 178, 0.3);
    --border-input: #b0b0b0;
    --badge-bg: #f0f0f0;
    --input-bg: #ffffff;
}

[data-theme="dark"] {
    --bg-color: #0a2642; 
    --text-main: #f8fafc;
    --text-muted: #a1b1c5;
    --accent: #118AB2;
    --grid-line: rgba(255, 255, 255, 0.05);
    /* Pojačane tačkice u tamnoj temi */
    --grid-dot: rgba(255, 255, 255, 0.06);
    --border-section: rgba(17, 138, 178, 0.4);
    --border-input: #1a3a5a;
    --badge-bg: #153a5f;
    --input-bg: #0d3254;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 21px; 
    line-height: 1.7;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
}

/* POZADINA */
.grid-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px), 
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        radial-gradient(var(--grid-dot) 1.5px, transparent 0);
    background-size: 60px 60px, 60px 60px, 12px 12px;
    z-index: -1;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* LOGO I HEADER (Zbijeno prema tvom zahtevu) */
header { 
    height: 120px; /* Smanjeno sa 200px */
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo-container { height: 60px; display: flex; align-items: center; }
.main-logo { height: 100%; width: auto; }
[data-theme="dark"] .main-logo { filter: invert(1) brightness(1.5); }

/* THEME TOGGLE FIX (Osigurano da se vidi samo jedna ikona) */
#theme-toggle { background: none; border: none; cursor: pointer; color: var(--text-main); padding: 10px; }

[data-theme="light"] .sun-icon { display: none !important; }
[data-theme="light"] .moon-icon { display: block !important; }
[data-theme="dark"] .sun-icon { display: block !important; }
[data-theme="dark"] .moon-icon { display: none !important; }

/* HERO (Približeno header-u) */
#hero { padding: 40px 0 100px 0; } /* Smanjen gornji padding */
.italic { font-style: italic; font-family: 'Lora', serif; opacity: 1; color: var(--text-main); }

h1 { 
    font-family: 'Lora', serif; font-size: clamp(3.5rem, 9vw, 5.5rem); 
    font-weight: 400; line-height: 1.05; margin-bottom: 40px; letter-spacing: -1px;
}

.badge {
    display: inline-block; background: var(--badge-bg); padding: 8px 18px;
    font-size: 0.9rem; font-weight: 600; letter-spacing: 2px; border-radius: 4px;
    margin-bottom: 30px; color: var(--accent);
}

.lead { font-size: 1.6rem; max-width: 750px; color: var(--text-muted); font-weight: 300; }

/* SEKCIJE */
.content-grid {
    display: grid; grid-template-columns: 280px 1fr; gap: 60px;
    padding: 100px 0; border-top: 2px solid var(--border-section);
}

.label { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 4px; color: var(--accent); font-weight: 700; }
h2 { font-family: 'Lora', serif; font-size: 3.2rem; font-weight: 400; margin-bottom: 35px; line-height: 1.2; }

/* EXPERTISE */
.expertise-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; }
h3 { font-size: 1.5rem; margin-bottom: 20px; font-weight: 600; }

/* KONTAKT FORMA */
.contact-wrapper { max-width: 700px; }
.contact-intro { 
    font-family: 'Lora', serif; 
    font-size: 2.4rem; 
    line-height: 1.2;
    margin-bottom: 50px; 
    color: var(--text-main);
}

.contact-form { display: flex; flex-direction: column; gap: 25px; margin-bottom: 60px; }

/* Polja za unos (Uočljivija u svetloj temi) */
.form-group input, .form-group textarea {
    width: 100%; padding: 22px; 
    background: var(--input-bg); 
    border: 1.5px solid var(--border-input); /* Malo deblji i tamniji border */
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    font-size: 1.2rem; 
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); /* Suptilna senka za dubinu */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(17, 138, 178, 0.1);
    outline: none;
}

.submit-btn {
    align-self: flex-start; padding: 20px 60px; background: var(--accent); color: white;
    border: none; font-weight: 600; font-size: 1.2rem; cursor: pointer; border-radius: 8px;
}

/* LEGAL INFO */
.legal-info {
    padding-top: 40px; font-size: 1.1rem; line-height: 1.8;
    color: var(--text-muted); border-top: 1px solid var(--grid-line);
}
.legal-full-name { font-weight: 600; font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.legal-contact-links { margin-top: 20px; }
.legal-contact-links a { color: var(--accent); text-decoration: none; font-weight: 600; }

footer { padding: 80px 0; font-size: 1.1rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    header { height: 100px; }
    h1 { font-size: 3rem; }
}