:root {
  --accent: #A7A39C;
  --dark: #111;
  --light: #f9f9f9;
  --gray: #666;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: #fff;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent); }






/* NAVIGATION */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6%;
  background: transparent;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  transition: all 0.4s ease;
}

header img { height: 42px; }
nav ul { display: flex; list-style: none; gap: 32px; font-size: 0.9rem; }
nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* overlay 40% */
  z-index: 5;
  pointer-events: none;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  inset: 0;
}

.hero img.active { opacity: 1; }

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  animation: fadeInText 1.5s ease forwards;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-content h1 {
  font-weight: 200;
  font-size: 3rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.hero-content .btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all .3s ease;
}

.hero-content .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}


/* SECTION BASE */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 6%;
}
.section h2 {
  font-weight: 200;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding-bottom: 8px;
}



/* ===========================
   TEAM SECTION — 3-2-2 GRID CLEAN LAYOUT
=========================== */
#team {
  background: #fff;
  padding: 100px 0;
}

#team h2 {
      max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    color: var(--dark);
}

/* GRID — 3 desktop / 2 tablet / 2 mobile */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* bez razmaka */
  width: 100%;
  margin: 0 auto;
}

/* član tima */
.member {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.member:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* info sloj */
.m-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.member:hover .m-info {
  opacity: 1;
}

.m-info h3 {
  font-weight: 300;
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.04em;
}

.m-info span {
  font-size: 0.75rem;
  color: #ddd;
  letter-spacing: 0.05em;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 575px) {
  #team {
    padding: 80px 0;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* mobilni i dalje 2 */
  }
  .m-info h3 {
    font-size: 0.85rem;
  }
  .m-info span {
    font-size: 0.7rem;
  }
}
.team-quote {
    width: 100%;
    display: flex;
    justify-content: center;
	
}

.team-quote-box {
 
    color: #817D7D;
    padding: 35px 25px;
    font-size: 1.2rem;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1.4;
    max-width: 550px;
    width: 100%;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 160px;
}



/* ===========================
   GALLERY GRID — image + text blocks (FINAL CLEAN VERSION)
=========================== */
#gallery {
  background: #fff;
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
}

#gallery h2 {
      max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    color: var(--dark);
}

/* === GRID SETUP — identično kao TEAM === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* bez razmaka */
  width: 100%;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* info sloj — ime galerije */
.g-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .g-info {
  opacity: 1;
}

.g-info h3 {
  font-weight: 300;
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.04em;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .g-info{
	  opacity:1 !important;
  }
  .g-info p{display:none;}
}


/* === TEXT BLOCKS === */
.text-tile {
  background: #A7A39C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  transition: all 0.4s ease;
  cursor: default;
}

.text-tile .text-content {
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
  max-width: 80%;
  transition: all 0.4s ease;
}

/* === HOVER EFEKAT ZA TEKSTUALNE KOCKE === */
.text-tile:hover {
  background: #8e8983; /* tamnija nijansa sive */
  transform: scale(1.03);
}

.text-tile:hover .text-content {
  opacity: 0.95;
  letter-spacing: 0.06em;
}

/* === RESPONSIVE GRID === */

/* TABLET — 2 kolone */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-tile .text-content {
    font-size: 1rem;
    max-width: 85%;
  }
}

/* MOBILNI — 2 kolone */
@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-tile .text-content {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 90%;
  }
}

/* VEOMA MALI EKRANI — po 1 kolona (opciono) */
/*
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
*/



/* FOOTER */
footer {
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  padding: 50px 6%;
  color: #666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer div { min-width: 180px; margin-bottom: 10px; }

/* RESPONSIVE */
@media(max-width:900px){
  .hero-content h1{font-size:2.2rem}
  .section{padding:100px 6%}
}


/*---news --*/
/* =============================
   FULL-WIDTH NEWS GRID SLIDER
============================= */
#news-grid-full {
  background: #fff;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

#news-grid-full h2 {
  max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    color: var(--dark);
}

/* === SLIDER STRUKTURA === */
.news-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
}

.news-track::-webkit-scrollbar {
  display: none;
}

/* === ITEMI === */
.news-item {
  position: relative;
  flex: 0 0 25%; /* 4 u redu */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ispuni kocku */
  object-position: center center; /* centriraj sadržaj slike */
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
}


