html {
    scroll-behavior: smooth; /* Aktivira glatko pomicanje */
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    text-align: center;
}









/*----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA----------NAVIGACIJA*/









nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 20; /* Povećan z-index kako bi uvijek bila iznad pozadine */
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s ease;
}

/* Hover efekt */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: #ff9900;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}








/*----------POČETNA STRANICA----------POČETNA STRANICA----------POČETNA STRANICA----------POČETNA STRANICA----------POČETNA STRANICA----------POČETNA STRANICA----------POČETNA STRANICA*/








/* slika u pozadini */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('slike/polo1.jpg') center/cover no-repeat;
    animation: fadeIn 1.5s ease-in-out;
}



/* tamniji overlay */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Glavni naslov i tekst */
.hero h1, .hero p, .btn {
    position: relative;
    z-index: 2; /* Osigurava da su iznad pozadine */
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero p {
    font-size: 22px;
    font-weight: 500;
}

/* Dugme */
/* Animacija za dugme */
.btn {
    display: inline-block;
    padding: 14px 28px;
    margin-top: 20px;
    font-size: 20px;
    background: #ff9900;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(226, 131, 6, 0.6);
    font-weight: bold;
}

.btn:hover {
    background: rgb(231, 148, 24);
    box-shadow: 0 0 20px rgba(255, 208, 0, 0.8);
    transform: scale(1.05); /* Lagani prijelaz prilikom hover efekta */
}

/* Animacija fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sekcija s osnovnim informacijama */
.info {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 10%;
}

.info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/sepak1.jpg') center/cover no-repeat;
    z-index: 1;
}


/* Kontejner za sadržaj */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Tekst s lijeve strane */
.text-container {
    flex: 1;
    padding: 40px;
    color: white;
    text-align: left;
    z-index: 2;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.text-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    color: #ffbb00; /* Zlatna boja za naslov */
}

.text-container p {
    font-size: 18px;
    line-height: 1.6;
}

/* Slika s desne strane */
.image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
}








/*----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER----------FOOTER*/









section.info {
    margin-bottom: 0; /* Ukloni marginu između info sekcije i footera */
}

/* Footer */
footer {
    background-color: #194494;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 0;
}

/* Unutar footera */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Svaka sekcija u footer-u */
.footer-section {
    flex: 1;
    padding: 10px;
    text-align: left;
}

.footer-section h3 {
    font-size: 28px;
    color: #ffbb00; /* Zlatna boja za naslov */
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 16px;
    margin: 5px 0;
}

footer a {
    color: #16c1f5; /* Plava boja za link */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}







/*----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA----------GALERIJA*/









/* Stil za galeriju */

*{
    box-sizing:border-box;
  }

.gallery{
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 1, 1.8)), url('slike/sepak1.jpg') center/cover no-repeat;
}
    
  
  .case-study-gallery{
    width: 90%;
    margin:0px auto;
    max-width:1100px;
    padding: 70px 0px;
  }
  .case-study {
    position: relative;
    display:block;
    width: 90%;
    height: 250px;
    margin:0 auto 2rem;
      background-size:cover;
    border-radius:10px;
    box-shadow:0px 25px 50px rgba(0,0,0,.5);
    overflow:hidden;
    transition:all .4s ease;
    @media screen and (min-width:37.5em){
      height: 300px;
    }
    @media screen and (min-width:45em) {
      display:inline-block;
        width: 45%;
      margin-left: 25px;
    }
  }
  
  
    .case-study__img{
      width: 90%;
      display:block;
        margin-top:50%;
      transform:translateY(50%);
      margin:0 auto;
    }
  
  
  .case-study__overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    z-index:10;
    &:after {
      content:'';
      width: 100%;
      border-radius:10px;
      height: 100%;
      background-color: #202020;
      opacity:0;
      position: absolute;
      top:0;
      z-index:-10;
      left:0;
      transition:all .3s ease;
    }
  }
    
    .case-study__title {
      position: relative;
      top:-200px;
      margin-bottom:2rem;
      margin-top:8rem;
      font-size: 2.25rem;
      font-weight: 100;
      color:white;
      text-align: center;
      letter-spacing:5px;
      transition:all .3s cubic-bezier(.3, 0, 0, 1.3);
    }
    
    .case-study__link {
      position: relative;
      display:block;
      width:60%;
      top:200px;
      padding:10px;
      margin: 0 auto;
      font-family: 'Oswald';
      color:white;
      letter-spacing:3px;
      text-decoration: none;
      text-align: center;
      border:2px solid white;
      border-radius:3px;
      font-size: 1.25em;
      transition:all .3s cubic-bezier(.3, 0, 0, 1.3);
      &:hover {
        background-color: white;
        color:#202020;
      }
    }
  
  
  .case-study:hover {
    
    .case-study__title{
      top:0;
    }
    .case-study__link{
      top:0;
    }
    
    .case-study__overlay:after{
      opacity:.75;
    } 
  }
  
  .study1{
    background-image: url('slike/polo1.jpg');
  }
  .study2 {
    background-image: url('slike/futsal2.jpg');
  }
  .study3{
    background-image: url('slike/kabaddi1.jpg');
  }
  .study4{
    background-image: url('slike/lacrosse2.jpg');
  }
  .study5{
    background-image: url('slike/netball2.jpg');
  }
  .study6{
    background-image: url('slike/teqball2.jpg');
    
  }
  .study7{
    background-image: url('slike/wiffle2.jpeg');
    
  }
  .study8{
    background-image: url('slike/sumo2.jpg');
    
  }
  .study9{
    background-image: url('slike/sepak2.jpg');
    
  }
  .study10{
    background-image: url('slike/bossaball2.jpg');
    
  }






