html {
    width: 100%;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #161616;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}
a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: #656d71;
}
/* ---------------------------------- nav ---------------------------------------------- */
.hamburger-menu,
.mobile-nav-overlay {
    display: none;
}
nav {
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: border-bottom 0.3s ease;
}
.nav-wrapper.scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(22, 22, 22, 0.7);
}
.nav {
    display: flex;
    width: max-content;
    list-style: none;
    gap: 5px;
    padding: 10px;
    align-items: center;
}
.nav i {
    vertical-align: middle;
    font-size: 0.8rem;
    margin-left: 5px;
}
nav li {
    position: relative;
}
nav li a {
    position: relative;
    text-decoration: none;
    color: #7a858b;
    padding: 8px 12px;
    font-weight: 700;
    transition: color 0.3s ease;
}
nav li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: rgba(209, 101, 39, 0.7);
    transition: width 0.3s ease;
}
nav li a:hover {
    color: #D16527;
}
nav li a:hover::after {
    width: 100%;
}
nav a.active {
  color: #D16527;
}
.has-dropdown {
  position: relative;
}
.trougao {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #161616;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 15px;
    height: 15px;
    rotate: 45deg;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 70vw;
  transform: translateX(-50%) translateY(30px);
  border-radius: 10px;
  padding: 26px 10px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: all 0.6s ease;
}
/* Hover ili open prikazuje meni sa "slide down" efektom */
.has-dropdown > a:hover + .dropdown-menu,
.has-dropdown > .dropdown-menu:hover {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}
/* Stil liste unutar dropdown-a */
.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 20px; 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  box-shadow: 0 5px 10px rgba(51, 51, 51, 0.7);
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 10px 10px;
}
.dropdown-menu li {
    text-align: left;
    text-decoration: none;
}
.dropdown-menu li a {
    display: block;
    font-size: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    padding: 0 0 5px 0;
    transition: color 0.2s ease;
}
.dropdown-menu li a:hover {
  color: #bbbbbb;
}
nav .korisnicka-prijava {
    gap: 15px;
}
nav .korisnicka-prijava i {
    margin-right: 5px;
}
nav .korisnicka-prijava li a {
    font-size: 0.8rem;
    color: #656d71;
    padding: 5px 2px;
    transition: all 0.3s ease-in-out;
}
nav .korisnicka-prijava li a:hover {
  color: #D16527;
}
nav .korisnicka-prijava li a:hover i {
    color: #D16527;
    box-shadow: 0 5px 10px rgba(53, 78, 44, 0.7);
}
.logo {
    display: block;
    align-items: center;
    height: max-content;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
    vertical-align: middle;
    width: 45px;
    height: 45px;
    margin: 0 5px;
    animation: fadeBlurSlideInLeft 1s ease-out forwards;
}
@keyframes fadeBlurSlideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}
.logo h3 {
    padding: 5px 10px;
    border-radius: 5px;
    background: linear-gradient(-195deg, #424d5e, #26282c);
    box-shadow: rgba(0, 0, 0, 0.55) 0px 5px 15px 0px;
    opacity: 0;
    transform: translateX(50px);
    filter: blur(10px);
    animation: fadeBlurSlideIn 1.2s ease-out forwards;
    animation-delay: 0.2s;
}
@keyframes fadeBlurSlideIn {
    0% {
        transform: translateX(50px);
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
}
.logo h3 .e {
    color: #36e600;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 3px 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.logo h3 .brand-text {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
}
/* ---------------------------------- Nav ---------------------------------------------- */
/* ---------------------------------- Hero Section ---------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 70vh;
    padding: 0 15px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.7) 75%, rgba(0, 0, 0, 0.9) 100%),
        url('../img/hero_BG_image.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
.hero h1 {
    text-align: center;
    color: #c1c6c9;
    font-size: 2rem;
}
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 45%;
    height: 80%;
    padding: 20px;
    margin-top: 50px;
}
.h1-logo-span {
    color: #D16527;
    font-size: 1.8rem;
}
.hero-text h1 {
    text-align: left;
    font-size: 2.5rem;
    margin: 0;
    animation: h2Animacija 3s ease forwards;
    color: #ffffff;
}
@keyframes h2Animacija {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.hero-text p {
    color: #ffffff;
    width: 100%;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    animation: podnaslovAnimacija 3s ease forwards;
}
@keyframes podnaslovAnimacija {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.cta-button {
    width: max-content;
    text-decoration: none;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #D16527;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
    margin: 20px auto;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    animation: btnAnimacija 2s ease 1s forwards;
    opacity: 0;
}
@keyframes btnAnimacija {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.cta-button:hover {
    border: 2px solid #D16527;
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
    color: #D16527;
    background-color: transparent;
}
.cta-button i {
    margin-left: 10px;
    transition: all 0.3s ease-in-out;
}
.cta-button:hover i {
    transform: translateX(10px);
}
.hero-box img {
    width: 100%;
    max-width: 800px;
    height: auto;         
    max-height: 70vh;    
    object-fit: contain;  
    display: block;
    margin: 0 auto;
    animation: heroImg 2s ease-in-out forwards;
    opacity: 0;
}
@keyframes heroImg {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
