/* Osnovni reset i box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #1a1a1a;
  overflow-x: hidden;
  width: 100%;
  padding-top: 4rem; /* visina hedera */

}


html {
  overflow-x: hidden;
  width: 100%;
}


h1 {
  font-family: 'Minion Variable Concept', serif;
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: clamp(28px, 5vw, 48px);
  color: #84152A;
  user-select: none;
  text-align: center;
  margin: 0 auto 20px auto;
}

/* Header i navigacija */
.header {
  background-color: rgba(255, 255, 255, 0);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

/* Kada je hover ili focus-within, linija animira iz ivica ka centru */
.navbar:hover,
.navbar:focus-within {
  background-size: 100% 2px;
}

/* Dark mode varijanta */
.header.dark-text .navbar {
  background-image: linear-gradient(to right, #fff 0%, #fff 50%, #fff 100%);
}

.navbar {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  gap: 1rem;
  border-bottom: none;
  background-image: linear-gradient(to right, #84152A 0%, #84152A 50%, #84152A 100%);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: center bottom;
  transition: background-size 0.4s cubic-bezier(.77,0,.18,1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;}


.navbar #opa {
  position: relative;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  text-decoration: none;
  color: #84152A;
}

.navbar #opa:hover {
  background-color: white;
  border: 2px solid #84152A;
  color: #84152A;
}

header.dark-text .navbar #opa:hover {
  background-color: #84152A;
  border: 2px solid white;
  color: white;
}

.navbar a,
.navbar .nav-icon-link {
  position: relative;
  color: #84152A;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
}

.navbar a::after,
.navbar .nav-icon-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #84152A;
  transition: width 0.3s, background-color 0.3s;
}

.header.dark-text .navbar a::after,
.header.dark-text .navbar .nav-icon-link::after {
  background-color: white;
  
}



.navbar a:hover::after,
.navbar .nav-icon-link:hover::after {
  width: 100%;
}

.navbar a:hover,
.navbar .nav-icon-link:hover {
  text-decoration: underline;
  text-decoration-color: #343D3F;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  max-width: 100%;
  transition: max-height 0.3s;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
}

.upit-btn-mobile {
  display: none;
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  filter: none;
  transition: filter 0.3s;
}

.social-icons img:hover {
  filter: grayscale(100%);
}

.header.dark-text .upit-btn:hover,
.header.dark-text .social-icons img:hover,
.header.dark-text .social-icons svg:hover {
  filter: grayscale(100%);
  transition: filter 0.3s;
}





@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .logo {
    max-height: 30px;
  }
  .hamburger {
    display: block;
  }
  .right-nav.desktop-only {
    display: none;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    width: 20%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 0 0 0 12px;
    transition: max-height 0.3s, opacity 0.3s;
    z-index: 1500;
    pointer-events: none;
    opacity: 0;
  }
  .nav-links.open {
    max-height: 500px;
    pointer-events: auto;
    opacity: 1;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    color: #84152A !important;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    text-decoration: none;
  }
  .nav-links li a:hover {
    text-decoration: underline;
  }
  .mobile-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0rem !important;
  }

  #fb{ 
    margin-left: -20px;
  }
  .mobile-social a {
    display: flex;
    align-items: center;
  }
  .mobile-social img {
    display: inline-block;
    width: 20px;
    height: 20px;
  }
  .upit-btn-mobile {
    font-family: 'Minion Variable Concept', serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    background: white;
    color: #84152A !important;
    padding: 0.3rem 0.8rem;
    border: solid 3px #84152A;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    font-style: normal !important;
    transform: none !important;
    text-align: center !important;
  }
}

.header.dark-text .upit-btn {
  background-color: transparent !important;
  border: 1px solid white;
  color: white !important;
}

.header.dark-text .social-icons img,
.header.dark-text .social-icons svg {
  filter: brightness(0) invert(1);
}




/* Dugme */
.upit-btn {
  font-family: 'Minion Variable Concept', serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  background: white;
  color: #84152A !important;
  padding: 0.4rem 0.8rem;
  border: solid 3px #84152A;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
}

