@font-face {
    font-family: Raleway;
    src: url("font/Raleway-VariableFont_wght.ttf");
}
@font-face{
    font-family: Teko;
    src: url("font/Teko-VariableFont_wght.ttf");
}
* {
  box-sizing: border-box;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
.pocetna header {
  top: 0;
  width: 100%;
  height: 100vh;
  padding: 15px 0;
  position: absolute;
  background-image: url(image/pocetna.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clear: both;
}
nav {
  width: 100%;
  height: 10vh;
  background: rgba(0, 0, 0, 0.418);
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0 30px;
}
.logo img {
  width: 150px;
}
.linkovi {
  display: flex;
  align-items: center;
  gap: 25px;
}
.linkovi a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-family: Raleway;
  position: relative;
  font-weight: 500;
}
.linkovi a:hover {
  color: #d32c3e;
}
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  width: 175px;
  z-index: 1;
}
.dropdown-content a {
  font-size: 14px;
  display: block;
  padding: 10px;
  color: white;
}
.dropdown-content a:hover {
  color: white;
  border: 2px solid #d32c3e;
}
.dropdown:hover .dropdown-content {
  display: block;
}
header h1 {
  font-size: 110px;
  color: white;
  margin-top: 15%;
  font-family: Teko;
}
header .podnaslov {
  font-size: 20px;
  color: #faca4a;
  font-family: Raleway;
  margin-top: -6%;
  font-weight: 500;
}

main {
    width: 100%;
    margin-top: 1000px;
}
.container {
  position: absolute;
  top: 110vh;     
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  max-width: 100%;
  padding: 20px;
}
.box {
    width: 300px;
    height: 25vh;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -2px 1px 10px -2px white;
}
.box1 { background-image: url(image/qu.png);}
.box2 { background-image: url(image/paintball2.png); }
.box3 { background-image: url(image/bs.png); }
.box1 a{
    color: white;
    font-size: 25px;
    text-decoration: none;
    font-family: Teko;;
    border-left: 3px solid #faca4a;
    border-right: 3px solid #faca4a;
    padding: 5px 10px;
    background-color: none;
}
.box2 a{
    color: white;
    padding: 2%;
    font-size: 30px;
    text-decoration: none;
    font-family: Teko;
    border-left: 3px solid #d32c3e;
    border-right: 3px solid #d32c3e;
    padding: 5px 10px;
}
.box3 a{
    color: white;
    padding: 2%;
    font-size: 30px;
    text-decoration: none;
    font-family: Teko;
    border-left: 3px solid #faca4a;
    border-right: 3px solid #faca4a;
    padding: 5px 10px;
}

.quad {
  position: relative;
  top: 15vh;
  display: grid;
  grid-template-columns: repeat(2, 50%);
  gap: 20px;
  box-sizing: border-box;
}
.quad1, .quad2 {
  width: 100%;
  height: 70vh;
}
.quad1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quad2 h1 {
  font-family: Teko, sans-serif;
  text-align: center;
  margin-top: 15%;
  color: rgb(41, 41, 41);
  font-size: 55px;
}
.quad2 p {
  width: 70%;
  font-family: Raleway, sans-serif;
  text-align: left;
  margin-left: 15%;
  font-weight: 500;
  color: black;
  margin-top: -1%;
}
.quad2 .podnaslov {
  margin-top: -5%;
  color: #d32c3e;
  text-align: center;
  font-family: Raleway, sans-serif;
}
#dodatnisadrzaj1 {
  margin: 20px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 120px);
  height: 40vh;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: -15%;
}
#dodatnisadrzaj1 div {
  width: 120px;
  height: 6vh;
  padding: 0;
  margin: 0;
  color: white;
  font-family: Raleway, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d32c3e;
  box-shadow: -2px 1px 10px -2px #d32c3e;
}

