:root {
  --primary: #0d47a1;
  --primary-light: #2196f3;
  --primary-dark: #002171;
  --bg-light: #f5f8ff;
  --text-main: #1c1f2a;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER & NAV */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 40px;
  width: auto;
}

/* Navigation list shared styles */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.2s ease-out;
}

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

.nav-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.25);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.3);
}

/* HERO */

.hero {
  min-height: 100vh;
  padding-top: 80px; /* space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 23, 71, 0.7), rgba(33, 150, 243, 0.55)),
    url("img/Danijel1.jpg") center/cover no-repeat;
  color: #fff;
  text-align: left;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 32rem;
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.hero-card li {
  margin-bottom: 0.3rem;
}

/* SECTIONS */

section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading-left {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.section-heading p {
  margin-top: 0.6rem;
  color: #4b5563;
  font-size: 0.98rem;
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  border-top: 3px solid var(--primary-light);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* FLEET */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.fleet-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: #000;
}

.fleet-item img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.95;
}

.fleet-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.fleet-label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
}

/* STEPS */

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  text-align: center;
  font-size: 0.9rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  margin: 0 auto 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* KIDS TRIPS */

.kids-section {
  background: var(--bg-light);
}

.kids-highlight {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border-left: 4px solid var(--primary-light);
  font-size: 0.96rem;
  color: #374151;
}

.kids-highlight ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

/* CONTACT */

.contact-section {
  background: radial-gradient(circle at top, #e3f2fd 0, #f8fbff 50%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-details p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--primary);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #6b7280;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
  font-size: 0.86rem;
}

.social-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 71, 161, 0.25);
  background: rgba(255, 255, 255, 0.8);
}

/* FOOTER */

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.2rem 1.5rem 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  background: #f9fafb;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--primary);
  font-weight: 500;
}

/* WORK IN PROGRESS small tweak */
.wip-link {
  margin-top: 0.6rem;
}

/* HAMBURGER GUMB */

.nav-toggle {
  display: none; /* desktop: sakriven */
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--primary-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* STICKY CTA – default: skriven */
.sticky-cta {
  display: none;
}

/* WORK IN PROGRESS PAGE SPECIFICS (ako ih koristiš na drugoj stranici) */
.wip-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e3f2fd 0, #ffffff 55%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.wip-wrapper {
  max-width: 640px;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #e3f2fd;
  color: #0d47a1;
}

/* RESPONSIVE */

@media (max-width: 900px) {

  /* Layout adjustments */
  .hero-inner,
  .two-cols,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-card {
    max-width: 420px;
    margin: 1.8rem auto 0;
  }

  /* Navigacija */
  .desktop-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.5rem 1rem;
  }

  .main-nav li {
    margin: 0.25rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }

  /* Kada je meni otvoren */
  body.nav-open .main-nav {
    display: block;
  }

  /* Animacija hamburgera u X */
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Hero gumbi full width na mobitelu */
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Sticky CTA pri dnu ekrana */
  .sticky-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    z-index: 999;
  }

  /* Malo mjesta na dnu sadržaja da CTA ne prekriva tekst */
  body {
    padding-bottom: 72px;
  }

  /* Gridovi u jednu kolonu */
  .card-grid-3,
  .fleet-grid,
  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 3.2rem 1.25rem;
  }
}
/* Poruka nakon slanja kontakt obrasca */
.form-success-message {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1aa033; /* lijepa zelena */
  display: none;
}

/* Ikone u karticama – manja, ujednačena veličina */
.service-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 1rem auto;
  object-fit: contain;
}

/* Ikone kartičnih načina plaćanja u footeru */
.footer-cards {
  width: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* skalarano unutar footer-inner, širina usporediva s kontakt karticom */
.footer-inner .footer-payment-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 260px;   /* po potrebi možeš spustiti ili podići */
  height: auto;
  opacity: 0.95;
}

/* Još malo manja na uskim ekranima */
@media (max-width: 600px) {
  .footer-inner .footer-payment-img {
    max-width: 220px;
  }
}




