@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;500&display=swap");

:root {
  --btn: #fecd06;
  --white: #fff;
  --black: #000;
  --hover: #e99d50;
  --main: #171618;
  --red: #dc2f2f;
  --transition: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Improve readability by adjusting default font settings */
body {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding: 0;
  background: var(--main);
  height: auto;
  position: relative;
}

.container {
  width: 100%;
  padding: 10px 150px;
}

menu:not(article menu),
ol:not(article ol),
ul:not(article ul) {
  list-style: none;
}

a {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

label,
button,
select,
summary,
[type="radio"],
[type="submit"],
[type="checkbox"] {
  cursor: pointer;
}

/* Osnovni stilovi za top-nav (beli) */
.top-nav {
  display: block;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 8vh;
  width: 100%;
  transition: top 0.3s ease-in-out;
}

.scrolled .top-nav {
  display: none;
}

.main-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-content .logo {
  color: var(--red);
}
.main-content div {
  display: flex;
  gap: 20px;
}
.main-content div a {
  color: var(--main);
  transition: all 0.3s ease-in-out;
}

.main-content div a:hover {
  color: var(--red);
}

.main-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.66);
  color: white;
  z-index: 999;
  padding: 10px 0;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: right;
}

nav ul li {
  position: relative; /* Potrebno za dropdown */
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  display: block;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  color: var(--red);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  min-width: 160px;
}

.dropdown-content li {
  padding: 10px;
}

.dropdown-content li a {
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Burger meni */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1050;
}

.burger .line {
  background-color: white;
  height: 3px;
  width: 100%;
}

/* Overlay meni */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main);
  z-index: 900;
  justify-content: center;
  align-items: center;
}

.overlay-menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
}

.overlay-menu li a {
  font-size: 15px;
}

.overlay-menu li a {
  color: white;
  font-size: 24px;
  text-decoration: none;
}

.overlay-menu li a:hover {
  color: var(--red);
}
.overlay-menu .dropdown-content li a {
  color: var(--main);
}

.hero {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/hero.jpg);
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero .left {
  width: 60%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
}
h1 {
  color: var(--white);
  font-size: 50px;
}

.hero .left p {
  color: var(--white);
  letter-spacing: 3px;
  padding: 20px 0;
  font-size: 20px;
  margin-bottom: 20px;
}

.hero .left a {
  background: var(--red);
  padding: 10px 20px;
  color: var(--white);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}

.hero .left a:hover {
  background: var(--main);
}

.sub-title {
  text-align: center;
  color: var(--red);
  font-size: 35px;
  padding: 50px 0;
}

.swiper {
  width: 90%;
  height: 100%;
  margin: 30px 0;
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
}

.swiper-wrapper {
  width: 80%;
}
.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.swiper-slide img {
  width: 700px;
  height: 500px;
  object-fit: cover;
}
.swiper-slide div {
  width: 40%;
}

.swiper-slide div h3 {
  color: var(--white);
  padding: 10px 0;
  font-size: 20px;
}

.swiper-slide div a {
  background: var(--red);
  padding: 10px 20px;
  color: var(--white);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}

.swiper-slide div a:hover {
  background: var(--white);
  color: var(--main);
}

.swiper-slide div p {
  color: var(--white);
  padding: 20px 0;
}

.swiper-button-prev {
  color: var(--red) !important;
}

.swiper-button-next {
  color: var(--red) !important;
}

.video-info {
  width: 100%;
  background: var(--white);
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.video-info iframe {
  width: 700px;
  height: 500px;
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.61);
}
.video-info div {
  width: 50%;
}

.video-info div h3 {
  font-size: 25px;
  padding: 20px 0;
  color: var(--red);
  font-weight: bold;
}

.brends {
  width: 100%;
  height: 100%;
  padding-top:  50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}
.brends .info {
  display: flex;
  color: var(--white);
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.brends .info h3 {
  font-size: 35px;
  padding: 30px 0;
}

.brends .info img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.61);
-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.61);
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.61);
}

.brends-container{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.red {
  width: 100%;
  height: 0.5vh;
  background: var(--red);
}

footer.container {
  display: flex;
  justify-content: space-between; 
  align-items: stretch;
  flex-wrap: wrap; 
  gap: 20px; 
  padding: 20px;
  color: var(--main);
  background: var(--white);
}

footer.container > div {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  text-align: center;
  padding: 20px;
  min-height: 200px; 
}

footer.container h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: var(--red);
}

footer.container div a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; 
  text-decoration: none;
  color: var(--main);
  font-size: 1em;
  margin: 5px 0;
  transition: all 0.3s ease-in;
}

footer.container div a:hover {
  color: var(--red);
}

footer.container div a img {
  width: 30px;
  height: 30px;
}

.white {
  width: 100%;
  height: 0.3vh;
  background: var(--white);
}

.small{
  text-align: center;
  color: var(--white);
}
.small span{
  color: var(--red);
}

@media screen and (max-width: 1260px) {
  .main-nav nav ul {
    display: none;
  }

  .burger {
    display: flex;
  }
  .top-nav {
    display: none;
  }

  .container {
    padding: 10px;
  }
  .hero {
    min-height: 100%;
  }

  .hero .left {
    width: 100%;
  }
  h1 {
    font-size: 30px;
  }
  .hero .left p {
    font-size: 15px;
  }
  .swiper {
    width: 100%;
  }
  .swiper-slide {
    flex-direction: column-reverse;
  }
  .swiper-slide div {
    width: 80%;
  }
  .video-info div {
    width: 90%;
  }
  .brends .info,.brends-container {
    flex-direction: column-reverse;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  .brends-container img {
    width: 300px;
  }
  footer.container {
    flex-direction: column; 
    align-items: center;
  }

  footer.container > div {
    width: 100%;
    max-width: 400px; 
  }
}
