/* =====================================================================
   WebDev Solutions - Glavni stilovi
   Ultra moderan dizajn sa naprednim animacijama
   ===================================================================== */

/* CSS PROMENLJIVE */
:root {
    --primary-color: #00ffff;     /* Neon Cyan */
    --secondary-color: #ff00ff;   /* Electric Magenta */
    --accent-color: #ffff00;      /* Electric Yellow */
    --accent-orange: #ff6b35;     /* Vibrant Orange */
    --bg-color: #0a0a0a;
    --bg-secondary: #121212;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --card-bg: rgba(25, 25, 25, 0.8);
    --border-color: rgba(0, 255, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --font-main: 'Poppins', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    --shadow-neon: 0 0 30px rgba(0, 255, 255, 0.4);
    --shadow-pink: 0 0 30px rgba(255, 0, 255, 0.4);
}

/* RESET I OSNOVNI STILOVI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, var(--bg-color) 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* SKIP LINK ZA PRISTUPAČNOST */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* ANIMIRANI POZADINSKI EFEKTI */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundShift 12s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1) rotate(2deg);
        opacity: 1;
    }
}

/* FLOATING PARTICLES */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 20s infinite linear;
    opacity: 0.4;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(150px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* STICKY HEADER SA GLASSMORPHISM */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-neon);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px var(--primary-color));
    transform: scale(1.05);
}

.logo-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    line-height: 1.2;
}

.logo-text .line1 {
    font-size: 0.9rem;
    font-weight: 600;
}

.logo-text .line2 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 30px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    color: var(--bg-color);
    transform: translateY(-3px);
}

.main-nav a:hover::before {
    opacity: 1;
}

/* HAMBURGER MENI */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--shadow-neon);
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* SEKCIJE SA WIREFRAME EFEKTIMA */
section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 3%;
    width: 94%;
    height: 84%;
    border: 2px dashed rgba(0, 255, 255, 0.2);
    border-radius: 25px;
    z-index: -1;
    animation: wireframeGlow 6s ease-in-out infinite alternate;
}

@keyframes wireframeGlow {
    0% {
        border-color: rgba(0, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        border-color: rgba(255, 0, 255, 0.3);
        transform: scale(1.01);
    }
    100% {
        border-color: rgba(255, 255, 0, 0.25);
        transform: scale(1.02);
    }
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    animation: titleGradient 4s ease-in-out infinite;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto;
    border-radius: 3px;
    animation: underlineExpand 3s ease-in-out infinite alternate;
}

@keyframes underlineExpand {
    0% { width: 120px; }
    100% { width: 180px; }
}

/* Naslov koji nije centriran (npr. unutar #about) */
.section-title.section-title--left {
    text-align: left;
}

.section-title.section-title--left::after {
    margin: 20px 0;
}

/* SCROLL ANIMACIJE */
.animate-in {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* POČETNA SEKCIJA */
#home {
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(0, 255, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
}

#home h1 {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--accent-orange));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: heroGradient 5s ease-in-out infinite;
    line-height: 1.1;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
}

#home .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

.cta-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.cta-btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-neon);
}

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

.cta-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* O NAMA SEKCIJA */
#about .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    padding: 2rem;
}

.about-content p {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    margin: 2.5rem auto;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.guarantee-box .icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
}

.guarantee-box h4 {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.guarantee-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    font-family: var(--font-accent);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
}

.about-visual {
    position: relative;
    text-align: center;
}

.about-visual img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.about-visual:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-pink);
    border-color: var(--secondary-color);
}

/* USLUGE SEKCIJA */
#services {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 350px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    fill: var(--primary-color);
    filter: drop-shadow(0 0 12px var(--primary-color));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.service-card h3 {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.service-price {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.service-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.service-price:hover::before {
    left: 0;
}

.service-price:hover {
    color: var(--bg-color);
    transform: scale(1.05);
}

/* FAQ SEKCIJA */
#faq {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-neon);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-toggle::before {
    content: '+';
    color: var(--bg-color);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* KONTAKT SEKCIJA - novi mailto karton */
#contact {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(255, 255, 0, 0.1) 0%, transparent 70%);
}

.contact-container {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.contact-card {
    padding: 3.5rem 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.contact-card:hover::after {
    opacity: 0.4;
}

.contact-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.email-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--bg-color);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.email-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.email-cta:hover::before {
    left: 100%;
}

.email-cta:hover,
.email-cta:focus-visible {
    transform: scale(1.04) translateY(-3px);
    box-shadow: var(--shadow-pink);
    outline: none;
}

.email-cta svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    flex-shrink: 0;
}

.email-display {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    word-break: break-all;
    min-height: 1.5em;
}

.email-display .placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.contact-secondary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-secondary a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-secondary a:hover {
    color: var(--secondary-color);
}

/* Honey-trap link (nevidljiv ljudima, vidljiv botovima) */
.bot-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* FOOTER */
.main-footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: var(--bg-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-mission {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

/* RESPONZIVNOST */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .service-card {
        min-height: 320px;
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .main-nav a {
        font-size: 1.8rem;
        padding: 1.5rem 3rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    #about .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        min-height: 300px;
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo-text .line1 {
        font-size: 0.8rem;
    }
    .logo-text .line2 {
        font-size: 0.7rem;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .email-cta {
        padding: 1.3rem 2rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 1.5rem;
    }

    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* DODATNE ANIMACIJE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* PERFORMANSE - WILL-CHANGE */
.service-card,
.cta-btn,
.email-cta,
.social-link,
.faq-item,
.logo,
.animate-in,
.slide-left,
.slide-right {
    will-change: transform, opacity;
}

.service-icon {
    will-change: transform, filter;
}

.main-nav a::before,
.cta-btn::before,
.email-cta::before {
    will-change: opacity, left;
}

.animate-in.visible,
.slide-left.visible,
.slide-right.visible {
    will-change: auto;
}

/* PRISTUPAČNOST - reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body::before,
    .particles {
        animation: none;
    }
}
