/* Basic Reset */

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

@font-face {
    font-family: CenturyGothic;
    src: url(../fonts/GOTHICB.TTF);
  }

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    overflow-x: hidden;
}

/* Stilovi za obavijest o kolačićima */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 0.5s ease;
  box-sizing: border-box;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-banner a {
  color: white;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: all ease-in-out 0.3s;
  box-shadow: none;
}

.cookie-banner button:hover {
  background-color: white;
  color: black;
  box-shadow: none;
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background-color: white;
    transition: background-color 0.5s, color 0.5s;
    z-index: 1000;
    font-size: 12pt;
}

.nav-links {
    display: flex;
    list-style: none;
    height: 100%;
}

.nav-links li {
    width: 80px;
    padding: 10px;
    border-right: 1px solid rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 0.2s;
}

.nav-links li:last-child {
    border-right: none;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.nav-links li:hover {
    background-color: #007bff;
}

.nav-links li:hover a {
    color: white;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar-logo {
    width: 70px;
}

.navbar.scrolled .nav-links li a {
    color: white;
}

.navbar.scrolled .nav-links li {
    border-right: 1px solid rgb(60, 60, 60);
}

.navbar.scrolled .nav-links li:last-child {
    border-right: none;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon div {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    z-index: 900;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
}

/* Mobile View */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .navbar.scrolled .menu-icon div {
        background-color: white;
    }

    .menu-icon.change .bar1 {
        transform: rotate(-45deg) translate(-14px, 6px);
    }

    .menu-icon.change .bar2 {
        opacity: 0;
    }

    .menu-icon.change .bar3 {
        transform: rotate(45deg) translate(-13px, -6px);
    }

    .mobile-menu.active {
        left: 0;
    }
}  

.empty-section {
    height: 100px;
}

.heading-video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
  }
  
  .video-container {
    width: 80%;
    height: 80%;
  }
  
  video {
    width: 100%;
    height: 100%;
    border-radius: 50px;
  }
  
  .scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .scroll-container a {
    text-decoration: none;
  }
  
  .scroll-text {
    writing-mode: vertical-rl;
    font-size: 16px;
    margin: 10px 0;
  }
  
  .scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .scroll-btn:hover {
    background-color: #007bff;
  }
  
  .arrow {
    font-size: 24px;
    transform: rotate(-90deg);
    color: black;
  }
  
  .scroll-btn:hover .arrow {
    color: white;
  }

  /* CSS za fade-in animaciju */
.fade-in {
    opacity: 0; /* Početna nevidljivost */
    transition: opacity 1s ease-in-out; /* Trajanje animacije i način */
}

.fade-in.visible {
    opacity: 1; /* Postignuta vidljivost */
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease, transform 1s ease;
    animation: slideInLeft 1s ease;
}

.visible {
    opacity: 1;
    transform: translateX(0);
}

h1 {
    font-size: 36pt;
    text-align: center;
    padding: 2%;
}

h2 {
    font-size: 36pt;
}

h1, h2, h3, h4 {
    font-family: CenturyGothic;
}

p {
    padding: 5px 0;
    text-align: justify;
}

.white-card {
    padding: 20px;
    background-color: rgb(250, 250, 250);
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

.black-card {
    padding: 20px;
    background-color: rgb(0, 0, 0);
    color: white;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

.white-card h3 {
    text-align: left;
    color: black;
}

.black-card h3 {
    text-align: left;
}

.image-wrapper {
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about {
    padding-top: 80px;
}

#about img {
    width: 300px;
}

#services .row {
    align-items: flex-start;
}

#services {
    background-color: black;
    color: white;
    padding-top: 2%;
}

#services h3 {
    padding-bottom: 10px;
}

#services h2, h3 {
    color: white;
    text-align: center;
}

#services .col-4:nth-of-type(1) {
    color: rgb(211, 231, 247);
}
#services .col-4:nth-of-type(2) {
    color: rgb(204, 213, 251);
}
#services .col-4:nth-of-type(3) {
    color: rgb(194, 201, 255);
}

#services img {
    width: 100%;
    border-radius: 10px;
}

.cat-service {
    width: 150px;
    height: 150px;
    padding: 10px;
    margin: 10px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12pt;
}

.cat-service h4 {
    text-align: center;
}

.cat-service:nth-of-type(1) {
    color: azure;
    border: 2px solid azure;
    box-shadow:0px 0px 15px azure;
}

.cat-service:nth-of-type(2) {
    color: lightblue;
    border: 2px solid lightblue;
    box-shadow:0px 0px 15px lightblue;
}

.cat-service:nth-of-type(3) {
    color: skyblue;
    border: 2px solid skyblue;
    box-shadow:0px 0px 15px skyblue;
}

.cat-service:nth-of-type(4) {
    color: rgb(116, 137, 255);
    border: 2px solid rgb(116, 137, 255);
    box-shadow:0px 0px 15px rgb(116, 137, 255);
}

