@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- DIZAJN SISTEM VARIABLES --- */
:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.7);
    --accent-green: #15b516;
    /* Dublja sportska zelena za bolji kontrast na svetloj pozadini */
    --accent-green-glow: rgba(21, 181, 22, 0.15);
    --accent-cyan: #0066cc;
    /* Tehnička plava (cobalt) za svetlu pozadinu dijagnostike */
    --accent-cyan-glow: rgba(0, 102, 204, 0.15);
    --text-light: #12151c;
    /* Promenjeno iz bele u tamnu carbon-boju */
    --text-muted: #637381;
    /* Promenjeno iz svetlo-sive u tamniju slate-sivu */
    --font-headings: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-color: rgba(0, 0, 0, 0.08);
    /* Suptilnije tamne ivice */
}

/* --- GLOBALNI STILOVI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Visina sticky navbara */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #252836;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* --- PROSTOR / AIR DESIGN --- */
section {
    padding: 100px 0;
    position: relative;
}

/* --- ANIMACIJE PRI SKROLOVANJU (REVEAL EFFECT) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* --- HEADER / NAVBAR --- */
.navbar {
    background-color: transparent !important;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.navbar.scrolled {
    background-color: var(--bg-nav);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand img,
.navbar-brand object {
    height: 95px;
    width: auto;
    transition: var(--transition-smooth);
    display: inline-block;
    vertical-align: middle;
}

.navbar.scrolled .navbar-brand img,
.navbar.scrolled .navbar-brand object {
    height: 50px;
}

.nav-link {
    color: var(--bg-dark) !important;
    font-family: var(--font-headings);
    /* font-weight: 500; */
    font-size: 1rem;
    margin: 0 12px;
    padding: 6px 0 !important;
    position: relative;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-green) !important;
}

/* Linija ispod linka */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--accent-green-glow);
}

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

.nav-link.active {
    color: var(--accent-green) !important;
    text-decoration: underline;
    text-underline-offset: 10px;
}

/* Mobilni Hamburger */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    display: block;
    margin: 6px 0;
    transition: var(--transition-smooth);
    background-color: #fff;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.96)),
        url('assets/hero_bg.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-slogan {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--bg-dark);
}

.hero-slogan span {
    color: transparent;
    -webkit-text-stroke: 1px var(--bg-dark);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

/* CTA dugmad */
.btn-custom {
    font-family: var(--font-headings);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-accent {
    background-color: var(--accent-green);
    color: #000000;
    border: 2px solid var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green-glow);
}

.btn-accent:hover {
    background-color: transparent;
    color: var(--accent-green);
    box-shadow: 0 0 25px var(--accent-green-glow);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid var(--text-muted);
}

.btn-outline-custom:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transform: translateY(-2px);
}

/* Specifičan stil za "SAZNAJTE VIŠE" dugme u service kartama */
.service-card .btn-outline-custom {
    color: var(--text-light);
}

