/* ===== CSS JE ZA MOBILNU 480px ===== */

/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --scroll-indicator-height: 0.6rem;
  --font-semi: 500;
  --smaller-font-size: 1rem;

  --first-color: #1A2B44;
  --second-color: #FFF;
  --text-color: black;
  --gold-color: #D4AF37;


  --mb-1: 0.8rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  --z-fixed: 1000;
}

/*===== BASE =====*/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: calc(var(--header-height) + var(--scroll-indicator-height));
  font-family: 'Poppins', sans-serif;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-color);
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--first-color);
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:active {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Scroll Indicator ===== */
.progress-container {
  width: 100%;
  height: var(--scroll-indicator-height);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(0.8rem);
}

#progress {
  width: 0;
  height: 100%;
  background-color: var(--gold-color);
}

.sticky {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}

/*===== NAV =====*/

.l-header {
  position: fixed;
  top: var(--scroll-indicator-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  /* obavezno da ne bude proziran */
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 200;
}

.nav__logo img {
  height: 33px;
  width: auto;
  position: relative;
  bottom: 2px;
}

/* ===== HAMBURGER TOGGLE ===== */
#nav-toggle {
  width: 18px;
  /* širina hamburgera */
  height: 15px;
  /* visina hamburgera */
  display: flex;
  flex-direction: column;
  /* crtice jedna ispod druge */
  justify-content: space-between;
  /* razmak između crtica */
  cursor: pointer;
  position: relative;
  z-index: 300;
}

#nav-toggle span {
  display: block;
  height: 3px;
  /* debljina crtica */
  width: 100%;
  /* pun width toggle div-a */
  background-color: #000;
  /* boja crtica */
  border-radius: 2px;
  /* zaobljeni rubovi */
  transition: all 0.3s ease;
  /* za kasnije animacije */
}

/* ===== NAV SPAN ANIMACIJA ===== */
#nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

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


.nav__menu {
  position: fixed;
  top: calc(var(--header-height) + var(--scroll-indicator-height));
  right: -100%;
  width: 80%;
  height: 100%;
  padding: 2rem;
  background-color: var(--first-color);
  transition: .5s;
  z-index: 1100;
}

.nav__item {
  margin-bottom: 2rem;
}

.nav__link {
  position: relative;
  color: #fff;
}

.nav__link:hover::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.1rem;
  left: 0;
  top: 1.5rem;
  background-color: var(--second-color);
}

.active-link::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.1rem;
  left: 0;
  top: 1.5rem;
  background-color: var(--second-color);
}

.show {
  right: 0;
}

/* ===== HERO ===== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero__logo {
  height: auto;
  /* raste unutar sekcije */
  width: 300px;
  object-fit: contain;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin-top: 2.5rem;
  font-size: var(--mb-4);
  color: var(--gold-color);
}

.hero__text {
  margin-top: .5rem;
  color: var(--text-color);
  margin-bottom: var(--mb-2);
}

/* ===== EQUIPMENT =====*/
.equipment {
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-height) + var(--scroll-indicator-height) + 1rem);
  margin-top: 4rem;
}

.equipment__container {
  text-align: center;
  display: grid;
  margin-left: var(--mb-4);
  margin-right: var(--mb-4);
  gap: var(--mb-2);
  margin-bottom: 2rem;
}

.equipment__container a {
  display: block;
  width: 100%;
}

.equipment__subtitle {
  margin-bottom: var(--mb-2);
  text-align: center;
  color: var(--first-color);
  font-size: var(--mb-3);
}

.equipment__text {

  margin: var(--mb-3);
  text-align: center;
  margin-bottom: 4rem;
}

.equipment__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-weight: var(--font-semi);
  padding: .5rem 1rem;
  margin-bottom: var(--mb-1);
  border-radius: .5rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  transition: transform .3s ease;
}

.equipment__data {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.equipment__data:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0px 10px 25px rgba(14, 36, 49, 0.2);
}

.equipment__name {
  display: flex;
  align-items: center;
  color: var(--first-color);
}

/* ===== PAKETI ===== */
.packages__card:hover,
.rental-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0px 12px 35px rgba(14, 36, 49, 0.2);
}

.packages {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--mb-6) var(--mb-4);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.packages__title {
  text-align: center;
  margin-bottom: var(--mb-5);
  color: var(--gold-color);
  font-size: var(--mb-3);
}

.packages__container {
  display: grid;
  gap: var(--mb-4);
}

.packages__container h3 {
  color: var(--gold-color);
}

