/* ****************************** */
/* HEADER */
/* ****************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 9.6rem;
  padding: 0 4.8rem;
}

.logo {
  height: 6rem;
  width: 8rem;
}

.red {
  color: #f51818;
}

/* ****************************** */
/* NAVIGATION */
/* ****************************** */

.main-nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #ff6b6b;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #b34b4b;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #994040;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: RGBA(255, 80, 75, 0.5);

  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  /* color: #fff; */
}

.sticky .section-hero {
  /* ne stavljam jer je background 100vh */
  /* margin-top: 9.6rem; */
}

/* ****************************** */
/* HERO SECTION */
/* ****************************** */

.section-hero {
  padding: 0 0 9.6rem 0;
  height: 100vh;
  background-image: linear-gradient(
      rgba(34, 34, 34, 0.6),
      rgba(34, 34, 34, 0.6)
    ),
    url(../img/maspozadina.jpg);
  background-size: cover;
  position: relative;
  background-position: center;
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
}

.hero-inner {
  width: 50%;
}

h1 span {
  /* color: #c92a2a; */
  color: #f51818;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
  color: #fff;
}

/* ****************************** */
/* ABOUT US SECTION */
/* ****************************** */

.section-about {
  padding: 9.6rem 0;
}

.feature-icon {
  color: #000;
  height: 3.2rem;
  width: 3.2rem;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  background-color: #ff6b6b;
  border-radius: 50%;
}
.feature-tittle {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

.feature-last {
  padding: 1rem;
  border: 2px solid #ff6b6b;
  border-radius: 9px;
}

/* ****************************** */
/*  SECTION GALLERY  */
/* ****************************** */
.section-gallery {
  background-color: #f8f9fa;

  padding: 9.6rem 0;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 1.6rem;

  padding: 1.6rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 90%;
  /* border-radius: 9px; */
  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

/* ****************************** */
/*  SECTION OFFER  */
/* ****************************** */

.offer {
  margin-bottom: 4.8rem;
}

.section-offer {
  padding: 9.6rem 0;
}

.offer-title {
  font-size: 2rem;
  margin-bottom: 2.4rem;
  font-weight: 500;
}
.offer-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/* ****************************** */
/*  SECTION CARS  */
/* ****************************** */

.section-cars {
  background-color: #f8f9fa;
  padding: 4.8rem 0 4.8rem;
}
.car-list {
  display: flex;
  flex-direction: column;

  gap: 1.6rem;
  list-style: none;
}

.car-logos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 1.6rem;
  row-gap: 3.2rem;
}

.car-logos img {
  justify-self: center;
}

.car-text {
  background-color: #ff6b6b;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #333;
  border-radius: 100px;
  font-weight: 600;
  text-align: center;
}

.car-icon {
  height: 9.8rem;
  width: 9.8rem;
}

/* ****************************** */
/*  SECTION CONTACTS  */
/* ****************************** */

.section-footer {
  padding: 9.6rem 0;
}
.footer-flex {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* font-style: normal; */
}

.contacts {
  margin-bottom: 3.2rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
  padding: 1.6rem 3.2rem;
  font-style: normal;
}

.address {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
  /* font-style: normal; */
  line-height: 1.8;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #000;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.margin-bottom {
  margin-bottom: 1.2rem;
}

.direktni-indirektni {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}
