.hero {
  position: relative;
  overflow: hidden;
  height: calc(100dvh - 108px); 

  .hero-slide {
    display: flex;
    justify-content: center;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
    
    /* KLJUČNO: Gasimo sve klikove na slide i sve unutar njega dok nije aktivan */
    pointer-events: none; 

    &.active {
      opacity: 1;
      z-index: 3;
      /* KLJUČNO: Palimo klikove natrag samo za aktivni slide i njegove gumbe */
      pointer-events: auto; 
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(100%);
      transition: 
        filter 1.2s ease, 
        transform 2.5s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1;
    }

    &:hover img {
      filter: grayscale(0%);
      transform: scale(1.03);
    }
  }

  /* Sadržaj se sada nalazi unutar slideova i sluša pointer-events */
  .hero-content {
    position: absolute;
    z-index: 4;
    bottom: 80px; 
    left: 0;
    right: 0;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;

    h1 {
      font-size: 64px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1.1;
      margin-bottom: 25px;
      color: #fff;
      text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }

    .btn {
      display: inline-block;
      padding: 12px 35px;
      border: 1px solid #fff;
      color: #fff;
      text-transform: uppercase;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 2px;
      text-decoration: none;
      transition: all 0.3s ease;

      &:hover {
        background-color: #C2AA5C;
        border-color: #C2AA5C;
        color: #000;
        box-shadow: 0 0 15px rgba(194, 170, 92, 0.4);
      }
    }
  }

  /* DOTS */
  .hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      cursor: pointer;
      transition: 0.3s;

      &.active {
        background: #C2AA5C;
      }
    }
  }
}

/* ==========================================================================
   --- RESPONSIVE ZA HERO ---
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    height: calc(100dvh - 80px);

    .hero-content {
      bottom: 60px;
      padding: 0 20px;

      h1 {
        font-size: 32px;
        margin-bottom: 20px;
      }
      
      .btn {
        padding: 10px 28px;
        font-size: 13px;
      }
    }
  }

}

/* ==========================================================================
   --- HERO SMALL FIX (Poravnato lijevo u kontejner) ---
   ========================================================================== */

.hero.hero-small {
  height: 300px; 
  min-height: 300px;
  overflow: hidden;
}

.hero-small .hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-small .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ponovno koristimo absolute i poravnanje u kontejner kao na početnoj */
.hero-small .hero-content {
  position: absolute;
  z-index: 3;
  bottom: 50px; /* Drži naslov u donjem dijelu trake, iznad sadržaja */
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px; /* Savršeno poravnato s tekstom i početnom stranicom */
  box-sizing: border-box;
}

.hero-small .hero-content h1 {
  font-size: 48px; /* Isti font-size kao i originalni h1 na početnoj */
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ==========================================================================
   --- RESPONSIVE ZA HERO SMALL (Mobiteli ispod 768px) ---
   ========================================================================== */
@media (max-width: 768px) {
  .hero.hero-small {
    height: 160px; /* Kratka traka na mobitelu */
    min-height: 160px;
  }

  .hero-small .hero-content {
    bottom: 30px; /* Malo niže na mobitelu jer je i traka manja */
    padding: 0 20px; /* Prati padding vijesti s mobitela da ne lijepi za rub */
  }

  .hero-small .hero-content h1 {
    font-size: 32px; /* Smanjeno za mobitele */
  }
}




/* SPOTIFY SECTION */
.spotify-section {
  text-align: center;
  background: #000;
}

/* TITLE */
.section-title {
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

/* INTRO BLOCK */
.music-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeMusic 0.8s ease forwards;
}

@keyframes fadeMusic {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LEAD */
.music-lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

/* SUB */
.music-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

/* CTA */
.music-cta {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-gold);
  opacity: 0.7;
  transition: 0.3s;
}

.music-cta:hover {
  opacity: 1;
}

/* PLAYER */
.music-player {
  display: flex;
  justify-content: center;
}


/*LIVE*/
.live-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.date strong {
  font-size: 18px;
}

.date span {
  display: block;
  font-size: 10px;
  opacity: 0.7;
}


/*CTA*/
.cta {
  position: relative;
  padding: 120px 0;
  height: 820px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta-logo {
  margin: 20px 0;
  max-width: 370px;
}

/*SOCIALS*/

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: 0.3s;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* CARD */
.card {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 6px;
  transition: 0.2s;
}

.card:hover {
  background: #1a1a1a;
}


/* BUTTON */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #fff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.2s;
  background: transparent;
}

.btn:hover {
  background: #fff;
  color: #000;
}


/* CONCERT LIST */
.concert-list {
  margin-top: 40px;

  .concert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);

    .concert-date {
      width: 60px;
      text-align: center;

      .day {
        font-size: 36px;
        font-weight: 600;
        display: block;
        color: var(--text-gold);
        line-height: 1;
      }

      .month {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.6;
      }
    }
  }
}


