@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #0A0A0C;      /* Zatamnjeno za Tech Brutalism izgled */
    --bg-darker: #050505;
    --accent: #c7ff00;        /* Neon Lime */
    --accent-glow: rgba(199, 255, 0, 0.4);
    --text-main: #fdfbf7;
    --text-muted: #a0a0a5;    /* Malo tamnija siva za bolji kontrast */
    --border: rgba(253, 251, 247, 0.1);
    --border-solid: #2A2A2A;  /* Oštre ivice */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100vw; overflow-x: hidden; }
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 400;
    max-width: 100vw;
    overflow-x: hidden;
    line-height: 1.6;
}

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

nav {
    position: fixed; top: 0; width: 100%; padding: 30px 40px; display: flex;
    justify-content: space-between; align-items: center; z-index: 100; transition: all 0.4s ease;
}
nav.scrolled {
    background: rgba(10, 10, 12, 0.95); backdrop-filter: blur(10px);
    padding: 15px 40px; border-bottom: 1px solid var(--border-solid);
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--text-main); text-decoration: none; transition: color 0.3s; z-index: 102; }
.logo svg { height: 38px; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: 2px; }
.logo:hover { color: var(--accent); }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
    color: var(--text-main); text-decoration: none; font-family: var(--font-head);
    font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.hamburger { display: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; z-index: 102; }
.hamburger span {
    display: block; height: 2px; width: 100%; background-color: var(--text-main);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.btn-main {
    position: relative; overflow: hidden; background: transparent; border: 1px solid var(--accent);
    color: var(--accent); padding: 16px 36px; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; text-decoration: none; border-radius: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
    transition: color 0.4s ease, border-color 0.4s ease; z-index: 1; font-size: 0.85rem;
}
.btn-main span { position: relative; z-index: 2; }
.btn-main::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); z-index: 0;
}
.btn-main:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-main:hover { color: #000 !important; }

.page-transition { opacity: 1; transition: opacity 0.4s ease-in-out; }
.page-transition.fade-out { opacity: 0; }

.hero {
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    position: relative; 
    padding-bottom: 90px;
    background: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.98)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
}
.hero-3d-logo { position: relative; width: 320px; height: 320px; margin: 0 auto 35px auto; perspective: 1000px; z-index: 10; }
svg.static-hexagon { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.spinner-3d {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    transform-style: preserve-3d; transform-origin: 50% 50%; animation: snappy3DSpin 7s cubic-bezier(0.12, 0.8, 0.15, 1) infinite;
}
.c-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 50% 50%; }
.layer-front { transform: translateZ(20px); fill: var(--text-main); }
.layer-edge { transform: translateZ(8px); fill: rgba(199, 255, 0, 0.2); }
.layer-mid { transform: translateZ(-4px); fill: rgba(0, 0, 0, 0.6); }
.layer-back { transform: translateZ(-16px); fill: rgba(0, 0, 0, 0.9); }
@keyframes snappy3DSpin { 0% { transform: rotateY(0deg); } 30% { transform: rotateY(360deg); } 100% { transform: rotateY(360deg); } }

.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 35px auto; font-weight: 300; letter-spacing: 1px; padding: 0 15px; }

.scroll-indicator { position: absolute; bottom: 95px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; z-index: 10; transition: opacity 0.3s ease; }
.scroll-indicator:hover { opacity: 0.8; }
.mouse-icon { width: 24px; height: 40px; border: 2px solid rgba(199, 255, 0, 0.5); border-radius: 20px; position: relative; }
.mouse-icon .wheel { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollAnim 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes scrollAnim { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 16px); } }
.scroll-text { font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }

.about-section {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 150px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-body);
    overflow: hidden;
}

.about-heading {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
}
.about-heading span { color: var(--accent); }

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}
.about-text p:first-of-type {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.about-text strong { color: var(--text-main); font-weight: 700; }

.section-padding { padding: 150px 0; overflow: hidden; }
.bg-darker { background-color: var(--bg-darker); border-top: 1px solid var(--border-solid); border-bottom: 1px solid var(--border-solid); }
.section-header { position: relative; margin-bottom: 80px; display: flex; justify-content: space-between; align-items: flex-end; width: 100%; overflow: hidden; }
.outline-text { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.8rem, 8vw, 8rem); color: transparent; -webkit-text-stroke: 1px rgba(253, 251, 247, 0.05); line-height: 1; position: absolute; top: -30px; left: 0; z-index: 0; user-select: none; max-width: 100%; overflow: hidden; white-space: nowrap; }
.overlay-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); text-transform: uppercase; position: relative; z-index: 1; color: var(--accent); letter-spacing: 1px; }