.packages__container p {
  color: var(--first-color);
}

.packages__card {
  display: block;
  padding: var(--mb-4);
  border-radius: .75rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  transition: transform .3s ease;
}

.packages__name {
  margin-bottom: var(--mb-2);
  font-size: 1.3rem;
  font-weight: 500;
}

.packages__text {
  margin-bottom: var(--mb-3);
  font-size: var(--mb-2);
}

.packages__price {
  font-weight: 600;
  color: var(--first-color);
}

/* ===== FOOTER =====*/
.footer {
  background-color: var(--first-color);
  color: #fff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}

.footer__title {
  font-size: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__social {
  margin-bottom: var(--mb-2);
}

.footer__icon {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 var(--mb-2);
}

.footer__tel {
  margin-bottom: var(--mb-2);
}

.footer__copy {
  font-size: var(--smaller-font-size);
}

/* ===== SCROLL TOP BUTTON ===== */
.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--first-color);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  border-radius: 12%;
  border: 3px solid #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: var(--z-fixed);
}

.scroll-top.show-scroll {
  opacity: 1;
  visibility: visible;
}


/* ===== najam-opreme.hml ===== */
/* ===== NAJAM OPREME ===== */

.rental-note {
  text-align: center;
  margin: 1rem auto 2rem;
  max-width: 600px;
  font-size: 0.95rem;
  color: #555;
}

.page-header {
  margin-top: calc(var(--header-height) + 1.5rem);
  text-align: center;
}

.rental {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.rental-category {
  margin-bottom: 4rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  /* border-radius: .75rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15); */

}

.rental-category__title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: var(--mb-3);
  font-weight: 500;
}

.rental-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1fr;
  /* 1 u redu */
  gap: 1.5rem;
}

.rental-item {
  text-align: center;
  border-radius: .75rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  transition: transform .3s ease;
  margin: 1rem;
  overflow: hidden;
  padding: 1rem;
}

.rental-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  /* border-radius: 0.5rem; */
  margin-bottom: 1rem;
}

.rental-item h3 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.rental-item p {
  font-weight: 500;
}

/* ===== paketi.hml ===== */
/* ===== PAKETI STRANICA ===== */

.paketi-title h1 {
  margin-top: calc(var(--header-height) + 1.5rem);
}

.package {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.package-wrapper {
  margin: var(--mb-2);
  margin-bottom: var(--mb-6);
  padding: 1rem;
  border-radius: .75rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.package-header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: var(--mb-3);
}

.package-header h2 {
  color: var(--gold-color);
  padding-bottom: var(--mb-4);
}

.package-subtitle {
  margin-bottom: 0.8rem;
  color: #555;
}

.package-price {
  display: inline-block;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--first-color);
}

.rental-text {
  font-weight: 200;
  font-size: .8rem;
}

.rental-text strong {
  font-weight: 700 !important;
}

.package-section {
  margin-bottom: 2rem;
}

.package-section__title {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.package-list {
  list-style: disc;
  padding-left: 1.2rem;
}

.package-list li {
  margin-bottom: 0.5rem;
}

.package-cta {
  text-align: center;
}

.package-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background-color: var(--first-color);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform .2s ease;
}

.package-btn:hover {
  transform: scale(1.03);
}

/* ===== kontakt.html ===== */
/* ===== KONTAKT ===== */

.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===== MAPA ===== */

.contact-map {
  position: relative;
  margin-bottom: 2rem;
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border-radius: 0.5rem;
  border: 0;
  pointer-events: none;
  /* omogućava klik na link */
}

.map-link {
  display: block;
}

/* ===== KONTAKT INFO ===== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  color: var(--text-color);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--first-color);
}

/* ===== PAGE TITLE ===== */

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: var(--header-height);
}

/* ===== o-nama.html ===== */
/* ===== O NAMA ===== */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.about-hero img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.about-content h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.about-data {
  margin-top: 3rem;
}

.about-data h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  margin-bottom: 0.8rem;
}


/* ===== galerija.html ===== */
/* ===== GALERIJA ===== */

.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: calc(var(--header-height) + 1.5rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: .5rem;
}

/* ===== LIGHTBOX ===== */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 14px;
}

.lightbox-counter {
  color: white;
  margin-top: 10px;
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===== SCROLL REVEAL ===== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-top,
.reveal-bottom,
.equipment__data,
.packages__card,
.package-wrapper,
.gallery-item,
.about-hero,
.contact-item {
  visibility: hidden;
}