/* =========================================================
   RESET & GLOBAL
   ========================================================= */

/* Reset osnovnih stilova */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Globalne postavke tijela stranice */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #020617; /* Tamna pozadina */
    color: #e5e7eb;           /* Svijetli tekst */
    line-height: 1.6;
}


/* =========================================================
   🌌 HEADER – Logo lijevo, meni + jezici desno
   ========================================================= */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glavni kontejner u headeru */
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  justify-content: space-between; /* logo lijevo, sve ostalo desno */
  align-items: center;
}

/* 🔹 Logo lijevo */
.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* 🔹 Desna strana – meni + jezici + hamburger */
.right-section {
  display: flex;
  align-items: center;
  gap: 25px; /* razmak između menija, jezika i hamburgera */
}

/* Navigacija */
#main-nav {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1050;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* Jezičke opcije */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1100;
}

.lang-switcher a {
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.lang-switcher a:hover {
  background: #38bdf8;
  color: #020617;
}

/* =========================================================
   🍔 HAMBURGER dugme (SVG verzija)
   ========================================================= */
#menu-toggle {
  display: none; /* Skriveno na desktopu */
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

#menu-toggle .icon-bars line {
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animacija kada je meni otvoren */
#menu-toggle.open .icon-bars line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#menu-toggle.open .icon-bars line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.open .icon-bars line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}



  
/* =========================================================
   HERO SECTION – GLASSMORPHISM
   ========================================================= */

.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 120vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero image (WebP + fallback) umjesto background-image */
.hero-section picture,
.hero-section .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* Glass + gradient overlay preko pozadinske slike */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(120deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.08) 100%);
    z-index: 1;
}

/* Kartica sa sadržajem u hero sekciji (glass box) */
.hero-section .overlay {
    position: relative;
    z-index: 2;
    max-width: 780px;
    width: 100%;
    padding: 56px 36px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    text-align: center;
}


/* Naslov u hero sekciji */
.hero-section h1 {
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: #ffffff;
}

/* Tekst u hero sekciji */
.hero-section p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 24px;
    color: #e5e7eb;
}

/* Dugme u hero sekciji – moderni CTA */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #fdba74);
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}

/* Suptilna animacija ulaska hero teksta */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-section .btn-primary {
    animation: heroFadeUp 0.8s ease-out forwards;
}

.hero-section h1 {
    animation-delay: 0.05s;
}

.hero-section p {
    animation-delay: 0.15s;
}

.hero-section .btn-primary {
    animation-delay: 0.25s;
}


/* ⬇️ MOBILNA VERZIJA — veće hero dugme, isto kao ostala dugmad */
@media (max-width: 600px) {

    .hero-section .btn-primary {
        padding: 10px 18px;     /* ➜ ista debljina kao "Rezerviši" dugme */
        font-size: 15px;        /* ➜ ugodna veličina za mobilni */
        border-radius: 28px;    /* ➜ moderniji, mekaniji oblik */
        font-weight: 600;
        transform: none !important; /* uklanja smanjivanje dugmeta */
    }

    .hero-section .overlay {
        padding: 20px 18px;
        gap: 14px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 15px;
    }

} /* ⬅️ zatvaranje media query-a */



/* =========================================================
   VIDEO + TEKST SEKCIJA
   ========================================================= */

.highlight-section {
    padding: 80px 20px;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
                radial-gradient(circle at bottom, rgba(56, 189, 248, 0.1), #020617 60%);
    color: #e5e7eb;
}

.video-text-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.video-container {
    flex: 1;
}

.content-container {
    flex: 1;
}

.content-container h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #f9fafb;
}

.content-container p {
    margin-bottom: 20px;
    color: #cbd5f5;
}

.btn-primary {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 999px;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(248, 113, 22, 0.65);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(248, 113, 22, 0.9);
}

/* Responsive za video sekciju */

