﻿:root {
    --bg: #252429;
    --green: #80BA26;
    --gray: #37363B;
    --lightGray: #707070;
    --tableHeader: #70707066;
    --sidePadding: 140px;
    --sidePaddingMobile: 60px;
    --imgCornerDivSize: 8px;
    --animationLength: 200ms;
}

@font-face {
    font-family: 'Agency FB';
    font-style: normal;
    font-weight: bold;
    src: url(../fonts/agencyfb-bold.otf) format('opentype');
}

@font-face {
    font-family: 'Agency FB';
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/agencyfb-regular.otf) format('opentype');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: bold;
    src: url(../fonts/Exo2-Bold.ttf) format('opentype');
}

@font-face {
    font-family: 'Orbiton';
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/Orbitron-VariableFont_wght.ttf) format('opentype');
}

@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: bolder;
    src: url(../fonts/MyriadPro-SemiBold.OTF) format('opentype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/OpenSans-Regular.ttf) format('opentype');
}

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}


body {
    background-color: #252429;
    color: white;
    font-family: 'Orbiton';
    overflow-x: hidden;
}
slide-img{
    max-width:70%;
}

    body::before {
        content: "";
        position: fixed;
        inset: -70px; /* ključni trik */
        
        background-image: url('/images/bg.jpg');
        opacity: 0.4;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
        pointer-events: none;
        /* iOS 26 GPU hack */
        transform: translateZ(0);
        will-change: transform;
    }

footer {
    padding: 60px var(--sidePadding) 40px var(--sidePadding);
    border-top: 2pt solid var(--green);
    padding: 40px var(--sidePadding);
}

footer ul {
    padding-left: 0 !important;
}

footer ul li {
    list-style-type: none;
    margin-bottom: 10px;
}

.footer-icon {
    width: 16px;
}

.footer-line {
    height: 16px;
}

.footer-realis-img {
    height: 60px;
}

.footer-img {
    height: 40px;
}

.bg {
    background-color: var(--bg);
}

hr {
    background-color: var(--green);
    opacity: 1;
    height: 2px !important;
    margin: 0;
}

h1,
h2,
h3 {
    text-transform: uppercase;
    font-weight: bold;
}

h2,
h3 {
    padding-left: 15px;
    text-shadow: -15px -8px 0px var(--gray);
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 50px;
    font-family: 'Orbiton';
    margin-bottom: 20px;
}

h3 {
    font-size: 40px;
    border-bottom: 8px solid var(--green);
    padding-right: 15px;
    width: fit-content;
    transition: transform var(--animationLength) linear;
}

h4 {
    font-size: 30px;
    font-family: 'Orbiton';
    border-left: 4px solid var(--green);
    padding-left: 4px;
    margin-bottom: 10px;
    transition: padding-left var(--animationLength) linear;
}

h4:hover {
    padding-left: 14px !important;
}

h3:hover {
    transform: translateY(-10px);
}

a {
    text-decoration: none;
    color: white;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--green);
    transition: left 200ms linear, right 200ms linear;
}

a:hover {
    color: var(--green);
}

a:hover::after {
    left: -10px;
    right: -10px;
}

a.no-border {
    color: var(--green) !important;
}

a.no-border:hover {
    text-decoration: underline;
}

a.no-border::after {
    content: none;
}

table th {
    background-color: var(--tableHeader);
    padding: 14px;
    text-align: center;
}

table td {
    padding: 10px 0;
}

table td:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

table td:not(:first-child) {
    text-align: center;
}

table .diamond,
table .cross {
    margin: 0 auto;
}

.text-green {
    color: var(--green);
}

.logo {
    width: 33%;
    min-width: 300px;
}

.logo-small {
    width: 110px;
}

.company-name {
    font-size: 30px;
    text-align: center;
    letter-spacing: 5px;
    font-family: 'Myriad Pro';
    color: var(--green);
    text-transform: uppercase;
    margin-top: 30px;
}

.slide-page {
    min-height: 100vh;
    padding: 40px var(--sidePadding);
}

.slide-page h1 {
    margin-top: 140px;
}

.slide-page .slide-page-first-img {
    margin-top: 125px;
}

h1,
h2 {
    transition: transform var(--animationLength) linear;
}

h1:hover,
h2:hover {
    transform: translateY(-10px);
}

