@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: FontRegular;
    src: url(Assets/Fonts/sf-pro-display_regular.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}
html {
    scroll-behavior: smooth;
}
section, .New_project_portfolio, .Banner {
    scroll-margin-top: 44px; /* Visina tvoje navigacije */
  }
body{
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    background-color: var(--forest-green);
}
body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--forest-green);

    
}

:root{
    --white-show: #F1F6F7;
    --forest-green: #232628;
    --subset-orange: #F79B7B;
    --slate-gray: #BDBBBC;
    --charcoal-black: #232628;
    --neutral-p: #B3B9C1 ;
    --pg-color: #CACBCD;
    --bc-color: linear-gradient(
        45deg,
        #68737F 0%,
        #868E99 40%,
        #D3DBE1 70%,
        #717A85 100%
    )
}

nav {
    height: 44px;
    background: var(--charcoal-black); /* Polu-transparentna charcoal-black boja (hex: #1c1c1e) */
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px); /* Blur efekat */
    -webkit-backdrop-filter: blur(10px); /* Za Safari */
}

.nav-logo {
    filter: brightness(0) invert(1);
    height: 20px;
    width: auto;
    vertical-align: middle;
}

/* Ostali postojeći stilovi ostaju isti */
.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: #fcf3f3;
    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: var(--white-show);
    border: none;
    outline: none;
    font-size: 16px;
}

.search-form input::placeholder{
    color: #f7efef;
}

.search-form:before{
    content: '\f002';
    position: absolute;
    top: 12px;
    left: -26px;
    font-size: 18px;
    color: #f1eaea;
    font-family: fontAwesome;
}

.close {
    position: absolute;
    right: 0;
    top: 1px;
    height: 44px;
    background: var(--charcoal-black); /* Ista boja kao nav */
    color: #FFF;
    line-height: 44px;
    font-size: 18px;
    text-align: right;
    width: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px); /* Blur i za close */
    -webkit-backdrop-filter: blur(10px);
}

.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%;
    }
}


/*Footer*/
.container1{
    max-width: 1170px;
    margin: auto;
}
ul{
    list-style: none;
}
.footer{
    background-image: url(img/footer_bg.png);
    padding: 70px 0;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.footer-col{
    width: 25%;
    padding: 0 15px;
}
.footer-col h4{
    font-size: 18px;
    color: #f0f0f0;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}
.footer-col h4:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: var(--subset-orange);
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}
.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color: var(--white-show);
    text-decoration: none;
    font-weight: 300;
    color: #fff;
    display: block;
    transition: all 0.3s ease;
}
.footer-col ul li a:hover{
    color: var(--subset-orange);
    padding-left: 8px;
}
.footer-col .social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(0,0,0,0.3);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
    color: var(--subset-orange);
    background-color: #000;
}

.newsletter {
    margin-top: 20px;
}
.newsletter h4 {
    margin-bottom: 15px;
}
.newsletter input {
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
}
.newsletter button {
    padding: 8px 15px;
    background-color: var(--subset-orange);
    color: white;
    border: none;
    cursor: pointer;
}

.bottom {
    text-align: center;
    padding-top: 20px 0 0;
    margin-top: 20px;
    border-top: none;
}
.bottom p {
    margin: 5px 0;
    color: #fff;
}
.bottom a {
    color: #fff;
    text-decoration: none;
}
.bottom a:hover {
    color: var(--subset-orange);
}

@media(max-width: 767px){
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px){
    .footer-col {
        width: 100%;
    }
}


.faq{
    width: 90%;
    max-width: 1100px;
    margin: auto;
    margin-top: 2em;
    display: grid;
    gap: 60px;
}

.faq_question{
    border-bottom: 1px solid var(--subset-orange);
    transition: all 1s ease-in-out;
    margin-bottom: .5em;
}

.faq_desc h1{
    font-size: 2.5em;
    margin-bottom: .5em;
    color: var(--subset-orange);
}
.faq_desc p{
    color: #f1eaea;
}
.title{
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    padding: 1em 0;
    font-weight: bold;
    cursor: pointer;
    color: var(--white-show);
}

.answer{
    line-height: 1.8em;
    padding-bottom: 1.5em;
    display: none;
    color: var(--neutral-p);
}

.showAnswer{
    display: block;
}
.faq_desc img {
    max-width: 100%; /* Ne prelazi širinu roditelja */
    height: auto;
}

@media (max-width: 768px) {
    .faq_desc img {
        max-width: 200px; /* Još manja slika na mobilnim */
    }
}
@media screen and (min-width:900px) {
    .faq{
        grid-template-columns: 1fr 1fr;
    }
}
