@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
}

header {
  margin-top: 40px;
}
header .header-box {
  display: flex;
  justify-content: space-between;
}
header .header-box .nav {
  padding-top: 10px;
}
header .header-box .nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
}
header .header-box .nav ul li a {
  text-decoration: none;
  color: #231f20;
  font-size: 18px;
  transition: color 0.3s;
}
header .header-box .nav ul li a:hover {
  color: #58b8d0;
}
header .header-box .inquiry .inquiry-link {
  display: inline-block;
  background-color: #58b8d0;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}
header .header-box .inquiry .inquiry-link:hover {
  background-color: rgb(53.808411215, 163.714953271, 191.191588785);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

h1 {
  color: #231f20;
  font-size: 52px;
}

h2 {
  color: #231f20;
  font-size: 46px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
}

.blue {
  color: #58b8d0;
}

.center {
  text-align: center;
}

.info-text {
  color: #000000;
  font-size: 18px;
}
.info-text p {
  margin-bottom: 20px;
}

#banners .banner__container {
  position: relative;
  overflow: hidden;
  width: 1197px;
  height: 556px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#banners .banner__image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-width: 100%;
}
#banners .banner__overlay {
  position: relative;
  z-index: 1;
  max-width: 50%;
  padding: 2rem;
  margin-left: 0px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#banners .banner__overlay h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
}
#banners .banner__overlay p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
#banners .banner__button {
  display: inline-block;
  background-color: #73b7d3;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}
#banners .banner__button:hover {
  background-color: #5fa1be;
}

#advantages {
  margin-bottom: 40px;
}
#advantages .advantages-box {
  display: flex;
  justify-content: space-between;
}
#advantages .advantages-box__item {
  display: flex;
  padding: 20px;
  text-align: left;
}
#advantages .advantages-box__item img {
  width: 69px;
  height: 69px;
  margin-top: 12px;
}
#advantages .advantages-box__item__text {
  padding-left: 15px;
  padding-top: 3px;
}
#advantages .advantages-box__item__text h3 {
  margin-top: 10px;
  font-size: 16px;
  color: #231f20;
}
#advantages .advantages-box__item__text p {
  font-size: 14px;
  color: #6b6b6b;
}

#railing {
  background-color: #f3f5f5;
  padding-top: 40px;
  padding-bottom: 40px;
}
#railing h2 {
  color: #231f20;
}
#railing h3 {
  color: #58b8d0;
  margin-bottom: 40px;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
}

#services {
  background-image: url("../img/stairs_background.png");
  background-size: cover;
  background-repeat: no-repeat;
}
#services .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}
#services .product-grid .product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
#services .product-grid .product-card:hover {
  transform: translateY(-4px);
}
#services .product-grid .product-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
#services .product-grid .product-card .product-content {
  padding: 20px;
}
#services .product-grid .product-card .product-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
}
#services .product-grid .product-card .product-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 16px;
}
#services .product-grid .product-card .product-content .btn {
  display: inline-block;
  background-color: #007b94;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
#services .product-grid .product-card .product-content .btn:hover {
  background-color: #005e70;
}

#references .info-text {
  padding-top: 20px;
  padding-bottom: 20px;
}
#references .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  padding: 10px;
}
#references .gallery__item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#references .gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#references .gallery__item img:hover {
  transform: scale(1.03);
}

#inquiry-process {
  padding-top: 30px;
  padding-bottom: 20px;
}
#inquiry-process .info-text {
  padding-top: 30px;
  padding-bottom: 30px;
}
#inquiry-process img.web {
  max-width: 100%;
  height: auto;
  display: block;
}
#inquiry-process img.mobile {
  display: none;
}

#banner-map {
  background-image: url("../img/banner_4.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
}
#banner-map .map-text {
  color: #ffffff;
  font-size: 43px;
  font-weight: 700;
  padding-top: 30px;
}

#banner-railing {
  background-image: url("../img/banner_5.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
#banner-railing .banner-railing__logo {
  padding-top: 20px;
}
#banner-railing .banner-railing__text {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
}
#banner-railing .banner-railing__text span {
  font-weight: normal;
  font-size: 36px;
}

#inquiry .image-container {
  position: relative;
  overflow: hidden;
}
#inquiry .image-container img {
  object-fit: cover;
  display: block;
  padding-top: 20px;
  padding-left: 150px;
}
#inquiry .overlay-text {
  position: absolute;
  left: 0;
  top: 20%;
  color: #000000;
  padding: 20px;
  font-size: 22px;
  max-width: 80%;
}
#inquiry .inquiry-form .contact-form {
  margin: 30px auto;
  color: #515253;
}
#inquiry .inquiry-form .contact-form__row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  #inquiry .inquiry-form .contact-form__row {
    flex-direction: column;
  }
}
#inquiry .inquiry-form .contact-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#inquiry .inquiry-form .contact-form__field label {
  margin-bottom: 8px;
  font-weight: 600;
}
#inquiry .inquiry-form .contact-form__field input,
#inquiry .inquiry-form .contact-form__field textarea {
  padding: 12px 14px;
  border: 1px solid #bdc4ca;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}