a.upit-btn:hover {
  text-decoration: none !important;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.header.dark-text .navbar a,
.header.dark-text .navbar .nav-icon-link {
  color: white !important;
}

.header.dark-text .navbar a::after {
  background-color: white !important;
}


/* Hero sekcija */
.hero {
  background-image: url('index/gl.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero {
    height: 95.7vh;
  }
}

/* Stock ticker */
.stock-ticker {
  position: relative;
  width: 100%;
  height: 5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  --gap: 0.8rem; /* Možeš smanjiti ako želiš manje razmaka */
}

/* Oba UL elementa */
.stock-ticker ul {
  display: flex;
  list-style: none;
  gap: var(--gap);
  flex-shrink: 0;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

/* Svaki LI element */
.stock-ticker li {
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 6rem);
  color: white;
  -webkit-text-stroke: 3px #84152A;
  padding-inline: 0; /* Precizno - bez dodatnog razmaka */
  margin: 0;
}

/* Glatka scroll animacija */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobilni prikaz */
@media (max-width: 768px) {
  .stock-ticker {
    position: absolute;
    bottom: -0.5rem;
    top: auto;
    left: 0;
    width: 100%;
    height: 3.5rem;
    margin-top: 0;
    z-index: 10;
  }

  .stock-ticker ul {
    font-size: clamp(1rem, 5vw, 2rem);
    animation-duration: 20s;
  }

  .stock-ticker li {
    -webkit-text-stroke: 0.7px #84152A;
  }

  .hero-image {
    max-height: 400px;
    height: auto;
    width: 90vw;
    left: 50%;
    transform: translateX(-50%) translateY(0);
  }
}



/* Intro sekcija */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 1rem;
  gap: 2rem;
  overflow: hidden;
}

.intro-content {
  flex: 1;
  text-align: left;
}

.intro-content h1 {
  font-family: 'Minion Variable Concept', serif;
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: clamp(28px, 5vw, 48px);
  color: #84152A;
  user-select: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.intro-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #343D3F;
  max-width: 600px;
}

/* Slike –  animacije */
.intro-images {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

.intro-images img {
  width: 6rem;
  height: 20rem;
  transition: width 0.4s ease, height 0.4s ease;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  cursor: pointer;
}

.intro-images img:hover {
  width: 100% !important;
  height: 25rem; /* malo veća visina na hover */
}

.intro-images img {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}




/* Animacija za tekst */
@keyframes fade-in-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    max-width: 90%;
  }
  .intro-content, .intro-images {
    max-width: 100%;
  }
  .intro-images {
    flex-direction: row;
    margin-top: 2rem;
  }
  .intro-images img {
    width: 45%;
  }
  .intro-content h1,
  .intro-text {
    text-align: center;
  }
}



/* Custom sekcija */
.custom-section {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-gap: 20px;
  padding: 20px;
}

.first-part {
  padding-left: 170px;
  text-align: left;
}

.first-part h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  color: #84152A;
  font-style: italic;
  transform: skew(10deg);
  margin-bottom: 3px;
  text-align: left;
}

@media (max-width: 768px) {
  .first-part {
    padding-left: 0;
  }
  .first-part h1 {
    text-align: left;
  }

}

@media (max-width: 768px) {
  .sub-part {
    margin-bottom: -90px !important;
  }
}


.second-part {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  border-top: 2px solid rgba(132, 21, 42, 0.5);
  padding: 30px;
  box-sizing: border-box;
}

.sub-part {
  display: flex;
  flex-direction: column;
  gap: 20px; /* jedinstveni razmaci između svih elemenata */
  padding: 30px 15px;
  min-height: 300px;
  height: 100%;
  max-width: 340px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
  padding-bottom: 0px !important;
}

.sub-part h2 {
  font-family: 'Minion Variable Concept', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  color: #343D3F;
  margin: 0;
  transform: skew(10deg);
}

.sub-part h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  color: #84152A;
  margin: 0;
  transform: skew(10deg);
}

.sub-part p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #343D3F;
  line-height: 1.4;
  margin: 0;
}

.third-part {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: -20px;
  flex-wrap: wrap;
}

#trecih {
  margin-top: -11px;
}
#trecip { margin-bottom: 60px; }

/* Galerija sekcija */
.galerija {
  width: 100%;
  padding: 40px 16px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  background-color: #fff5f7;
}



.galerija h2 {
  font-size: clamp(32px, 4vw, 60px);
  color: #84152A;
  font-style: italic;
  transform: skew(10deg);
  margin-bottom: 2rem;
  text-align: center;
}

.galerija-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  white-space: nowrap;
  animation: galScroll 15s linear infinite;
  padding-bottom: 20px;
}

.galerija-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.galerija-img:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes galScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .galerija-img {
    width: 240px;
    height: 240px;
  }
  .galerija-grid {
    gap: 30px;
    animation-duration: 10s;
  }

}

.mala_galerija h1 {
  margin-top: 3rem !important;
}