.news-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* === OVERLAY === */
.news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.news-item:hover .news-overlay {
  opacity: 1;
}

.news-overlay h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-overlay p {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.4;
  max-width: 90%;
}

/* === STRELICA === */
.news-slider .arrow {
  position: absolute;
  bottom: 30px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.news-slider .arrow.prev {
  left: 10px;
}

.news-slider .arrow.next {
  right: 10px;
}

.news-slider .arrow:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #111;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .news-item {
    flex: 0 0 50%; /* 2 po redu na tablet */
  }
}

@media (max-width: 575px) {
  .news-item {
    flex: 0 0 100%; /* 1 po redu na mobilnom */
  }
 
}


/* ================================
   HAMBURGER MENU + SLIDE PANEL
==================================*/
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3000;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* animation to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #fff;
  color: var(--dark);
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  padding: 100px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s ease;
  z-index: 2000;
}

.side-menu.active {
  right: 0;
 
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-menu a {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 300;
  color: var(--dark);
  transition: color 0.3s;
}

.side-menu a:hover {
  color: var(--accent);
}

.side-menu .footer-links {
  margin-top: 60px;
}
.side-menu .footer-links ul li {
  margin-bottom: 10px;
}
.side-menu .socials {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  font-size: 1.2rem;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 0;
  position: relative;
}

.hero-slider .slide-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 5;
}


/* gradient overlay — lakši i samo za vidljivost teksta */
.hero-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
  transition: background 0.8s ease;
}

.hero-slider .swiper-slide.swiper-slide-active::after {
  background: linear-gradient(to right, rgba(0,0,0,0.35) 25%, transparent);
}

/* tekst fade animacija kod promjene slajda */
.hero-slider .slide-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.hero-slider .swiper-slide-active .slide-content {
  opacity: 1;
  transform: translateY(0);
}



.hero-slider h2 {
  font-weight: 400;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.3;
  z-index: 5;
  position: relative;
}

.hero-slider p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  position: relative;
  z-index: 5;
}

/* ======================
   HERO CATEGORY TABS (Responsive Scroll)
====================== */

.hero-tabs {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 20px 6%;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  z-index: 10;
  overflow-x: auto; /* omogućava horizontalni scroll */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* dugmad */
.hero-tabs button {
  flex: 0 0 25%; /* 4 u redu default */
  border: none;
  background: none;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-top: 2px solid transparent;
  padding: 14px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: center;
  white-space: nowrap;
}

.hero-tabs button:hover {
  color: #fff;
}

.hero-tabs button.active {
  color: #fff;
  border-color: var(--accent, #A7A39C);
}

/* SCROLLBAR — skriven */
.hero-tabs::-webkit-scrollbar {
  display: none;
}

/* TABLET — 2 u redu */
@media (max-width: 991px) {
  .hero-tabs button {
    flex: 0 0 50%;
  }
}

/* MOBILNI — 1 u redu */
@media (max-width: 575px) {
  .hero-tabs {
    justify-content: flex-start;
  }
  .hero-tabs button {
    flex: 0 0 100%;
    font-size: 0.85rem;
  }
}





/* =======================
   MOBILE LOGO VISIBILITY FIX
======================= */
@media (max-width: 768px) {
  .gray-header {
    justify-content: space-between;
  }

  /* zadrži centralni logo i smanji ga malo */
  .header-center {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2001; /* iznad hamburgera i ostalog */
  }

  .header-center img.site-logo {
    height: 34px; /* manja visina za mobilni */
  }

  /* hamburger i language ostaju sa strane */
  .header-left {
    justify-content: flex-start;
  }
  .header-right {
    justify-content: flex-end;
  }
}

/* ===============================
   LET'S TALK / COLLABORATE SECTION
=============================== */
/* ========== LET'S TALK SECTION ========== */
.letstalk {
  background: #b3ada9;
  color: #fff;
  padding: 100px 8%;
  border-top: 1px solid #111;
  border-bottom: none;
  font-family: 'Poppins', sans-serif;
}

.letstalk-header {
  margin: 0 auto 80px;
}

.letstalk-header .title {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-weight: 300;
  margin-bottom: 5px;
  text-align: left;
  color: #fff;
}

.letstalk-header hr {
  border: none;
  border-top: 1px solid #fff;
  width: 100%;
}

.letstalk-body {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 30px;
}

.letstalk-body .arrow {
  font-size: 1.5rem;
  color: #fff;
  transform: translateY(-10px);
  display:none;
}

.letstalk-body .content {
  margin: 0 auto;
  text-align: center;
}

.letstalk-body h2 {
  font-weight: 400;
  font-size: 2.2rem;
  margin-bottom: 50px;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
}

.letstalk-body .start {
  display: inline-block;
    color: #fff;
    text-decoration: none;
    transition: all .3s 
ease;
    font-size: 1.1rem;
    margin: 0 auto;
    text-align: center;
    border: 1px solid;
    padding: 20px;
}

.letstalk-body .start:hover {
  color: #111;
  border-color: #111;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .letstalk {
    padding: 80px 6%;
  }

  .letstalk-body {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .letstalk-body h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
  }
}

/* ========== LET'S TALK — SLIDE FORM ========== */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: all 0.6s ease;
}

