/* Font */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h1 {
  font-size: 2.625rem;
}

h2 {
  font-size: 1.875rem;
}

body {
  font-size: 1rem;
}

@media (min-width: 576px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 3rem;
  }

  body {
    font-size: 1.125rem;
    line-height: 1.8;
  }
}

.font-open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-900 {
  font-weight: 900;
}

/* Barvy */

:root {
  /* Definice zelené */
  --green: #103c1f;

  /* Definice žluté */
  --yellow: #dc9d00;

  /* Definice modré */
  --blue: #00487d;

  /* Definice světle šedé */
  --light-grey: #f2f4f9;

  /* Definice tmavě šedé */
  --dark-grey: #393939;

  --accent-color: #1977cc;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

.text-color-green {
  color: var(--green);
}

a.text-color-green:hover {
  color: color-mix(in srgb, var(--green), transparent 30%);
}

.text-color-yellow {
  color: var(--yellow);
}

.text-color-blue {
  color: var(--blue);
}

.text-color-light-grey {
  color: var(--light-grey);
}

/* Třídy pro barvu pozadí */
.bg-color-green {
  background-color: var(--green);
}

.bg-color-yellow {
  background-color: var(--yellow);
}

.bg-color-blue {
  background-color: var(--blue);
}

.bg-color-light-green {
  background-color: rgba(16, 60, 31, 0.1);
}

.bg-color-light-grey {
  background-color: var(--light-grey);
}

.bg-color-dark-grey {
  background-color: var(--dark-grey);
}

.bg-color-certification {
  background-image: linear-gradient(
      0deg,
      rgba(3, 56, 23, 0.7),
      rgba(3, 56, 23, 0.7)
    ),
    url(../../images/bg-color-certification.jpg);
  background-position: 50% 50%, 50% 50%;
  background-size: cover, cover;
}

.bg-color-catalog {
  background-image: linear-gradient(
      0deg,
      rgba(3, 56, 23, 0.8),
      rgba(3, 56, 23, 0.8)
    ),
    url(../../images/bg-color-catalog.jpeg);
  background-position: 50% 50%, 50% 50%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

/* Catalog Section Styles */
#catalog h2 {
  font-weight: 700;
  font-size: 2.5rem;
}

#catalog p {
  font-size: 1.125rem;
}

#catalog .btn {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 20px;
  color: #056228 !important;
}

#catalog .btn:hover {
  background-color: #fff;
}

/* Manufacturer Section Styles */
#manufacturer .btn {
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff !important;
  background-color: #033817 !important;
  padding: 10px 30px;
}

/* Benefits Section Styles */
#benefits .benefit-item {
  padding: 30px 0 30px;
  min-height: 184px;
}

#benefits .benefit-icon {
  font-size: 40px;
  margin: 0 auto 0 0;
}

#benefits .benefit-content {
  min-height: 184px;
  height: auto;
  margin: 0 0 0 auto;
  padding: 0 20px;
}

#benefits .benefit-content p {
  margin: 20px auto 0 0;
}

@media (max-width: 1199px) {
  #benefits .benefits-list {
    margin-bottom: 60px;
  }
}

@media (max-width: 991px) {
  #benefits .benefits-list {
    row-gap: 30px;
  }
}

@media (max-width: 767px) {
  #benefits .benefits-list {
    row-gap: 30px;
  }

  #benefits .benefit-item {
    padding: 15px 0;
    min-height: auto;
  }

  #benefits .benefit-content {
    min-height: auto;
  }
}

.grey-border {
  border: 1px solid #e1e7f4;
}

.text-justify {
  text-align: justify !important;
}

