@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* GLOBAL - MOBILE-FIRST STILOVI */
body {
  margin: 0;
  padding-top: 156.6px;
  font-family: "Roboto", sans-serif;
}

/* HEADER */
header {
  padding: 12px;
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  box-sizing: border-box; /* uključi padding u ukupnu širinu */
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000; /* da bude iznad sadržaja */
}

/* MOBILE MENU */
.hamburger {
  display: flex; /* hamburger vidljiv na mobilnim uređajima */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order:1;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: #007b8f;
  border-radius: 2px;
  padding-left:40px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #fff;
  display: none;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

/* HEADER */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-header h2 {
  margin: 0;
  font-size: 20px;
}
#closeMenu {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}
#closeMenu:hover {
  background-color: rgba(14, 14, 14, 0.2); 
  border-radius: 8px;
}
.mobile-menu-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.mobile-menu-list a:hover {
  background-color: #f2f2f2;
}

/* SLIKE */
.logo {
  width: 128px;
  height: 128px;
  padding-left:60px;
}
.log{
  order:2;

}

/* NAVIGACIJA - desktop meni skriven po defaultu */
nav {
  display: none;
}
nav ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 0 0 2px transparent inset;
  position: relative; 
  font-size: 26px;
}

/*nav a:hover {
  box-shadow: 0 0 0 2px transparent inset;
  background: linear-gradient(to bottom, #007b8f, #000000);
}*/
nav a::after {
  content: '';                  /* pseudo-element je prazan */
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 6px;                  /* visina underline */
  width: 0;                     /* počinje od 0 */
  background-color:#007b8f;       /* boja underline */
  transition: width 0.3s ease;  /* animacija širine */
  border-radius: 6px;        /* zaobljenost underline */

}

nav a:hover::after {
  width: 100%;                  /* puni underline na hover */
}

.whatsapp {
  height: 24px;
  width: 24px;
}
p {
  color: #ffffff;
  margin-bottom: 5px;
  text-align: center;
}
.container{
  order:3;
  display: flex;
  flex-direction: column;
  gap:8px;
}
.wap {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  padding: 8px;
}
.wap a{
  text-decoration: none;
}
.wap:hover{
 /* box-shadow: 0 0 0 2px transparent inset;
  background: linear-gradient(to bottom, #007b8f, #000000);*/
  background-color: rgba(128, 126, 126, 0.5); /* crna pozadina s 50% prozirnosti */
  }
.languages{
  display: flex;
  gap: 10px;

}
.languages a{
  text-decoration: none;
}
.languages a img {
  width:24px;
  height:24px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.languages a img:hover{
   transform: scale(1.12);
  filter: brightness(1.15);
}

.carousel {
    width: 100%;
    height: 100%;
   position:relative;
    overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  /*transition: transform 0.6s ease-in-out;*/
}

.carousel-track img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: white;
  font-size: 36px;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev { left: 20px; }
.next { right: 20px; }

/*text-box image-txt*/

/*.info-flex {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 15px 50px 15px;
}

.flex-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border:6px solid #007b8f;
  border-radius:15px;
}

.flex-row.reverse {
  flex-direction: column;
}

.text-item, .image-item {
  flex: 1;
  border-radius: 15px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.text-item {
 background-color:#e79f24; 
  padding: 15px 25px;
  border: 30px solid white; 
  border-radius: 15px;
  color: white;
  display: inline-block;
  
}

.text-item h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  line-height: 1.3;
}

.text-item p {
  font-size: 1.3rem;
  line-height: 1.5;
}

.image-item {
  justify-content: center;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}*/
/* =========================
   FLEX SEKCIJA – ISTI LAYOUT SVUDA
========================= */
.info-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: stretch;
}

.flex-row.reverse {
  flex-direction: row-reverse;
}

/* =========================
   TEXT & IMAGE BOXES
========================= */
.text-item,
.image-item {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  min-height: 160px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* TEXT */
.text-item {
  background-color: #e79f24;
  border: 14px solid #ffffff;
  color: #ffffff;
}

.text-item h2 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 4vw, 3rem);
}

.text-item p {
  font-size: clamp(1rem, 3vw, 1.8rem);
  line-height: 1.4;
}

