/* Base styles approximating the target site's clean layout */
:root {
    /* Light theme with green accents */
    --bg: #ffffff;
    --bg-alt: #f5f7fb;
    --text: #161a22;
    --muted: #667089;
    --accent: #21c466;
    --accent-2: #0fb060;
    --card: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #e5e8ef;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
}
.logo { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 14px; }
.logo-img { height: 64px; width: auto; border-radius: 6px; object-fit: cover; }
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
}
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--accent-2); }
.nav-toggle { display: none; }

/* Hero */
.hero {
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 140px 0 140px;
    min-height: 70vh;
}
.hero--with-image {
    /* Gradient overlay + image */
    background-image: linear-gradient( to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.16) ), url('../img/glavna.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Improve text readability over image */
.hero h1, .hero .tagline { color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero h1 { font-size: 44px; margin: 0 0 8px; letter-spacing: 0.06em; }
.tagline { color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent);
    font-weight: 700;
}
.btn:hover { background: var(--accent-2); }

/* Sections */
.section { padding: 72px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section.center { text-align: center; }
.narrow { width: min(680px, 92%); margin: 0 auto; }
.section.center .narrow p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.section-title {
    margin: 0 0 12px;
    font-size: 32px;
}
.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.lead {
    font-size: 18px;
    color: var(--text);
}
.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}
.img-placeholder {
    background: linear-gradient(135deg, #e9eef7, #f4f7fc);
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    height: 240px;
}

/* About highlight (like target site's experience section) */
.highlight-title {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0 18px;
}
.kpi-item {
    background: var(--card);
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}
.kpi-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-2);
    margin: 0 0 6px;
}
.kpi-label { color: var(--muted); margin: 0; font-weight: 600; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    justify-content: center;
    gap: 20px;
}
.card {
    background: var(--card);
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    padding: 20px;
}
.card h3 { margin-top: 0; }
.card--media .card-media { position: relative; border-radius: 12px; overflow: hidden; }
.card-img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; transition: filter 200ms ease-in-out, transform 200ms ease-in-out; }
.card-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ffffff; opacity: 0; transition: opacity 200ms ease-in-out, background-color 200ms ease-in-out; background-color: rgba(0,0,0,0); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.card-title { background: rgba(0,0,0,0.55); padding: 10px 14px; border-radius: 8px; }
.card-media:hover .card-overlay { opacity: 1; background-color: rgba(0,0,0,0.15); }
.card-media:hover .card-img { filter: brightness(0.6); }

/* Contact */
.contact-list {
    padding-left: 0;
    list-style: none;
}
.contact-list li { margin-bottom: 8px; }
.map-wrap { width: 100%; }
.map-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e8ef;
}
.map-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid #e5e8ef;
    background: #ffffff;
    color: var(--muted);
    padding: 24px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-block; background: transparent; color: var(--text); border: 1px solid #e5e8ef; border-radius: 8px; padding: 6px 10px; }
    .site-nav { display: none; position: absolute; right: 4%; top: 112px; background: var(--bg-alt); border: 1px solid #e5e8ef; border-radius: 10px; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav li { border-bottom: 1px solid #e5e8ef; }
    .site-nav a { display: block; padding: 12px 16px; }
}

