@charset "UTF-8";
@import "formular.css";
/***************************************************************************
    PAGE BASICS
***************************************************************************/
h2 {
  text-align: center;
  font-size: 4rem;
  z-index: 100;
}

/***************************************************************************
    RESPONSIVITY
***************************************************************************/
@keyframes role-change {
  12.5% {
    transform: translateY(-100.1%);
  }
  25% {
    transform: translateY(-100%);
  }
  37.5% {
    transform: translateY(-200.1%);
  }
  50% {
    transform: translateY(-200%);
  }
  62.5% {
    transform: translateY(-300.1%);
  }
  75% {
    transform: translateY(-300%);
  }
  87.5% {
    transform: translateY(-400.1%);
  }
  100% {
    transform: translateY(-400%);
  }
}
/***************************************************************************
    HERO - main section
***************************************************************************/
.hero-section {
  width: 100%;
  min-height: 85dvh;
  margin-top: 60px;
  background-image: linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%), var(--hero);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
}
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }
}
.hero-section__container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  width: 100%;
  gap: 4rem;
}
@media (max-width: 992px) {
  .hero-section__container {
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
  }
}
.hero-section__intro-text {
  max-width: 600px;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  font-size: 2.6rem;
  font-weight: 600;
  position: relative;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .hero-section__intro-text {
    text-align: center;
    align-items: center;
    width: 100%;
  }
}
.hero-section__title-seo {
  padding-bottom: 0.65rem;
}
@media (max-width: 992px) {
  .hero-section__title-seo {
    font-size: 2.5rem;
  }
}
.hero-section__title-main {
  font-size: 7rem;
  line-height: 7.5rem;
  text-align: left;
}
@media (max-width: 992px) {
  .hero-section__title-main {
    font-size: 4.5rem;
    line-height: 5rem;
    text-align: center;
  }
}
.hero-section__carousel {
  overflow: hidden;
  position: relative;
  height: 8rem;
  line-height: 7.5rem;
}
@media (max-width: 992px) {
  .hero-section__carousel {
    height: 6rem;
    line-height: 5rem;
  }
}
.hero-section__carousel--attribute {
  font-size: 7rem;
  color: var(--primary);
  display: flex;
  text-transform: uppercase;
  align-items: center;
  height: 100%;
  animation: role-change 12s infinite;
  will-change: transform;
}
@media (max-width: 992px) {
  .hero-section__carousel--attribute {
    font-size: 5rem;
    justify-content: center;
  }
}
.hero-section__description {
  font-size: 3rem;
}
@media (max-width: 992px) {
  .hero-section__description {
    font-size: 2rem;
  }
}

/***************************************************************************
    QUOTES
***************************************************************************/
.quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 992px) {
  .quote {
    flex-direction: column-reverse !important;
    gap: 2rem;
    text-align: center;
  }
}
.quote--right {
  flex-direction: row;
}
.quote--left {
  flex-direction: row-reverse;
}
.quote__text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.quote__text {
  font-size: 1.8rem;
  line-height: 1.5;
  font-style: normal;
  color: var(--text);
  position: relative;
  padding-top: 20px;
}
.quote__text::before, .quote__text::after {
  position: absolute;
  font-size: 10rem;
  font-family: "Archivo", serif;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  z-index: -1;
}
.quote__text::before {
  content: "“";
  top: -10px;
  left: -20px;
}
.quote__text::after {
  content: "”";
  bottom: -60px;
  right: -20px;
}
@media (max-width: 992px) {
  .quote__text {
    padding-top: 10px;
    font-size: 1.6rem;
  }
  .quote__text::before, .quote__text::after {
    font-size: 6rem;
  }
  .quote__text::before {
    top: -5px;
    left: -10px;
  }
  .quote__text::after {
    bottom: -30px;
    right: -10px;
  }
}
.quote__highlight {
  color: var(--primary);
  font-weight: 700;
}
.quote__author {
  align-self: flex-end;
  text-align: right;
}
@media (max-width: 992px) {
  .quote__author {
    align-self: center;
    text-align: center;
    margin-top: 2rem;
  }
}
.quote__name {
  margin: 0;
  font-size: 2rem;
  color: var(--text);
  text-transform: uppercase;
}
.quote__title {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
}

