:root {
  --primary-color: #333;
  --secondary-color: #fff;
  --dark-blue: #1b214f;
  --beige: #f0eae8;
  --light-grey: #f0eae8;
  --grey: #c5c5c5;
  --white-100: rgba(255, 255, 255, 0.1);
  --overlay-color: rgba(0, 0, 0, 0.5);
  --ff-heading: "Roboto Condensed", sans-serif;
  --ff-body: "Roboto", sans-serif;
  --max-width: 1360px;
  --brd-radius: 0.8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  color: var(--primary-color);
  font-weight: 500;
}

body {
  font-family: var(--ff-body);
  color: var(--primary-color);
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.logo {
  background: var(--secondary-color);
  padding-inline: 1rem;
  border-bottom-right-radius: 1rem;
}

.nav {
  background: var(--dark-blue);
  height: 100%;
  padding: 1.6rem 1rem 1.6rem 2.5rem;
  border-bottom-left-radius: 1rem;
}

.nav ul {
  display: flex;
  gap: 2.5rem;
}

.nav ul li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav ul li a {
  font-family: var(--ff-heading);
  font-style: 17px;
  text-transform: uppercase;
  color: var(--secondary-color);
  text-decoration: none;
}

.nav-dropdown > a {
  position: relative;
  padding-right: 1.4rem;
}

.nav-dropdown > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 30%;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-30%) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown.open > a::after {
  transform: translateY(-50%) rotate(-135deg);
}

.nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-blue);
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  min-width: 220px;
}

.nav ul li .dropdown li {
  display: block;
  padding: 0;
  margin: 0;
}

.nav ul li .dropdown li a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--secondary-color);
  white-space: nowrap;
}

.nav ul li .dropdown li a:hover {
  background: var(--white-100);
}

.nav ul li:hover > .dropdown,
.nav-dropdown.open > .dropdown {
  display: block;
}

.hero {
  width: 100%;
  overflow: hidden;
}

.hero-slider,
.heroSwiper {
  width: 100%;
  height: 100dvh;
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 30;
  text-align: center;
  color: #fff;
  padding-inline: 1rem;
}

.hero-content h1 {
  color: var(--secondary-color);
  font-size: clamp(2.4883rem, 1.7845rem + 3.128vw, 4.2087rem);
  font-family: var(--ff-heading);
  font-weight: 400;
  width: clamp(18.75rem, -2.7374rem + 80.8939vw, 64rem);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--secondary-color);
  width: 72px;
  height: 72px;
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 16px;
  height: 16px;
}

.swiper-button-next {
  right: 3rem !important;
}

.swiper-button-prev {
  left: 3rem !important;
}

/*******************************************/
/**** Welcome section ****/
/*******************************************/
.welcome-section {
  padding: 4rem 0;
  background: var(--secondary-color);
  padding-inline: 1rem;
  max-width: 1360px;
  margin: 0 auto;
}

.welcome-heading h2 {
  font-size: clamp(1.9531rem, 1.7845rem + 0.7813vw, 2.4883rem);
  margin-bottom: 2rem;
  text-align: center;
}