.slide-page .slide-nr {
    font-size: 160px;
    color: var(--gray);
    pointer-events: none;
    top: -100px;
    left: -48px;
    font-family: 'Orbiton';
    font-weight: bold;
    z-index: -1;
}

footer,
.slide-text,
table {
    font-family: 'Open Sans';
}

.slide-text {
    margin-top: 30px;
}

.slide-page-img {
    width: 100%;
    height: 100%;
}

.slide-page-img-1,
.slide-page-img-2 {
    width: 80%;
    height: 200px;
}

.slide-page-img-1 {
    margin-bottom: 30px;
}

.slide-page-img-2 {
    margin-left: 20%;
    margin-top: calc(var(--imgCornerDivSize) + 60px);
}

.slide-page-img-container {
    position: relative;
    height: fit-content; /* Prej 100% - fit-content stisne okvir k sliki, da se kot drži roba */
    max-width: 85%; /* Doda omejitev širine, da so slike manjše, kot ste želeli */
    margin: 30px;
}

.slide-page-img-before {
    top: -30px;
    left: -30px;
}

.slide-page-img-mid {
    left: calc(20% - 30px);
    right: calc(20% - 30px);
    position: absolute;
    height: var(--imgCornerDivSize);
    background-color: var(--green);
}

.slide-page-img-after {
    /* bottom: -30px; */
    margin-top: 20px;
    right: -30px;
}

.slide-page-img-before:before,
.slide-page-img-mid:before,
.slide-page-img-mid:after,
.slide-page-img-after:after {
    content: "";
    background-color: var(--green);
    position: absolute;
}

.slide-page-img-mid:before {
    height: 150px;
    width: var(--imgCornerDivSize);
    left: calc(-1 * var(--imgCornerDivSize));
}

.slide-page-img-mid:after {
    height: 150px;
    width: var(--imgCornerDivSize);
    right: calc(-1 * var(--imgCornerDivSize));
    bottom: 0;
}

.slide-page-img-before:before {
    height: 150px;
    top: var(--imgCornerDivSize);
    width: var(--imgCornerDivSize);
    left: 0;
}

.slide-page-img-after:after {
    height: 150px;
    bottom: var(--imgCornerDivSize);
    width: var(--imgCornerDivSize);
    right: 0;
}

.slide-page-img-before,
.slide-page-img-after {
    position: absolute;
    width: 150px;
    height: var(--imgCornerDivSize);
    background-color: var(--green);
}

.w-fit-content {
    max-width: 80%;
    height: fit-content;
}

.bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ignore-side-padding {
    margin: 0 calc(-1 * var(--sidePadding));
}