@media (max-width: 900px) {
    .video-text-container {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        padding: 0;
        gap: 20px;
    }

    .video-container iframe {
        width: 100vw;
        height: auto;
        aspect-ratio: 16 / 9;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

  }
/* =========================================================
   USKLAĐIVANJE LAZY VIDEA SA POSTOJEĆIM DIZAJNOM
   ========================================================= */

.video-container .youtube-lazy {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    overflow: hidden;
    position: relative;
}

.video-container .youtube-lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/7/75/YouTube_social_white_square_%282017%29.svg') center/contain no-repeat;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Responsive prilagodba lazy videa */
@media (max-width: 900px) {
    .video-container .youtube-lazy {
        width: 100vw;
        height: auto;
        aspect-ratio: 16 / 9;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
}



/* =========================================================
   SEKCIJA TURA (KARTICE)
   ========================================================= */

.tours-section {
    padding: 60px 20px;
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.15), transparent 55%),
                #020617;
    text-align: center;
}

.tours-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #f9fafb;
}

.tour-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.tour-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    overflow: hidden;
    max-width: 340px;
    text-align: left;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.45);
    display: flex;
    flex-direction: column;
}

.tour-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.tour-info {
    padding: 20px;
}

.tour-info h3 {
    margin: 0 0 10px;
    color: #f9fafb;
}

.tour-price {
    margin: 0 0 12px;
    color: #f97316;
    font-weight: 600;
}

.tour-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    color: #cbd5f5;
}

.tour-info ul li {
    margin-bottom: 6px;
}

.tour-info ul li i {
    margin-right: 6px;
}

/* Dugme na kartici */
.tour-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.4);
    text-decoration: none;
    color: #f9fafb;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tour-btn:hover {
    background: #f97316;
    color: #111827;
    transform: translateY(-1px);
}

/* === Animacija i pokret za kartice u sekciji Tura === */
.tour-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.tour-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.tour-card:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.tour-card {
  will-change: transform;
}





/* =========================================================
   SEKCIJA OPISA TURA – MODERNA VERZIJA
   ========================================================= */

.tour-descriptions-section {
  padding: 80px 20px;
  background: radial-gradient(circle at top, #0f172a 0%, #020617 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* Svaki opis kao “box” */
.tour-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-detail:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* Slike veće, s mekim zaobljenjem i isticanjem */
.description-image img {
  max-width: 550px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.description-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
}

/* Tekst centriran i elegantan */
.description-content {
  max-width: 500px;
  text-align: center;
}

.description-content h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: #f9fafb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.description-content p {
  color: #cbd5f5;
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Dugme */
.tour-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
}

.tour-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.6);
}

/* Alternacija – slike lijevo/desno */
.tour-detail:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {

  .tour-detail {
    flex-direction: column;
    padding: 0 0 30px 0; /* ⬅️ DODALI SMO SAMO DONJI PADDING */
    border-radius: 20px;
    overflow: hidden;
  }

  .description-image {
    width: 100% !important;
    margin: 0 !important;
  }

  .description-image img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 0;
    box-shadow: none !important;
    border: none !important;
    display: block;
  }

  .description-content {
    width: 100%;
    padding: 22px 22px 10px; /* smanjen donji padding, jer sada kartica ima svoj */
    text-align: center;
  }

  .tour-btn {
    margin-top: 15px;
    display: inline-block;
  }
}


/* =========================================================
   🚙 VOZILA U PONUDI – ČISTA VERZIJA (BEZ SPOLJAŠNJEG BOXA)
   ========================================================= */

#vozilauponudi {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0b1220, #020617);
}

/* Naslov */
#vozilauponudi .section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 50px;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

/* Desktop grid */
#vozilauponudi .flex-container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   KARTICA — BEZ SPOLJAŠNOG OKVIRA / BOXA
   ========================================================= */

#vozilauponudi .vehicle-column {
  text-align: center;
  cursor: pointer;

  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;

  transition: transform 0.3s ease;
}

#vozilauponudi .vehicle-column:hover {
  transform: translateY(-6px);
}

/* =========================================================
   🎮 GAMING GLOW – efekti na slici
   ========================================================= */

#vozilauponudi .vehicle-icon {
  width: 100%;
  height: 200px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* potrebno za glow pod */
}

#vozilauponudi .vehicle-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: drop-shadow(0 0 6px rgba(0,255,255,0.18));

  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    box-shadow 0.35s ease;
}

#vozilauponudi .vehicle-column:hover .vehicle-icon img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0,255,255,0.45));
  box-shadow:
    0 0 12px rgba(0,255,255,0.5),
    0 0 22px rgba(0,255,255,0.35);
}

