/* custom.css */

/* Boje */
:root {
  --gold: #F3E1B5;
  --gold-hover: #F3E1B5;
  --dark-bg: #000;
  --light-text: #fff;
  --nav-bg: #262729;
  --text-muted: #ccc;
}

/* Opšti stil */
body {
  /*background-color: var(--dark-bg);*/
  font-family: Sulphur Point;

}

/* --- NAVIGATION --- */
.navbar {
  font-family: "Brown Austin Sans";
  background-color: var(--dark-bg);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Inicijalni izgled */
.transition-navbar {
  background-color: #111;
  padding: 1.2rem 0;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
}

/* Kad se skroluje */
.navbar-scrolled {
  background-color: #000;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


.navbar-nav,
.nav-link {
  color: var(--light-text) !important;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.05rem;
  /*letter-spacing: 2px;*/
}

.nav-link:hover {
  color: var(--gold) !important;
}

.logo {
  height: 50px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Prilagodi visinu logotipa kad navbar postane manji pri skrolovanju */
.navbar-scrolled .logo {
  height: 40px;
  transition: height 0.3s ease;
}

/* Ukloni Bootstrapovu pozadinsku ikonicu */
.navbar-toggler-icon {
  display: none;
}

/* Stil za ikonicu */
.menu-icon {
  width: 30px;
  height: 30px;
  filter: invert(1);
  transition: opacity 0.3s ease;
  /* ako želiš da bude bela na tamnoj pozadini */
}


/* Početno stanje: prikazuje se hamburger */
.menu-close {
  display: none;
}

/* Kada je meni otvoren (Bootstrap dodaje .show na .collapse) */
.navbar-toggler.collapsed .menu-open {
  display: inline-block;
}

.navbar-toggler:not(.collapsed) .menu-open {
  display: none;
}

.navbar-toggler:not(.collapsed) .menu-close {
  display: inline-block;
}

/* Dugmad */
.btn-gold-custom {
  display: block;
  width: 100%;
  max-width: 267px;
  /* ograniči širinu da prati tekst */
  padding: 0.75rem 1.5rem;
  background: linear-gradient(#4E4F53, #1a1a1a, #4E4F53);
  color: #ffffff;
  border: 1px solid #F3E1B5;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  /*margin: 0 auto;*/
  /* centriraj ako treba */
  margin: 0;
  /* <-- ovo poravnava lijevo */
}

/* Hover efekat */
.btn-gold-custom:hover {
  background: #F3E1B5;
  color: #000;
  border-color: #F3E1B5;
}

/* --- HERO SECTION --- */
#hero {
  position: relative;
  height: 100vh;
  background: url('Fotografije/hero_background.jpg') no-repeat center center/cover;
  background-color: #111;
  padding: 100px 20px;
  text-align: center;
}

#hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background-color: rgba(0, 0, 0, 0.6); /* tamni sloj preko slike */
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  /*pomjeri tekst ka vrhu*/
}

/* --- ABOUT US SECTION --- */
#aboutus {
  background-color: #010204;
  color: var(--light-text);
  height: 100vh;
  /* pun ekran */
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}

#aboutus h2 {
  color: var(--gold);
  font-weight: 300;
}

#aboutus p {
  /*color: var(--text-muted);*/
  font-size: 1.1rem;
}


#aboutus img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* --- SERVICES SECTION --- */
#services {
  position: relative;
  height: 100vh;
  background: url(Fotografije/services-bg.jpg) center center/cover no-repeat;
  color: #fff;
  overflow: visible !important;
}

/* Tamni overlay preko slike za bolju čitljivost */
#services .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  /* 70% tamna da slika ima 30% vidljivost */
  z-index: 1;
}

/* Tekst unutar sekcije */
#services .container {
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* Glassmorphism kartice */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  /* da padding ne utiče na širinu */
  width: 100%;
  /* zadrži, ali sa box-sizing */
}

.glass-card:hover {
  transform: translateY(-5px);
}

/* Naslovi i tekst */
#services h2,
#services h3 {
  color: var(--gold);
  font-weight: 300;
}

#services p {
  color: #e0e0e0;
}

.service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(243, 225, 181, 0.6));

  /* Stil za tamne pozadine */
  /*filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease;*/
}

.service-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;

  /* Stil za tamne pozadine */
  /*filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(243, 225, 181, 0.6));*/
}

.see-more-link {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.see-more-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Strelice izvan swiper-a */
.swiper {
  height: auto;
  position: relative;
  overflow: visible;
  /* važno da strelice mogu “izaći” van */
  padding: 0 0 60px;
  /* dodaćemo prostor levo/desno ako treba */
}

.swiper-wrapper {
  padding: 0 !important;
  /* sprječava da sadržaj ide direktno do ivice */
  box-sizing: content-box;
  /* da padding ne utiče na širinu */
  align-items: stretch;
}


.swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto;
  overflow: visible;
  padding-top: 10px;
  /* ili 15px ako treba više prostora */
}

.swiper-custom-prev,
.swiper-custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #f3e1b5;
  /* zlatna nijansa */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-custom-prev img,
.swiper-custom-next img {
  width: 60px;
  height: 60px;
  /*filter: invert(93%) sepia(26%) saturate(451%) hue-rotate(9deg) brightness(95%) contrast(90%);*/
  transition: transform 0.3s ease;
}


.swiper-custom-prev:hover img,
.swiper-custom-next:hover img {
  transform: scale(1.1);
  filter: none;
  /* može se dodatno naglasiti hover efekt */
}

/* Pomjeramo ih van kontejnera */
.swiper-custom-prev {
  left: 30px;
}

.swiper-custom-next {
  right: 30px;
}

/* Sakrij defaultne Swiper strelice */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}



