html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.narrow {
  max-width: 800px;
  margin: auto;
}

section {
  padding: 4rem 0;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* NAVIGATION */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.service-card,
.tour-card {
  transition: 0.3s;
}

.service-card:hover,
.tour-card:hover {
  transform: translateY(-8px);
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600; /* 🔥 jači font */
  font-size: 1.05rem; /* 🔥 malo veći */
  letter-spacing: 0.3px;
}

.nav-links a.active {
  color: #0a4c8b;
}

.nav-links a {
  transition: 0.3s;
}

.nav-links a:hover {
  color: #0a4c8b;
}


@media (max-width: 768px) {
  .nav-links a {
    font-size: 1.2rem;
  }
}

/* HERO */
.hero {
  height: 90vh;
  background: url("images/boat-tour-vis.webp") center/cover no-repeat;
  position: relative;
  color: #fff;
}

.hero-private {
  background: url("images/private-boat-tour-vis.webp") center/cover no-repeat;
}

.hero-group {
  background: url("images/group-boat-tour-vis.webp") center/cover no-repeat;
}

.hero-transfer {
  background: url("images/speed-boat-transfer-vis.webp") center/cover no-repeat;
}

.hero-bluecave {
  background: url("images/blue-cave-boat-tour-vis.webp") center/cover no-repeat;
}

.hero-scooter {
  background: url("images/rent-a-scooter-vis.webp") center/cover no-repeat;
}

.hero-small {
  height: 60vh;
}

.hero-overlay {
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2)
  );
}

.hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 1rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
}

.btn.primary {
  background: #0a4c8b;
  color: #fff;
}

.btn.secondary {
  border: 2px solid #0a4c8b;
  color: #0a4c8b;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* GRID SYSTEMS */
.split-grid,
.card-grid,
.icon-grid,
.boat-grid,
.info-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

/* CARDS */
.service-card,
.tour-card,
.boat-card,
.benefit-item {
  background: #f7f9fc;
  padding: 2rem;
  border-radius: 10px;
}

.boat-card {
  background: #fff;
  border: 1px solid #e1e5ee;
}

.boat-card h3 {
  color: #222;
  transition: 0.3s;
  font-weight:600;
}

.boat-card p {
	color: #555;
}

.boat-card:hover h3 {
  color: #555;
}


/* INFO BOX */
.tour-info {
  background: #f1f5fa;
  padding: 4rem 0;
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.info-grid div {
  background: #f7f9fc; /* isto kao benefit-item */
  padding: 2rem;
  border-radius: 10px;
  transition: 0.3s;
}

.info-grid div:hover {
  transform: translateY(-5px);
}

.info-grid div:hover {
  transform: translateY(-5px);
}

/* CONTACT FORM */
.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
}

.form-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.contact-alt {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}

/* FINAL CTA */
.final-cta {
  background: #0a4c8b;
  color: #fff;
  text-align: center;
}

/* FOOTER */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

/* MOBILE CTA */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  background: #0a4c8b;
}



.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background: transparent; /* 🔥 da ne preklapa parent */
}

/* DESKTOP */
@media (min-width: 768px) {

  .split-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .boat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mobile-cta {
    display: none;
  }
}

.logo img {
  height: 75px;
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .logo img {
    height: 125px;
  }
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.9);
}

.lightbox-content {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: 5% auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

}


/* MOBILE SWIPE */
/* MOBILE SWIPE */
@media (max-width: 768px) {

  .gallery-wrapper {
    overflow-x: auto;
  }

  .gallery-grid {
    display: flex;
    gap: 1rem;
  }

  .gallery-img {
    min-width: 80%;
    flex-shrink: 0;
  }

}


@media (min-width: 769px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-wrapper {
    overflow: visible;
  }

  .gallery-img {
    min-width: auto;
  }
}


/* DOTS */
.gallery-dots {
  display: none;
  justify-content: center;
  margin-top: 1rem;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  transition: 0.3s;
}

.dot.active {
  background: #0a4c8b;
  transform: scale(1.2);
}

/* samo na mobile */
@media (max-width: 768px) {
  .gallery-dots {
    display: flex;
  }
}


.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.header {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
}


.mobile-cta {
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}


.service-card,
.tour-card {
  transition: 0.3s;
}

.service-card:hover,
.tour-card:hover {
  transform: translateY(-8px);
}


.boat-trigger {
  cursor: pointer;
  color: #0a4c8b;
}

.boat-trigger:hover {
  text-decoration: underline;
}

.boat-card {
  cursor: pointer;
  transition: 0.3s;
}

.boat-card:hover {
  transform: translateY(-5px);
}

.boat-card:active {
  transform: scale(0.98);
}



.boat-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}

.boat-modal-content {
  background: #fff;
  max-width: 500px;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.boat-modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.boat-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}


.instagram {
  background: #f7f9fc;
  text-align: center;
}

.instagram p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.instagram-grid img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.instagram-grid img:hover {
  transform: scale(1.05);
}

/* desktop */
@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


@media (max-width: 768px) {
  .hero-content {
    top: auto;
    transform: none;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 70vh;
  }
}
.hero-link {
  margin-top: 2rem;
}

.hero-link h2 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.lang-switch a {
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.lang-switch a:hover {
  background: rgba(10,76,139,0.08);
}