.sidebar {
    position: fixed;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.r-icon {
    height: 40px;
    width: 40px;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
}

    .r-icon::after {
        content: "";
        position: absolute;
        right: -10px; 
        top: 50%; 
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background-color: var(--green);
        transition: height 0.3s ease-in-out;
        border-radius: 2px;
    }


.r-nav-link.active .r-icon::after {
    height: 100%;
}

.r-icon.r-icon-chat {
    background-image: url(../images/chat_white.svg);
}

.r-nav-link.active .r-icon.r-icon-chat,
.r-icon.r-icon-chat:hover {
    background-image: url(../images/chat_green.svg);
}

.r-icon.r-icon-cpu {
    background-image: url(../images/cpu_white.svg);
}

.r-nav-link.active .r-icon.r-icon-cpu,
.r-icon.r-icon-cpu:hover {
    background-image: url(../images/cpu_green.svg);
}

.r-icon.r-icon-globe {
    background-image: url(../images/globe_white.svg);
}

.r-nav-link.active .r-icon.r-icon-globe,
.r-icon.r-icon-globe:hover {
    background-image: url(../images/globe_green.svg);
}

.r-icon.r-icon-home {
    background-image: url(../images/home_white.svg);
    
}

.r-nav-link.active .r-icon.r-icon-home,
.r-icon.r-icon-home:hover {
    background-image: url(../images/home_green.svg);
}

.r-icon.r-icon-improvement {
    background-image: url(../images/improvement_white.svg);
}

.r-nav-link.active .r-icon.r-icon-improvement,
.r-icon.r-icon-improvement:hover {
    background-image: url(../images/improvement_green.svg);
}

.r-icon.r-icon-pin {
    background-image: url(../images/pin_white.svg);
}

.r-nav-link.active .r-icon.r-icon-pin,
.r-icon.r-icon-pin:hover {
    background-image: url(../images/pin_green.svg);
}

.r-icon.r-icon-writing {
    background-image: url(../images/writing_white.svg);
}

.r-nav-link.active .r-icon.r-icon-writing,
.r-icon.r-icon-writing:hover {
    background-image: url(../images/writing_green.svg);
}

ul.diamond-ul {
    padding-left: 0 !important;
}

ul.diamond-ul li {
    list-style: none;
    margin-bottom: 10px;
}

ul.diamond-ul li::before {
    content: "";
    padding-left: 20px;
    margin-right: 10px;
    height: 10px !important;
    width: 10px !important;
}

ul.diamond-ul li::before,
.diamond {
    transform: rotate(45deg) !important;
    border: 3px solid var(--green);
    height: 18px;
    width: 18px;
}

.cross {
    position: relative;
    height: 24px;
    width: 3px;
    background-color: var(--lightGray);
    transform: rotate(45deg);
}

.cross::before {
    content: "";
    position: absolute;
    left: -11px;
    width: 24px;
    height: 3px;
    top: calc(50% - 1.5px);
    background-color: var(--lightGray);
}

.fade-in {
    opacity: 0;
}

.fade-in.show {
    transition: opacity 1500ms linear;
    opacity: 1;
}

@media (max-width: 768px) {
    .slide-page-img-1,
    .slide-page-img-2 {
        height: 300px !important;
        min-height: 0px !important;
    }
    footer,
    .slide-page {
        padding: 40px var(--sidePaddingMobile) !important;
    }
}

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* kro�ec */
    width: 40px;
    height: 40px;
    font-weight: bold;
    text-decoration: none;
    color: var(--green);
    transition: all 0.3s;
}

    .language-btn.active {
        color: var(--green);
        border: 2px solid var(--green);
    }

    .language-btn.inactive {
        color: white;
        border: 2px solid transparent;
    }

@media (max-width: 768px) { 

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .slide-page {
        height: auto !important;
        min-height: 100dvh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .slide-page-img-container {
        height: auto !important;
        width: fit-content; /* Spremenjeno iz 100% v fit-content */
        max-width: 100%; /* Varnostno, da ne gre čez zaslon */
        margin: 30px auto !important; /* auto na levi in desni centrira element */
        padding: 10px;
    }

    #slide-0 {
        min-height: 100dvh;
        height: auto !important;
    }


    footer,
    .slide-page {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .w-fit-content {
        width: fit-content !important;

    }

    .slide-img {
        width: fit-content;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }


    
    .slide-page-img-container {
        height: auto !important; 
        width: 100%;
        margin: 30px 0 !important; 
        padding: 10px; 
    }

     .slide-page-img-before {
        left: 0; 
        top: -15px;
        width: 80px;
    }

    .slide-page-img-after {
        right: 0; 
        margin-top: 10px;
        width: 80px; 
    }


    .slide-page-img-mid {
        left: 0;
        right: 0;
    }

    
    .slide-page-img img {
        max-width: 100%;
        height: auto;
    }

    .logo-small {
        top: 20px;
        left: 20px;
        width: 100px;
    }

    .company-name {
        text-align: center;
        font-size: 24px; 
        width: 100%;
    }

   
    #slide-0 .logo {
        margin: 0 auto; 
        display: block;
    }

    footer .d-flex:has(.footer-img) {
        flex-direction: column; 
        gap: 15px;
    }

    footer .footer-img.ms-3 {
        margin-left: 0 !important;
    }

}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1); 
    will-change: transform, opacity;
}

        .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }
.slide-nr {
    opacity: 0;
    transform: scale(0.5) translateX(-50px);
    transition: all 1.2s ease-out;
    transition-delay: 0.2s; 
}

.show .slide-nr {
    opacity: 0.2; 
    transform: scale(1) translateX(0);
}


.slide-page-img-before, .slide-page-img-after {
    width: 0;
    transition: width 0.8s ease-in-out;
    transition-delay: 0.6s;
}

.show .slide-page-img-before, .show .slide-page-img-after {
    width: 150px;
}

.slide-page-img-animation img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s ease-in-out;
    transition-delay: 0.4s;
}

.show .slide-page-img-animation img {
    clip-path: inset(0 0 0 0);
}