.welcome-heading p {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.hoteli {
  padding-block-start: 3rem;
  display: flex;
  gap: 1rem;
}

.nasi-hoteli {
  flex: 0 0 49%;
  background: var(--light-grey);
  border-radius: var(--brd-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
  padding: 2rem;
  max-width: 100%;
}

.nasi-hoteli img {
  width: 200px;
  max-width: 100%;
}

.nasi-hoteli h3 {
  font-size: clamp(2rem, 0.6087rem + 2.8986vw, 3rem);
  text-transform: uppercase;
}

.nasi-hoteli p {
  font-style: 18px;
  text-align: center;
  line-height: 1.65;
}

/* hotel cards */
.hotel-cards {
  flex: 0 0 49%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hotel-card {
  position: relative;
  border-radius: var(--brd-radius);
  overflow: hidden;
}

.hotel-card a {
  display: block;
  position: relative;
  z-index: 10;
}

.hotel-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hotel-card-heading {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
}

.hotel-card-heading h3 {
  color: var(--secondary-color);
  font-size: clamp(1.375rem, 0.0777rem + 2.027vw, 1.75rem);
  text-transform: uppercase;
}

.hotel-card-heading p {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: clamp(1rem, 0.622rem + 0.6098vw, 1.125rem);
}

.hotel-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.card-1 {
  grid-column: span 2;
}

.card-2,
.card-3 {
  grid-column: span 1;
}

/*******************************************/
/**** SPECIJALNE PONUDE ****/
/*******************************************/
.special-offers {
  padding: 4rem 0;
  background: var(--light-grey);
  padding-inline: 1rem;
}

.special-offers-heading,
.vesti-heading {
  /* .vesti -heading */
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.special-offers-heading h2,
.vesti-heading h2 {
  /* .vesti-heading h2 */
  font-size: clamp(1.9531rem, 1.7845rem + 0.7813vw, 2.4883rem);
  text-transform: uppercase;
}

.vertical-line {
  width: 2px;
  height: 60px;
  background: var(--grey);
  margin: 1.5rem auto;
}

.offers-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
  max-width: var(--max-width);
  margin-block-start: 3rem;
  margin-inline: auto;
  gap: 1.5rem;
}

.offer-card {
  position: relative;
  border-radius: var(--brd-radius);
  overflow: hidden;
}

.offer-card a {
  display: block;
  position: relative;
  z-index: 10;
  text-decoration: none;
  color: var(--primary-color);
}

.offer-card .badge {
  position: absolute;
  top: 0rem;
  right: 0rem;
  background: var(--dark-blue);
  color: var(--secondary-color);
  padding: 0.5rem 0.8rem;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom-left-radius: var(--brd-radius);
  z-index: 10;
}

.offer-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--brd-radius);
}

.offer-content {
  background: var(--secondary-color);
  padding: 20px;
  margin-block-start: 1.25rem;
  border-radius: var(--brd-radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 150px;
}

/*******************************************/
/**** VESTI ****/
/*******************************************/
.vesti {
  padding: 4rem 0;
  padding-inline: 1rem;
}

.vesti-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
}

.vesti-card {
  display: flex;
  align-items: center;
  flex: 0 0 48%;
}

.vesti-card a {
  text-decoration: none;
  color: var(--primary-color);
}

.vesti-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--brd-radius);
  margin-right: 1rem;
}

.vesti-content {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  gap: 1rem;
  background-color: var(--light-grey);
  padding: 1rem;
  border-radius: var(--brd-radius);
}

.vesti-content h3 {
  font-size: clamp(1.375rem, 1.0272rem + 0.7246vw, 1.625rem);
}

/*******************************************/
/**** FOOTER ****/
/*******************************************/

.main-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 3rem 1.5rem 3rem;
  background: var(--light-grey);
  color: var(--primary-color);
  border-top-left-radius: var(--brd-radius);
  border-top-right-radius: var(--brd-radius);
  background-image: url(img/vutara-logo.svg);
  background-repeat: no-repeat;
  background-size: 500px;
  background-position: 70% 100px;
}

.footer-top-row,
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
}

.main-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.main-footer a {
  text-decoration: none;
  color: var(--primary-color);
}

.footer-col-1 {
  display: flex;
  flex-direction: column;
  flex: 0 0 40%;
  row-gap: 1.5rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social {
  display: flex;
  gap: 1rem;
}

.footer-col-2,
.footer-col-3,
.footer-col-4 {
  flex: 0 0 20%;
}

.footer-col-4 p {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
}

.footer-col-4 span {
  display: block;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
}

/* footer bottom row */
.footer-bottom-row {
  margin-top: 2rem;
  border-top: 1px solid var(--grey);
  padding-top: 1.5rem;
  align-items: center;
}
/*******************************************/
/**** Responsive Styles ****/
/*******************************************/
/*hoteli cards*/
@media (max-width: 768px) {
  .hoteli {
    flex-direction: column;
  }

  .nasi-hoteli,
  .hotel-cards {
    flex: 0 0 100%;
  }

  .hotel-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-1,
  .card-2,
  .card-3 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  /* navigation */
  .nav ul {
    gap: 1.5rem;
  }

  .nav ul li a {
    font-size: 14px;
  }

  /* hero slider */
  .swiper-button-next,
  .swiper-button-prev {
    width: 48px;
    height: 48px;
  }

  .swiper-button-next svg,
  .swiper-button-prev svg {
    width: 12px;
    height: 12px;
  }

  .swiper-button-next {
    right: 0.5rem !important;
  }

  .swiper-button-prev {
    left: 0.5rem !important;
  }
}