.quote-frame {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  transform: translateY(15px);
}
@media (max-width: 992px) {
  .quote-frame {
    width: 180px;
    height: 180px;
    transform: none;
    margin: 0 auto;
  }
}
.quote-frame__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--border);
  box-shadow: var(--shadow);
  filter: brightness(0.6);
}
.quote-frame__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
  padding: 40px 60px 0 0;
}
@media (max-width: 992px) {
  .quote-frame__link {
    padding: 20px 0 0 0;
  }
}
.quote-frame__link:hover {
  transform: scale(1.05);
}
.quote-frame__icon-wrapper {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--bg);
}
.quote-frame__icon-wrapper:hover {
  color: var(--text);
}
.quote-frame__label {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/***************************************************************************
    CARD FLIP
***************************************************************************/
.card-flip {
  perspective: 1000px;
  width: 100%;
  aspect-ratio: 3/2;
  cursor: pointer;
}
.card-flip:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-flip:hover .card-flip__front {
  filter: brightness(0.8);
}
.card-flip:hover .card-flip__front, .card-flip:hover .card-flip__back {
  background-size: 110%;
}
.card-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.3, 0.8, 0.2, 1.3);
  transform-style: preserve-3d;
}
.card-flip--is-flipped .card-flip__inner {
  transform: rotateY(180deg);
}
.card-flip__front, .card-flip__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card-flip__front {
  background-color: var(--bg-dark);
  transition: background-size 0.4s ease, filter 0.4s ease;
  background-size: 100%;
  z-index: 1;
}
.card-flip__front::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  z-index: -1;
  border-radius: inherit;
}
.card-flip__back {
  transition: background-size 0.4s ease;
  background-size: 100%;
  transform: rotateY(180deg);
  padding: 1.5rem;
  z-index: 1;
  overflow: hidden;
  outline: 1px solid var(--bg-dark);
  outline-offset: -1px;
}
.card-flip__back::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  z-index: -1;
  border-radius: inherit;
}
.card-flip__content-front, .card-flip__content-back {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
}
.card-flip__heading {
  margin: 0;
  text-transform: uppercase;
}
.card-flip__heading--front {
  font-size: 3rem;
  line-height: 3.5rem;
}
.card-flip__heading--back {
  font-size: 2rem;
}
.card-flip__text {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-flip__icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  fill: var(--text);
  z-index: 10;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.card-flip__icon:hover {
  transform: scale(1.2) rotate(15deg);
}

.category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 80vw;
  max-width: 1600px;
  margin: 120px auto 120px;
}
@media (max-width: 992px) {
  .category {
    flex-direction: column;
    width: 90vw;
    gap: 40px;
    margin: 60px auto;
  }
}
.category--two-option {
  align-items: flex-start;
}
.category__main-wrapper {
  flex: 1;
  text-align: left;
}
@media (max-width: 992px) {
  .category__main-wrapper {
    text-align: center;
    width: 100%;
  }
}
.category__main-header {
  font-size: 10rem;
  line-height: 9.5rem;
  padding-bottom: 1rem;
  text-align: left;
}
@media (max-width: 992px) {
  .category__main-header {
    font-size: 5rem;
    line-height: 5.5rem;
    text-align: center;
  }
}
.category__main-header--offset {
  display: block;
  padding-left: 80px;
  position: relative;
  font-style: italic;
}
@media (max-width: 992px) {
  .category__main-header--offset {
    padding-left: 0;
  }
  .category__main-header--offset::before {
    display: none;
  }
}
.category__main-header--offset::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 25px;
  background: linear-gradient(to right, transparent, var(--primary)) no-repeat 20px 0px/60px 3px, linear-gradient(to right, transparent, var(--primary)) no-repeat 20px 12px/50px 3px, linear-gradient(to right, transparent, var(--primary)) no-repeat 20px 24px/40px 3px;
  opacity: 0.7;
}
.category__description {
  font-size: 1.6rem;
  padding-bottom: 2rem;
  color: var(--text-muted);
}
.category__container {
  flex: 1.1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
@media (max-width: 992px) {
  .category__container {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.category-image__transportation--1 {
  background-image: url(../images/hp-intra.jpeg);
}
.category-image__transportation--2 {
  background-image: url(../images/hp-inter.png);
}
.category-image__transportation--3 {
  background-image: url(../images/hp-FTL.jpeg);
}
.category-image__transportation--4 {
  background-image: url(../images/hp-LTL.jpeg);
}
.category-image__semi-trailer--1 {
  background-image: url(../images/hp-plachta.png);
}
.category-image__semi-trailer--2 {
  background-image: url(../images/hp-plosina.png);
}/*# sourceMappingURL=home.css.map */