/* =========================================================
   🌟 ENERGY FLOOR GLOW – samo ispod vozila (NOVO DODATO)
   ========================================================= */

#vozilauponudi .vehicle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 60%;
  height: 12px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,255,255,0.35), transparent 70%);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

#vozilauponudi .vehicle-column:hover .vehicle-icon::after {
  opacity: 1;
  filter: blur(14px);
  transform: translateX(-50%) scale(1.1);
}

/* Naziv modela */
#vozilauponudi .vehicle-name {
  margin-top: 10px;
  color: #e2e8f0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}



/* =========================================================
   📱 MOBILNI – MAX VELIČINA KVADOVA + JASAN RIGHT-PEEK ZA SVE
   ========================================================= */

@media (max-width: 768px) {

  /* Wrapper sekcije */
  #vozilauponudi {
    position: relative;
    overflow: visible; /* mora biti visible da peek radi */
  }

  /* ===============================
     HORIZONTALNI SLIDER
     =============================== */
  #vozilauponudi .flex-container {
    display: flex;
    overflow-x: auto;

    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;

    -webkit-overflow-scrolling: touch;

    gap: 18px;

    padding: 0 16px 25px 0;

    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  /* mali spacer na početku */
  #vozilauponudi .flex-container::before {
    content: "";
    flex: 0 0 16px;
  }

  #vozilauponudi .flex-container::-webkit-scrollbar {
    display: none;
  }

  /* ===============================
     KARTICA KVADA – SVI ISTI
     =============================== */
  #vozilauponudi .vehicle-column {
    flex: 0 0 88%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 0;

    position: relative;
    overflow: visible;

    /* 🔑 PEEK ZA SVE KVADOVE */
    margin-right: -20%; /* ⬅️ OVO JE KLJUČ */
    
    /* 🩹 Vraća isti razmak kao gap */
    padding-right: 18px; /* Isto kao gap */
    box-sizing: border-box;
  }

  /* ===============================
     GLOW KARTICA (OSTAJE)
     =============================== */
  #vozilauponudi .vehicle-column {
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  #vozilauponudi .vehicle-column:active {
    transform: scale(0.98);
  }

  #vozilauponudi .vehicle-column:active .vehicle-icon img {
    filter: drop-shadow(0 0 12px rgba(0,255,255,0.45));
  }

  /* ===============================
     SLIKA KVADA
     =============================== */
  #vozilauponudi .vehicle-icon {
    height: 240px !important;
    margin: 0;
    overflow: visible;
  }

  #vozilauponudi .vehicle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
  }

  /* gasimo hover (mobile) */
  #vozilauponudi .vehicle-column:hover .vehicle-icon img {
    transform: none !important;
  }

  /* glow pod gasimo na mobile (ostaje tap glow) */
  #vozilauponudi .vehicle-icon::after {
    display: none !important;
  }

  /* ===============================
     TEKST
     =============================== */
  #vozilauponudi .vehicle-name {
    font-size: 15px !important;
    margin-top: 6px;
  }

  #vozilauponudi .section-title {
    font-size: 30px;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  /* ===============================
     DESNI FADE – DODATNI HINT
     =============================== */
  #vozilauponudi::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(
      to left,
      #020617 0%,
      rgba(2,6,23,0.85) 45%,
      rgba(2,6,23,0.35) 70%,
      transparent 100%
    );
  }

  /* ===============================
     SWIPE INDIKATORI
     =============================== */
  .swipe-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    opacity: 0.85;
  }

  .swipe-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
  }

  .swipe-indicator .dot.active {
    background: #38bdf8;
    transform: scale(1.4);
  }
}

/* =========================================================
   📱 ULTRA MALI EKRANI
   ========================================================= */

@media (max-width: 420px) {

  #vozilauponudi .vehicle-column {
    flex: 0 0 95%;
  }

  /* Jači peek za male ekrane */
  #vozilauponudi .vehicle-column:first-child {
    margin-right: -32%; /* Veći peek na malim ekranima */
  }

  #vozilauponudi .vehicle-icon {
    height: 220px !important;
  }
}









