:root {
  --bg: #0d0d0d;
  --accent: #e6c200;
}

/* Fonts & colors */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: #fff;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px;
  background: transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  position: relative;
}

header .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header .logo {
  height: 50px;
}

header .btn-primary {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

.center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lang {
  margin: 0 5px;
  font-weight: 600;
  transition: 0.3s;
}

.lang:hover {
  color: var(--accent);
}

.lang_active {
  margin: 0 5px;
  font-weight: 600;
  color: #d4d4d4;
}

#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  z-index: 1000;

  /* fade pozadina ide dalje prema dole (veći) */
  background: linear-gradient(to bottom, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0) 100%); 
  transition: background 0.6s ease;
}

#main-header.visible {
  opacity: 1;
  pointer-events: auto; /* omogući klikove kad se pojavi */
}

/* Hero */
.hero {
  position: relative;
  height: 70vh; /* smanjena visina slike */
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* ključni deo ostaje vidljiv */
  opacity: 0.8;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.intro {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}

/* Navigation buttons */
.nav-buttons {
  margin: 40px 0;
  display: flex;
  flex-direction: row; /* horizontalno po defaultu */
  justify-content: center; /* centrirano */
  gap: 20px; /* razmak između dugmića */
  flex-wrap: wrap; /* ako nema dovoljno prostora, prelazi u sledeći red */
}

.btn {
  border: 2px solid var(--accent);
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
  width: 200px;
  text-align: center;
}

.btn:hover {
  background: var(--accent);
  color: #0d0d0d;
}

.btn-primary {
  background: linear-gradient(45deg, #f3d06e, #cda434, #ffd700, var(--accent));
  background-size: 200% 200%;
  color: #0d0d0d;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 25px;
  text-align: center;
  border: none;
  width: 250px;
  transition: 0.5s;
  animation: shine 3s ease infinite;
}

.btn-primary:hover {
  background-position: right center; /* lagani sjaj kad hover */
  color: #0d0d0d;
}

/* Animacija gradienta */
@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Footer */
footer {
  margin: 50px 0 20px;
}

footer i {
  font-size: 1.5rem;
  margin: 30px 15px;
  transition: 0.3s;
}

footer i:hover {
  color: var(--accent);
}

.content {
  max-width: 1000px;
  margin: 100px auto 50px; /* margin-top da ne bude ispod fiksnog headera */
  padding: 0 20px;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.youtube-appearances, .articles-appearances {
  margin-bottom: 60px;
}

.youtube-item, .article-item {
  display: flex;
  align-items: center; /* vertikalno centriranje teksta u odnosu na thumbnail */
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap; /* za mobilni prikaz */
}

.youtube-item iframe, .article-item img {
  width: 400px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.youtube-text, .article-text {
  flex: 1;
  min-width: 200px;
}

.youtube-text h3, .article-text h3 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
}

.youtube-text p, .article-text p {
  font-size: 1rem;
  color: #ccc;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0d0d0d;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none; /* sakriveno dok se ne skroluje */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
}

#backToTop:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

#backToHome {
  position: fixed;
  bottom: 30px;
  left: 30px; /* donji levi ugao */
  border: none;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #0d0d0d;
  color: #fff;
  font-size: 16px;
  padding: 6px 6px;
  font-weight: 400;
  transition: 0.3s;
  width: 200px;
  cursor: pointer;
  display: flex; /* stalno vidljivo */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2000;
}

#backToHome:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.zakazivanje {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.zakazivanje h1 {
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
}

.booking-option h2 {
  color: inherit;       /* Preuzima boju teksta od sekcije */
  font-family: inherit;  /* Preuzima font */
  font-size: inherit;    /* Preuzima veličinu (ako želiš da budu isti) */
  text-shadow: inherit;  /* Preuzima senku ako je definisana na nivou sekcije */
  margin: 0;             /* Sklanja podrazumevane razmake naslova */
  padding: 0;
}

.booking-option a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Container za sve opcije */
.booking-options-container {
  display: flex;
  flex-wrap: wrap; /* ako nema dovoljno prostora, pređe u novi red */
  justify-content: center;
  gap: 20px; /* razmak između opcija */
}

/* Pojedinačna opcija */
.booking-option {
  border: 2px solid #fff; /* beli border po defaultu */
  border-radius: 10px;
  overflow: hidden;
  background: #000; /* crna pozadina */
  width: 220px;
  transition: all 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  color: #fff; /* tekst u beloj boji */
}

.booking-option:hover {
  transform: scale(1.05); /* blago povećanje */
  border: 2px solid var(--accent); /* zlatni border */
  box-shadow: 0 8px 20px rgba(230, 194, 0, 0.5); /* zlatni glow */
}

/* Header unutar kartice */
.option-header {
  display: flex;
  flex-direction: column;
  align-items: center;      /* horizontalno centrirano */
  justify-content: center;  /* vertikalno centrirano */
  cursor: pointer;
  padding: 15px;
  height: 220px; /* visina koja uključuje thumbnail i prostor ispod */
  gap: 10px;
  transition: all 0.3s ease;
}

.thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Tekst ispod thumbnail-a */
.option-header span {
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  color: #fff;
}

/* Accordion sadržaj */
.option-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 15px;
}