.contact-form-container.active {
  height: auto;
  opacity: 1;
  margin-top: 20px;
  animation: slideDown 0.6s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FORM INPUTS ========== */
.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  color: #fff; /* samo tekst bijel */
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  border-color: #111;
}

.contact-form-container .input-row {
  display: flex;
  gap: 20px;
}


.btn-line2 {
    background: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: all 0.3s 
ease;
    border: 1px solid #fff;
    padding: 10px 20px;
    margin: auto;
    display: block;
    margin-top: 25px;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: #fff;
    padding: 35px 40px;
    border-radius: 6px;
    text-align: center;
    font-size: 1.1rem;
    color: #111;
}

.popup-box button {
    margin-top: 15px;
    border: 1px solid #111;
    background: none;
    padding: 8px 20px;
    cursor: pointer;
}
.popup-box button:hover {
    background: #111;
    color: #fff;
}

/* ========== BUTTON (centered line-style) ========== */
.btn-line {
  display: block;
  margin: 10px auto 0;
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  text-align: center;
}

.btn-line:hover {
  color: #333;
  border-color: #333;
  transform: translateX(3px);
}

.success-msg {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #00c04b;
}


/* ===============================
   FOOTER LAYOUT — CENTERED STYLE
=============================== */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: .05em;
}

footer h5 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

footer p, footer a {
  color: #ccc;
  font-weight: 300;
  transition: color .3s ease;
}

footer a:hover {
  color: #fff;
}

footer hr {
  border: none;
  border-top: 1px solid #333;
  opacity: 1;
}

/* FOOTER MENU */
.footer-menu li {
  display: inline-block;
}

.footer-menu a {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #ccc;
  letter-spacing: 0.1em;
  transition: color .3s ease;
}

.footer-menu a:hover {
  color: #fff;
}

/* SOCIAL ICONS */
footer .social-icons a {
  color: #ccc;
  font-size: 1.3rem;
  transition: color .3s ease;
}

footer .social-icons a:hover {
  color: #fff;
}

/* RESPONSIVE */
@media(max-width: 767px){
  .footer-contact {
    margin-bottom: 40px;
  }

  .footer-menu {
    gap: 20px;
  }

  .footer-menu a {
    font-size: 0.9rem;
  }
}


/* ======================
   FOOTER LOCATIONS GRID
====================== */
.footer-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  text-align: center;
}

.footer-locations p {
  color: #ccc;
  line-height: 1.2;
  font-size: 0.7rem;
}

.footer-locations a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-locations a:hover {
  color: var(--accent, #A7A39C);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .footer-locations {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-locations {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* =======================
   GRAY HEADER – FINAL
======================= */
.gray-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 6%;
  z-index: 3000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  transition: all 0.4s ease;
}

/* --- Scroll state: tamna poluprovidna pozadina --- */
.gray-header.scrolled {
      background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(2px);
}

/* --- Layout --- */
.header-left,
.header-center,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-center {
  justify-content: center;
}
.header-left {
  justify-content: flex-start;
}
.header-right {
  justify-content: flex-end;
}

/* --- Logo --- */
.header-center a img.site-logo {
  height: 42px;
  filter: brightness(0) invert(1); /* bijeli logo uvijek */
  transition: filter 0.3s ease, transform 0.3s ease;
}
.header-center a img.site-logo:hover {
  transform: scale(1.05);
}

/* --- Menu label --- */
.menu-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.menu-text {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: #fff;
  transition: opacity 0.3s ease;
}
.menu-text.hidden {
  opacity: 0;
  pointer-events: none;
}



/* RESET LANGUAGE DROPDOWN */
.language-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Rotacija strelice */
.lang-btn.active i {
    transform: rotate(180deg);
    transition: 0.25s ease;
}

/* DROPDOWN – HORIZONTALNO, S DESNE NA LIJEVU */
.lang-dropdown {
    
    position: absolute;
    top: 44%;
    right: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    background: none !important;
    padding: 0;
    margin: 0px 11px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s 
ease;
}

/* SHOW STATE */
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
}