/*----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI----------SPORTOVI*/







.infosport{
    position: relative;
    height: 108vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 10%;
    animation: fadeIn 1.5s ease-in-out;
}

.infosport::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bossaball::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/bossaball2.jpg') center/cover no-repeat;
}

.futsal::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/futsal1.jpg') center/cover no-repeat;
}

.kabaddi::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/kabaddi1.jpg') center/cover no-repeat;
}

.lacrosse::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/lacrosse1.jpg') center/cover no-repeat;
}

.netball::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/netball1.jpg') center/cover no-repeat;
}

.polo::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/polo1.jpg') center/cover no-repeat;
}

.sepak::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/sepak1.jpg') center/cover no-repeat;
}

.sumo::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/sumo1.jpg') center/cover no-repeat;
}

.teqball::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/teqball1.jpg') center/cover no-repeat;
}

.wiffleball::before{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/wiffle1.jpg') center/cover no-repeat;
}


.frame{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(slike/frame.png);
    z-index: 2;
    background-size: cover;
}









/*----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE----------TIMELINE*/





* {
    box-sizing: border-box;
  }
  
  /* Set a background color */

  
  /* The actual timeline (the vertical ruler) */
  .timeline {
    position: relative;
    margin: 0 auto;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('slike/sumo1.jpg') center/cover no-repeat;
    padding-top: 10vh;
    animation: fadeIn 1.5s ease-in-out;
    
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;

  }
  
  /* Container around content */
  .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;

  }

  
  /* The circles on the timeline */
  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgb(56, 56, 56);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgb(56, 56, 56);

  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid rgb(56, 56, 56);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgb(56, 56, 56) transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }
  
  /* The actual content */
  .timecontent {
    padding: 20px 30px;
    background-color: rgb(56, 56, 56);
    position: relative;
    border-radius: 6px;

  }

  .timecontent p{
    text-align: left;
  }
  .timecontent h2{
    color: #ff9900;
  }
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
  @media screen and (max-width: 600px) {
  /* Place the timelime to the left */
    .timeline::after {
      left: 31px;
    }
  
  /* Full-width containers */
    .container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }
  
  /* Make sure that all arrows are pointing leftwards */
    .container::before {
      left: 60px;
      border: medium solid rgb(56, 56, 56);
      border-width: 10px 10px 10px 0;
      border-color: transparent rgb(56, 56, 56) transparent transparent;
    }
  
  /* Make sure all circles are at the same spot */
    .left::after, .right::after {
      left: 15px;
    }
  
  /* Make all right containers behave like the left ones */
    .right {
      left: 0%;
    }
  }






/*----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST----------RESPONZIVNOST*/




@media (max-width: 1350px) {
    .gallery {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        padding-top:15vh;
    }

    .gallery .scrollsection {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .gallery .item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .gallery .item img {
        max-width: 100vw;
        height: auto;
    }

    .gallery img {
        width: 80% !important; /* Smanjene slike */
        height: 80% !important;
        filter: none !important; /* Prikaz odmah u boji */
    }
}




@media (max-width: 1024px) {

    .content{
        flex-direction: column;
    }

    .content img{
        height: 30vh;
    }

    .text-container{
        margin-top: 5vh;
    }

    nav ul li a{
        padding: 10px 10px;
    }


}



@media (max-width: 768px) {

    .content p {
        font-size: 11pt;
    }
    .text-container h2{
        margin-top: 10vh;
    }

    .text-container p{
        width: 90vw;
    }

    .text-container{
        margin: 0px auto;
        padding: 0px;
    }

    nav ul li a{
        padding: 5px 10px;
        
    }
    nav ul{
        gap: 0px;
        justify-content: space-evenly;
    }
    nav{
        height: 5vh;
        width: 95%;
    }

    nav ul li {
        display: flex;
        align-items: center;
        justify-content: center;
        
    }

        .gallery {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        padding-top:10vh;
    }

    .gallery .scrollsection {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .gallery .item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .gallery .item img {
        max-width: 100vw;
        height: auto;
    }

    .gallery img {
        width: 80% !important; /* Smanjene slike */
        height: 80% !important;
        filter: none !important; /* Prikaz odmah u boji */
    }
}



/* responzivnost za footer */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}








