/* cmsms stylesheet: KVJ Style modified: pátek 13. února 2026 10:09:01 */
:root {
  --color-1: #2e3b45;
  --color-2: #ff7a81;
  --color-3: #157cad;
  --color-4: #f0e6eb;
  --color-5: #1d5572;
  --color-6: #2c2d30;
  --color-7: #30aee8;
  --black: #000;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--color-4);
  background-color: var(--color-1);
}

p,
ul {
  padding: 16px 0;
  font-size: 1.1em;
}

h2 {
  color: var(--color-4);
}

h3 {
  color: var(--color-2);
}

a {
  color: var(--color-7);
  text-decoration: underline;
  font-weight: 600;
}

a:hover {
  text-decoration: none;
}

@media (max-width: 980px) {
  p {
    font-size: 1.2em;
  }
}

/* NAVIGATION SECTION */

nav {
  background-color: var(--color-6);
  width: 100%;
}

.nav-wrapper {
  max-width: 80%;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
}

h1 {
  font-size: 1.3em;
  font-weight: 300;
  flex-grow: 4;
}

h1 #logo {
  z-index: 1;
  position: relative;
}

h2 {
  margin: 48px 0 24px 0;
  font-size: 2.4em;
  font-weight: 200;
}

h3 {
  font-size: 1.4em;
  margin: 24px 0 16px 0;
}

.alt-logo {
  display: none;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  align-items: center;
}

nav ul a {
  color: var(--color-4);
  font-size: 1.2em;
  font-weight: 200;
  text-decoration: none;
}

nav ul a:hover {
  border-bottom: 5px var(--color-2) solid;
  padding-bottom: 2px;
}

.icon-container {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.icon-container img {
  width: 100%;
  height: 100%;
}

.bw-icon {
  cursor: pointer;
}

.fa-circle-half-stroke.dark-mode {
  background-color: var(--color-3);
}

.nav-icon {
  display: none;
}

#langs {
  margin-left: 18px;
}

select {
  background-color: var(--color-6);
  color: var(--color-4);
}

@media (max-width: 980px) {
  .nav-wrapper {
    max-width: 90%;
    display: flex;
    justify-content: flex-end;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0px;
    width: 100%;
    background-color: var(--color-6);
    z-index: 1;
  }

  nav li {
    display: block;
    text-align: center;
    margin: 16px 0;
    padding: 4px;
    border-bottom: 1px dotted var(--color-5);
  }

  .nav-icon {
    display: block;
    cursor: pointer;
  }
}

#langs {
  margin-left: 8px;
}

@media (min-width: 980px) {
  nav ul {
    display: flex !important;
  }
}

/* HEADER SECTION */

a.header-link {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 200;
  text-decoration: none;
}

a:hover.header-link {
  text-decoration: underline;
}

.header-section {
  background-image: url("../../uploads/images/ban-wet-coating.jpg");
  height: 45vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-section-wrapper {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
}

.header-text {
  color: var(--white);
  position: absolute;
  top: 20vh;
  text-align: left;
}

.header-text-second {
  font-size: 1.2em;
  font-weight: 200;
}

.header-section-2 {
  background-image: url("../../uploads/images/ban-powder-coating.jpg");
  height: 45vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-section-wrapper-2 {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
}

.header-text-right {
  color: var(--white);
  position: absolute;
  top: 20vh;
  right: 0%;
  text-align: right;
}

.header-text-second-right {
  text-align: right;
  font-size: 1.2rem;
  font-weight: 200;
}

@media (max-width: 980px) {
  a.header-link {
    font-size: 10vmin;
  }

  .header-text {
    top: 28vh;
  }

  .header-text-right {
    top: 28vh;
    text-align: left;
    left: 0;
  }

  .header-text-second {
    display: none;
  }

  .header-text-second-right {
    display: none;
  }
}

main {
  margin: 0 auto;
}

section {
  margin: 48px 0;
}

.text-box {
  max-width: 80%;
  margin: 0 auto;
  font-size: 1.1em;
}

main ul {
  padding: 32px;
}

main li {
  padding: 4px 0;
  font-size: 0.9em;
}

/* ARTICLE SECTION */

#article {
  margin: 0 auto 64px;
  max-width: 80%;
}

/* VIDEO */

.video {
  text-align: center;
}

/* PROJECTS SECTION */

#projects {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

#boxes {
  padding: 32px 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.preview-box {
  width: 240px;
  height: 240px;
  background-color: var(--color-6);
  padding: 16px;
  margin-bottom: 32px;
  border-radius: 0 0 20px 0;
  box-shadow: 0px 0px 15px var(--color-4);
}

.preview-box:hover {
  box-shadow: 0px 0px 20px var(--color-2);
}

.preview-box-link {
  text-decoration: none;
  color: var(--white);
}

.preview-box-img {
  margin: 0 auto;
  width: 60%;
}

.preview-box-text {
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 100;
}

img {
  height: 100%;
  width: 100%;
}

.project-detail {
  padding: 90px 0 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.project-detail-first {
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.project-detail-img img {
  width: 400px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  #boxes {
    flex-direction: column;
  }

  .project-detail {
    flex-direction: column;
  }

  .project-detail-first {
    flex-direction: column;
  }
  .project-detail-img img {
    width: 100%;
  }
}

/* NEWS SECTION */

#news-section {
  max-width: 80%;
  margin: 0 auto;
}

.news-wrapper {
  margin: 32px 0 64px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}

.news-item {
  flex: 50%;
}

#NewsPostDetailReturnLink {
  margin: 16px 0;
  padding: 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--color-3);
  color: var(--white);
}