/* LINKS */
.lang-dropdown li a {
    color: #fff !important;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.12em;
    padding: 0;
    margin: 0;
    background: none !important;
    transition: color 0.2s ease;
}

.active-lang{display:none;}

/* HOVER */
.lang-dropdown li a:hover {
    color: var(--accent);
}

/* ACTIVE LANG — izgleda isto kao ostali */
.lang-dropdown a.active-lang {
    background: none !important;
    color: #fff !important;
    font-weight: 400 !important;
}


/* --- Dropdown scroll state (white version) --- */
.gray-header.scrolled .lang-dropdown {
  background: rgba(255,255,255,0.95);
}
.gray-header.scrolled .lang-dropdown li a {
  color: #111;
}
.gray-header.scrolled .lang-dropdown li a:hover {
  background: var(--accent);
  color: #fff;
}

/* --- Hamburger --- */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 3001;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { width: 65%; }
.hamburger span:nth-child(2) { width: 100%; }
.hamburger span:nth-child(3) { width: 80%; }
.hamburger:hover span:nth-child(1) { width: 100%; }
.hamburger:hover span:nth-child(3) { width: 65%; }

/* Transform to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
  width: 100%;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
  width: 100%;
}

/* =========================
   SIDE MENU — PARTIAL SLIDE
========================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -40%; /* početno skriveno */
  width: 35%; /* širina vidljivog panela */
  height: 100vh;
  background: rgba(17,17,17,0.97);
  color: #fff;
  padding: 100px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  transition: right 0.4s ease;
  z-index: 2000;
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  overflow-y: auto;
}

.side-menu.active {
  right: 0;
}

.side-menu img {
  display: block;
  margin-bottom: 40px;
  filter: brightness(0) invert(1);
}

.side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.side-menu a {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.3s;
}

.side-menu a:hover {
  color: var(--accent, #A7A39C);
  transform: translateX(4px);
}

.side-menu .footer-links {
  margin-top: 60px;
  width: 100%;
}

.side-menu .footer-links hr {
  border-color: rgba(255,255,255,0.2);
  margin: 20px 0;
}

.side-menu .footer-links ul li {
  margin-bottom: 8px;
}

.side-menu .footer-links ul li a {
  color: #bbb;
  font-size: 0.9rem;
}

.side-menu .socials {
  display: flex;
  gap: 18px;
  font-size: 1.2rem;
  margin-top: 20px;
}

.side-menu .socials a {
  color: #fff;
  transition: 0.3s ease;
}
.side-menu .socials a:hover {
  color: var(--accent, #A7A39C);
}

/* --- Overlay iza menija --- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1500;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .side-menu {
    width: 60%;
    right: -60%;
  }
}

@media (max-width: 600px) {
  .side-menu {
    width: 100%;
    right: -100%;
  }
}


/*-- about timeline ---*/
/* ===== ABOUT SECTION ===== */
#about {
  background: #fff;
  padding: 100px 0 0 0;
  font-family: 'Poppins', sans-serif;
}

#about h2 {
      max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    color: var(--dark);
}

#about .lead {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* ===== TIMELINE SECTION ===== */
.timeline-wrapper {
  text-align: center;
  position: relative;
}

.timeline-wrapper h2{
        margin-bottom: 20px;
    font-weight: 100;
	font-size: 1.5rem;
}

