/* Advokat Jasmina Šarić Hasanović – redizajn 2026 */

:root {
    --gold: #b8942d;
    --gold-light: #d4b04a;
    --gold-pale: #f3ead4;
    --navy: #0c1424;
    --navy-soft: #162032;
    --text: #2a3342;
    --text-muted: #5c6778;
    --bg: #f7f5f0;
    --white: #ffffff;
    --border: rgba(12, 20, 36, 0.08);
    --shadow: 0 16px 48px rgba(12, 20, 36, 0.08);
    --shadow-lg: 0 24px 60px rgba(12, 20, 36, 0.14);
    --radius: 14px;
    --radius-sm: 8px;
    --container: 1140px;
    --header-h: 88px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.container {
    width: min(var(--container), calc(100% - 2.5rem));
    margin-inline: auto;
}

/* ---- Header ---- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header--solid {
    background: var(--navy);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.site-header.is-scrolled {
    background: rgba(12, 20, 36, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo img { height: 58px; width: auto; }

.site-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--gold-light); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch__nav {
    display: flex;
    gap: 0.2rem;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .lang-switch__nav,
.site-header--solid .lang-switch__nav {
    background: rgba(255, 255, 255, 0.06);
}

.lang-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: background var(--transition), color var(--transition);
}

.lang-switch__link:hover { color: #fff; }

.lang-switch__link.is-active {
    background: var(--gold);
    color: var(--navy);
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(184, 148, 45, 0.5);
    background: rgba(184, 148, 45, 0.12);
    color: var(--gold-light);
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}

.btn-phone:hover {
    background: var(--gold);
    color: var(--navy);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* ---- Hero ---- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/1200/7774104/themida.jpg') center/cover no-repeat;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(12, 20, 36, 0.88) 0%, rgba(12, 20, 36, 0.55) 50%, rgba(12, 20, 36, 0.75) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
    max-width: 720px;
}

.hero__badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(184, 148, 45, 0.4);
    border-radius: 999px;
    background: rgba(184, 148, 45, 0.1);
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero h1 .gold { color: var(--gold-light); }

.hero__subtitle {
    margin: -0.5rem 0 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
}

.hero__lead {
    margin: 0 0 2rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 540px;
}

.hero__areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.hero__areas li {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
}

.hero__areas li::before {
    content: "◆";
    color: var(--gold);
    margin-right: 0.4rem;
    font-size: 0.55rem;
    vertical-align: middle;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 148, 45, 0.35);
    color: var(--navy);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn--dark {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    width: 100%;
}

.btn--dark:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ---- Sections ---- */

.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section--white { background: var(--white); }
.section--cream { background: var(--bg); }
.section--dark {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section__eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.section--dark .section__eyebrow { color: var(--gold-light); }

.section__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.section--dark .section__title { color: #fff; }

.section__title .gold { color: var(--gold); }

.section__divider {
    width: 56px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section__desc {
    margin: 1.25rem 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---- About ---- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-quote {
    margin: 0 0 1.5rem;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 500;
    line-height: 1.45;
    color: var(--navy);
}

.about-quote .gold { color: var(--gold); font-weight: 700; }

.about-text { color: var(--text-muted); margin: 0 0 1rem; }

.about-contact {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--gold-pale);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-contact p { margin: 0.25rem 0; font-size: 0.95rem; }

/* ---- Services ---- */

.services-banner {
    position: relative;
    padding: 5rem 0 3rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.services-banner__bg {
    position: absolute;
    inset: 0;
    background: url('../images/1920/8070195/hero-usluge.jpg') center/cover;
}

.services-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 36, 0.72);
}

.services-banner .container { position: relative; z-index: 1; }

.services-section {
    padding-top: 0;
}

.services-intro {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0.5rem auto 2.25rem;
    padding: 1.75rem 2.25rem;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.services-intro::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.services-intro__lead {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    line-height: 1.8;
    color: var(--text);
    font-weight: 400;
}

.services-intro__lead strong {
    color: var(--navy);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border-radius: 12px;
    font-size: 1.4rem;
}

.service-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: var(--navy);
}

.service-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Propisi ---- */

.propisi-banner {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.propisi-banner__bg {
    position: absolute;
    inset: 0;
    background: url('../images/1920/8070345/pravni-propisi.jpg') center 80%/cover;
}

.propisi-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 36, 0.7);
}

.propisi-banner .container { position: relative; z-index: 1; }

.propisi-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.propisi-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.propisi-item:nth-child(even) .propisi-item__image { order: 2; }
.propisi-item:nth-child(even) .propisi-item__body { order: 1; }

.propisi-item__image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.propisi-item__body { padding: 2rem 2.5rem; }

.propisi-item h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--navy);
}

.propisi-item h3 .gold { color: var(--gold); }

.propisi-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- CTA band ---- */

.cta-band {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    background: url('../images/1920/5284077/pexels-photo-1061588.jpeg') center/cover;
}

.cta-band__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 36, 0.8);
}

.cta-band .container { position: relative; z-index: 1; }

.cta-band h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
    margin: 0 auto 1.75rem;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ---- FAQ ---- */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem 1.25rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    padding: 0.85rem 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-weight: 700;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- Contact ---- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dde3ea;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: #fafbfc;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 148, 45, 0.15);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form-privacy {
    margin: 0.5rem 0 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.contact-form-privacy label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-weight: 400;
}

.contact-form-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-form-captcha img,
.contact-form-captcha canvas {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: block;
    background: #f7f7f7;
}

.contact-form-captcha-refresh {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gold);
}

.contact-form-captcha-refresh:hover { color: var(--navy); }

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

.contact-form-status {
    margin-bottom: 1rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.contact-form-status--success { background: #ecfdf5; color: #047857; }
.contact-form-status--error { background: #fef2f2; color: #b91c1c; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-info-card h3 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.contact-info-card p { margin: 0.2rem 0; font-size: 0.95rem; }

address.contact-info-card { font-style: normal; }

.map-embed {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---- Footer ---- */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    border-top: 3px solid var(--gold);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-grid h4 {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid li { margin-bottom: 0.4rem; }

.footer-grid a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-grid a:hover { color: var(--gold-light); }

.footer-logo img { height: 70px; margin-bottom: 1rem; }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Subpages ---- */

.page-hero {
    padding: calc(var(--header-h) + 3rem) 0 3rem;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero p { margin: 0; color: rgba(255, 255, 255, 0.7); }

.page-content {
    padding: 3rem 0 4rem;
    max-width: 780px;
    margin: 0 auto;
}

.page-content h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--navy);
}

.page-content p, .page-content li { color: var(--text-muted); }

.page-content ol, .page-content ul {
    padding-left: 1.25rem;
    margin: 1rem 0;
}

.page-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gold);
}

.back-link:hover { color: var(--navy); }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; max-width: 480px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        background: var(--navy);
        padding: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .site-nav a { display: block; padding: 0.85rem 0; }

    .propisi-item,
    .propisi-item:nth-child(even) { grid-template-columns: 1fr; }
    .propisi-item:nth-child(even) .propisi-item__image { order: 0; }

    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .services-intro { padding: 1.35rem 1.25rem; margin-bottom: 1.75rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