/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
    padding: 40px 20px 50px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(248, 113, 22, 0.18), rgba(15, 23, 42, 0.98));
    color: #f9fafb;
}

.cta-banner h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.cta-banner p {
    margin-bottom: 20px;
    color: #e5e7eb;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.8);
    color: #f9fafb;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #111827;
    transform: translateY(-1px);
}


/* =========================================================
   INSTAGRAM SEKCIJA
   ========================================================= */

.instagram-section {
    padding: 50px 20px 70px;
    background: #020617;
    text-align: center;
}

.instagram-section h2 {
    margin-bottom: 24px;
    color: #f9fafb;
}

#juicer-feed {
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   FOOTER (ZIMSKA SEZONA) — OPTIMIZOVANA KOMPAKTNA VERZIJA
   ========================================================= */

.winter-footer {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding: 24px 16px; /* smanjeno sa 40px 20px */
    text-align: center;
}

/* Glavni wrapper */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* bilo 14px */
}

/* Kontakt grupa */
.footer-group {
    display: flex;
    flex-direction: column;
    gap: 4px; /* bilo 6px */
}

/* Osnovni linkovi */
.footer-link {
    color: #e5e7eb;
    font-size: 14px; /* bilo 15px */
    text-decoration: none;
    line-height: 1.3; /* kompaktnije */
}

.footer-link:hover {
    color: #f97316;
}

/* Social links */
.footer-social {
    display: flex;
    align-items: center;
    gap: 8px; /* bilo 10px */
    margin-top: 2px; /* bilo 4px */
}

.footer-social-link {
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px; /* bilo 14px */
}

.footer-social-link:hover {
    color: #fdba74;
}

/* Copyright */
.footer-copy {
    margin-top: 4px; /* bilo 6px */
    color: #6b7280;
    font-size: 12px; /* bilo 13px */
    letter-spacing: 0.02em;
}



/* =========================================================
   🖼️ MODERNA GALERIJA – 2025 PRO EDITION
   Premium dizajn + fade krajevi + WebP kompatibilnost
   ========================================================= */

/* Modal pozadina – centriranje + blur */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 25, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* Unutrašnji sadržaj modala */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
}

/* Glavna slika */
#modal-image {
  display: block;
  margin: 0 auto;
  max-width: 85%;
  max-height: 75vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.4s ease, transform 0.3s ease;
  touch-action: pan-y;
  opacity: 0;
}

#modal-image.loaded {
  opacity: 1;
}

#modal-image:hover {
  transform: scale(1.02);
}

/* Close dugme */
.close-btn {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #f9fafb;
  font-size: 36px;
  cursor: pointer;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  padding: 8px 12px;
  transition: all 0.25s ease;
}

.close-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  transform: rotate(90deg);
}

/* Navigacione strelice */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #e2e8f0;
  font-size: 42px;
  cursor: pointer;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  transition: all 0.25s ease;
  user-select: none;
  z-index: 1001;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* Thumbnail traka – centrirana + scroll */
.thumbnail-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0 8px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

/* Scrollbar (moderni stil) */
.thumbnail-container::-webkit-scrollbar {
  height: 6px;
}
.thumbnail-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* Fade efekti na krajevima thumbnail trake */
.thumbnail-container::before,
.thumbnail-container::after {
  content: "";
  position: sticky;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.thumbnail-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(10,15,25,0.95), transparent);
}

.thumbnail-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(10,15,25,0.95), transparent);
}

/* Reset za <picture> elemente */
.thumbnail-container picture {
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  line-height: 0;
}