.timeline-heading {
  font-size: 1.6rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 70px;
  letter-spacing: 0.05em;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   SERVICE HERO SLIDER
================================ */

.service-hero-section {
    position: relative;
    min-height: 80vh;
    color: #fff;

}

.service-hero-slides-wrapper {
    position: relative;
    min-height: 80vh;
}

.service-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.service-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* ~30% crni overlay */
}

/* Content */
.service-hero-title {
    position: relative;
    z-index: 2;
    font-weight: 300; /* kako si rekao: title 300 */
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.service-hero-subtitle {
    position: relative;
    z-index: 2;
    font-weight: 100; /* subtitle 100 */
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 38rem;
}

.service-hero-btn {
   position: relative;
    z-index: 2;
    font-weight: 100;
    border-radius: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.service-hero-btn2 {

	color:#000;
	background:#fff;
}
/* Kategorije pri dnu */
.service-hero-category-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-block: 1.25rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.9) 100%);
    z-index: 3;
}

.service-hero-cat-scroller {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.service-hero-cat-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.service-hero-cat-list {
    display: flex;
    gap: 0.75rem;
}

/* 4 u redu desktop, 2 tablet, 1 mob (uz horizont. scroll) */
.service-hero-cat-item {
    flex: 0 0 25%;
    max-width: 25%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.6rem 1rem;
    border-bottom: 2px solid transparent;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 300;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-hero-cat-item:hover {
    color: #fff;
}

.service-hero-cat-item.is-active {
    color: #fff;
    border-color: #ffffff;
}

/* Tablet: 2 u redu */
@media (max-width: 991.98px) {
    .service-hero-cat-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobilni: 1 u redu */
@media (max-width: 575.98px) {
    .service-hero-cat-item {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }

    .service-hero-title {
        font-size: 1.75rem;
    }

    .service-hero-subtitle {
        font-size: 0.95rem;
    }
}



/* Osiguraj da container sadržaja bude iznad backgrounda */
.service-hero-slide .container,
.service-hero-slide .row,
.service-hero-slide .col-lg-6 {
    position: relative;
    z-index: 2;
}

/* Central vertical line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #b3ada9;
  opacity: 0.4;
  transform: translateX(-50%);
}

/* Each timeline item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 0 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.hidden-timeline {
    max-height: 0;
    opacity: 0;
  
    transition: max-height .4s ease, opacity .4s ease;
}

.hidden-timeline.show {
    max-height: 200px; /* dovoljno za animaciju */
    opacity: 1;
}

/* Dot marker (circle) */
.timeline-dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #b3ada9;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background: #b3ada9;
  border-color: #111;
}

/* Timeline content */
.timeline-content {
  background: #f8f8f8;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 25px 30px;
  display: inline-block;
  max-width: 380px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content h4 {
  margin: 0 0 10px;
  color: #111;
  font-weight: 600;
  font-size: 1.1rem;
}

.timeline-content p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hidden items animation */
.timeline-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s ease;
}

.timeline-hidden.active {
  max-height: 2000px;
  opacity: 1;
}

/* More button */
.btn-line {
  display: inline-block;
    margin-top: 25px;
    background: none;
    color: #b3ada9;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid #b3ada9;
   padding: 20px 20px;
    width: 200px;
}

.btn-line:hover {
  color: #111;
  border-color: #111;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .timeline-container {
        padding: 0 10px;
    }
}


/* HERO */
.news-header-image {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-header-image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-header-image h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    padding: 0 10px;
}

/* SHARE ICONS */
.news-share-icons i {
    transition: 0.2s;
    opacity: .9;
}

.news-share-icons i:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =====================================
   FANCYBOX: REAL PROPORTIONS (NO STRETCH)
   ===================================== */

.fancybox__slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.fancybox__slide img {
    width: auto !important;
    height: auto !important;
    
    max-width: 100% !important;   /* ne prelazi širinu slide-a */
    max-height: 100vh !important; /* ne prelazi visinu ekrana */
    
    object-fit: contain !important; /* zadrži proporcije */
    
    margin: auto !important;
}



/* lang */

.lang-dropdown a.active-lang {
    background: rgba(255,255,255,0.2);
    color: #fff !important;
    font-weight: 500;
}