/* IMAGE */
.image-item {
  padding: 0;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOVER */
.text-item:hover,
.image-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* SIGURNOST ZA JAKO MALE MOBITELE */
@media (max-width: 420px) {
  .flex-row,
  .flex-row.reverse {
    flex-direction: column;
  }
}

/* DESKTOP – VEĆE DIMENZIJE */
@media (min-width: 769px) {
  .text-item,
  .image-item {
    min-height: 300px;
    padding: 30px;
  }

  .text-item {
    border-width: 30px;
  }
}


.reservation-header {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 8px 8px; /* zaobljeni gornji rub */
  width: 60%;           /* 60% od širine forme */
  max-width: 480px;     /* opcionalno, da ne raste previše na velikim ekranima */
  margin: 0 auto 0px auto; /* centrirano + mali razmak ispod */
  cursor: pointer;
  transition: transform 0.25s ease;
}

.reservation-header:hover{
   transform: scale(1.1); 
}
.reservation-header p{
  margin: 0;
  color:#007b8f;
  font-size: 32px;
  
}
.reservation-header img{
  width:44px;
  height:78px;
  padding: 12px;
}



/*obrazac*/
/* KONTEJNER OBRAZCA */
.reservation-form {
  max-width: 800px;
  margin: 0px auto 40px auto;
  padding: 25px;
  background: #ffffff;
  border: 4px solid #007b8f;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* NASLOVI */
.reservation-form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #000;
}

/* LABELI */
.reservation-form label {
  display: block;
    width: 80%;

  margin: 0 auto 18px auto;  /* centriranje */
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}

/* INPUTI + SELECT */
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 80%;
  padding: 10px 12px;
  margin: 0 auto 18px auto;
  display: block; 
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 15px;
  background: #f9f9f9;
  transition: 0.2s ease;
  box-sizing: border-box; /* ovo osigurava da padding ne proširuje širinu */
}


/* FOKUS EFEKT */
.reservation-form input:focus,
.reservation-form select:focus {
  border-color: #007b8f;
  background: #eef7f8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,123,143,0.2);
}

/* TEXTAREA za napomenu */
.reservation-form textarea {
  width: 80%;                 /* isto kao input/select */
  padding: 10px 12px;         /* isto padding */
  margin: 0 auto 18px auto;   /* centrirano + razmak ispod */
  display: block;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 15px;
  background: #f9f9f9;
  transition: 0.2s ease;
  resize: vertical;           /* korisnik može mijenjati visinu, ne širinu */
  min-height: 100px;          /* početna visina */
  font-family: Arial, sans-serif;
}

/* FOKUS EFEKT za textarea */
.reservation-form textarea:focus {
  border-color: #007b8f;
  background: #eef7f8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,123,143,0.2);
}

/* GUMB */
.reservation-form button {
  width: 100%;
  padding: 12px;
  background: #df960f;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
}

/* HOVER GUMB */
.reservation-form button:hover {
  background: #c4810d;
}


.footer {
  background: #000; /* crna pozadina */
  color: #fff;
  padding: 16px 16px 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #007b8f; /* plava */
}

.footer-column a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.2s ease;
  font-size: 18px;
}

.footer-column a:hover {
  color: #df960f; /* narančasta */
}
.social-icons{
  display: flex;
  justify-content: space-between;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  transition: 0.2s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 0.5px solid #333;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-bottom p {
  margin: 0;
}

.service-icons {
    padding: 40px 5%;
}
.service-icons img {
  width: 100%;
  max-width: 100vw;
  height: auto;
}


/* DESKTOP STILOVI - media query za veće ekrane */
@media (min-width: 769px) {
  .log{
    order:1;
  }

  nav {
    display: flex;
    order:2;
  }
  nav ul {
    display: flex; /* prikaz desktop menija */
    gap: 1rem; /* razmak između <li> elemenata, može i u % ili em */
  }

  .hamburger {
    display: none; /* sakrij hamburger na desktopu */
  }

  .logo {
    width: 128px;
    height: 128px;
  }

  .navigacija {
    font-size: 24px;
  }
  .whatsapp {
    height: 32px;
    width: 32px;
  }
  p {
    font-size: 18px;
  }
  .wap {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

  }

  .languages a img {
    width:32px;
    height:32px;
  }
  
  .container{
    order:3;
  }
  .carousel-track img {
    height: 100%;
  }

  /*slika-tekst*/
   .flex-row {
    flex-direction: row;
    align-items: stretch;
    border:none;
  }
  .flex-row.reverse {
    flex-direction: row-reverse;
  }
  .text-item, .image-item {
    padding: 30px;
  }
  .text-item h2 {
  font-size: 3rem;
  }
  .text-item p{
    font-size:1.8rem;
  }
  .text-item:hover, .image-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .text-item, .image-item {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .service-icons {
  width: 100%;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.service-icons img {
  width: 100%;
  max-width: 900px; /* nikad veće od ekrana */
  height: auto;
  display: block;
}
  
}