/* Scroller galerija */
.scroller {
  max-width: 100%;
  overflow: hidden;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  animation: scroll var(--_animation-duration, 60s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

.scroller__inner img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(255,255,255,0.7);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

@media (max-width: 600px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
}


/* Par sekcija */
.par {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  background-color: #fff;
  gap: 20px;
  justify-content: center;
  padding: 0 1rem;
}

.left, .right {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}

#pardva {
  margin-top: -5rem;
}

.right {
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.right h1 {
  font-family: 'Minion Variable Concept', serif;
  font-weight: 700;
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: clamp(28px, 4vw, 48px);
  color: #84152A;
  margin-bottom: 1rem;
  text-align: left;
  margin-left: 0 !important;
}

.right p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #343D3F;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  line-height: 1.4;
}

.intro-bottom-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.left img {
  padding-top: 4rem;
}

.par .left,
.par .right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.par.visible .left,
.par.visible .right {
  opacity: 1;
  transform: translateY(0);
}

.par.visible .left {
  transition-delay: 0.2s;
}

.par.visible .right {
  transition-delay: 0.4s;
}


/* Partneri */
.partners {
  margin-top: -1px;
  background-color: #84152A;
  text-align: center;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logos img {
 
  width: 15%;
  height: 10%;
  
  object-fit: contain;
}

@media (max-width: 768px) {
  .partners {
    height: auto;
    padding: 20px 10px;
  }
  .partner-logos {
    gap: 1rem;
  }
  .partner-logos img {
    width: 45%;
    
    height: 60%;
    flex: 1 1 45%;
  }

  .par p {
    margin-left: 0 !important;
    text-align: left;
  }  
}


/* Mockup sekcija */
.format-wrapper {
  border: 2px solid #800000; /* prilagodi boju */
  border-radius: 2rem;
  padding: 4rem 2rem 2rem;
  position: relative;
  text-align: center;
  max-width: 1200px;
  margin: 4rem auto;
  background-color: #fff;
}

.format-title {
  font-size: clamp(60px, 9vw, 304px);
   line-height: 1;
  position: relative;
  margin-bottom: 3rem;
  padding: 0;
  margin: 0;
}

.format-images {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  margin-top: -5rem; /* slike idu preko naslova */
  z-index: 1;
}

.format-images img {
  width: 25rem;
  height: auto;
}

.format-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding-left: 3rem;
  margin-left: 4rem;
}

.format-bottom p {
  flex: 1 1 40%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #343D3F;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  line-height: 1.4;
  margin-right: 6rem;
  
}

#format_b {
  align-self: flex-start;
  margin-right: 4.6rem;
  margin-top: 5rem;
}


/* Responsive prilagodbe */
@media (max-width: 768px) {
  .format-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* vertikalno poravnanje */
    align-items: center;      /* horizontalno poravnanje */
    text-align: center;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

  .format-bottom p {
    margin: 0;
    padding: 0 1rem;
    width: 100%;
    max-width: 26rem;
    font-size: 1rem;
  }

  #format_b {
    margin: 2rem auto 0;
    align-self: center;
  }

  .format-wrapper {
    margin: 4rem 1rem;
    padding: 2rem 1rem;
  }

  .format-images img {
    width: 15rem;
  }
}

.format-images-wrapper {
  overflow: hidden;
  width: 100vw;
  position: relative;
  margin-top: -6rem;
  margin-left: calc(-50vw + 50%);
  height: 22rem; /* prilagodi dok ne stane lepo bez sečenja i bez guranja */
  display: flex;
  align-items: center;
  margin-bottom: -6rem; /* da se uklopi u layout */
}

.format-images {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#zemo {
  transform: translateY(1.3rem); /* po želji malo je spusti ako izgleda previsoko */
}


/* FAQ sekcija */
.faq-section {
  background-color: #84152A;
  color: white;
  padding: 4rem 200px;
  margin: 4rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  position: relative;
  clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-style: italic;
  transform: skew(10deg);
  text-align: right;
  margin-right: 2rem;
  margin-right: 9%;
}

.faq-item {
  margin: 0 7%;
  margin-bottom: 1rem;
}

.faq-question {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  transform: skew(10deg);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  cursor: pointer;
  padding: 0.75rem 1rem;
  outline: none;
  transition: background-color 0.3s;
}

.spacer { height: 80px; }

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-answer {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-style: normal;
  transform: none;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  padding-left: calc(24px + 0.75rem + 1rem);
  margin-top: 0.5rem;
  max-width: 800px;
}

.faq-answer p {
  margin: 0.5rem 0 1rem 0;
  max-width: 100%;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
  transform: skew(-10deg);
}