/* ============================================
   LEFT SIDE MENU — FINAL CLEAN VERSION
============================================ */
.side-menu {
  position: fixed;
  top: 0;
  left: -40%;               /* START HIDDEN ON LEFT */
  width: 20%;               /* VISIBLE WIDTH */
  height: 100vh;
  background: rgba(17,17,17,0.60);  /* 60% TRANSPARENT DARK */
  backdrop-filter: blur(6px);       /* smooth glass effect */
  color: #fff;
  padding: 80px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  transition: left 0.4s ease;
  z-index: 2900;
  overflow-y: auto;         /* allow scroll */
}

/* ACTIVE STATE */
.side-menu.active {
  left: 0;
}

/* LOGO */
.side-logo {
	 margin-top:50px;
}

.side-menu .side-logo {
  width: 100%;
  text-align: left;
}

.side-menu .side-logo img {
  width: 134px !important;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

/* MAIN LINKS */
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-menu ul li a {
  color:#D8D4D3;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: 0.3s ease;
}

.side-menu ul li a:hover {
  color: var(--accent, #A7A39C);
  transform: translateX(4px);
}

/* FOLLOW US SECTION */
.footer-social {
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

.footer-social p {

  font-size: 0.85rem;
  letter-spacing: .1em;
  text-align:left;
  color:#D8D4D3;
}

.footer-social .social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: var(--accent, #A7A39C);
}

/* OVERLAY BEHIND MENU */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   CUSTOM SCROLLBAR (Ultra thin, white)
============================================ */
.side-menu::-webkit-scrollbar {
  width: 4px;
}

.side-menu::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}

.side-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.45);
  border-radius: 10px;
}

.side-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.7);
}

/* Firefox */
.side-menu {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.5) rgba(255,255,255,0.1);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991px) {
  .side-menu {
    width: 60%;
    left: -60%;
  }
}

@media (max-width: 600px) {
  .side-menu {
    width: 100%;
    left: -100%;
    padding: 70px 30px;
  }

  .side-menu .side-logo img {
    width: 90px;
  }
}

.side-log
/* ======================================
   HAMBURGER — ALWAYS VISIBLE ON LEFT
======================================*/
.hamburger {
    position: fixed !important;
    top: 24px;
    left: 24px;   /* <-- OVO GA STAVLJA NA LIJEVU STRANU */
    z-index: 999999 !important;
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}


/* ============================
   NEWSLETTER — MINIMAL LINE STYLE
============================ */

.newsletter-wrapper {
    max-width: 450px;
    margin: 60px auto;
    text-align: center;
}

.newsletter-input {
        width: 300px;
    display: block;
    background: transparent;
    border: none;
    border-bottom: 1px solid #b3ada9;
    font-size: 15px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color .3s 
ease;
    margin: auto;
    padding-bottom: 10px;
}

.newsletter-input::placeholder {
    color: #999;
    letter-spacing: 0.05em;
}

.newsletter-input:focus {
    border-color: #fff;
}

/* BUTTON — minimal line button */
.newsletter-btn {
    display: inline-block;
    margin-top: 20px;
    background: none;
    padding: 8px 0;
    font-size: 15px;
    color: #b3ada9;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all .3s 
ease;
    border: 1px solid #b3ada9;
    padding: 10px 20px;
}

.newsletter-btn:hover {
    color: #fff;
    border-color: #fff;
    transform: translateX(3px);
}


/* =============================
   HERO GRAY CUSTOM SLIDER
   ============================= */

.hero-gray-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-gray-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-gray-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-gray-slide.active {
    opacity: 1;
}

/* HTML5 VIDEO */
.hero-gray-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%);
}

/* IMAGE BG */
.hero-gray-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

/* OVERLAY */
.hero-gray-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

/* CENTERED TEXT */
.hero-gray-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 90%;
    max-width: 900px;
}

.hero-gray-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.hero-gray-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.hero-gray-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 100;
    transition: 0.3s;
}
.hero-gray-btn:hover {
    background: #fff;
    color: #000;
}


/* ================================
   SERVICE HERO SLIDER
================================ */

.service-hero-section {
    position: relative;
    min-height: 80vh;
    color: #fff;

}

.service-hero-section h2{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    color: var(--dark);
}

.service-hero-slides-wrapper {
    position: relative;
    min-height: 80vh;
}

.service-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.service-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* ~30% crni overlay */
}