.text-white-transparent,
.text-white-transparent a {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-transparent a:hover {
  text-decoration: none;
}

/* Buttons */
.btn {
  border-radius: 0;
}

.btn-default {
  background-color: var(--green);
  border-color: var(--green);
  transition: all 0.3s ease-in-out;
}

.btn-default:hover {
  background-color: color-mix(in srgb, var(--green), white 20%);
  border-color: color-mix(in srgb, var(--green), white 20%);
}

.btn-white {
  color: var(--green);
  background-color: #fff;
  border-color: #fff;
  transition: all 0.3s ease-in-out;
  padding: 10px 20px;
}

.btn-white:hover {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
}

/* Obrázky */
.bg-top-img {
  background-image: url(../../images/bg-slider-new.png);
  background-position: 50% 50%;
  background-size: cover;
  min-height: 580px;
}

.text-black {
  color: #000000 !important;
}

.text-black:hover {
  color: color-mix(in srgb, #000000, transparent 30%) !important;
}

.h-240 {
  height: 240px;
}

.navbar-brand {
  color: var(--green) !important;
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-brand svg,
.navbar-brand img {
  position: relative;
  width: 238px;
  height: 24px;
  display: block;
  align-self: center;
}

.navbar-light .navbar-nav .nav-link {
  color: #033817 !important;
  font-size: 0.875rem;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #7e9587 !important;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  .same-height {
    height: auto !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1140px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item .gallery-item-image {
  position: relative;
  overflow: hidden;
}

.gallery-item .gallery-item-image a {
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.gallery-item .gallery-item-image img {
  transition: all ease-in-out 0.4s;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Featured Content Section
--------------------------------------------------------------*/
.pdf-box,
.link-box {
  display: block;
  text-decoration: none;
}

.pdf-box .content,
.link-box .content {
  position: relative;
  overflow: hidden;
}

/* PDF box styly */
.pdf-box .content img {
  transition: all ease-in-out 0.4s;
}

.pdf-box .content::before {
  content: "\F640"; /* Bootstrap Icons - file-pdf */
  font-family: "bootstrap-icons";
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.pdf-box .content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.pdf-box:hover .content::before,
.pdf-box:hover .content::after {
  opacity: 1;
}

.pdf-box:hover .content img {
  transform: scale(1.1);
}

/* Link box styly */
.link-box .content img {
  transition: all ease-in-out 0.4s;
}

.link-box .content::before {
  content: "\F470"; /* Bootstrap Icons - link-45deg */
  font-family: "bootstrap-icons";
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.link-box .content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.link-box:hover .content::before,
.link-box:hover .content::after {
  opacity: 1;
}

.link-box:hover .content img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Detail Gallery Tooltips
--------------------------------------------------------------*/
#details .gallery-item-image {
  position: relative;
  display: block;
  overflow: hidden;
}

#details .gallery-item-image img {
  transition: transform 500ms ease;
  transform: scale(1);
}

#details .gallery-item-image:hover img {
  transform: scale(1.1);
}

#details .gallery-item-image .tooltip-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    0deg,
    rgba(3, 55, 23, 0.7),
    rgba(3, 55, 23, 0.7)
  );
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 500ms ease;
  z-index: 2;
}

#details .gallery-item-image:hover .tooltip-content {
  opacity: 1;
  pointer-events: none;
}

#details .gallery-item-image .tooltip-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}

#details .gallery-item-image .tooltip-content p {
  font-size: 0.75rem;
  margin: 0;
  color: #fff;
}

/* Zajistit, že odkaz galerie je stále klikatelný */
#details .gallery-item-image a {
  position: relative;
  display: block;
  z-index: 1;
}

#contact p {
  font-size: 80%;
}

#contact a {
  color: #478ac9 !important;
}

#contact a:hover {
  text-decoration: none;
  color: #387cbd !important;
}

#contact footer a {
  color: #ffffff !important;
}

#contact footer a:hover {
  color: #e0e0e0 !important;
  text-decoration: underline;
}

/* Contact Form Section */
#contact-form {
  background-image: none;
  min-height: 700px;
  padding: 60px 0;
  position: relative;
}

#contact-form h2 {
  font-size: 2rem;
}

#contact-form .contact-bg-shape {
  height: 476px;
  background-image: none;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}

#contact-form .contact-layout {
  padding: 30px;
  position: relative;
}

#contact-form .contact-image {
  width: 100%;
  max-width: 582px;
  height: 657px;
  object-position: 50% 59.3%;
  border-radius: 50px;
  object-fit: cover;
  margin-left: auto;
  display: block;
}

#contact-form .contact-form-box {
  width: 100%;
  max-width: 582px;
  min-height: 527px;
  border-radius: 50px;
  height: auto;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#contact-form .contact-form-inner {
  padding: 30px;
}

#contact-form .contact-title {
  font-weight: 700;
  margin: 0;
}

#contact-form .contact-text {
  margin: 20px 0 0;
}

#contact-form .form-select,
#contact-form .form-control {
  border-radius: 30px;
}

#contact-form .btn-submit {
  background-image: none;
  border-style: none;
  font-size: 1.125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  width: 100%;
  padding: 18px 0;
}

@media (max-width: 1199px) {
  #contact-form .contact-bg-shape {
    height: 428px;
  }

  #contact-form .contact-image {
    max-width: 480px;
    height: 542px;
  }

  #contact-form .contact-form-box {
    max-width: 480px;
  }
}

@media (max-width: 991px) {
  #contact-form {
    min-height: 100vh;
  }

  #contact-form .contact-layout {
    padding: 30px 20px;
  }

  #contact-form .contact-image {
    max-width: 367px;
    height: 415px;
  }

  #contact-form .contact-form-box {
    max-width: 367px;
  }
}

@media (max-width: 767px) {
  #contact-form {
    min-height: auto;
  }

  #contact-form .contact-image {
    display: none;
  }

  #contact-form .contact-form-box {
    max-width: 100%;
    margin: 0;
    position: relative;
    transform: none;
    left: auto;
  }

  #contact-form .contact-bg-shape {
    height: 300px;
  }
}

/* Social Icons - Colored & Round */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
  color: #ffffff;
}

.social-icon i {
  font-size: 0.875rem;
}

.social-icon-facebook {
  background-color: #1877f2;
}

.social-icon-twitter {
  background-color: #000000;
}

.social-icon-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-icon-pinterest {
  background-color: #e60023;
}

/* Application Section - Smaller Text */
#application p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Application Section - Background Images */
#application .application-image {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 250px;
}

/* Width utility class */
.w-95 {
  width: 95% !important;
}

.form-control {
  padding: 0.75rem;
}
