/* Fonty */

* {
  font-family: "Roboto", sans-serif;
}

/* Základní nastavení */

a {
  color: var(--jarabak-red);
  transition: .2s;
}

a:hover, .jrbk-text-red:hover button {
  color: #000000 !important;
}

.always-white:hover {
  color: #ffffff !important;
}

.jrbk-footer-link:hover {
  color: #ffffff !important;
  opacity: .5;
}

.jrbk-social-footer:hover {
  background-color: rgba(255,255,255,.1);
}

.jrbk-positive-feedback {
    color: var(--jarabak-green);
}

.jrbk-negative-feedback {
  color: var(--jarabak-red);
}

/* Barvy */

/* Nastavení barev jako proměnné */
:root {
  --jarabak-red: #CA1D3A;
  --jarabak-green: #12AE63;
}

.jrbk-text-red, .jrbk-text-red button {
  color: var(--jarabak-red);
}

.jrbk-text-green, .jrbk-text-green button {
  color: var(--jarabak-green);
}

.jrbk-bg-red {
  background-color: var(--jarabak-red);
}

.jrbk-bg-green {
  background-color: var(--jarabak-green);
}

/* Carousel Hero */

.jrbk-hero-carousel-item{
  min-height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.jrbk-hero-carousel-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  animation: bg-zoomin 10s linear infinite;
}

.jrbk-carousel-animations{
    animation: bg-zoomin 10s linear infinite;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes bg-zoomin {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(2);
    }
}

.jrbk-carousel-content {
  z-index: 10;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
}

/* Ostatní */

.mt-5px {
    margin-top: 5px;
}

.accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #ffffff;
}

.accordion-button:focus {
  outline: none !important;
}

.jrbk-negative-margin-top {
  margin-top: -3rem !important;
}

.jrbk-header-border {
  border-top: 5px solid var(--jarabak-red) !important;
}

.jrbk-logo-jazycek {
  margin-top: -2.5rem;
}

.jrbk-box {
  background-size: 100%;
  background-position: center center;
  transition: .5s;
}

.jrbk-box:hover {
  background-size: 110%;
}

.jrbk-box-4-3 {
  aspect-ratio: 4 / 3;
}

.jrbk-box-3-4 {
  aspect-ratio: 3 / 4;
}

.jrbk-box-16-9 {
  aspect-ratio: 16 / 9;
}

.jrbk-box-1-1 {
  aspect-ratio: 1 / 1;
}

.jrbk-box-9-16 {
  aspect-ratio: 9 / 16;
}

.jrbk-box .bi {
  margin-left: .5rem;
  opacity: 0;
  position: relative;
  left: -5px;
  transition: .5s;
}

.jrbk-box:hover .bi {
  left: 0px;
  opacity: 1;
}

.jrbk-example-divider {
  display: block;
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

/* FJD */

section {
  scroll-margin-top: 80px;
}

#contact {
    scroll-margin-top: 220px;
  }

.fjd-rm21-hero {
  background: url(img/fjdrm21hero.webp);
  background-size: cover;
  background-position: center;
}

.fjd-rml01-hero {
  background: url(img/fjdrml01hero.webp);
  background-size: cover;
  background-position: center left;
}

.fjd-text-shadow {
  text-shadow: 0px 2px 15px rgba(0,0,0,0.25);
}

.fjd-text-shadow-l {
  text-shadow: 0px 2px 30px rgba(0,0,0,1);
}

.fjd-hero-button {
  background: rgba(0,0,0,0.25);
}

.full-width-dropdown {
      position: absolute;
      left: 0;
      right: 0;
      width: 100vw;
      z-index: 1000; /* Aby bylo nad ostatním obsahem */
}

.fjd-main-header {
  z-index: 100;
}

.fjd-second-header {
  top: 70px;
  z-index: 50;
}

.about-us-section {
  background-image: url(img/fjd-offices.jpeg);
  background-size: 100%;
  background-repeat: no-repeat;
  padding-top: 450px;
}

.fjd-icon {
  max-height: 135px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .fjd-rm21-hero {
    background-position: 80% bottom;
  }
  .fjd-rml01-hero {
    background-position: center;
  }
  .about-us-section {
    padding-top: 250px;
  }
}

@media (max-width: 768px) {
  .fjd-rm21-hero {
    background: url(img/fjdrm21heromobile.webp);
    background-position: right bottom;
    background-size: cover;
  }
  .fjd-rml01-hero {
    background: url(img/fjdrml01heromobile.webp);
    background-size: cover;
    background-position: center bottom;
  }
  section {
    scroll-margin-top: 120px;
  }
  #contact {
    scroll-margin-top: 120px;
  }
  .about-us-section{
    padding-top: 50px;
  }
}