/* Content */
.service-hero-title {
    position: relative;
    z-index: 2;
    font-weight: 300; /* kako si rekao: title 300 */
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.service-hero-subtitle {
    position: relative;
    z-index: 2;
    font-weight: 100; /* subtitle 100 */
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 38rem;
}

.service-hero-btn {
    position: relative;
    z-index: 2;
    font-weight: 100; /* button 100 */
    border-radius: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Kategorije pri dnu */
.service-hero-category-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-block: 1.25rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.9) 100%);
    z-index: 3;
}

.service-hero-cat-scroller {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.service-hero-cat-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.service-hero-cat-list {
    display: flex;
    gap: 0.75rem;
}

/* 4 u redu desktop, 2 tablet, 1 mob (uz horizont. scroll) */
.service-hero-cat-item {
    flex: 0 0 25%;
    max-width: 25%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.6rem 1rem;
    border-bottom: 2px solid transparent;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 300;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-hero-cat-item:hover {
    color: #fff;
}

.service-hero-cat-item.is-active {
    color: #fff;
    border-color: #ffffff;
}

/* Tablet: 2 u redu */
@media (max-width: 991.98px) {
    .service-hero-cat-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobilni: 1 u redu */
@media (max-width: 575.98px) {
    .service-hero-cat-item {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }

    .service-hero-title {
        font-size: 1.75rem;
    }

    .service-hero-subtitle {
        font-size: 0.95rem;
    }
}



/* Osiguraj da container sadržaja bude iznad backgrounda */
.service-hero-slide .container,
.service-hero-slide .row,
.service-hero-slide .col-lg-6 {
    position: relative;
    z-index: 2;
}


/*----services page ----*/

.service-card {
    border-radius: 6px;
    background: #000;
    position: relative;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.service-card-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 400;
}

.service-card-overlay p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* ============================
   TEAM MODAL OVERLAY — FULLSCREEN
============================ */
.team-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,0.85);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    z-index: 999999;
    display: flex;
    align-items: center;
    overflow-y: auto;
    padding: 40px 0;
}

.team-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* INNER WRAPPER */
.team-modal-inner {
    width: 100%;
    max-width: 1200px;
    position: relative !important;
	top: 20px;
}

/* =====================================
   CLOSE BUTTON — THIN & ELEGANT
===================================== */
.team-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;         /* manji */
    font-weight: 100;        /* tanak X */
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
    line-height: 1;
}

.team-modal-close:hover {
    opacity: .7;
    transform: scale(1.05);
}

/* =====================================
   LEFT COLUMN — IMAGE (80% VH LIMIT)
===================================== */
.team-modal-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    overflow: hidden;
}

.team-modal-image-wrap img {
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* =====================================
   RIGHT COLUMN — CONTENT (ALL LEFT-ALIGNED)
===================================== */
.team-modal-content {
    padding: 50px;
    color: #fff !important;
    text-align: left !important;      /* <— DODATO: sve lijevo */
}

.team-modal-content h2 {
    color: #fff !important;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 8px;
    text-align: left !important;      /* <— DODATO */
}

.team-modal-content h4 {
    color: #fff !important;
    font-weight: 200;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 18px;
    text-align: left !important;      /* <— DODATO */
}

.team-modal-content p {
    color: #fff !important;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left !important;      /* <— DODATO */
}

/* =====================================
   LINKEDIN BUTTON (with icon)
===================================== */
.team-modal-link {
    align-items: center;
 
    color: #fff;
    transition: 0.3s 
ease;
}

.team-modal-link i {
    font-size: 2.2rem;
}

.team-modal-link:hover {

}

/* =====================================
   RESPONSIVE (Mobile Optimization)
===================================== */
@media(max-width: 991px) {

    .team-modal-content {
        padding: 30px;
        text-align: left !important;   /* <— PORAVNANJE */
    }

    .team-modal-image-wrap {
        height: 50vh;
    }

    .team-modal-image-wrap img {
        max-height: 50vh;
    }

    .team-modal-content h2 {
        font-size: 1.7rem;
        text-align: left !important;
    }

    .team-modal-content h4 {
        font-size: 1rem;
        text-align: left !important;
    }
}

@media(max-width: 575px) {

    .team-modal-content {
        padding: 25px;
        text-align: left !important;
    }

    .team-modal-close {
        font-size: 28px;      /* još tanje i manje na mobilnom */
        right: 15px;
        top: 15px;
        font-weight: 100;
    }

    .team-modal-image-wrap {
        height: 45vh;
    }

    .team-modal-image-wrap img {
        max-height: 45vh;
    }
}


#teamModalName {
      
    width: 100%;
    margin: 0 auto 40px auto;
    font-weight: 200;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    display: block;
    padding-bottom: 8px;
    
}