#inquiry .inquiry-form .contact-form__field input:focus,
#inquiry .inquiry-form .contact-form__field textarea:focus {
  border-color: #58b8d0;
  outline: none;
}
#inquiry .inquiry-form .contact-form__field--full {
  margin-bottom: 20px;
}
#inquiry .inquiry-form .contact-form__field--full textarea {
  width: 100%;
}
#inquiry .inquiry-form .contact-form .required {
  color: #bb5388;
  margin-left: 4px;
}
#inquiry .inquiry-form .contact-form__submit {
  background-color: #79bdd3;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#inquiry .inquiry-form .contact-form__submit:hover {
  background-color: #66a9be;
}

#socials .socials-label {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#socials .socials-label img {
  width: 35px;
  height: 35px;
  margin-top: 18px;
}
#socials .socials-text {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 30px;
  color: #58b8d0;
  text-transform: uppercase;
  font-weight: bold;
}

footer {
  background-color: #231f20;
  color: #515253;
  padding: 50px 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .footer-left {
  flex: 1;
}
footer .footer-left img {
  padding-bottom: 20px;
}
footer .footer-middle {
  flex: 1;
}
footer .footer-middle li::marker {
  color: #58b8d0;
}
footer .footer-middle li {
  margin-left: 20px;
}
footer .footer-right {
  flex: 1;
}
footer .footer-right .footer-phone::before {
  content: "";
  background-image: url("../img/tel.png");
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 19px;
  height: 19px;
}
footer .footer-right .footer-phone span {
  margin-left: 10px;
}
footer .footer-right .footer-mail::before {
  content: "";
  background-image: url("../img/email.png");
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 19px;
  height: 19px;
}
footer .footer-right .footer-mail span {
  margin-left: 10px;
}
footer .footer-right .footer-address::before {
  content: "";
  background-image: url("../img/pin.png");
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 19px;
  height: 19px;
}
footer .footer-right .footer-address span {
  margin-left: 10px;
}
footer .footer-right .footer-ic::before {
  content: "IČ";
  display: inline-block;
  width: 19px;
  height: 19px;
  color: #58b8d0;
}
footer .footer-right .footer-ic span {
  margin-left: 10px;
}
footer .footer-label {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
  padding-bottom: 3px;
  text-decoration: underline;
  text-decoration-color: #58b8d0;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

#copyright {
  background-color: #58b8d0;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
  color: #ffffff;
}

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #58b8d0;
  color: #fff;
  border: none;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s;
}

.scroll-to-top:hover {
  background-color: #555;
}

/* ---------- HAMBURGER – desktop skryto ---------- */
.hamburger {
  display: none;
}