/* INFO */
.concert-info {
  flex: 1;
  margin-left: 20px;
}

.concert-title {
  font-size: 14px;
  letter-spacing: 1px;
}

.concert-title strong {
  margin-left: 6px;
}


/* ACTION */
.concert-action {
  margin-left: 20px;
}

.concert-empty {
  text-align: center;
  padding: 80px 20px;
  margin-top: 20px;

  color: rgba(255,255,255,0.6);

  p {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  /* linije kao kod note */
  position: relative;

  &:before,
  &:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    transform: translateX(-50%);
  }

  &:after {
    top: auto;
    bottom: 0;
  }

  /* CTA gumbi */
  .concert-empty-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;

    .btn {
      font-size: 12px;
      letter-spacing: 1px;
    }

    .btn.secondary {
      opacity: 0.7;

      &:hover {
        opacity: 1;
      }
    }
  }
}

.concert-note {
  text-align: center;
  margin-top: 32px;

  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: rgba(255,255,255,0.5);

  position: relative;
}

/* male linije lijevo/desno */
.concert-note::before,
.concert-note::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.concert-note::before {
  left: calc(50% - 120px);
}

.concert-note::after {
  right: calc(50% - 120px);
}


/* ==========================================================================
   --- NEWS LIST COMPONENT ---
   ========================================================================== */

.news-list {
  padding: 80px 0;
  background: white;
  color: black;
}

.news-list .btn {
  border-color: #a8a8a8;
  color: #000;
}
.news-list .btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* --- POJEDINAČNA VIJEST (FLEXBOX UMJESTO GRIDA) --- */
.news-item {
  display: flex;
  flex-direction: column; /* Na mobitelu defaultno ide sve jedno ispod drugog */
  gap: 30px;              /* Manji razmak za mobitele */
  margin-bottom: 80px;    /* Razmak između vijesti */
}

/* Slike na mobitelu prve u nizu */
.news-media {
  width: 100%;
}

.news-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px; /* Blago zaobljeni rubovi kao na hero */
}

/* Sadržaj vijesti */
.news-content {
  width: 100%;
  max-width: 100%;
}

.news-date {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  display: block;
  margin-bottom: 12px;
}

.news-title {
  font-size: 28px; /* Prilagođeno za mobitele */
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1.2;
}

.news-excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #333;
}


/* ==========================================================================
   --- DESKTOP LOOK & CIK-CAK TRANSFORMACIJA (Iznad 768px) ---
   ========================================================================== */
@media (min-width: 768px) {
  .news-item {
    flex-direction: row; /* Vraćamo u dva stupca na desktopu */
    align-items: center;
    gap: 80px;           /* Tvoj originalni razmak */
    margin-bottom: 120px;
  }

  /* Pola-pola raspored */
  .news-media, 
  .news-content {
    width: 50%;
  }

  .news-content {
    max-width: 500px; /* Ograničenje širine teksta za bolju čitljivost */
  }

  .news-title {
    font-size: 36px; /* Veći font za desktop */
  }

  /* REVERSE EFEKT: Elegantno okreće stupce bez diranja smjera teksta (RTL) */
  .news-item--reverse .news-media {
    order: 2; /* Slika ide desno */
  }

  .news-item--reverse .news-content {
    order: 1; /* Tekst ide lijevo */
  }
}

/* LOAD MORE */
.news-load {
  text-align: center;
  margin-top: 40px;
}