.paintball {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  margin-top: 15vh;
  box-sizing: border-box;
}
.paintball-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}
.paintball-1 h1 {
  font-family: Teko;
  font-size: 55px;
  margin-top: -2%;
  color: rgb(41, 41, 41);
  text-align: center;
  margin-bottom: 10px;
}
.paintball-1 .podnaslov {
  font-family: Raleway;
  color: #d32c3e;
  text-align: center;
  margin-bottom: 5px;
  margin-top: -2%;
  font-weight: 500;
}
.paintball-1 p {
  width: 70%;
  font-family: Raleway;
  color: black;
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: left;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
#dodatnisadrzaj2 {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
#dodatnisadrzaj2 div {
  background-color: #d32c3e;
  box-shadow: -2px 1px 10px -2px #d32c3e;
  color: white;
  font-family: Raleway;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 6vh;
  width: 120px;
  padding: 0;
  margin: 0;
}
.paintball-2 img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.bacanjesjekira {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 50%); 
    height: 70vh; 
}
.bacanjesjekira-1 {
    height: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;    
    position: relative;
}
.bacanjesjekira-1 img {
    height: 100%;
    width: 100%;
    object-fit: cover; 
}
.bacanjesjekira-2 {
  text-align: center;
  margin-top: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bacanjesjekira-2 .podnaslov{
    text-align: center;
    margin-top: -7%;
    color: #d32c3e;
}
.bacanjesjekira-2 h1 .bacanjesjekira-2 .podnaslov .bacanjesjekira-2 p {
  margin: 0 0 15px 0;
  max-width: 600px;
}
.bacanjesjekira-2 h1{
    margin-top: 5%;
}
#dodatnisadrzaj3 {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.bacanjesjekira p {
    width: 80%;
    font-family: Raleway;
    text-align: left;
    margin: 10px auto 0 auto;
    font-weight: 500;
    color: black;
}
#dodatnisadrzaj3 {
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(2, 120px);
    height: 40vh;
    gap: 15px;
    margin-top: -10%;
    align-items: center;
}
#dodatnisadrzaj3 div {
    width: 120px;
    height: 6vh;
    padding: 0;
    margin: 0;
    color: white;
    font-family: Raleway;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d32c3e;
    box-shadow: -2px 1px 10px -2px #d32c3e;
}

.partykuca{
    margin-top: 10%;
}
.partykucasadrzaj {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: start;
  padding: 0 5%;
}
.partykuca .podnaslov{
    color: #d32c3e;
   font-family: Raleway; 
}
.partykuca1 {
  display: grid;
  grid-template-columns: repeat(2, 320px); 
  gap: 20px; 
  justify-content: center;
}
.partykuca1 img {
  width: 320px;
  height: auto;
  object-fit: cover;
}
.partykuca2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px; 
  font-family: Raleway, sans-serif;
  margin-top: 50px;
  color: #111;
  text-align: left;
}
.partykuca2 h5 {
  color: #d32c3e;
  font-size: 20px;
  margin: 0;
}
.partykuca2 p {
  margin: 0;
  line-height: 1.6;
}
.rezerviraj {
  margin-top: 10px;
}
.rezerviraj a {
  padding: 10px 20px;
  background-color: #d32c3e;
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.rezerviraj {
  margin-top: 20px;
}
.rezerviraj a {
  display: inline-block;
  background-color: #d32c3e;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.rezerviraj a:hover {
  background-color: #a0272a;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    background-color:  rgba(0, 0, 0, 0.694);
}
footer h4{
    font-family: Raleway;
    color: white;
}
footer p{
    font-family: Raleway;
    color: white;
}
footer hr{
    width: 20%;
    color: white;
}
footer .back-to-top{
    color: #faca4a;
    font-family: Raleway;
    text-decoration: none;
}
.ikone{
    display: flex;
    margin: 0;
}
.ikone div{
    width: 80px;
    height: 6vh;
    padding: 0;
    margin: 0;
    color: white;
    font-family: Raleway;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ikone img{
    width: 30%;
}


/*GALERIJA*/
.galerija header {
    background-size: cover;     
    background-position: center;   
    background-repeat: no-repeat;
    height: 95vh;
    padding: 15px 0;
    position: absolute;
    top: 0;
    width: 100%;
    clear: both;
}
.galerija nav{
    background-color:  rgba(0, 0, 0, 0.694);
}
.gal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 10%;
}
.gal a {
    display: block;
    height: 35vh;
    overflow: hidden;
    position: relative;
}
.gal a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s;
    cursor: pointer;
}
.gal a img:hover {
    transform: scale(1.05);
}
.galerija footer{
    background-color:  rgba(0, 0, 0, 0.694);
}