/* ============================================
   MOBILNÍ ZOBRAZENÍ (<= 768px)
   ============================================ */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 16px;
  }
  body {
    line-height: 1.5;
  }
  /* --- HLAVIČKA --- */
  header {
    margin-top: 16px;
  }
  header .header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    position: relative;
  }
  .logo img {
    display: block;
    max-width: 160px;
    height: auto;
  }
  /* --- HAMBURGER --- */
  .hamburger {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1002;
    width: 40px;
    height: 40px;
    border: 1px solid #bdc4ca;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.3s ease;
  }
  .hamburger.hamburger--scrolled:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }
  .hamburger:focus-visible {
    outline: 2px solid #58b8d0;
    outline-offset: 2px;
  }
  .hamburger span {
    position: absolute;
    left: 9px;
    right: 9px;
    height: 2px;
    background: #231f20;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  .hamburger span:nth-child(1) {
    top: 12px;
  }
  .hamburger span:nth-child(2) {
    top: 19px;
  }
  .hamburger span:nth-child(3) {
    top: 26px;
  }
  .hamburger.is-active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
  }
  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
  }
  /* --- CTA tlačítko (Poptávka) v hlavičce skryj --- */
  header .header-box .inquiry {
    display: none;
  }
  /* --- NAVIGACE (panel shora) --- */
  header .header-box .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding: 72px 16px 24px;
  }
  header .header-box .nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
  }
  header .header-box .nav ul li a {
    display: block;
    font-size: 18px;
    color: #231f20;
    text-decoration: none;
    padding: 10px 4px;
    transition: color 0.2s ease;
  }
  header .header-box .nav ul li a:hover {
    color: #58b8d0;
  }
  header .header-box .nav ul li a:focus-visible {
    outline: 2px solid #58b8d0;
    outline-offset: 2px;
    border-radius: 6px;
  }
  /* --- OTEVŘENÝ STAV PANELU --- */
  body.offcanvas-open header .header-box .nav {
    transform: translateY(0);
  }
  /* --- OVERLAY --- */
  .offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
  }
  /* --- ZAMKNUTÍ SCROLLU --- */
  body.offcanvas-open {
    overflow: hidden;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  .info-text {
    font-size: 16px;
  }
  /* BANNERS */
  #banners .banner__container {
    width: 100%;
    height: auto;
    min-height: 260px;
    align-items: flex-end;
    padding: 16px;
  }
  #banners .banner__image {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  #banners .banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #banners .banner__overlay {
    position: relative;
    max-width: 100%;
    padding: 12px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
  }
  #banners .banner__overlay h2 {
    font-size: 26px;
    margin-bottom: 10px;
    text-align: left;
  }
  #banners .banner__overlay p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  #banners .banner__button {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  /* VÝHODY */
  #advantages {
    margin-bottom: 24px;
  }
  #advantages .advantages-box {
    flex-direction: column;
    gap: 12px;
  }
  #advantages .advantages-box__item {
    padding: 12px;
  }
  #advantages .advantages-box__item img {
    width: 52px;
    height: 52px;
    margin-top: 4px;
  }
  #advantages .advantages-box__item__text {
    padding-left: 12px;
  }
  #advantages .advantages-box__item__text h3 {
    font-size: 16px;
    margin-top: 0;
  }
  #advantages .advantages-box__item__text p {
    font-size: 14px;
  }
  /* ZÁBRADLÍ */
  #railing {
    padding: 24px 0;
  }
  #railing h3 {
    margin-bottom: 20px;
    font-size: 16px;
  }
  /* SLUŽBY */
  #services .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  #services .product-grid .product-card {
    border-radius: 14px;
  }
  #services .product-grid .product-card .product-content {
    padding: 16px;
  }
  #services .product-grid .product-card .product-content h3 {
    font-size: 18px;
  }
  #services .product-grid .product-card .product-content p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  #services .product-grid .product-card .product-content .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
  }
  /* REFERENCE */
  #references .info-text {
    padding: 12px 0;
  }
  #references .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 0 8px;
  }
  #references .gallery__item img {
    border-radius: 10px;
  }
  /* PROCES POPTÁVKY */
  #inquiry-process {
    padding-top: 20px;
    padding-bottom: 10px;
  }
  #inquiry-process .info-text {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  #inquiry-process img.web {
    display: none;
  }
  #inquiry-process img.mobile {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* BANNER MAPA / ZÁBRADLÍ */
  #banner-map,
  #banner-railing {
    height: 200px;
    padding-top: 0;
  }
  #banner-map .map-text {
    font-size: 26px;
    font-weight: 700;
    padding: 16px;
  }
  #banner-railing .banner-railing__text {
    font-size: 28px;
  }
  #banner-railing .banner-railing__text span {
    font-size: 20px;
  }
  #banner-railing .banner-railing__logo {
    padding-top: 8px;
  }
  #banner-railing .banner-railing__logo img {
    max-width: 150px;
    height: auto;
  }
  /* POPTÁVKA – OBRÁZEK + OVERLAY */
  #inquiry .image-container {
    position: relative;
  }
  #inquiry .image-container img {
    padding: 0;
    width: 100%;
    height: auto;
  }
  #inquiry .overlay-text {
    position: static;
    padding: 12px 0 0;
    font-size: 16px;
    max-width: 100%;
  }
  #inquiry .inquiry-form .contact-form {
    margin: 16px 0;
  }
  #inquiry .inquiry-form .contact-form__row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }
  #inquiry .inquiry-form .contact-form__field input, #inquiry .inquiry-form .contact-form__field textarea {
    font-size: 16px;
    padding: 12px;
  }
  #inquiry .inquiry-form .contact-form__submit {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }
  /* SOCIÁLY */
  #socials .socials-label {
    gap: 12px;
  }
  #socials .socials-label img {
    width: 28px;
    height: 28px;
    margin-top: 8px;
  }
  #socials .socials-text {
    margin-top: 16px;
    font-size: 12px;
    gap: 8px;
    text-align: center;
    flex-wrap: wrap;
  }
  /* PATIČKA */
  footer {
    padding: 28px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  footer .footer-left,
  footer .footer-middle,
  footer .footer-right {
    flex: none;
  }
  footer .footer-left img {
    max-width: 180px;
    height: auto;
  }
  footer .footer-middle ul {
    padding-left: 16px;
  }
  footer .footer-middle li {
    margin-left: 0;
  }
  footer .footer-right .footer-phone,
  footer .footer-right .footer-mail,
  footer .footer-right .footer-address,
  footer .footer-right .footer-ic {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  footer .footer-label {
    font-size: 18px;
    margin-bottom: 8px;
    text-underline-offset: 6px;
  }
  #copyright {
    padding: 16px 12px;
    font-size: 14px;
  }
  /* SCROLL TO TOP */
  .scroll-to-top {
    bottom: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 20px;
  }
}
/* ---------------------------------------------------
   EXTRA SMALL (<= 480px)
----------------------------------------------------*/
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  #references .gallery {
    grid-template-columns: 1fr;
  }
  #banners .banner__overlay h2 {
    font-size: 22px;
  }
  #banner-map .map-text {
    font-size: 22px;
  }
  header .header-box .nav ul li a {
    font-size: 15px;
  }
}