.faq-text {
  display: block;
  line-height: 1.4;
  flex: 1;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1.5rem;
    clip-path: polygon(0 12%, 100% 0%, 100% 88%, 0% 100%);
  }
  .faq-section h2 {
    padding-top: 20%;
    font-size: 1.8rem;
    margin-right: 0;
    text-align: center;
    transform: none;
  }
  .faq-question {
    font-size: 20px;
    transform: none;
    padding: 0.75rem 1rem;
  }
  .faq-answer {
    font-size: 18px;
    max-width: 100%;
    padding-left: 1rem;
  }
  .faq-logo {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    transform: none;
  }
  .faq-text {
    line-height: 1.3;
  }
}

/* Kontakt sekcija */
.kontakt-horizontalna {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 200px;
  background-color: white;
  flex-wrap: wrap;
}

.kontakt-tekst a {
  color: inherit;          /* koristi boju teksta iz roditelja */
  text-decoration: none;   /* uklanja podvlačenje */
  font: inherit;           /* koristi isti font kao okolina */
}


.kontakt-blok {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kontakt-logo {
  max-height: 70px;
  object-fit: contain;
}

.kontakt-naslov {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-style: italic;
  transform: skew(10deg);
  color: #84152A;
  margin-bottom: 0.5rem;
  text-align: left;
}

.kontakt-tekst {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  color: #343D3F;
  text-align: left;
  margin: 0.2rem 0;
}

.kontakt-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.kontakt-social-icons img {
  width: 30px;
  height: 30px;
  filter: none;
  transition: filter 0.3s;
}

.kontakt-social-icons img:hover {
  filter: grayscale(100%);
}

.footer {
  background-color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 768px) {
  .kontakt-horizontalna {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
    align-items: center;
  }
  .kontakt-blok {
    flex: none;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .kontakt-naslov {
    font-size: 28px;
    transform: none;
  }
  .kontakt-tekst {
    font-size: 18px;
  }
  .kontakt-social-icons {
    justify-content: center;
  }
}

/* Desktop: sakrij mobilne ikonice i mobilno dugme */
.mobile-social,
.upit-btn-mobile {
  display: none;
}

/* Mobilni: prikaži mobilne ikonice i dugme, i postavi veličinu ikonica */
@media (max-width: 768px) {
  .mobile-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }
  .mobile-social img {
    display: inline-block;
    width: 20px;
    height: 20px;
  }
  .upit-btn-mobile {
    display: inline-block;
  }
}

/* elegancija */

.upit-btn:hover,
.upit-btn-mobile:hover {
  background: #84152A;
  color: #fff !important;
  border-color: #84152A;
  filter: none;
  transition: background 0.3s, color 0.3s;
}

.galerija-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(132,21,42,0.15);
}

/* Hamburger dugme stil */
.hamburger {
  position: relative;
  width: 40px;
  height: 40px;
  border: 3px solid #84152A; /* crvena */
  border-radius: 50%;
  background: #fff; /* bela */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  z-index: 1002;
}

.hamburger .bar {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #84152A;
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}


.hamburger.active {
  border-color: #fff;
  background: #84152A;
}

.hamburger.active .bar {
  background: #fff;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


.hamburger span {
  display: block;
  height: 2px !important;
  width: 20px !important;
  background-color: #84152A;
}

/* Responsive meni animacija */
@media (max-width: 900px) {
  .nav-links {
    transition: max-height 0.5s cubic-bezier(.4,2,.6,1), opacity 0.5s;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #fff; /* bela */
    border-radius: 0 0 30px 30px;
    border: 5px solid #84152A; /* crvena */
    border-top: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: auto;
    width: 24%;
    z-index: 1001;
    box-shadow: 0 4px 16px rgba(132,21,42,0.08);
    padding-left: 0;
    padding-right: 0;
  }
  .nav-links.open {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 20px;
  }
  .nav-links li a {
    color: #84152A;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-decoration: none;
  }
  .nav-links li a:hover {
    background: #84152A;
    color: #fff;
    border-radius: 8px;
  }
}

@media (max-width: 900px) {
  .upit-btn-mobile {
    margin: auto;
    width: calc(100% - 1rem); /* da ne ide do samog bordera */
    box-sizing: border-box;
  }
  /* Ako koristiš <li> za dugme, možeš i ovako: */
  .nav-links li:last-child {
    margin: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Sakrij drop meni na desktopu */
@media (min-width: 901px) {
  .hamburger {
    display: none !important;
  }
}



@media (max-width: 900px) {
  body > section:not(.faq-section) {
    margin: 0 !important;
  }
}


