:root {
    --bg: #05060b;
    --bg-elevated: #10121c;
    --accent-red: #ff3940;
    --accent-yellow: #ffc947;
    --accent-blue: #4aa3ff;
    --text-main: #f7f7ff;
    --text-muted: #b2b5c8;
    --border-subtle: #222536;
    --radius-lg: 999px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --transition-fast: 0.18s ease-out;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.45);
    --header-height: 70px;
}

/* reset-lite */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top, #151626 0, #05060b 55%, #000 100%);
    color: var(--text-main);
    min-height: 100vh;
}

.hbox {
    display: flex;
    flex-direction: row;
    gap: 15px; /* isto kot VBox spacing */
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        90deg,
        rgba(10, 10, 20, 0.95),
        rgba(10, 8, 20, 0.9)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* logo */

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: large;
}

.logo-text {
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.25rem; /* bilo 0.88rem */
    background: linear-gradient(
        120deg,
        var(--accent-red),
        var(--accent-yellow),
        var(--accent-blue)
    );
    -webkit-background-clip: text;
    color: transparent;
}


.logo-img {
    height: 50px;         /* ali kolikor želiš */
    width: auto;
    display: block;
    object-fit: contain;
    margin-right: 10px;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.7));
}


/* main nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    font-size: 0.98rem;                 /* malo večji */
    padding: 0.55rem 1.15rem;           /* širši in višji */
    border-radius: var(--radius-lg);
    color: #f3f4ff;                     /* bolj svetel tekst */
    text-decoration: none;
    font-weight: 500;                   /* bolj bold */
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}


.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* three-dot button */

.nav-menu-wrapper {
    position: relative;
}

.nav-dot-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at top, #1b1e33, #10121c);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    padding: 0;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                border-color var(--transition-fast),
                background var(--transition-fast);
}

.nav-dot-button .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #ffffff;
    opacity: 0.7;
}

.nav-dot-button:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-dot-button[aria-expanded="true"] {
    box-shadow: var(--shadow-soft);
    background: linear-gradient(
        135deg,
        rgba(255, 57, 64, 0.9),
        rgba(255, 201, 71, 0.85),
        rgba(74, 163, 255, 0.9)
    );
}

/* DROPDOWN */

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    padding: 0.75rem;
    background: radial-gradient(circle at top, #1b1f30, #080913);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    animation: dropdown-in 0.16s ease-out;
}

.nav-dropdown.open {
    display: flex;
}

@keyframes dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.dropdown-item {
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    font-size: 0.86rem;
    cursor: pointer;
    transition: background var(--transition-fast),
                transform var(--transition-fast),
                border-color var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

/* separator + view more */

.dropdown-separator {
    margin: 0.35rem 0 0.2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.dropdown-view-more {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at top, #232742, #10111c);
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                border-color var(--transition-fast),
                background var(--transition-fast);
}

.dropdown-view-more:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.35);
}

/* MAIN CONTENT */

.section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.section h1,
.section h2 {
    margin-bottom: 0.6rem;
}

.section p {
    color: var(--text-muted);
    max-width: 620px;
}

/* MOBILE NAV */

@media (max-width: 720px) {
    .site-header {
        padding: 0 1rem;
    }

    .main-nav {
        gap: 0.4rem;
    }

    .nav-link {
        display: none; /* za začetek basic: na telefonu samo tri pikice */
    }
}
/* HERO SECTION */

.hero {
    position: relative;
    width: 100%;
    height: 540px; /* višina header slike */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;

    background-image: url("assets/images/hero.png"); /* <-- tukaj daš ime tvoje slike */
    background-size: cover;
    background-position: center;

    filter: blur(12px) brightness(0.8);
    transform: scale(1.0); /* da blur ne pokaže robov */
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
}