.booking-option.active .option-content {
  max-height: 500px;
  padding: 15px;
}

.booking-option.active .option-header {
  height: auto; /* visina se prilagođava sadržaju */
  justify-content: flex-start; /* pomeri tekst na vrh */
  padding-bottom: 10px; /* manje paddinga na dnu */
}

.booking-option.active .thumb {
  opacity: 0;
  height: 0;
  margin: 0;
}

/* Video container za 9/16 vertikalni video */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9/16 */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  max-width: 220px; /* ili koliko želiš */
  border-radius: 10px;
}

.booking-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* razmak između dugmića */
  margin-top: 30px;
  flex-wrap: wrap; /* da se na mobilnom prelamaju */
}

.booking-cta-buttons .btn-primary {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  background: linear-gradient(90deg, var(--accent), #ffd700); /* zlatni gradient */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-cta-buttons .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(230, 194, 0, 0.5);
}

.container {
  max-width: 900px;
  margin: 10px auto;
}

.name {
  font-size: 35px;
  font-weight: 700;
  color: var(--accent);
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20, 20, 40, 0.06);
  margin-bottom: 14px;
}

h2 {
  margin: 15px 0 45px 0;
  color: #fff;
  font-size: 25px;
}

p {
  margin: 4px 0;
}

ul {
  margin: 10px 0 16px 20px;
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;     
}

li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

th, td {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.small {
  font-size: 13px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.profile-image img {
  width: 250px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Horizontalni layout za kartice */
.booking-option.horizontal {
  width: 100%; /* Kartica zauzima punu širinu kontejnera */
  max-width: 800px; /* Ograničavamo širinu radi lakšeg čitanja */
  margin: 0 auto;
}

.card-link {
  display: flex; /* Ključna komanda za horizontalni prikaz */
  align-items: center;
  text-align: left;
  gap: 20px;
  padding: 15px;
}

/* Horizontalni layout za kartice */
.booking-option.horizontal {
  width: 100%; 
  max-width: 900px; /* Malo prošireno da stane više teksta */
  margin: 0 auto 20px auto; /* Razmak između kartica */
  background: #000;
  border: 2px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.booking-option.horizontal:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.card-link {
  display: flex !important; /* Forsiramo flex */
  flex-direction: row;      /* Slika levo, tekst desno */
  align-items: flex-start;  /* Tekst počinje od vrha */
  gap: 25px;                /* Razmak između slike i teksta */
  padding: 20px;
  text-align: left;
}

/* Fiksiramo veličinu slike da tekst ne bi "šetao" */
.booking-option.horizontal .thumb {
  width: 300px;             /* Širina thumbnail-a */
  height: 180px;            /* Visina thumbnail-a */
  flex-shrink: 0;           /* Ne dozvoljava slici da se skupi */
  object-fit: cover;
  border-radius: 8px;
}

.card-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-text h2 {
  margin: 0 0 10px 0 !important; /* Sklanja podrazumevani razmak */
  font-size: 1.4rem;
  color: var(--accent);
  text-align: left;
}

.card-text p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 768px) {

  header .left, header .right {
    margin: 5px 0;
  }

  .intro {
    font-size: 1rem;
    width: 90%;
  }

  .btn, .btn-primary {
    width: 80%; /* na mobilnom šire dugme */
  }
  
  .nav-buttons {
    flex-direction: column; /* vertikalno na telefonu */
    align-items: center;
    gap: 15px; /* malo manji razmak ako želiš */
  }
  
  .youtube-item, .article-item {
    flex-direction: column; /* video iznad, tekst ispod */
    align-items: center; /* centriranje oba horizontalno */
    text-align: center; /* centriran tekst */
  }

  .youtube-item iframe, .article-item img {
    width: 90%; /* video/slika šira za mobilni */
  }

  .youtube-text, .article-text {
    width: 90%; /* tekst širi za mobilni */
  }
  
  .booking-options-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
    .card-link {
    flex-direction: column;
    text-align: center;
  }
  
  .booking-option.horizontal .thumb {
    width: 100%;
    height: auto;
  }

  .booking-option {
    width: 90%; /* šire na mobilnom */
  }

  .video-container iframe {
    max-width: 100%;
  }
  
    .section-grid {
    grid-template-columns: 1fr;
  }
  
    .card-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .booking-option.horizontal .thumb {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
  
  .card-text h2, .card-text p {
    text-align: center;
  }
}