.service-card .btn-outline-custom:hover {
    color: var(--accent-cyan);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    fill: var(--text-muted);
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover svg {
    fill: var(--accent-green);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* --- ZAJEDNIČKE KOMPONENTE (SECTIONS) --- */
.section-tag {
    color: var(--accent-cyan);
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title span {
    color: var(--accent-green);
}

.section-desc {
    max-width: 600px;
    margin-bottom: 60px;
}

/* --- USLUGE SECTION --- */
.services-section {
    background-color: var(--bg-card);
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 2;
}

.service-img-wrapper {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    z-index: 3;
    transition: var(--transition-smooth);
}

.service-content {
    padding: 30px;
    position: relative;
    z-index: 3;
    margin-top: -60px;
    /* Preklapanje preko slike */
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
    color: var(--bg-dark);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(26, 208, 27, 0.4);
    box-shadow: 0 15px 40px var(--accent-green-glow);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-card:hover .service-icon-badge {
    background-color: var(--accent-green);
    color: #000000;
    box-shadow: 0 0 15px var(--accent-green-glow);
}

.service-card:hover .service-title {
    color: var(--accent-green);
}

/* --- TMG DIJAGNOSTIKA SECTION --- */
.tmg-section {
    background-color: var(--bg-dark);
}

.tmg-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tmg-feature-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}

.tmg-feature-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(5px);
    background-color: var(--bg-card-hover);
}

.tmg-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: var(--font-headings);
}

.tmg-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

/* TMG Interactive visualizer */
.tmg-visualizer {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.tmg-visualizer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
}

.vis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.vis-status {
    font-size: 0.8rem;
    font-family: var(--font-headings);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    background-color: rgba(0, 229, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vis-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.vis-graph-area {
    height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: radial-gradient(circle at center, #ffffff 0%, #f0f4f8 100%);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Custom SVG path animation to simulate TMG wave */
.tmg-wave {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tmg-curve {
    stroke: var(--accent-cyan);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawWave 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tmg-curve-base {
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 1;
    fill: none;
}

@keyframes drawWave {
    0% {
        stroke-dashoffset: 1000;
    }

    40% {
        stroke-dashoffset: 0;
    }

    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        opacity: 0;
        stroke-dashoffset: 0;
    }
}

.vis-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.vis-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.vis-stat-val {
    font-size: 1.6rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 2px;
}

.vis-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* --- O NAMA SECTION --- */
.about-section {
    background-color: var(--bg-dark);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.about-feat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition-smooth);
}

.about-feat-card:hover {
    border-color: rgba(26, 208, 27, 0.2);
    transform: translateY(-5px);
}

.about-feat-card svg {
    margin-bottom: 15px;
    fill: var(--accent-green);
}

.about-feat-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.about-feat-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-img-box {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(7, 8, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 25px;
    z-index: 2;
}

.about-quote {
    font-style: italic;
    color: var(--bg-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.about-author {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--accent-green);
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- VALD PLATFORMA SECTION --- */
.vald-section {
    background-color: var(--bg-card);
}

.vald-dashboard {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    position: relative;
}

.db-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.db-title {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-title span {
    background-color: var(--accent-cyan);
    color: #000000;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.db-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.db-widget:hover {
    border-color: var(--accent-cyan);
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.db-widget-icon {
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.db-widget-val {
    font-size: 1.8rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.db-widget-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Asymmetry split bar widget */
.asymmetry-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.asymmetry-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-headings);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.asymmetry-bar-wrapper {
    height: 16px;
    background-color: #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.bar-left {
    height: 100%;
    width: 52%;
    background: linear-gradient(90deg, var(--accent-cyan), #00aaff);
    transition: width 1s ease-in-out;
    position: relative;
}

.bar-right {
    height: 100%;
    width: 48%;
    background: linear-gradient(90deg, #9b51e0, var(--accent-green));
    transition: width 1s ease-in-out;
}

.asymmetry-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.asymmetry-percent {
    font-weight: 700;
    font-size: 1.1rem;
}

.percent-left {
    color: var(--accent-cyan);
}

.percent-right {
    color: var(--accent-green);
}

/* --- PARALLAX SECTION --- */
.parallax-section {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
        url('assets/sprint_parallax.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax Magic */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Fallback za mobilne uredjaje koji ne podrzavaju background-attachment: fixed */
@media (max-width: 991px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

.parallax-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-transform: uppercase;
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
    padding: 0 20px;
}

/* --- MAPA SECTION --- */
.map-section {
    padding: 0;
    /* Bez paddinga za full width */
    background-color: var(--bg-dark);
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

/* Premium dark map style */
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.15) contrast(1.05) opacity(0.9);
    transition: var(--transition-smooth);
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1.1) opacity(1);
}

/* --- CONTACT MODAL --- */
.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 30px;
}

.modal-header .btn-close {
    background-color: transparent;
    filter: none;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-light) !important;
    border-radius: 6px;
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green-glow);
    outline: none;
}

.form-select option {
    background-color: #ffffff;
    color: var(--text-light);
}

/* --- FOOTER --- */
.footer-section {
    background-color: #0b0c10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px 0;
    color: #ffffff !important;
}

.footer-section .footer-title {
    color: #ffffff !important;
}

.footer-section .footer-about,
.footer-section .footer-links a,
.footer-section .contact-info-list li {
    color: #a0aec0 !important;
}

.footer-section .footer-links a:hover {
    color: var(--accent-green) !important;
}

.footer-section .social-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.footer-section .social-btn:hover {
    background-color: var(--accent-green);
    color: #000000 !important;
}

.footer-section .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-section .footer-bottom p {
    color: #718096 !important;
}

.footer-logo {
    height: 95px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-green);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-list svg {
    margin-right: 12px;
    flex-shrink: 0;
    fill: var(--accent-cyan);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-btn svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    background-color: var(--accent-green);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 12px var(--accent-green-glow);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* --- RESPONZIVNOST (MEDIA QUERIES) --- */
@media (max-width: 1199px) {
    .db-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }

    .navbar-collapse {
        background-color: #000;
        backdrop-filter: blur(20px);
        margin: 20px -12px 0 -12px;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .nav-link {
        margin: 10px 0;
    }

    .about-img-box {
        min-height: 350px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .vis-stats {
        grid-template-columns: 1fr;
    }

    .db-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* --- SUBPAGE STYLING --- */
.subpage-header {
    padding: 180px 0 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.98)),
        url('assets/hero_bg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.subpage-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.subpage-title span {
    color: var(--accent-green);
}

.breadcrumbs {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
    color: var(--accent-green);
}

.breadcrumbs span {
    margin: 0 10px;
    color: var(--text-muted);
}

/* --- STRUČNI TIM (ABOUT PAGE) --- */
.team-section {
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(21, 181, 22, 0.3);
    box-shadow: 0 15px 30px var(--accent-green-glow);
}

.team-img-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: #f1f3f5;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: var(--transition-smooth);
}

.team-card:hover .team-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-role {
    font-family: var(--font-headings);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.team-name {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- TOK SARADNJE (SERVICES PAGE) --- */
.process-section {
    background-color: var(--bg-card);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: var(--transition-smooth);
    z-index: 1;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.05);
}

.process-number {
    font-size: 3rem;
    font-family: var(--font-headings);
    font-weight: 800;
    color: rgba(21, 181, 22, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.process-card:hover .process-number {
    color: var(--accent-green);
}

.process-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-desc {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- FAQ SECTION (CONTACT PAGE) --- */
.faq-section {
    background-color: var(--bg-card);
}

.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item:hover {
    border-color: rgba(21, 181, 22, 0.2) !important;
}

.accordion-button {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--text-light) !important;
    background-color: #ffffff !important;
    padding: 20px 25px;
    box-shadow: none !important;
    border: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-green) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.accordion-body {
    padding: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
    background-color: #fafbfc;
}

/* --- GALERIJA STRANICA --- */
.gallery-items {
    background-color: var(--bg-dark);
}

.gallery-items .item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    aspect-ratio: 4 / 3;
}

.gallery-items .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-items .item:hover img {
    transform: scale(1.05);
}

.gallery-items .item .hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    opacity: 0;
    z-index: 2;
    transition: var(--transition-smooth);
}

.gallery-items .item:hover .hover {
    opacity: 1;
}

/* Responsiveness for subpages */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }
}
