@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

body{
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    background-color: var(--charcoal-black);
}
body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #1e1e1e;
}

:root{
    --white-show: #fff;
    --forest-green: #345e42;
    --subset-orange: #F79B7B;
    --slate-gray: #5c5c5c;
    --charcoal-black: #29292c;
    --pg-color: #bcbcbc;
    --bc-color: linear-gradient(
        45deg,
        #68737F 0%,
        #868E99 40%,
        #D3DBE1 70%,
        #717A85 100%
    )
}

nav{
    height: 44px;
    background: #000;
}
.nav-logo {
    filter: brightness(0) invert(1); /* Pretvara logo u bijelu boju */
    height: 20px; /* Prilagodite visinu po potrebi */
    width: auto;
    vertical-align: middle;
}

.menu{
    position: relative;
    margin: 0 auto;
    width: 1000px;
    overflow: hidden;
}

.menu ul{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.menu ul li{
    list-style: none;
}

.menu ul li,
.menu ul li a{
    color: #fff;
    line-height: 44px;
    text-decoration: none;
}

.menu ul li .fa.fa-apple{
    font-size: 20px;
}

.menu ul li a.menu-item{
    transform: scale(1);
    transition: 0.5s;
    display: block;
}

.menu ul li a.menu-item.hide-item{
    transform: scale(0);
}


.menu ul li a.menu-item.hide-item{
    transform: scale(0);
}

.menu ul li:nth-child(2) a.menu-item.hide-item{
    transition-delay: 0.6s;
}

.menu ul li:nth-child(3) a.menu-item.hide-item{
    transition-delay: 0.5s;
}

.menu ul li:nth-child(4) a.menu-item.hide-item{
    transition-delay: 0.4s;
}

.menu ul li:nth-child(5) a.menu-item.hide-item{
    transition-delay: 0.3s;
}

.menu ul li:nth-child(6) a.menu-item.hide-item{
    transition-delay: 0.2s;
}

.menu ul li:nth-child(7) a.menu-item.hide-item{
    transition-delay: 0.1s;
}

.menu ul li:nth-child(8) a.menu-item.hide-item{
    transition-delay: 0s;
}

/* press cmd + D or ctrl + D(windows) to select multiple lines having same names for eg. */

.menu ul li:nth-child(2) a.menu-item{
    transition-delay: 0s;
}

.menu ul li:nth-child(3) a.menu-item{
    transition-delay: 0.1s;
}

.menu ul li:nth-child(4) a.menu-item{
    transition-delay: 0.2s;
}

.menu ul li:nth-child(5) a.menu-item{
    transition-delay: 0.3s;
}

.menu ul li:nth-child(6) a.menu-item{
    transition-delay: 0.4s;
}

.menu ul li:nth-child(7) a.menu-item{
    transition-delay: 0.5s;
}

.menu ul li:nth-child(8) a.menu-item{
    transition-delay: 0.6s;
}

.search-form{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(0);
    width: 600px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.search-form.active{
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
    transform: translateX(-50%);
}

.search-form input{
    width: 100%;
    height: 44px;
    background: transparent;
    color: #F5F6FA;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-form input::placeholder{
    color: #fff;
}

.search-form:before{
    content: '\f002';
    position: absolute;
    top: 12px;
    left: -26px;
    font-size: 18px;
    color: #fff;
    font-family: fontAwesome;
}

.close{
    position: absolute;
    right: 0;
    top: 1px;
    height: 44px;
    background: #000;
    color: #fff;
    line-height: 44px;
    font-size: 18px; 
    text-align: right;
    width: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden; 
}

.close.active{
    opacity: 1;
    visibility: visible;
}
.search-icon {
    position: relative;
    z-index: 12;
}
/* Responzivnost */
@media (max-width: 1024px) {
    .menu ul li:nth-child(n+6) { /* Sakrij poslednje 3 stavke na tabletima */
        display: none;
    }
}

@media (max-width: 768px) {
    .menu ul li:nth-child(n+4) { /* Sakrij još stavki na manjim ekranima */
        display: none;
    }
    
    .menu {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .menu ul li:not(:first-child):not(:last-child) { /* Prikaži samo prvu i poslednju stavku */
        display: none;
    }
    
    .menu ul {
        justify-content: space-around;
    }
    
    .search-form {
        width: 95%;
    }
}

.contact-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left-title h2{
    font-weight: 600;
    color: #F79B7B;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    background-color: #F5F6FA;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-inputs{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #000;
    border-radius: 50px;
}

.contact-left textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus{
    border: 2px solid #F79B7B;
}
.contact-inputs::placeholder{
    color: #000;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fdf3f3;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, #ff994f,#F79B7B);
    cursor: pointer;
}

.contact-left button img{
    height: 15px;
}

.contact-right img{
    width: 500px;
}

@media (max-width:800px) {
    .contact-inputs{
        width: 80vw;
    }
    .contact-right{
        display: none;
    }
}

/*--Custom Scrollbar--*/
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background-color: var(--charcoal-black); /* Fallback boja */
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--forest-green, #232628); /* Fallback boja */
    border-radius: 20px;
    border: 3px solid var(--subset-orange, #F79B7B); /* Dodaje prostor oko thumb-a */
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(34, 74%, 36%); /* Ispravljen HSL format */
}