.cat-service:nth-of-type(5) {
    color: rgb(135, 167, 235);
    border: 2px solid rgb(135, 167, 235);
    box-shadow:0px 0px 15px rgb(135, 167, 235);
}

.cat-service:nth-of-type(6) {
    color: rgb(150, 135, 235);
    border: 2px solid rgb(150, 135, 235);
    box-shadow:0px 0px 15px rgb(150, 135, 235);
}

.cat-service:nth-of-type(7) {
    color: rgb(178, 135, 235);
    border: 2px solid rgb(178, 135, 235);
    box-shadow:0px 0px 15px rgb(178, 135, 235);
}

.cat-service:nth-of-type(8) {
    color: rgb(212, 135, 235);
    border: 2px solid rgb(212, 135, 235);
    box-shadow:0px 0px 15px rgb(212, 135, 235);
}

.cat-service:nth-of-type(9) {
    color: rgb(235, 135, 230);
    border: 2px solid rgb(235, 135, 230);
    box-shadow: 0px 0px 15px rgb(235, 135, 230);
}

.cat-service:nth-of-type(1) { transition-delay: 0s; }
.cat-service:nth-of-type(2) { transition-delay: 0.1s; }
.cat-service:nth-of-type(3) { transition-delay: 0.2s; }
.cat-service:nth-of-type(4) { transition-delay: 0.3s; }
.cat-service:nth-of-type(5) { transition-delay: 0.4s; }
.cat-service:nth-of-type(6) { transition-delay: 0.5s; }
.cat-service:nth-of-type(7) { transition-delay: 0.6s; }
.cat-service:nth-of-type(8) { transition-delay: 0.7s; }
.cat-service:nth-of-type(9) { transition-delay: 0.8s; }

#web {
    padding-top: 80px;
}

.black-card ul, .white-card ul {
    padding-left: 20px;
}
.black-card li, .white-card li {
    margin: 10px 0;
}

/* SLIDESHOW STYLE */
img {
    vertical-align: middle;
}
  
.container {
    position: relative;
}
  
.mySlides {
    display: none;
}
  
.cursor {
    cursor: pointer;
}
  
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}
  
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
  
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
  
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
  
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}
  
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
.column {
    float: left;
    width: 16.66%;
}
  
.demo {
    opacity: 0.6;
}
  
.active,
.demo:hover {
    opacity: 1;
}

#video {
    padding-top: 80px;
}

#video h3 {
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    border-radius: 25px;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 5px;
}

.creative-videos {
    margin: 20px 0;
}

#foto {
    padding-top: 80px;
}


.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-item {
    width: 300px;
    height: 200px;
    margin: 0px;
    overflow: hidden;
    transition: transform 1s;
  }
  
  .gallery-item img,
  video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  
  .foto-gallery-item {
    width: 300px;
    height: 200px;
    margin: 0px;
    overflow: hidden;
    transition: transform 1s;
  }
  
  .foto-gallery-item img,
  video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  
  .foto-gallery-item img {
    filter: grayscale(100%);
    cursor: pointer;
    transition: all 0.1s ease-in-out;
  }
  
  .foto-gallery-item img:hover {
    filter: grayscale(0%);
  }
  
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 800;
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .popup img {
    width: 100%;
    min-width: 280px;
    max-width: 1080px;
    border-radius: 10px;
  }
  
  .nav-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 45%;
    left: 0%;
    transform: translate(-45% 0%);
    position: absolute;
    z-index: 810;
  }
  
  .gallery-buttons {
    background-color: rgba(0, 110, 255, 0.2549019608);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 2%;
    transition: all 0.2s ease-in-out;
  }
  
  .gallery-buttons:hover {
    background-color: #006eff;
    transform: scale(1.1);
  }

#audio {
    padding-top: 80px;
}

.star2-logo {
    width: 100px;
}

#kontakt {
    padding-top: 80px;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

label {
    display: block;
    margin: 10px 0 5px;
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button {
    padding: 15px 25px;
    background-color: rgb(250, 250, 250);
    border-radius: 10px;
    box-shadow: 0px 0px 10px #53a6ffa9;
    color: black;
    border: 3px solid #53a6ff;
    cursor: pointer;
    font-family: CenturyGothic;
    transition: all ease-in-out 0.2s;
}
button:hover {
    border-color: #007bff;
    box-shadow: 0px 0px 15px #007bff;
}
.success {
    color: red;
    margin-top: 10px;
}

footer {
    background-color: black;
    color: rgb(163, 163, 163);
}

footer .col-3 {
    padding: 20px;
    text-align: left;
    font-weight: 300;
}

footer a {
    color: white;
    transition: all ease-in-out 0.2s;
}
footer a:hover {
    color: #53a6ff;
}

.socials-wrapper {
    display: flex;
    justify-content: space-around;
    font-size: 24pt;
}

.whatsapp-wrapper {
    display: flex;
    text-align: center;
    padding: 20px;
}

.whatsapp-footer {
    width: 80%;
}

#message {
    display: none;
}
}