* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #1a1a1a;
}

/*Navigacija*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: absolute;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
/*
header :hover{
  background-color: #1a1a1a;
  opacity: 60%;
}
*/
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  height: 100%;
}

.nav-links li {
  margin-right: 100px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  position: relative;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  color: darkgrey;
  transform: scale(1.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #f1f1f1;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  
  .menu-icon {
    display: block;
    margin-right: 10%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px 0;
    text-align: center;
    background-color: rgba(75, 74, 74, 0.815);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }
}

/* NASLOVNA */
.naslovna {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.naslovna-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 25%;
}

.naslovna-sadrzaj {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.naslovna h1 {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 75pt;
  margin-bottom: 0.5rem;
}

.naslovna p {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .naslovna h1 {
    font-size: 50pt;
  }

  .naslovna p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .naslovna h1 {
    font-size: 40pt;
  }

  .naslovna p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .naslovna h1 {
    font-size: 30pt;
  }

  .naslovna p {
    font-size: 0.9rem;
  }
}

/*Naslovna button (preuzeti kod)*/

.glow-on-hover {
  width: 250px;
  height: 70px;
  border: solid 1px black;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: floralwhite
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* O festivalu */

.echowave-section {
  text-align: center;
  padding: 10vh 5%;
  min-height: 83vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.echowave-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('slike_video/galerija/pozornica-min.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.echowave-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 5%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  max-width: 90%;
  text-align: center;
}

.echowave-section h1 {
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-size: 6vw;
  margin-bottom: 15px;
  letter-spacing: 2px;
  padding-bottom: 5vh;
  color: white;
}

/* Fleksibilan raspored za lijevi i desni paragraf */
.flexano {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 45%px;
  margin-top: 5vh;
}

.lijevo,
.desno {
  flex: 1;
  min-width: 300px;
  padding: 2%;
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-size: 25pt;
}

.lijevo {
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}

/* Odbrojavanje */
#demo {
  padding-top: 5vh;
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-size: 35pt;
  color: white;
}

/* Responzivnost */
@media (max-width: 768px) {
  .echowave-section {
    padding: 10vh 5%;
  }

  .echowave-section h1 {
    font-size: 8vw;
    padding-bottom: 3vh;
  }

  .flex-container {
    flex-direction: column;
    align-items: center;
  }

  .lijevo,
  .desno {
    width: 100%;
    border-right: none;
    font-size: 4vw;
  }

  .lijevo {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    ;
  }

  #demo {
    font-size: 6vw;
  }
}


/* IZVODJACI*/
.video_pozadina {
  position: fixed;
  background-size: cover;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 10%;
}

.izvodjaci h2 {
  font-size: 30pt;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lineup-container {
  padding-top: 7%;
  padding-bottom: 3%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.card-img {
  width: 100%;
  border-radius: 8px;
  height: 300px;
  object-fit: cover;
}

.card-title {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  margin-top: 10px;
}

.card-subtitle {
  font-size: 20px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .izvodjaci h2 {
    font-size: 36px;
  }

  .card {
    margin-top: 12%;
    margin-left: 10%;
    width: 350px;
    height: 450px;
  }

}

@media (max-width: 480px) {
  .izvodjaci h2 {
    font-size: 28px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-subtitle {
    font-size: 14px;
  }
}

/* Ulaznice */
.tickets {
  height: 100vh;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  padding-bottom: 20vh;
}

.ticket-options {
  padding-top: 7%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ticket {
  width: 28%;
  background: #444;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.ticket:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

.ticket h3 {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #c923c9;
}

.ticket p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.ticket button {
  background: #c923c9;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  color: #222;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ticket button:hover {
  background: #c923c9c5;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
  margin-bottom: 25%;
  gap: 5%;
  padding: 20px;
}

.image-container img {
  width: 31%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .ticket {
    width: 80%;
  }

  .image-container {
    padding-top: 15%;
    flex-direction: row;
  }

  .image-container img {
    width: 50%;
    gap: 5%;
  }
}

/*Galerija*/

.galerija {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.gallery-container {
  max-width: 1400px;
  padding: 30px;
  background: #fdf5e6;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 5px solid #8a2be2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-item {
  position: relative;
  width: 400px;
  height: 300px;
  background: #fff;
  border: 4px solid #9370db;
  padding: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  transition: transform 0.3s ease-in-out;
}

.gallery-item:nth-child(even) {
  transform: rotate(2deg);
}

.gallery-item:hover {
  transform: scale(1.05) rotate(0deg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .galerija{
    margin-top: 10%;
  }
}
/*FAQ*/

.faq-section {
  min-height: 100vh;
  max-width: 900px;
  margin: 50px auto;
  margin-top: 10%;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

.faq-title {
  font-family: 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 3em;
  margin-bottom: 40px;
  text-align: center;
  color: #c923c9;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.faq {
  border-bottom: 1px solid #34495e;
  padding: 25px 0;
  transition: transform 0.3s ease;
}

.faq:hover {
  transform: translateY(-5px);
}

.faq-question {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ecf0f1;
  transition: color 0.3s ease;
  cursor: pointer;
}

.faq-question:hover {
  color: #c923c9;
}

.faq-answer {
  font-size: 1.2em;
  padding: 12px 0;
  color: #bdc3c7;
  line-height: 1.8;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.faq-answer:hover {
  opacity: 1;
}

/* Responsivnost */
@media (max-width: 768px) {
  .faq-section {
    padding: 30px;
  }

  .faq-title {
    font-size: 2.5em;
  }

  .faq-question {
    font-size: 1.4em;
  }

  .faq-answer {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 2em;
  }

  .faq-question {
    font-size: 1.3em;
  }

  .faq-answer {
    font-size: 1em;
  }
}


/* Footer */
.footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 25px;
  font-size: 16px;
  position: relative;
  bottom: 0;
  box-shadow: 0px -4px 10px rgba(148, 1, 161, 0.4);
  border-top: 2px solid rgba(180, 27, 180, 0.5);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 12px;
}

.footer-link {
  color: #e736e7;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.footer-link:hover {
  color: #7928ca;
  text-shadow: 0px 0px 12px rgba(121, 40, 202, 0.8);
}

.footer-link i {
  margin-right: 8px;
}

@media (max-width: 600px) {
  .footer {
      font-size: 14px;
      padding: 20px;
  }
  .footer-link {
      font-size: 16px;
  }
}