/* Grid za proizvode/katalog */
.releases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; width: 100%; }
.release-card { cursor: pointer; }
.artwork { height: 400px; background-size: cover; background-position: center; position: relative; overflow: hidden; border-radius: 0; border: 1px solid var(--border-solid); transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(199, 255, 0, 0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.play-overlay span {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: #000;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.release-card:hover .artwork { transform: scale(0.97); border-color: var(--accent); }
.release-card:hover .play-overlay { opacity: 1; }
.release-card:hover .play-overlay span { transform: translateY(0); }

.release-info { padding: 20px 0; }
.release-info h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--text-main); }
.release-info p { 
    color: var(--accent); 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.connect-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 120px; width: 100%; }
.social-hub { text-align: center; }
.social-hub h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; margin-bottom: 30px; text-transform: uppercase; color: var(--text-main); }
.social-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.social-links a { position: relative; isolation: isolate; overflow: hidden; background: rgba(253,251,247,0.02); border: 1px solid var(--border-solid); padding: 20px; color: var(--text-main); text-decoration: none; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 15px; transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s ease; border-radius: 0; }
.social-links a::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
.social-links a:hover::before { transform: scaleX(1); transform-origin: left; }
.social-links a img.social-svg-icon { transition: filter 0.3s; }
.social-links a:hover { color: #000; border-color: var(--accent); transform: translateY(-5px); }
.social-links a:hover img.social-svg-icon { filter: brightness(0) saturate(100%); }
.social-svg-icon { width: 22px; height: 22px; filter: brightness(0) invert(1); vertical-align: middle; transition: filter 0.3s; }

.form-container { text-align: center; width: 100%; }
.big-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; text-transform: uppercase; margin-bottom: 20px; }
.accent { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 20px; width: 100%; text-align: left; }
.contact-form input, .contact-form textarea { width: 100%; background: #111; border: 1px solid var(--border-solid); padding: 16px 20px; color: var(--text-main); font-family: var(--font-body); font-size: 1rem; border-radius: 0; transition: border-color 0.3s, background 0.3s; outline: none; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); background: #151515; }

footer {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-solid);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--bg-darker);
    width: 100%;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-link:hover { color: var(--accent); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-solid);
    color: var(--text-main);
    padding: 15px 40px;
    z-index: 1005;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease-in-out;
}
.cookie-banner.show {
    transform: translateY(0);
    visibility: visible;
}
.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
    text-transform: uppercase;
}
.cookie-btn { padding: 12px 30px; font-size: 0.85rem; }

.gs-reveal, .gs-reveal-left, .gs-reveal-down { opacity: 0; }

/* Modal za softver detalje */
.track-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity; }
.track-modal-overlay.active { opacity: 1; pointer-events: auto; }
.track-modal-content { background: var(--bg-darker); border: 1px solid var(--border-solid); border-radius: 0; max-width: 800px; width: 90%; padding: 40px; position: relative; transform: translate3d(0, 20px, 0); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; display: flex; gap: 30px; }
.track-modal-overlay.active .track-modal-content { transform: translate3d(0, 0, 0); }
.close-modal { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer; transition: color 0.3s; }
.close-modal:hover { color: var(--accent); }
#modalCover { width: 300px; height: 300px; object-fit: cover; border-radius: 0; border: 1px solid var(--border-solid); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.modal-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
#modalTitle { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; line-height: 1.1; margin-bottom: 5px; }
#modalArtist { color: var(--accent); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 20px; }
#modalDesc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }
.modal-links { display: flex; gap: 15px; }
.modal-btn { padding: 12px 25px; font-size: 0.9rem; flex: 1; }

@media (max-width: 900px) {
    .container { padding: 0 20px; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(5,5,5,0.98); backdrop-filter: blur(15px); flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; }
    .hamburger { display: flex; }
    
    .about-heading { font-size: 2.2rem; }
    .about-text p:first-of-type { font-size: 1.15rem; }
    .social-links { grid-template-columns: 1fr; }
    
    nav { padding: 15px 20px; }
    .logo { gap: 10px; }
    .logo svg { height: 32px; width: auto; }
    .logo-text { font-size: 1rem; letter-spacing: 1px; }
    
    .scroll-indicator { display: none; }
    .hero-3d-logo { width: 220px; height: 220px; margin-bottom: 20px; }
    .section-padding { padding: 80px 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .track-modal-content { flex-direction: column; align-items: center; padding: 30px 20px; text-align: center; }
    #modalCover { width: 200px; height: 200px; }
    .modal-links { flex-direction: column; width: 100%; }
    
    .cookie-banner { bottom: 0 !important; padding: 12px 15px; }
    .cookie-content { flex-direction: column; gap: 10px; text-align: center; }
    .cookie-btn { width: 100%; }
}