/* ================================
   QUOTE BOX WITH BACKGROUND IMAGE
================================ */
.team-quote-bg {
    background-image: url('{{ asset("storage/bg.jpg") }}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px; /* da se vidi slika */
    display: flex;
    justify-content: center;
    align-items: center;
}
.team-quote-box {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.55);
    padding: 25px 35px;
}	

.quote-text{
	color: #817D7D;
    padding: 35px 25px;
    font-size: 1.2rem;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1.4;
    width: 100%;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media(max-width: 575px) {
.quote-text{
	
    font-size: 0.9rem;
    
}

.timeline-item {
    position: static;
    width: 100%;
    padding: 40px;
box-sizing: border-box;}

.timeline-dot {

    display: none;
}
}


/* ARROWS */
.service-hero-arrow {
    position: absolute;
    bottom: 10%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s ease;
}

.service-hero-arrow:hover {
    background: rgba(255,255,255,0.4);
    color: #000;
}

.service-hero-prev { left: 25px; }
.service-hero-next { right: 25px; }

@media(max-width: 575px){
    .service-hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
	
	.team-modal-inner {
    width: 100%;
    max-width: 1200px;
    position: absolute !important;
	top: 20px;
}
	
}

.newsletter-open-btn {
    background: none;
    border: 1px solid #b3ada9;
    color: #b3ada9;
    padding: 10px 20px;
    letter-spacing: .1em;
    cursor: pointer;
    font-size: 14px;
    transition: .3s ease;
}

.newsletter-open-btn:hover {
    color: #fff;
    border-color: #fff;
}


/* ============================================
   FIX: ALIGN INPUTS PERFECTLY + NICE SPACING
============================================ */

/* wrapper */
#consultForm {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

/* input-row: first + last name */
#consultForm .input-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

/* first/last name identical width */
#consultForm .input-row input {
    flex: 1;
}

/* universal input style (same as newsletter) */
#consultForm .newsletter-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding: 10px 0 6px 0; /* tighter bottom padding */
    margin-bottom: 25px;  /* consistent spacing */
    font-size: 16px;
    color: #fff;
    outline: none;
}

/* placeholder style */
#consultForm .newsletter-input::placeholder {
    color: rgba(255,255,255,0.55);
}

/* FIX: Textarea perfect alignment */
#consultForm textarea.newsletter-input {
    padding-top: 6px;
    padding-bottom: 4px;      /* bring text closer to underline */
    height: 70px;             /* smaller + cleaner */
    margin-bottom: 25px;
    line-height: 1.4;
    resize: none;
}

/* button identical to newsletter */
#consultForm .newsletter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    letter-spacing: .08em;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 2px;
}

#consultForm .newsletter-btn:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}


/* ============================
   CONSULTATION + NEWSLETTER ALIGN FIX
============================ */

.consult-news-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 6%;
    display: flex;
    justify-content: center;        /* centriramo ih zajedno */
    align-items: center;
    gap: 100px;                     /* razmak između dugmadi */
}

/* Mobilni – smanji razmak i složi dugmad bliže */
@media (max-width: 575px) {
    .consult-news-wrapper {
        gap: 20px;                 /* mali razmak na mobilnom */
        flex-direction: column;    /* jedno ispod drugog */
    }

    .newsletter-open-btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
	
	
	.news-overlay {

    opacity: 1;
   
}

h1{font-size: 2rem;}
}
@media (max-width: 575px) {
    .timeline-item {
        padding: 15px 20px; /* umjesto 40px */
    }

    .timeline-content {
        padding: 20px; /* umjesto 25px 30px */
    }
.team-quote{display:none;}	

.news-header-image h1 {
    font-size: 2rem;
}


#services .service-overlay{
opacity:1 !important;	
}
#services .service-overlay p{
	display:none;
}

#services .service-overlay h3{
	display:none;
}

#services .service-category {


    background: none !important;
backdrop-filter: none !important;
}


}
