:root {
    --primary-red: #ff0000;
    --bg-black: #000000;
    --card-bg: #141414;
    --text-white: #ffffff;
    --text-gray: #999999;
    --border-color: #222222;
    --transition: all 0.3s ease;
}

/* 1. GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loader {
    position: relative;
    width: 54px;
    height: 54px;
}

.loader div {
    width: 8%;
    height: 24%;
    background: var(--text-white);
    position: absolute;
    left: 50%;
    top: 30%;
    opacity: 0;
    border-radius: 50px;
    animation: fade458 1s linear infinite;
}

@keyframes fade458 {
    from { opacity: 1; }
    to { opacity: 0.25; }
}

/* Bar Rotation Logic remains same but simplified in my rendering */
.loader .bar1 { transform: rotate(0deg) translate(0, -130%); animation-delay: 0s; }
.loader .bar2 { transform: rotate(30deg) translate(0, -130%); animation-delay: -1.1s; }
.loader .bar3 { transform: rotate(60deg) translate(0, -130%); animation-delay: -1s; }
.loader .bar4 { transform: rotate(90deg) translate(0, -130%); animation-delay: -0.9s; }
.loader .bar5 { transform: rotate(120deg) translate(0, -130%); animation-delay: -0.8s; }
.loader .bar6 { transform: rotate(150deg) translate(0, -130%); animation-delay: -0.7s; }
.loader .bar7 { transform: rotate(180deg) translate(0, -130%); animation-delay: -0.6s; }
.loader .bar8 { transform: rotate(210deg) translate(0, -130%); animation-delay: -0.5s; }
.loader .bar9 { transform: rotate(240deg) translate(0, -130%); animation-delay: -0.4s; }
.loader .bar10 { transform: rotate(270deg) translate(0, -130%); animation-delay: -0.3s; }
.loader .bar11 { transform: rotate(300deg) translate(0, -130%); animation-delay: -0.2s; }
.loader .bar12 { transform: rotate(330deg) translate(0, -130%); animation-delay: -0.1s; }

/* 3. NAVIGATION */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-red); }

/* 4. HERO SECTION */
.hero-section {
    height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2)), 
                url('../img/Render2.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 40px;
}
#hero-image {
    background-color: #0a0a0a; /* Tamna boja dok slika ne stigne */
    filter: blur(5px); /* Možeš startovati sa blagim blurom */
    transition: filter 0.5s ease-in-out;
}

/* 5. PREMIUM BUTTON */
.cta-container {
    position: relative;
    display: inline-block;
    padding: 2px;
    background: linear-gradient(90deg, var(--primary-red), #444);
    border-radius: 0.5em;
    transition: var(--transition);
}

.cta-container button {
    font-size: 1rem;
    padding: 1em 2.5em;
    border-radius: 0.4em;
    border: none;
    background-color: var(--bg-black);
    color: var(--text-white);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.cta-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--primary-red), #666);
    filter: blur(0);
    transition: filter 0.4s ease;
    border-radius: 0.5em;
}

.cta-container:hover::before { filter: blur(1.2em); }

/* 6. ABOUT SECTION */
.about-veltron {
    padding: 120px 8%;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.1;
}

.intro-bio {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.tag {
    border: 1px solid #333;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
}

/* TABLE */
.info-table { border-top: 1px solid var(--border-color); }

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.col-name { font-weight: bold; flex: 1; }
.col-desc { color: #777; flex: 2; }
.col-year { color: #444; flex: 1; text-align: right; }

.big-v-logo {
    width: 100%;
    opacity: 0.6;
    filter: grayscale(1);
}
/* 7. FEATURES SECTION (DASHBOARD STYLE) */

.feature-card {
    text-decoration: none; /* Uklanja podvučenu liniju sa teksta */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer; /* Ovo je ključno da bi izgledalo kao link */
    transition: var(--transition);
}

.features-section {
    background-color: #0c0c0c;
    padding: 60px 8%;
    border-top: 1px solid var(--border-color);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tri kolone */
    gap: 40px;
}

.feature-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    transition: var(--transition);
    border-radius: 8px;
}

.feature-icon {
    width: 108px; /* Veličina tvojih ikona */
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: auto;
    filter: invert(1); /* Ako su ti ikonice crne, ovo će ih napraviti belim */
    opacity: 0.8;
    transition: var(--transition);
}

.feature-label {
    color: var(--text-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
}

/* Hover efekti */
.feature-card:hover .feature-icon img {
    opacity: 1;
    transform: scale(1.1);
}

.feature-card:hover .feature-label {
    color: var(--primary-red); /* Labela postaje crvena na hover */
}

/* Responzivnost za mobilni */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Na mobilnom idu jedna ispod druge */
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        border-bottom: 1px solid #1a1a1a;
    }
}

/* 8. RESPONSIVE */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: white; transition: 0.3s; }

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; }
    .hero-section { justify-content: center; text-align: center; padding: 0 20px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-black);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s ease;
    }
    .nav-links.active { right: 0; }
    .table-row { flex-direction: column; gap: 5px; }
    .col-year { text-align: left; }
}
/* 8. FOOTER SECTION */
.main-footer {
    background-color: #000;
    padding: 80px 8% 40px;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .footer-logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #666;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff0000; /* Crveni akcenat koji smo definisali */
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #111;
    text-align: center;
}

.footer-bottom p {
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; gap: 40px; }
}