body {
  margin: 0;
  color: #777;
  font-family: "Ubuntu", sans-serif;
  line-height: 1;
}

h1{
  font-size: 48px;
  font-weight: 600;
  margin: 0;
}

h2{
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

h3{
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

h4{
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

p{
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

a, a:visited{
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  color: #316968;
  transition: 300ms;
  margin: 0;
}

a:hover{
  text-decoration: underline;
  color: #FEAFAF;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/** NAVIGACIJA start **/
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.nav-wrapper a img {
  max-height: 80px;
}
.navigation-desktop {
  display: flex;
  gap: 0;
}
.navigation-desktop a {
  font-size: 18px;
  transition: 0.3s;
  padding: 10px 15px;
  position: relative;
}

.navigation-desktop a:before,
.navigation-desktop a:after {
  content: "";
  position: absolute;
  z-index: -1;
}

.navigation-desktop a:before {
  border-bottom: 2px solid #FEAFAF;
  border-top: 2px solid #FEAFAF;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transform-origin: 100% 0 0;
  transform: scale(0, 1);
  transition: opacity 0.25s linear 0s, transform 0.25s linear 0s;
}

.navigation-desktop a:after {
  border-left: 2px solid #FEAFAF;
  border-right: 2px solid #FEAFAF;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transform-origin: 0 0 0;
  transform: scale(1, 0);
  transition: opacity 0.25s linear 0s, transform 0.25s linear 0s;
}

.navigation-desktop a:hover {
  text-decoration: none;
}

.navigation-desktop a:hover:before {
  transform: scale(1, 1);
}

.navigation-desktop a:hover:after {
  transform: scale(1, 1);
}

/* BURGER MENU start */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Iznad drawera */
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 4px 0;
  transition: 0.4s;
}

.burger-menu.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(11px, -10px);
}

/* DRAWER */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 50px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto; /* Omogućava skrolovanje unutar drawera */
}

.drawer a {
  font-size: 24px;
  margin: 20px 0;
}

.drawer.open {
  transform: translateX(0);
}

/* Onemogućavanje skrolovanja tela */
.no-scroll {
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}

/* MEDIA QUERY */
@media (max-width: 768px) {
  .navigation-desktop {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
}
/** NAVIGACIJA end **/



/** HERO BANERI start **/
.main-hero-baner {
  max-width: 75%;
  height: 600px;
  width: -webkit-fill-available;
  overflow: hidden;
  background-image: url(../img/hero-baner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.side-hero-baner {
   max-width: 25%;
  height: 600px;
  width: -webkit-fill-available;
   overflow: hidden;
  background-image: url(../img/side-hero-baner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
 }
section.hero {
  display: flex;
  gap: 5px;
  max-height: 600px;
}
.main-hero-baner,.side-hero-baner {
  position: relative;
}
.hero-desc {
  height: 100%;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.side-hero-baner a, .side-hero-baner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.side-hero-baner a {
  min-width: 100%;
}
.side-hero-baner a:hover {
  text-decoration: none;
}
.side-hero-baner .hero-desc {
  padding: 50px 20px 70px;
  border: 2px solid white;
  background-color: #00000045;
  transition: 700ms;
  max-width: 70%;
  width: 100%;
  max-height: 40%;
}
.side-hero-baner:hover .hero-desc {
  -moz-animation: 700ms linear 0s normal none 1 zoomIn;
  -webkit-animation: 700ms linear 0s normal none 1 zoomIn;
  animation: 700ms linear 0s normal none 1 zoomIn;
}
@keyframes zoomIn {
0% {
  opacity: 0;
  -moz-transform: scale3d(0.3, 0.3, 0.3);
  -webkit-transform: scale3d(0.3, 0.3, 0.3);
  transform: scale3d(0.3, 0.3, 0.3);
}
50% {
  opacity: 1;
}
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -moz-transform: scale3d(0.3, 0.3, 0.3);
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@-moz-keyframes zoomIn {
  0% {
    opacity: 0;
    -moz-transform: scale3d(0.3, 0.3, 0.3);
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}



.side-hero-baner h3 {
  font-size: 40px;
  margin: 30px 0 0;
}
.side-hero-baner p {
  padding: 10px 20px;
  width: fit-content;
  margin: 10px auto 0;
}


/** PREPORUKA start **/
section.recommended-wrapper {
      max-width: 900px;
      margin: 50px auto;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    section.recommended-wrapper h3 {
      text-align: center;
    }
    .recommended {
      display: flex;
      flex-direction: row;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .recommended-item {
      display: flex;
      flex-direction: column;
      max-width: 200px;
      gap: 10px;
      border: 1px solid #cccccc;
    }
	.recommended-item img {
		cursor: pointer;
	}
    .item-desc {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      text-align: center;
      padding: 10px 20px 20px;
    }
    .item-desc h4 {
      color: #444444;
      text-transform: uppercase;
      font-weight: 600;
    }
    .item-desc h3 {
      color: #FEAFAF;
    }
    .item-desc h3 span.rsd {
      font-size: 18px;
    }
    /* Stil za modalni prozor */
    .modal {
      display: none; /* Skriveno prema zadatku */
      position: fixed;
      z-index: 1;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0,0.9);
    }

    .modal-content {
      margin: auto;
      display: block;
      width: 80%;
      max-width: 700px;
    }

    .modal-content, .close {
      animation-name: zoom;
      animation-duration: 0.6s;
    }

    @keyframes zoom {
      from {transform: scale(0)}
      to {transform: scale(1)}
    }

    .close {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #f1f1f1;
      font-size: 40px;
      font-weight: bold;
      transition: 0.3s;
    }

    .close:hover,
    .close:focus {
      color: #bbb;
      text-decoration: none;
      cursor: pointer;
    }

    #caption {
      margin: auto;
      display: block;
      width: 80%;
      max-width: 700px;
      text-align: center;
      color: #ccc;
      padding: 10px 0;
      height: 150px;
    }
/** PREPORUKA end **/


/** O NAMA start **/
section#oNama {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/** O NAMA end **/


/** FOOTER start **/
footer {
  width: 100%;
  height: fit-content;
  min-height: 300px;
  background-color: #f5f5f5;
}
section.footer-wrapper {
  max-width: 900px;
  display: flex;
  gap: 10px;
  margin: 0 auto;
  padding: 30px 10px;
}
.footer-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 20%;
}
.footer-item-double {
  width: 40%;
}
p.footer-item-icon {
  display: flex;
  gap: 5px;
}
.fa-marker, .fa-phone, .fa-envelope {
  color: #f8afae;
  font-size: 14px;
}
.fa-facebook, .fa-instagram, .fa-tiktok {
  color: #444444;
  font-size: 24px;
  transition: 500ms;
}
.fa-facebook:hover, .fa-instagram:hover, .fa-tiktok:hover {
  color: #f8afae;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
    display: flex;
    gap: 5px;
    align-items: center;
}
.social img {
  filter: invert(1);
}



@media (max-width: 600px){
	h1 {
		font-size: 32px;
	}
	h2 {
		font-size: 24px;
	}
	/* MOBILE hero */
	section.hero {
		flex-direction: column;
		width: 100%;
	}
	.main-hero-baner, .side-hero-baner {
    max-width: 100%;
}
.hero-desc {
    gap: 10px;
}
.side-hero-baner h3 {
    font-size: 28px;
}
.side-hero-baner p {
    margin: 0 auto;
}



/* MOBILE footer */
section.footer-wrapper {
    flex-direction: column;
    align-items: center;
	gap: 30px;
}
.footer-item-double {
    max-width: 100%;
    width: fit-content;
	text-align: center;
}
p.footer-item-icon, .social {
    justify-content: center;
}
}
