:root {
    --accent: #C9922A;
    --accent-light: #F0C040;
    --accent-glow: rgba(201, 146, 42, 0.25);
    --dark: #0A0A0A;
    --dark-2: #141414;
    --dark-3: #1C1C1C;
    --silver: #A8B4C0;
    --silver-light: #D0D8E0;
    --light: #F9F8F5;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--light); color: var(--text); overflow-x: hidden; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 146, 42, 0.25);
    z-index: 1000; padding: 1rem 0;
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 44px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-weight: 500; font-size: 0.95rem; transition: 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent-light); transition: 0.3s;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 0.6rem 1.5rem; background: var(--accent); color: #fff;
    border-radius: 8px; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; transition: 0.3s; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-light); color: #000; transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; color: white; cursor: pointer; padding: 4px; }
.mobile-nav { display: none; flex-direction: column; background: var(--dark-2); border-top: 1px solid rgba(201,146,42,0.2); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 1rem 1.5rem; color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.2s; }
.mobile-nav a:last-child { color: var(--accent-light); font-weight: 700; border-bottom: none; }
.mobile-nav a:hover { color: var(--accent-light); background: rgba(201,146,42,0.08); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding-top: 72px; }
.hero-left {
    background: var(--dark); display: flex; flex-direction: column;
    justify-content: center; padding: 80px 64px; position: relative; overflow: hidden;
}
.hero-glow-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,146,42,0.18) 0%, transparent 70%); top: -150px; left: -150px; pointer-events: none; }
.hero-glow-2 { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(240,192,64,0.1) 0%, transparent 70%); bottom: -100px; right: -80px; pointer-events: none; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,146,42,0.12); border: 1px solid rgba(201,146,42,0.35);
    color: var(--accent-light); padding: 6px 16px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; margin-bottom: 2rem; width: fit-content; position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.5); max-width: 460px; margin-bottom: 2.5rem; position: relative; z-index: 1; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-primary { padding: 0.9rem 2rem; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; border-radius: 10px; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn-primary:hover { background: var(--accent-light); color: #000; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,146,42,0.4); }
.btn-ghost { padding: 0.9rem 2rem; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; border-radius: 10px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.12); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(201,146,42,0.4); color: var(--accent-light); }
.hero-right { position: relative; overflow: hidden; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-right-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--dark) 0%, rgba(10,10,10,0.05) 35%); }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--accent); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 0.5rem 1rem; border-right: 1px solid rgba(0,0,0,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.4rem; font-weight: 700; color: #000; line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(0,0,0,0.6); margin-top: 5px; font-weight: 600; }

/* ===== SECTION HELPERS ===== */
.section-label { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); }
.section-label.light { color: var(--accent-light); }
.section-label.light::before { background: var(--accent-light); }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.8rem; }
.section-title.dark-text { color: var(--text); }
.section-title.light-text { color: #fff; }
.section-subtitle { font-size: 1.05rem; max-width: 580px; margin-bottom: 3.5rem; }
.section-subtitle.dark-sub { color: var(--text-muted); }
.section-subtitle.light-sub { color: rgba(255,255,255,0.45); }

/* ===== SERVICES ===== */
#storitve { padding: 8rem 0; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--white); padding: 2rem 1.8rem; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; gap: 0; cursor: pointer; position: relative; }
.service-card-top { display: flex; gap: 1.2rem; align-items: flex-start; }
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201,146,42,0.12); }
.service-card.featured { grid-column: 1 / -1; max-width: 380px; margin: 0 auto; width: 100%; }
.service-icon-box { width: 44px; height: 44px; background: rgba(201,146,42,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.service-body { flex: 1; }
.service-num { font-size: 0.7rem; font-weight: 700; color: var(--accent); opacity: 0.55; margin-bottom: 5px; }
.service-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.45rem; }
.service-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.service-gallery-hint {
    display: flex; align-items: center; gap: 6px;
    margin-top: 1.1rem; padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--accent); font-size: 0.8rem; font-weight: 600;
    transition: 0.2s;
}
.service-card:hover .service-gallery-hint { gap: 10px; }