#NewsPostDetailReturnLink:hover {
  background-color: var(--color-1);
}

#NewsPostDetailReturnLink a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 980px) {
  .news-wrapper {
    flex-direction: column;
  }
}

/* GALLERY */

.gallery-section {
  max-width: 80%;
  margin: 32px auto;
}

.gallery-section-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 0;
}

.gallery-section-wrapper img {
  object-fit: cover;
}

.gallery-item {
  flex-basis: calc(100% / 3 - 8px);
}

.gallery-item:hover {
  transform: scale(1.2);
  transition: transform 0.5s;
}

@media (max-width: 980px) {
  .gallery-section-wrapper {
    flex-direction: column;
  }
}

/* BANNER SECTION */

.ban {
  background-image: url("../../uploads/images/ban-cert-inv.png");
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
}

.ban-wrapper {
  position: relative;
}

/* CONTACT SECTION */

.contacts {
  max-width: 80%;
  margin: 0 auto;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10%;
  margin: 64px 0;
}

.contact-item {
  width: 260px;
  height: 320px;
  background-color: var(--color-6);
  padding: 32px;
  border-radius: 8px;
  margin: 16px 0;
}

.contact-img {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.contact-img img {
  border-radius: 50%;
}

.contact-txt {
  text-align: center;
  font-size: 1em;
}

.name {
  font-size: 1.3em;
  font-weight: 600;
  margin: 16px 0;
}

.email,
.phone {
  display: block;
  background-color: var(--color-3);
  margin: 16px 0;
  padding: 8px;
  border-radius: 4px;
}

.email :hover,
.phone :hover {
  text-decoration: underline;
}

.email a,
.phone a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 640px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-item {
    width: 90%;
    margin: 16px auto;
  }
}

/* TIMELINE */

.timeline {
  width: 80%;
  margin: 16px auto;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.timeline-year {
  top: 20px;
  font-weight: 200;
  font-size: 1.4em;
}

article {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 50rem;
}

aside {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.dot {
  --size: 1rem;
  width: var(--size);
  height: var(--size);
  margin: calc((1.6rem - var(--size)) / 2);
  border-radius: 50%;
  background-color: var(--color-7);
  flex-grow: 0;
}

.line {
  flex-grow: 1;
  margin: 4px 0;
  width: 3px;
  background-color: var(--color-7);
}

@media (max-width: 640px) {
  .timeline {
    width: 100%;
  }

  .timeline-item {
    gap: 10px;
  }

  article {
    gap: 10px;
  }
}

/* MAP */

#map {
  height: 300px;
}

/* FOOTER */

footer {
  background-color: var(--color-6);
  padding: 64px 0;
  text-align: center;
}

footer.dark-mode {
  background-color: var(--color-3);
}

.footer-wrapper {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 32px;
}

.footer-item {
  width: fit-content;
  color: var(--color-3);
  font-size: 0.9em;
}

.footer-img {
  width: 200px;
}

@media (max-width: 980px) {
  .footer-wrapper {
    flex-direction: column;
  }
}

/* SCROLL BUTTON */

#scrollbtn {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-4);
  background-color: var(--color-1);
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 2.5em;
}