.thumbnail-container picture img {
  display: block;
  width: 80px;
  height: 60px;
  object-fit: cover;
  opacity: 0.7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Hover i aktivna slika */
.thumbnail-container picture:hover img,
.thumbnail-container picture img.active {
  opacity: 1;
  transform: scale(1.08);
  border: 2px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

/* Responsivna prilagodba */
@media (max-width: 1024px) {
  #modal-image {
    max-width: 95%;
    max-height: 70vh;
  }

  .prev-btn,
  .next-btn {
    font-size: 32px;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .thumbnail-container {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
  }

  .thumbnail-container picture img {
    width: 65px;
    height: 50px;
  }

  .close-btn {
    top: 18px;
    right: 20px;
    font-size: 30px;
  }

  .thumbnail-container::before,
  .thumbnail-container::after {
    display: none;
  }
}


/* =========================================================
   RESPONSIVE GLOBAL
   ========================================================= */
@media (max-width: 768px) {

  .tour-container {
      flex-direction: column;
      align-items: center;
  }

  .tour-detail {
      flex-direction: column;
  }

  .video-text-container {
      flex-direction: column;
  }

  .hero-section {
      height: 100vh;
      padding: 0 16px;
  }

  .hero-section .overlay {
      padding: 32px 20px 32px;
      max-width: 100%;
  }

}



/* =========================================================
   🌐 RESPONSIVE DORADA ZA MOBILNE I TABLET UREĐAJE
   ========================================================= */

/* --- HERO SEKCIJA --- */
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 25px;
  }

  .hero-section p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}






/* --- SEKCIJA OPISA TURA (SVE TURE, MOBILNI + TABLET) --- */
@media (max-width: 768px) {
  .tour-detail,
  #scenic-winter-ride-description,
  #snowy-peaks-adventure-description,
  #twilight-escape-description {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px;
  }

  .description-image {
    width: 100% !important;
    margin: 0 auto 15px;
  }

  .description-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }

  .description-content {
    width: 100% !important;
    padding: 0 20px;
  }

  .description-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .description-content p {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .tour-btn {
    font-size: 15px;
    padding: 10px 22px;
  }
}







/* --- CTA SEKCIJA --- */
@media (max-width: 480px) {
  .cta-banner h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .cta-buttons a {
    font-size: 14px;
    padding: 10px 24px;
  }
}

/* --- FOOTER SEKCIJA --- */
@media (max-width: 480px) {
  .winter-footer {
    font-size: 14px;
    padding: 40px 16px;
  }

  .winter-footer a {
    display: block;
    margin-bottom: 8px;
  }
}


/* =========================================================
   💫 GLOBALNA PODRŠKA ZA HOVER ANIMACIJE NA DODIR (MOBILNI)
   ========================================================= */

/* Kartice tura i dugmad – omogućava hover efekat i na dodir */

.tour-card:active,
.tour-btn:hover,
.tour-btn:active,
.btn-primary:hover,
.btn-primary:active,
.btn-secondary:hover,
.btn-secondary:active,
.hero-btn:hover,
.hero-btn:active {
  transform: scale(1.03);
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

/* Slike vozila u ponudi */
.vehicle-icon:hover img,
.vehicle-icon:active img {
  transform: scale(1.1);
  filter: brightness(1.15);
  transition: all 0.3s ease;
}

/* Lagani sjaj ispod vozila – hover i dodir */
.vehicle-icon:hover::after,
.vehicle-icon:active::after {
  opacity: 0.95;
  filter: blur(6px);
  transform: translateX(-50%) scale(1.05);
  transition: all 0.3s ease;
}

/* =========================================================
   🌈 MOBILNI MENI – FINALNA SPOJENA VERZIJA
   ========================================================= */
@media (max-width: 768px) {
  /* Prikaži hamburger dugme */
  #menu-toggle {
    display: block;
  }

  /* Header elementi ostaju pravilno raspoređeni */
  .header-inner {
    justify-content: space-between;
  }

  .right-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
  }

  /* Moderni slide-down meni */
 #main-nav {
  display: none;           /* 👈 dodano: meni je potpuno skriven */
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 25, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
  transform: translateY(-200%);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1050;
}

#main-nav.active {
  display: flex;           /* 👈 pojavljuje se samo kad je aktivan */
  transform: translateY(0);
  opacity: 1;
  max-height: 320px;
  animation: menuItemsFade 0.5s ease forwards;
}



 
  /* Navigacione stavke */
  .nav-links {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-links a {
    font-size: 18px;
    font-weight: 500;
    color: #f1f5f9;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #38bdf8;
  }

  /* Prevod jezika */
  .lang-switcher {
    margin-top: 10px;
    gap: 10px;
  }

  .lang-switcher a {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .lang-switcher a:hover {
    background: #38bdf8;
    color: #0f172a;
  }

  /* Animacije */
  @keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes menuItemsFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.seo-text {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
  color: #777;
}

.seo-text h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.seo-text p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

