/* ==================================================
   NexIT Solutions – CSS stilovi
   Plavo-bijela profesionalna paleta boja
   ================================================== */

/* ---------- CSS varijable ---------- */
:root {
    --primary: #1e3a8a;        /* tamno plava */
    --primary-light: #2563eb;  /* svijetlo plava */
    --primary-dark: #172554;   /* najtamnija plava */
    --accent: #3b82f6;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --text: #1e293b;
    --shadow: 0 10px 30px rgba(30, 58, 138, 0.12);
    --shadow-hover: 0 16px 40px rgba(30, 58, 138, 0.20);
    --radius: 14px;
    --transition: all 0.3s ease;
    --header-height: 72px;
}

/* ---------- Reset / osnovno ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Tipografija ---------- */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 48px;
}

.text-accent {
    color: var(--primary-light);
}

/* ---------- Gumbi ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    font-weight: 400;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

/* Gumb "Zatražite besplatnu procjenu" – tamnija boja slova, gumb ostaje plav */
.js-contact-btn {
    background: var(--accent);
    color: #0d1b3f;
    font-weight: 700;
}

.js-contact-btn:hover {
    background: var(--primary-light);
    color: #0d1b3f;
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-block {
    width: 100%;
}

/* ==================================================
   HEADER
   ================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.logo-accent {
    color: var(--primary-light);
}

/* WhatsApp link */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.whatsapp-link:hover {
    background: #1ebe5b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Plutajući WhatsApp gumb – uvijek prikazan, dolje desno */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 999;
    padding: 14px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover {
    background: #1ebe5b;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .whatsapp-icon {
    width: 26px;
    height: 26px;
}

/* Broj je skriven – pokazuje se tek nakon otvaranja WhatsAppa */
.whatsapp-number {
    display: none;
}

/* Navigacija */
.nav-list {
    display: flex;
    gap: 36px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger gumb – skriveno na desktopu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Animacija hamburger -> X */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==================================================
   HERO
   ================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 48px) 0 80px;
    overflow: hidden;
}

/* Pozadinska slika – skroz iza teksta, s jako slabim zamagljenjem */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: blur(2px);
    transform: scale(1.02);
}

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

.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

/* Tekst */
.hero-content {
    position: relative;
    isolation: isolate;
    max-width: 680px;
    padding: 32px 40px;
    text-align: center;
    border-radius: var(--radius);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(255, 255, 255, 0.7);
}

/* Zamagljenje samo na pozadini – sadržaj (text i gumb) ostaje oštar */
.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(255, 255, 255, 0.85);
}

/* Titlaj (typing) kursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background: var(--primary-light);
    vertical-align: text-bottom;
    border-radius: 2px;
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-title .text-accent {
    color: var(--primary-light);
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(255, 255, 255, 0.85);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 36px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(255, 255, 255, 0.85);
}

/* ==================================================
   USLUGE
   ================================================== */
.services {
    padding: 96px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
    background: linear-gradient(160deg, var(--white), var(--gray-50));
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-text {
    color: var(--gray-500);
    font-size: 0.98rem;
}

/* ==================================================
   CJENIK
   ================================================== */
.pricing {
    padding: 96px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(30, 58, 138, 0.06), transparent 45%),
        var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Istaknuta kartica – Napredni paket (Preporuka) */
.pricing-card-featured {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, var(--primary-light), var(--primary)) border-box;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.pricing-card-featured:hover {
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* Paket oznaka (Sigurnost / Rast) */
.pricing-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.pricing-card-featured .pricing-amount {
    color: var(--primary-light);
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-700);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin: 0 0 28px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding: 8px 0 8px 34px;
    color: var(--gray-700);
    font-size: 0.98rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
}

.pricing-features li strong {
    font-weight: 700;
    color: var(--primary-dark);
}

/* Opis paketa (Idealno za) */
.pricing-description {
    font-size: 0.98rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

/* Premium paket – istaknuta kartica */
.pricing-card-premium {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, var(--primary), var(--primary-dark)) border-box;
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.25);
}

.pricing-card-premium:hover {
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.35);
}

.pricing-card-premium .pricing-amount {
    color: var(--primary);
}

/* ==================================================
   NAŠI RADOVI
   ================================================== */
.works {
    padding: 96px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.06), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(30, 58, 138, 0.05), transparent 45%),
        var(--white);
}

.works-carousel {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.works-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox – sakrij scrollbar */
    cursor: grab;
    padding: 4px 0 12px;
}

.works-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari – sakrij scrollbar */
}

.works-track.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
    -webkit-user-select: none;
}

.work-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.work-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.06);
}

.work-body {
    padding: 24px;
}

.work-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.work-text {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* Indikator broja radova */
.works-indicator {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
}

/* ==================================================
   KONTAKT
   ================================================== */
.contact {
    padding: 96px 0;
    background: var(--gray-50);
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
}

.form-status.success {
    color: #16a34a;
}

.form-status.error {
    color: #dc2626;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    opacity: 0.85;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-hours {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-privacy {
    margin-left: 8px;
    opacity: 1;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-privacy:hover {
    border-bottom-color: var(--white);
}

/* ==================================================
   PRAVNE STRANICE (Politika privatnosti i sl.)
   ================================================== */
.legal {
    padding: calc(var(--header-height) + 64px) 0 96px;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 40%),
        linear-gradient(160deg, var(--gray-50), var(--white));
    min-height: 100vh;
}

.legal .container {
    max-width: 860px;
}

.legal-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    background: var(--white);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.legal h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
}

.legal p {
    color: var(--gray-700);
    font-size: 1rem;
    margin-bottom: 14px;
}

.legal ul {
    list-style: none;
    margin: 0 0 16px;
}

.legal ul li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--gray-700);
    font-size: 1rem;
}

.legal ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
}

.legal-link {
    color: var(--primary-light);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    word-break: break-all;
}

.legal-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.legal-note {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ---------- Pravne stranice – mobilni ---------- */
@media (max-width: 768px) {
    .legal {
        padding: calc(var(--header-height) + 40px) 0 64px;
    }

    .legal-title {
        font-size: 1.9rem;
    }

    .legal-intro {
        font-size: 1rem;
        padding: 16px 20px;
    }

    .legal h2 {
        font-size: 1.25rem;
    }
}

/* ==================================================
   RESPONZIVNOST (Media Queries)
   ================================================== */

/* ---------- Tablet (<= 900px) ---------- */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ---------- Mobilni (<= 768px) ---------- */
@media (max-width: 768px) {
    .header-inner {
        position: relative;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Mobilni izbornik – padajući panel */
    .nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav.open {
        max-height: 320px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 8px 24px 20px;
    }

    .nav-list li a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link::after {
        display: none;
    }

.nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

/* WhatsApp u zaglavlju – sakrij na mobilnom (koristi se plutajući gumb) */
    .header .whatsapp-link {
        display: none;
    }

/* Hero */
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 56px) 0 120px;
    }

    .hero-stage {
        min-height: auto;
        padding: 24px 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 28px 20px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    /* Usluge – kartice jedna ispod druge */
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Cjenik */
    .pricing {
        padding: 80px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    /* Naši radovi */
    .works {
        padding: 80px 0;
    }

    /* Kontakt */
    .contact {
        padding: 80px 0;
    }

    .contact-form {
        padding: 28px 20px;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ---------- Mali telefoni (<= 480px) ---------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

.hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ---------- Pristupačnost: smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