/*REZERVACIJE*/
.kontakti header{
    background-size: cover;     
    background-position: center;   
    background-repeat: no-repeat;
    height: 100vh;
    padding: 15px 0;
    position: absolute;
    top: 0;
    width: 100%;
    clear: both;
    background-color:  rgba(0, 0, 0, 0.694);
}
.rezervacije nav{
    background-color:  rgba(0, 0, 0, 0.694);
}
h1{
    color: rgb(41, 41, 41);
    font-size: 55px;
    font-family: Teko;
}
.podaci {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 10px;
    height: 40vh;
    justify-content: center;
    align-items: center;
    margin-top: -5%;
}
.box.podaci1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 3px solid #faca4a;
    border-right: 3px solid #faca4a;
}
.box.podaci1 img {
    max-width: 20%;
    height: auto;
}
.box.podaci1 p {
    margin-top: 15px;
    color: black;
    font-family: Raleway;
    font-size: 16px;
}
.box.podaci2{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 3px solid #d32c3e;
    border-right: 3px solid #d32c3e;
}
.box.podaci2 img {
    max-width: 20%;
    height: auto;
}
.box.podaci2 p{
    margin-top: 15px;
    color: black;
    font-family: Raleway;
    font-size: 16px; 
}
.box.podaci3 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 3px solid #faca4a;
    border-right: 3px solid #faca4a;
   
}
.box.podaci3 img {
    max-width: 20%;
    height: auto;
}
.box.podaci3 p{
    margin-top: 15px;
    color: black;
    font-family: Raleway;
    font-size: 16px; 
}
.rezervacija {
    margin: 20px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 500px);
    height: 150vh;
    gap: 15px;
    margin-top: -22%;
    justify-content: center;
    align-items: center;
}
.rezervacija h1{
    font-family: Teko;
    text-align: left;
    color: rgb(41, 41, 41);
}
.rezervacija p{
    font-family: Raleway;
    text-align: left;
    color: black;
}
.rezervacija div{
    width: 100%;
    height: 55vh;
}
.rez{
    width: 60%;
}

form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
    font-family: Raleway;
}
label {
    display: block;
    margin-top: 15px;
    color: #333;
}
input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}
button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #d32c3e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    color: #faca4a;
    background-color:  rgba(0, 0, 0, 0.694);
}
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: white;
}
.kont{
    margin-left: 25%;
}
.rezervacije footer{
    background-color:  rgba(0, 0, 0, 0.694);
}
#toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #4caf50;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: sans-serif;
    z-index: 1000;
}
#toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/*MOBILNA VERZIJA*/
@media (max-width: 768px) {
   body{
    width: 100%;
   }
   .pocetna header{
    max-width: 768px;
    height: 50vh;
   }
   .logo img{
    width: 100px;
   }
   .pocetna .podnaslov{
    font-size: 15px;
    margin-top: -10%;
   }
   .hamburger{
    color: white;
    margin-top: -45%;
   }
   .linkovi {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 70px; 
    right: 0;
    width: 100%;
    text-align: right;
    padding: 1rem;
  }
  .linkovi a, .dropdown a {
    color: white;
    padding: 1rem;
    display: block;
  }
  .hamburger {
    display: block;
  }
  .linkovi.active {
    display: flex;
  }
  header h1 {
    font-size: 60px;
    color: rgb(255, 255, 255);
    margin-top: 15%;
    font-family: Teko;
  }
  .container {
    position: static;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    margin-top: 5vh;
  }
  .box {
    width: 90%;
    height: 25vh;
    background-size: cover;
    background-position: center;
    box-shadow: -2px 1px 10px -2px white;
  }
  .box a {
    font-size: 22px;
    padding: 8px 15px;
  }
  .quad {
    position: relative;
    display: block;
    height: auto;
  }
  .quad1 {
    display: none;
  }
  .quad::before {
    content: "";
    background-image: url('image/pp.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    filter: brightness(0.6); 
  }
  .quad2 {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.501);
    padding: 20px;
    box-sizing: border-box;
    margin: 20px;
  }
  .quad2 h1 {
    text-align: center;
    font-size: 50px;
  }
  .quad2 .podnaslov {
    margin-left: 10%;
    width: 70%;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .quad2 p {
    width: 85%;
    font-size: 14px;
    text-align: left;
    margin: 10px 0;
  }
  #dodatnisadrzaj1 {
    grid-template-columns: repeat(2, 100px);
    gap: 10px;
    margin-top: 5px;
  }
  #dodatnisadrzaj1 div {
    padding: 10px 0;
  }
}