/* ===== SERVICE MODAL ===== */
.svc-modal-overlay {
    position: fixed; inset: 0; z-index: 8000;
    background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.svc-modal-overlay.open { display: flex; }
.svc-modal {
    background: var(--dark-2); border: 1px solid rgba(201,146,42,0.2);
    border-radius: 20px; width: 100%; max-width: 900px;
    max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
}
.svc-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.svc-modal-title { color: #fff; font-size: 1.2rem; font-weight: 700; }
.svc-modal-close {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s; flex-shrink: 0;
}
.svc-modal-close:hover { background: rgba(201,146,42,0.6); }
.svc-modal-body { padding: 1.5rem 2rem; overflow-y: auto; }
.svc-modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-thumb { border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.3s; filter: grayscale(15%); }
.svc-thumb:hover img { transform: scale(1.05); filter: grayscale(0%); }
.svc-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.svc-thumb-overlay .zoom-icon { opacity: 0; transform: scale(0.7); transition: 0.3s; background: rgba(201,146,42,0.85); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.svc-thumb:hover .svc-thumb-overlay { background: rgba(0,0,0,0.2); }
.svc-thumb:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* ===== PROJECTS GALLERY ===== */
#projekti { padding: 8rem 0; background: var(--dark); }
.gallery-masonry { column-count: 3; column-gap: 12px; }
.gallery-item { break-inside: avoid; margin-bottom: 12px; border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: auto; display: block; transition: 0.45s ease; filter: grayscale(25%); }
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0%); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.gallery-overlay .zoom-icon { color: #fff; opacity: 0; transform: scale(0.7); transition: 0.3s; background: rgba(201,146,42,0.85); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.25); }
.gallery-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,0.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-width: 80px; min-height: 80px; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px; user-select: none; display: block; }
.lightbox-img.loading { opacity: 0; width: 0; height: 0; }
.lightbox-spinner { display: none; width: 48px; height: 48px; border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--accent-light); border-radius: 50%; animation: lb-spin 0.7s linear infinite; position: absolute; }
.lightbox-spinner.active { display: block; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lightbox-close { position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; z-index: 1; }
.lightbox-close:hover { background: rgba(201,146,42,0.7); }
.lightbox-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.lightbox-btn:hover { background: rgba(201,146,42,0.7); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 500; }

/* ===== ABOUT ===== */
#o-nas { padding: 8rem 0; background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; border-radius: 20px; object-fit: cover; height: 500px; display: block; }
.about-badge { position: absolute; bottom: -24px; left: -24px; background: var(--accent); color: #000; padding: 1.4rem 1.8rem; border-radius: 16px; text-align: center; box-shadow: 0 8px 32px rgba(201,146,42,0.45); }
.about-badge .num { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-badge .lbl { font-size: 0.78rem; font-weight: 600; opacity: 0.75; margin-top: 4px; }
.about-heading { font-size: 2.6rem; font-weight: 700; color: var(--text); line-height: 1.1; margin-bottom: 1.5rem; }
.about-heading em { color: var(--accent); font-style: normal; }
.about-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.check-dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ===== CONTACT ===== */
#kontakt { padding: 8rem 0; background: var(--dark-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.3rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; transition: 0.3s; }
.contact-info-item:hover { border-color: rgba(201,146,42,0.4); background: rgba(201,146,42,0.06); }
.contact-icon { color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.38); margin-bottom: 3px; }
.contact-info-item p { color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.92rem; }
.contact-form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.45rem; color: rgba(255,255,255,0.65); font-size: 0.83rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.82rem 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-family: inherit; font-size: 0.93rem; transition: 0.3s; outline: none; }
.form-group select option { background: var(--dark-2); color: #fff; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,146,42,0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===== FOOTER ===== */
footer { padding: 2.5rem 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 36px; opacity: 0.8; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-light); }
.copyright { color: rgba(255,255,255,0.25); font-size: 0.82rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 60px 40px; }
    .hero-right { height: 420px; clip-path: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-badge { left: 16px; bottom: 16px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card.featured { grid-column: auto; max-width: none; }
    .gallery-masonry { column-count: 2; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card.featured { grid-column: auto; max-width: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid rgba(0,0,0,0.15); }
    .stat-item:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.15); border-right: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .section-title { font-size: 2rem; }
    .about-heading { font-size: 2rem; }
    .gallery-masonry { column-count: 2; }
    .hero-left { padding: 50px 24px; }
    .lightbox-btn { width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .svc-modal-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-modal-header { padding: 1.2rem 1.2rem; }
    .svc-modal-body { padding: 1rem 1.2rem; }
}
@media (max-width: 480px) {
    .gallery-masonry { column-count: 1; }
    .hero-actions { flex-direction: column; }
    .hero-actions a, .hero-actions button { text-align: center; justify-content: center; }
    .contact-form-wrap { padding: 1.5rem; }
}