/* --- TECHNOLOGIES SECTION --- */
.tech-section {
  width: 100%;
  overflow: hidden;
  background: #fff;
  /* pozadinska boja sekcije */
  padding: 20px 0;
}

.tech-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.tech-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 40s linear infinite;
}

.tech-track img {
  height: 80px;
  /* prilagodi visinu ikonica */
  margin: 0 60px;
  flex-shrink: 0;
}


/* --- CONTACT SECTION --- */
#contact {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.background-map {
  position: absolute;
  top: -50px;
  /* pomjeri više ili niže po potrebi */
  right: -100px;
  /* gurni više ka desnoj strani, pa nazad ka sredini */
  width: 1300px;
  /* veličina slike */
  opacity: 1;
  /* diskretna vidljivost */
  z-index: 0;
  pointer-events: none;
}

#contact .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
  height: 100%;
  min-height: 100%;
}

.left h2 {
  color: var(--gold);
  font-size: 2.5rem;
  margin-top: 20px;
  font-weight: 300;
}

.left p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #e0e0e0
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--gold);
  background-color: #000000;
  border-radius: 6px;
  margin-bottom: 30px;
}

form input,
form textarea {
  padding: 10px;
  background-color: #000;
  border-bottom: 3px solid #333;
  border-left: none;
  border-top: none;
  border-right: none;
  color: #fff;
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

.right h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--gold);
}

.right {
  margin-top: 150px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #e0e0e0;
}

.socials {
  display: flex;
  margin-top: 50px;
}

.socials_icon {
  display: flex;
  margin-top: 10px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 20px;
  filter: drop-shadow(0 0 3px rgb(243, 225, 181));
}

.contact-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* --- FOOTER SECTION --- */
#footer {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-section {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  padding: 0 20px;
}

.footer-section:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: #F3E1B5;
}

.footer-logo {
  width: 150px;
  object-fit: contain;
}

.footer-description {
  font-size: 14px;
  color: #cdcdcd;
  margin-top: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Jedan red: ikonica + tekst */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgb(243, 225, 181));
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
  color: #ccc;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}


/* ----- RESPONSIVE ADJUSTMENT ----- */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
    /* smanjeno razmicanje između sekcija */
    align-items: center;
    text-align: center;
  }

  .footer-section:not(:first-child) {
    margin-top: 10px;
    /* sekcije pomaknute bliže pasusu */
  }

  .footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section:not(:last-child)::after {
    display: none;
    /* uklanja vertikalne linije */
  }

  .footer-links li,
  .footer-services li {
    margin-bottom: 10px;
  }

  .footer-contact {
    text-align: center;
    align-items: center;
    /* centrira sve stavke */
  }

  .footer-contact .contact-icon {
    margin-right: 0;
    margin-bottom: 5px;
    /* ikonica iznad teksta */
  }

  .footer-contact span {
    display: block;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom p {
    text-align: center;
  }
}








/* Po želji — manja ikonica na vrlo malim ekranima */
@media (max-width: 576px) {
  .menu-icon {
    width: 26px;
    height: 26px;
  }
}



/* Responsivnost */
@media (max-width: 768px) {
  #services {
    height: auto;
    padding: 80px 0;
  }

  .glass-card {
    margin-bottom: 20px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  #aboutus {
    height: auto;
    /* da se skroluje lepo na malim ekranima */
    text-align: center;
    padding: 60px 0;
  }

  #aboutus .row {
    flex-direction: column;
  }

  #aboutus img {
    margin-bottom: 30px;
    display: none;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }

  .btn-gold {
    width: 100%;
  }

  nav ul {
    gap: 10px;
  }

  .logo {
    height: 40px;
  }

  #aboutus .btn-gold-custom {
    margin-top: 60px;
    margin: 0 auto;
  }
}

/* RESPONSIVE KONTAKT SEKCIJA */
@media (max-width: 992px) {
  #contact .container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .left,
  .right {
    width: 100%;
    margin-top: 0;
  }

  .right {
    margin-top: 40px;
    /* smanjen prostor ispod forme */
  }

  form {
    padding: 15px;
  }

  .left h2 {
    font-size: 2rem;
    text-align: center;
  }

  .left p {
    font-size: 16px;
    text-align: center;
  }

  .right h2 {
    text-align: center;
    font-size: 22px;
  }

  .info-item {
    justify-content: center;
    text-align: center;
  }

  .socials,
  .socials_icon {
    justify-content: center;
  }

  .background-map {
    width: 800px;
    /* manja slika za mobilni */
    right: -50px;
    top: -30px;
    opacity: 0.3;
  }

  .btn-gold-custom {
    margin: 0 auto;
  }
}

/* Još manji ekrani (mobiteli) */
@media (max-width: 576px) {
  .left h2 {
    font-size: 1.8rem;
  }

  .left p {
    font-size: 14px;
  }

  .right h2 {
    font-size: 20px;
  }

  .contact-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
  }

  form input,
  form textarea {
    font-size: 14px;
  }

  form textarea {
    min-height: 120px;
  }
}


@media (max-width: 786px) {
  footer {
    height: auto;
    padding: 30px 10px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .footer-contact {
    font-size: 13px;
  }

  .footer-social {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-social a {
    font-size: 18px;
  }

  .footer-divider {
    width: 90%;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 768px) {

  /* Sakrij strelice */
  .swiper-custom-prev,
  .swiper-custom-next {
    display: none !important;
  }

  /* Prikaz kartica u koloni, bez klizanja */
  .swiper {
    overflow: visible !important;
  }

  .swiper-wrapper {
    display: block !important;
  }

  .swiper-slide {
    width: 100% !important;
    margin-bottom: 30px;
  }
}


@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}