/*Galerija*/
@media (max-width: 768px) {
  .gal {
    grid-template-columns: 1fr;
    margin-top: 20%;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }
  .linkovi {
    flex-direction: column;
    width: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
  }
  .linkovi a {
    padding: 10px 20px;
    width: 100%;
    text-align: left;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 30px;
    color: white;
    margin-left: auto;
  }
  .linkovi.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Hamburger ikona */
  .hamburger {
    display: block;
    color: white;
    padding: 15px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    z-index: 999;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    padding: 15px;
    text-align: center;
  }
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-family: Raleway;
  }
  .box {
    width: 90%;
    height: 150px;
    margin: 10px auto;
  }

  .quad {
    grid-template-columns: 1fr;
    top: 0;
  }

  .quad2 h1,
  .quad2 .podnaslov,
  .quad2 p {
    margin-top: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #dodatnisadrzaj1 {
    grid-template-columns: repeat(2, 120px);
    height: auto;
    margin-top: 10px;
  }

  .paintball {
    grid-template-columns: 1fr;
  }

  .paintball-2 img {
    height: auto;
  }

  #dodatnisadrzaj2 {
    grid-template-columns: repeat(2, 120px);
  }

  .bacanjesjekira {
    grid-template-columns: 1fr;
    height: auto;
  }

  #dodatnisadrzaj3 {
    flex-wrap: wrap;
    height: auto;
    margin-top: 10px;
  }

  .partykucasadrzaj {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .partykuca1 {
    grid-template-columns: 1fr;
  }

  .partykuca1 img {
    width: 100%;
  }

  .partykuca2 {
    margin-top: 20px;
  }

  footer {
    padding: 20px;
    text-align: center;
  }

  .ikone {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .ikone div {
    width: 60px;
  }

@media (max-width: 768px) {

  /* Hamburger ikona */
  .hamburger {
    display: block;
    color: white;
    padding: 15px;
    font-size: 2rem;
    text-align: right;
  }
  nav.mobile-nav {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 20px;
    position: relative;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    padding: 15px;
    text-align: center;
    width: 100%;
  }
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-family: Raleway;
    font-size: 18px;
    display: block;
    width: 100%;
  }
  .podaci {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
    text-align: center;
  }
  .podaci .box {
    width: 100%;
    max-width: 350px;
    padding: 20px;
    border-left: none;
    border-right: none;
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
  }

  .podaci .box img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
  }

  .podaci .box p {
    font-family: Raleway;
    font-size: 16px;
    color: black;
    margin: 0;
  }
  .box.podaci1{
    border-top: 3px solid #faca4a;
    border-bottom: 3px solid #faca4a;
  }
  .box.podaci2{
    border-top: 3px solid #d32c3e;
    border-bottom: 3px solid #d32c3e;
  }
  .box.podaci3{
    border-top: 3px solid #faca4a;
    border-bottom: 3px solid #faca4a;
  }
    .rezervacija {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-top: 20px;
    gap: 30px;
    padding: 0 15px;
  }
  .rezervacija div {
    width: 100%;
    height: auto;
  }
  .rez {
    width: 100%;
    max-width: 500px;
  }
  form {
    width: 100%;
  }
  .kont {
    width: 100%;
    max-width: 500px;
    margin-left: 0;
    text-align: left;
  }
  .rezervacija h1{
    text-align: center;
  }
  .rezervacija p{
    text-align: left;
    margin-left: 2%;
  }
}
}