.hero-content p {
    color: #c5c7d8;
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 720px) {
    .hero {
        height: 260px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

.hero-card {
    background: rgba(0, 0, 0, 0.6);      /* transparent black */
    backdrop-filter: blur(14px);          /* frosted glass efekt */
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8rem 2.2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    animation: fadeInCard .5s ease-out;
}

/* malo animate */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}

.app-section {
    max-width: 950px;
    margin: 3rem auto 2rem auto;
    padding: 0 1.5rem;
}

.app-hero-card {
    background: radial-gradient(circle at top, #1b1f30, #05060b);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: var(--shadow-soft);
    padding: 1.9rem 2.1rem;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.app-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.app-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.app-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: radial-gradient(circle at top, #232742, #10111c);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.app-icon-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.app-label {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-label-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.app-label-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.app-title-main {
    font-size: 2rem;
    font-weight: 700;
}

.app-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.app-desc {
    color: var(--text-muted);
    max-width: 520px;
    font-size: 0.98rem;
}

/* Download area */
.download-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.download-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.download-button-main {
    border-radius: 999px;
    padding: 0.8rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(120deg, var(--accent-red), var(--accent-yellow), var(--accent-blue));
    color: #05060b;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.download-button-main:hover {
    transform: translateY(-1px) scale(1.01);
    filter: brightness(1.04);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.8);
}

.download-button-main span.icon {
    font-size: 1.2rem;
}

.download-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 0.7rem;
    border-radius: 14px;
    background: radial-gradient(circle at top, #1b1f30, #05060b);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 20;
    animation: dropdown-in 0.16s ease-out;
}

.download-dropdown.open {
    display: flex;
}

.download-option {
    width: 100%;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 0.9rem;
    padding: 0.5rem 0.65rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.download-option span.platform {
    font-weight: 500;
}

.download-option span.badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.download-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Right side info */
.app-right {
    margin-left: auto;
    text-align: left;
    min-width: 220px;
}

.app-meta-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.app-meta-list {
    list-style: none;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.app-meta-list li {
    margin-bottom: 0.25rem;
}

/* Video section */
.video-section {
    max-width: 950px;
    margin: 0 auto 3.5rem auto;
    padding: 0 1.5rem;
}

.video-section h2 {
    margin-bottom: 0.4rem;
}

.video-section p {
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 780px) {
    .app-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-right {
        margin-left: 0;
        margin-top: 1rem;
    }

    .app-title-main {
        font-size: 1.6rem;
    }
}

/* === PROJECTS PAGE === */

.projects-page {
    background: radial-gradient(circle at top, #141625, var(--bg));
    min-height: calc(100vh - var(--header-height));
}

.projects-layout {
    display: flex;
    gap: 2.2rem;
    align-items: flex-start;
}

/* Sidebar z listom kategorij */

.projects-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    max-width: 260px;
    flex: 0 0 240px;
}

.projects-title {
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
}

.projects-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.projects-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.projects-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        color var(--transition-fast);
}

.projects-category-link::after {
    content: "↘";
    font-size: 0.75rem;
    opacity: 0.5;
}

.projects-category-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* Glavni del s karticami */

.projects-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Category card – pol prosojen kvadratek */

.project-category-card {
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.3rem 1.4rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Zgornji del: icon + ime + opis */

.project-category-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: linear-gradient(
        135deg,
        rgba(255, 57, 64, 0.85),
        rgba(255, 201, 71, 0.9),
        rgba(74, 163, 255, 0.9)
    );
    color: #05060b;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.75);
    flex-shrink: 0;
}

.project-category-header-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.project-category-description {
    font-size: 0.86rem;
    color: var(--text-muted);
    max-width: 640px;
}

/* Spodnji del: lista projektov */

.project-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text-main);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.project-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.project-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.project-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */

@media (max-width: 900px) {
    .projects-layout {
        flex-direction: column;
    }

    .projects-sidebar {
        position: static;
        max-width: 100%;
        flex: none;
        margin-bottom: 0.5rem;
    }

    .projects-page {
        padding-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    .project-category-card {
        padding: 1.0rem 1.0rem;
    }

    .project-category-header {
        flex-direction: row;
        align-items: center;
    }

    .project-tagline {
        white-space: normal;
    }
}

.featured-projects {
    max-width: 1100px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #b7becf;
    font-size: 0.95rem;
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.project-card {
    background: radial-gradient(circle at top left, #252738, #171822);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.9rem;
    color: #d0d4e5;
    margin-bottom: 1.2rem;
}

.project-button {
    border-radius: 999px;
    padding: 0.8rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(120deg, var(--accent-red), var(--accent-yellow), var(--accent-blue));
    color: #05060b;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.project-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}