/* ==========================================================================
   --- SINGLE NEWS PAGE (novost.php) ---
   ========================================================================== */

.news-single {
  padding: 60px 0 100px 0; /* Fini odmak odozgo i komotan prostor na dnu */
  background: #fff;
  color: #000;
}

/* --- BUTTON: NATRAG --- */
.news-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  text-decoration: none;
  margin-bottom: 40px; /* Odmiče gumb od glavne slike */
  opacity: 0.6;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.news-back:hover {
  opacity: 1;
  border-color: #C2AA5C; /* Tvoja zlatna linija na hover */
}

/* --- MAIN IMAGE --- */
.single-news-img {
  display: block;
  width: 100%;
  max-width: 850px;       /* Ograničavamo širinu da slika ne bude ogromna na desktopu */
  height: auto;
  max-height: 500px;      /* Ne dopuštamo joj da ode previše u visinu */
  object-fit: cover;      /* Elegantno reže rubove ako omjer varira */
  border-radius: 6px;
  margin-bottom: 30px;    /* Odmak do datuma */
}

/* --- SADRŽAJ (TEKST I NASLOV) --- */
.news-single .news-date {
  color: #888;
  margin-bottom: 15px;
}

.news-single .news-title {
  font-size: 42px;        /* Nešto veći i moćniji naslov nego na listi */
  line-height: 1.2;
  max-width: 850px;
  margin-bottom: 30px;
}

.news-body {
  max-width: 800px;       /* Optimalna širina za čitanje (da tekst ne ide od ruba do ruba ekrana) */
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 60px;    /* Odmak do donje navigacije */
}

.news-body p {
  margin-bottom: 20px;    /* Razmak između odlomaka teksta */
}

/* --- DONJA NAVIGACIJA (PROŠLA / SLJEDEĆA) --- */
.news-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 40px;
  margin-top: 40px;
  max-width: 850px;
}

/* Stil za same linkove u navigaciji */
.news-nav a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #a8a8a8;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.news-nav a:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


/* ==========================================================================
   --- RESPONSIVE ZA SINGLE NEWS (Mobiteli i Tableti) ---
   ========================================================================== */
@media (max-width: 768px) {
  .news-single {
    padding: 40px 0 60px 0; /* Nešto manji paddinzi na mobitelu */
  }

  .news-back {
    margin-bottom: 25px;
  }

  .single-news-img {
    max-height: 300px; /* Smanjujemo visinu slike da stane lijepo na ekran telefona */
    margin-bottom: 20px;
  }

  .news-single .news-title {
    font-size: 28px; /* Prilagođen font naslova za manje ekrane */
    margin-bottom: 20px;
  }

  .news-body {
    font-size: 15px; /* Nešto sitniji font za ugodnije čitanje na mobitelu */
  }

  /* Okrećemo gumbe navigacije u stupac jedan ispod drugog na mobitelu */
  .news-nav {
    flex-direction: column;
    gap: 15px;
    align-items: stretch; /* Gumbi se rastežu na punu širinu */
    text-align: center;
  }

  .news-nav div {
    width: 100%;
  }

  .news-nav a {
    display: block; /* Da gumb popuni cijelu širinu i bude lakši za klik prstom */
    width: 100%;
    box-sizing: border-box;
  }
}


/*TIMELINE*/
.timeline-row {
  display: flex;
  gap: 40px;
  position: relative;
  padding: 0 64px;
}

.timeline-left {
  text-align: right;
  position: relative;
  padding: 64px;
  border-right: 1px solid var(--text-gold);
  min-width: 245px;

  .year {
    font-size: 48px;
    font-weight: 700;
    color: #c8a96a;
    position: relative;
    display: block;
    text-align: left;
  }
}

.timeline-right {
  display: flex;
  gap: 20px;
  padding-top: 64px;
  justify-content: space-between;
  flex: 1;

  .timeline-col-left {
    .timeline-title {
      font-size: 28px;
    }

    .timeline-note {
      font-size: 12px;
    }
  }

  .timeline-col-right {
    width: 800px;
    img {
      width: 100%;
    }

    p {
      font-size: 14px;
      line-height: 1.6;
    }
  }
}


