/* OSNOVNE POSTAVKE */
body {
    font-family: 'Mali', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
    color: #1a237e;
  }
  
  h1, h2, h3 {
    font-family: 'Mali', cursive;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  html {
    scroll-behavior: smooth;
  }
  /* NAVIGACIJA */
  header {
    background-color: #e3f2fd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-wrap: wrap;
  }
  
  .title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1565c0;
  }
  
  .menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
  }
  
  #menu {
    display: flex;
    gap: 20px;
  }
  
  #menu.active {
    display: flex;
  }
  
  #menu li a {
    color: #1565c0;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  #menu li a:hover {
    background-color: #bbdefb;
  }
  
  #menu .lang-flags {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  #menu .lang-flags button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    line-height: 1;
  }
  
  #menu .lang-flags button:hover {
    transform: scale(1.2);
  }
  
  
  /* HERO SEKCIJA */
  .hero {
    background: url('../slike/9.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    color: white;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 101, 192, 0.6);
  }
  
  .content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 40%;
  }
  
  .content h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }
  
  .content .btn {
    background-color: #90caf9;
    color: #0d47a1;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    transition: 0.3s;
  }
  
  .content .btn:hover {
    background-color: #64b5f6;
  }
  
  /* O NAMA */
  .o-nama {
    background-color: #e6f2fb; /* nježno plava */
    padding: 60px 20px;
    text-align: center;
  }
  
  .o-nama .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .o-nama h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #0d3c61;
  }
  
  .o-nama p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
  }

  /* JEZERO */
.o-jezeru {
  background-color: #e6f2fb; /* ista nježno plava pozadina */
  padding: 60px 20px;
  text-align: center;
}

.o-jezeru .container {
  max-width: 800px;
  margin: 0 auto;
}

.o-jezeru h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #0d3c61; /* ista tamno plava kao u .o-nama */
}

.o-jezeru p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}


  /* SEKCIJE */  
  section {
    padding: 60px 20px;
    text-align: center;
  }
  
  section h2 {
    color: #0d3c61;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
 
  /* GALERIJA */
  /* Swiper osnovno */
.mySwiper {
  width: 100%;
  max-width: 900px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
}

.mySwiper img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* slike uredne u slideru */
  border-radius: 8px;
  cursor: pointer;
}


/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;

  justify-content: center;
  align-items: center;        /* ovo centrira i po visini */
  flex-direction: column;

}

.lightbox-content {
  max-width: 90%;
  margin-top: 10px;
  max-height: 90%;
  object-fit: contain; /* cijela slika unutar ekrana */
  border-radius: 12px;
  transition: transform 0.3s ease;
}

#caption {
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.close { top: 20px; right: 40px; }
.prev { top: 50%; left: 20px; transform: translateY(-50%); }
.next { top: 50%; right: 20px; transform: translateY(-50%); }

.close:hover, .prev:hover, .next:hover {
  color: #ddd;
}


#galerija {
    padding: 40px 20px;
    background-color: #f1f8ff;
  }
  
  #galerija h2 {
    color: #0d3c61;
    margin-bottom: 30px;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .gallery-grid img {
    width: 100%;
    height: auto;
    max-height: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    cursor: pointer;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  }




 @media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* dvije u redu */
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr; /* jedna slika u redu */
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.prev:hover, .next:hover {
  color: #ddd;
}


  
  .camp-features {
    background-color: #e6f2fb;
    padding: 60px 20px;
    text-align: center;
  }
  
  .camp-features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0d3c61;
  }
  
  .feature-list {
    color: #333;
    list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: flex;
  flex-direction: column; /* svaki item ide ispod drugog */
  align-items: center; /* centriraj sve */
  gap: 20px;
  }
  
  .feature-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
  }
  
  .feature-list li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: #2196f3;
  }
  
.rental-section {
  padding: 60px 20px;
  background-color: #e6f2fb;
  text-align: center;
}


.rental-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0d3c61;
}


.rental-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.rental-card {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: #333;
  background: #f0f8ff;
  padding: 8px 12px;
  display: inline-block;
}
.rental-card p {
  white-space: pre-line; /* poštuje \n kao novi red */
   background-color: rgba(13, 60, 97, 0.1); /* svijetlo plava pozadina */
  color: #0d3c61; /* tamnoplava za tekst */
  padding: 6px 10px; /* malo prostora unutar "boxa" */
  border-radius: 8px; /* zaobljeni rubovi */
  margin-top: 8px; /* razmak od naslova */
  font-weight: 500; /* malo deblji tekst */
  transition: background-color 0.3s ease;
}

.rental-card:hover {
  transform: translateY(-5px);
}

.rental-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}

.rental-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #144e75;
}


/* CJENIK */
  .prices {
    background-color: #fdfdfd;
  }
  .price-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 800px;
  }
  
  .price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .price-table thead {
    background-color: #bbdefb;
    color: #0d3c61;
  }
  
  .price-table th,
  .price-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
  }
  
  .price-table tbody tr:hover {
    background-color: #f1f8ff;
  }
  
  .reservation-section {
    background-color: #e6f2fb;
  }
  
  /* KONTAKT INFO */
  .contact-info {
    position: relative; /* ovo je ključno za overlay */
    max-width: 600px;
    margin: 0 auto;
    background: url('../slike/3.jpg') no-repeat center center/cover;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    z-index: 0; /* da tekst bude iznad overlay */
  }
  
  .contact-info .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 50, 100, 0.5); /* prozirna plava */
    z-index: 1;
    border-radius: 15px; /* da overlay ima iste rubove kao roditelj */
  }
  .contact-info > *:not(.overlay) {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* za bolju čitljivost */
  }

  .contact-info h2 {
    text-align: center;
    color: #87CEFA;
    margin-bottom: 20px;
  }
  
  .contact-info a {
    color: #87CEFA;
    text-decoration: underline;
  }

  .contact-info slova {
    color: #87CEFA;
  }
  
  /* REZERVACIJA */
  .reservation-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .reservation-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    text-align: left;
  }
  
  .reservation-form input,
  .reservation-form textarea,
  .reservation-form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: inherit;
  }
  
  .reservation-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .reservation-form button:hover {
    background-color: #1565c0;
  }
  
  #rezervacija-poruka {
  display: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

  /* FOOTER */
  footer {
    background-color: #e3f2fd;
    padding: 30px 20px;
    text-align: center;
  }
  
  footer .social-icons a {
    color: #1565c0;
    font-size: 1.5rem;
    margin: 0 10px;
  }
  
  footer .quote {
    font-style: italic;
    margin: 15px 0;
    color: #1e88e5;
  }
  
  footer .newsletter-form {
    margin: 15px auto;
    max-width: 400px;
  }
  
  footer .newsletter-form input {
    width: 70%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #aaa;
  }
  
  footer .newsletter-form button {
    padding: 10px 15px;
    background-color: #64b5f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  footer .quick-links {
    margin-top: 20px;
  }
  
  footer .quick-links a {
    color: #1565c0;
    font-weight: bold;
    margin: 0 5px;
  }
  
  footer .disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .menu-icon {
      display: block;
    }
  
    #menu {
      flex-direction: column;
      display: none;
      width: 100%;
      background: #e3f2fd;
    }
  
    #menu li {
      padding: 10px;
      border-bottom: 1px solid #ccc;
    }
  
    #menu.show {
      display: flex;
    }
  }
  