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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f6f8;
    color: #1a1a1a;
    line-height: 1.5;
}

/* LAYOUT HELPERS */
.wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.section {
    margin-bottom: 3rem;
}

/* HEADER / NAV */
.site-header {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    font-size: 1rem;
    color: #111;
    text-decoration: none;
}

.nav-left img.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    font-size: .95rem;
    color: #333;
    font-weight: 500;
    padding: .5rem .75rem;
    border-radius: .5rem;
    transition: background .2s, color .2s, box-shadow .2s;
}

.nav-links a:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* HERO / HEADLINE */
.hero-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 24px 60px -10px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(0,0,0,0.05);
}

.hero-left {
    position: relative;
}

.hero-left img.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(17,17,17,0.8);
    color: #fff;
    padding: .5rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    border-radius: .5rem;
    letter-spacing: .03em;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: .4; }
    100% { opacity: 1; }
}

.hero-right {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1rem;
    color: #444;
    max-width: 46ch;
    margin-bottom: 1.5rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.btn {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    border-radius: .6rem;
    padding: .75rem 1rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    background: #000;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.btn-outline {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    color: #111;
}

.btn-outline:hover {
    background: #f1f1f1;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

/* FEATURE CARDS / SERVICES GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card h2,
.card h3,
.card h1 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.card h2 img.card-icon-inline,
.card h3 img.card-icon-inline {
    height: 24px;
    width: auto;
    border-radius: .4rem;
}

.card h1 a,
.card h2 a,
.card h3 a {
    color: inherit;
    text-decoration: none;
}

.card h1 a:hover,
.card h2 a:hover,
.card h3 a:hover,
.card h1 a:focus-visible,
.card h2 a:focus-visible,
.card h3 a:focus-visible {
    text-decoration: underline;
}

.card p {
    font-size: .9rem;
    color: #444;
}

.card .card-img-wrap {
    margin-top: 1rem;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.card .card-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .8s ease;
}

.card .card-img-wrap img.zoomable:hover {
    transform: scale(1.25);
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
    gap: 2rem;
}

.contact-block {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.12);
}

.contact-block .title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: .75rem;
}

.contact-block p,
.contact-block li {
    font-size: .9rem;
    color: #444;
    line-height: 1.5;
    list-style: none;
}

.contact-block a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-block a:hover {
    text-decoration: underline;
}

.company-legal {
    font-size: .8rem;
    color: #666;
    line-height: 1.5;
    margin-top: 1rem;
}

/* FOOTER */
.site-footer {
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 1.5rem 1rem 3rem;
    font-size: .8rem;
    color: #666;
    border-radius: 1rem 1rem 0 0;
    margin-top: 3rem;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
}

/* SMALL UTILS */
.subtle {
    font-size: .8rem;
    color: #666;
}

.img-inline-icon {
    height: 32px;
    width: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
    .hero-left {
        order: 1;
        min-height: 200px;
        max-height: 260px;
    }
    .hero-right {
        order: 2;
    }
    .nav-links {
        gap: .5rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .nav-links {
        width: 100%;
        gap: .25rem;
    }

    .nav-links a {
        font-size: .9rem;
        padding: .45rem .5rem;
    }
}

.card p.card-subcaption {
    margin-top: .75rem;
}

/* Razmaci i čitljivost sadržaja unutar kartica */
article.card h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}

article.card p {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.6;
}

article.card ul {
  margin-top: 8px;
  margin-bottom: 20px;
  padding-left: 24px;
}

article.card li {
  margin-bottom: 6px;
  line-height: 1.5;
}