* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111;
  background: white;
}

section,
.detail-block {
  scroll-margin-top: 120px;
}


/* ==================================================
   TOPBAR
================================================== */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 40px;
  background: #f5f5f5;
}

.topbar-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar a {
  width: 28px;
  height: 28px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: black;
  text-decoration: none;
  transition: 0.2s;
}

.topbar a:hover {
  transform: scale(1.3);
  color: white;
}

.facebook:hover {
  background: #1877f2;
}

.instagram:hover {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}

.email:hover {
  background: #8b5a2b;
}

.whatsapp:hover {
  background: #25d366;
}

.phone:hover {
  background: #6fcf97;
}


/* ==================================================
   JAZYKY
================================================== */

.language-switcher {
  position: relative;
}

.language-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 65px;
  height: 28px;
  padding: 0 8px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.language-current .language-arrow {
  font-size: 9px;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.language-switcher:hover .language-current {
  background: #d60000;
  color: white;
}

.language-switcher:hover .language-arrow {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 165px;
  background: white;
  border-top: 3px solid #d60000;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  padding: 7px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 9999;
}

.language-menu::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 13px;
}

.language-switcher:hover .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: auto;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  transition: 0.2s;
}

.language-menu a i {
  width: 17px;
  color: #d60000;
  text-align: center;
  flex-shrink: 0;
}

.language-menu a:hover {
  background: #f5f5f5;
  color: #d60000;
  transform: none;
  padding-left: 20px;
}


/* ==================================================
   LOGO
================================================== */

.header {
  text-align: center;
  height: 205px;
  margin: 0;
  padding: 0 20px;
  background: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-logo-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}

.logo {
  display: block;
  width: 620px;
  max-width: 90vw;
  height: auto;
  margin: 0 auto;
}


/* ==================================================
   STICKY MENU
================================================== */

.navigation-wrapper {
  position: sticky;
  top: 0;
  z-index: 900;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 12px 20px 15px 20px;
}

.menu > a,
.menu-main-link {
  font-weight: bold;
  font-size: 15px;
  color: black;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  position: relative;
}

.menu > a:hover,
.menu-main-link:hover {
  color: #d60000;
  transform: translateY(-1px);
}

.menu > a.active,
.menu-main-link.active {
  color: #d60000;
}

.menu > a.active::after,
.menu-main-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #d60000;
}

.menu-divider {
  width: 100%;
  height: 1px;
  background: #d60000;
  margin: 0;
}

.main-section-divider {
  width: 100%;
  height: 1px;
  background: #d60000;
  margin: 0;
  padding: 0;
}


/* ==================================================
   DROPDOWN
================================================== */

.menu-dropdown {
  position: relative;
}

.menu-dropdown-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-main-link {
  display: inline-block;
}

.dropdown-toggle {
  border: 0;
  background: transparent;
  color: #111;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  transition: 0.2s;
}

.dropdown-toggle:hover,
.menu-dropdown:hover .dropdown-toggle {
  color: #d60000;
}

.dropdown-toggle i {
  transition: transform 0.25s ease;
}

.menu-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 265px;
  background: white;
  border-top: 3px solid #d60000;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 9999;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 0;
  width: 100%;
  height: 17px;
}

.menu-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s;
}

.dropdown-menu a i {
  width: 17px;
  color: #d60000;
  text-align: center;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: #d60000;
  padding-left: 22px;
}


/* ==================================================
   HOME
================================================== */

.home-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.home-hero img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}


/* ==================================================
   SECTIONS
================================================== */

.section-shell {
  padding: 95px 25px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d60000;
  font-weight: bold;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  color: #111;
}

.section-title span {
  color: #d60000;
}

.section-line {
  width: 70px;
  height: 3px;
  background: #d60000;
  margin-top: 20px;
  margin-bottom: 40px;
}


/* ==================================================
   ABOUT
================================================== */

.about-section {
  background: white;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 75px;
  align-items: start;
}

.about-heading-side {
  position: sticky;
  top: 145px;
}

.about-text-side p {
  font-size: 17px;
  line-height: 1.85;
  margin-top: 0;
  margin-bottom: 23px;
  color: #333;
  text-align: justify;
}

.final-text {
  margin-top: 38px;
  padding: 27px 30px;
  border-left: 4px solid #d60000;
  background: #f7f7f7;
  font-size: 19px;
  line-height: 1.7;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}


/* ==================================================
   REALIZATIONS
================================================== */

.realizations-section {
  background: #f4f4f4;
}

.realizations-header {
  max-width: 850px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.realizations-header .section-line {
  margin-left: auto;
  margin-right: auto;
}

.realizations-intro {
  font-size: 17px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

.realizations-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  align-items: stretch;
}

.realization-card {
  background: white;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
  transition: transform 0.25s ease,box-shadow 0.25s ease;
}

.realization-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.realization-image {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #ddd;
}

.realization-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.realization-card:hover .realization-image img {
  transform: scale(1.04);
}

.realization-content {
  padding: 28px 27px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.realization-content h2 {
  margin: 0 0 17px;
  font-size: 24px;
  line-height: 1.25;
}

.realization-content p {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  flex: 1;
}

.realization-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 150px;
  padding: 12px 20px;
  background: #d60000;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.2s;
}

.realization-button i {
  margin-left: 9px;
}

.realization-button:hover {
  background: #a80000;
  transform: translateX(3px);
}


/* ==================================================
   DETAILS
================================================== */

.details-section {
  background: white;
  padding: 100px 25px;
}

.details-container {
  max-width: 1200px;
  margin: 0 auto;
}

.details-main-header {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
}

.details-main-header .section-line {
  margin-left: auto;
  margin-right: auto;
}

.details-main-header p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #555;
}

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 65px 0;
  border-bottom: 1px solid #e5e5e5;
}

.detail-block:first-of-type {
  padding-top: 20px;
}

.detail-block:last-child {
  border-bottom: none;
  padding-bottom: 10px;
}

.detail-block.reverse .detail-image {
  order: 2;
}

.detail-block.reverse .detail-content {
  order: 1;
}

.detail-image {
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.detail-image:hover img {
  transform: scale(1.035);
}

.detail-number {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #d60000;
  margin-bottom: 12px;
}

.detail-content h2 {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.25;
}

.detail-content > p {
  margin: 0 0 25px;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.detail-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 25px;
}

.detail-list li {
  position: relative;
  padding-left: 23px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #d60000;
  border-radius: 50%;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d60000;
  color: white;
  text-decoration: none;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.2s;
}

.contact-button:hover {
  background: #a80000;
  transform: translateY(-2px);
}


/* ==================================================
   PROJEKTY / REFERENCIE
================================================== */

.projects-section {
  background: #f4f4f4;
}

.projects-header {
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.projects-header .section-line {
  margin-left: auto;
  margin-right: auto;
}

.projects-intro {
  font-size: 17px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}


/* ZOZNAM PROJEKTOV */

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 45px;
}


/* JEDEN PROJEKT */

.project-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 390px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 22px rgba(0,0,0,0.09);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 34px rgba(0,0,0,0.14);
}


/* HLAVNÁ FOTKA PROJEKTU */

.project-main-image {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #ddd;
}

.project-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.project-card:hover .project-main-image img {
  transform: scale(1.035);
}


/* ROK NA FOTKE */

.project-year {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 8px 13px;
  background: #d60000;
  color: white;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}


/* TEXT PROJEKTU */

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #d60000;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-location i {
  font-size: 13px;
}

.project-content h2 {
  margin: 0 0 19px;
  font-size: 30px;
  line-height: 1.25;
  color: #111;
}

.project-content p {
  margin: 0 0 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.75;
}

.project-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 47px;
  padding: 12px 21px;
  border: 0;
  border-radius: 3px;
  background: #d60000;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.project-open-button:hover {
  background: #a80000;
  transform: translateX(3px);
}


/* ==================================================
   DETAIL PROJEKTU
================================================== */

.project-detail {
  display: none;
  margin-top: 30px;
  padding: 50px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 22px rgba(0,0,0,0.08);
}

.project-detail.open {
  display: block;
}

.project-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e1e1e1;
}

.project-detail-heading {
  max-width: 850px;
}

.project-detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d60000;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-detail-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.project-close-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: white;
  color: #111;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s;
}

.project-close-button:hover {
  background: #d60000;
  border-color: #d60000;
  color: white;
  transform: rotate(90deg);
}


/* POPIS V DETAILI */

.project-detail-description {
  max-width: 950px;
  margin-bottom: 42px;
}

.project-detail-description p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #444;
}


/* ==================================================
   GALÉRIA PROJEKTU
================================================== */

.project-gallery-title {
  margin: 0 0 22px;
  font-size: 23px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.project-gallery-item {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 5px;
  background: #ddd;
  cursor: pointer;
}

.project-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.project-gallery-item::after {
  content: "\f00e";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 28px;
  color: white;
  background: rgba(0,0,0,0.38);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.06);
}

.project-gallery-item:hover::after {
  opacity: 1;
}


/* ==================================================
   LIGHTBOX FOTOGRAFIÍ
================================================== */

.project-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 90px;
  background: rgba(0,0,0,0.94);
  z-index: 20000;
}

.project-lightbox.open {
  display: flex;
}

.project-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0,0,0,0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #d60000;
}

.lightbox-close {
  top: 25px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 50px;
  height: 65px;
  transform: translateY(-50%);
  font-size: 21px;
  border-radius: 4px;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  letter-spacing: 1px;
}


/* ==================================================
   KEĎ ZATIAĽ NIE SÚ PROJEKTY
================================================== */

.projects-empty {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 55px 35px;
  background: white;
  border-left: 4px solid #d60000;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.projects-empty.visible {
  display: block;
}

.projects-empty i {
  margin-bottom: 20px;
  color: #d60000;
  font-size: 42px;
}

.projects-empty h2 {
  margin: 0 0 13px;
  font-size: 27px;
}

.projects-empty p {
  max-width: 500px;
  margin: 0 auto;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}


/* ==================================================
   CONTACT
================================================== */

.contact-section {
  background: white;
}

.contact-header {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.contact-header .section-line {
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: center;
}

.contact-info {
  padding: 20px 25px;
}

.contact-logo {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 25px;
}

.contact-info h2 {
  font-size: 27px;
  margin-top: 0;
  margin-bottom: 25px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 21px;
  font-size: 16px;
  line-height: 1.6;
}

.contact-line i {
  width: 22px;
  margin-top: 4px;
  color: #d60000;
  font-size: 19px;
  text-align: center;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.contact-divider {
  max-width: 1200px;
  height: 1px;
  background: #dedede;
  border: 0;
  margin: 50px auto 40px;
}

.contact-people {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 45px;
}

.person {
  padding: 10px 25px;
  display: grid;
  grid-template-rows: 32px 32px 46px 32px;
}

.person h3 {
  margin: 0;
  font-size: 21px;
  color: #d60000;
}

.person-name {
  font-size: 18px;
  font-weight: bold;
}

.person-name.empty {
  visibility: hidden;
}

.person-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.person-detail i {
  width: 20px;
  color: #d60000;
  font-size: 17px;
  margin-top: 3px;
}

.person-detail a {
  color: #111;
  text-decoration: none;
  word-break: break-word;
}

.person-detail a:hover {
  color: #d60000;
}


/* ==================================================
   FORM
================================================== */

.inquiry-area {
  max-width: 1200px;
  margin: 85px auto 0;
  padding-top: 70px;
  border-top: 1px solid #dedede;
}

.inquiry-header {
  max-width: 780px;
  margin-bottom: 42px;
}

.inquiry-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.inquiry-title span {
  color: #d60000;
}

.inquiry-description {
  margin: 18px 0 0;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.inquiry-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  position: relative;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #d60000;
  width: 18px;
  text-align: center;
  pointer-events: none;
}

.form-group.textarea-group i {
  top: 22px;
  transform: none;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-family: Arial,sans-serif;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.inquiry-form input,
.inquiry-form select {
  height: 58px;
  padding: 0 18px 0 50px;
}

.inquiry-form textarea {
  min-height: 190px;
  resize: vertical;
  padding: 18px 18px 18px 50px;
  line-height: 1.6;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #d60000;
  box-shadow: 0 0 0 3px rgba(214,0,0,0.07);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #777;
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 23px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.privacy-row input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 2px 0 0;
  accent-color: #d60000;
}

.required-note {
  margin-top: 13px;
  font-size: 13px;
  color: #777;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 190px;
  min-height: 52px;
  padding: 13px 24px;
  border: none;
  border-radius: 3px;
  background: #d60000;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.submit-button:hover {
  background: #a80000;
  transform: translateY(-2px);
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-left: 3px solid #d60000;
  background: #f5f5f5;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.form-message.visible {
  display: block;
}


/* ==================================================
   ANIMATIONS
================================================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}


/* ==================================================
   FIXED CONTACT
================================================== */

.fixed-contact {
  position: fixed;
  right: 0;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  background: #d60000;
  border-radius: 6px 0 0 6px;
  z-index: 999;
}

.fixed-contact a {
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s;
}

.fixed-contact a:hover {
  transform: scale(1.5);
  background: #a80000;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 950px) {

  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-heading-side {
    position: static;
  }

  .realizations-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
  }

  .realization-image {
    height: 320px;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .detail-block.reverse .detail-image,
  .detail-block.reverse .detail-content {
    order: initial;
  }


  /* PROJEKTY TABLET */

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-main-image {
    min-height: 420px;
  }

  .project-main-image img {
    min-height: 420px;
  }

  .project-content {
    padding: 38px;
  }

  .project-gallery {
    grid-template-columns: repeat(2,1fr);
  }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 800px) {

  .topbar {
    padding: 3px 15px;
  }

  .header {
    height: 155px;
    padding: 0 12px;
  }

  .logo {
    width: 390px;
    max-width: 92vw;
  }

  .navigation-wrapper {
    position: relative;
  }

  .menu {
    gap: 15px;
    flex-wrap: wrap;
    padding: 12px 15px 15px;
  }

  .menu > a.active::after,
  .menu-main-link.active::after {
    display: none;
  }

  .menu-dropdown {
    position: relative;
  }

  .menu-dropdown-top {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dropdown-toggle {
    padding: 5px;
    font-size: 12px;
  }

  .menu-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .menu-dropdown.mobile-open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  .menu-dropdown.mobile-open .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    padding: 7px 0;
    z-index: 9999;
  }

  .dropdown-menu::before {
    display: none;
  }

  .section-shell,
  .details-section {
    padding: 65px 16px;
  }

  .section-title {
    font-size: 31px;
  }

  .about-text-side p {
    font-size: 16px;
    text-align: left;
  }

  .realizations-intro,
  .projects-intro {
    font-size: 16px;
  }

  .realization-image {
    height: 250px;
  }

  .realization-content {
    padding: 24px 22px 27px;
  }

  .detail-block {
    padding: 45px 0;
  }

  .detail-image {
    height: 280px;
  }

  .detail-content h2 {
    font-size: 27px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }


  /* PROJEKTY MOBILE */

  .projects-header {
    margin-bottom: 40px;
  }

  .projects-list {
    gap: 30px;
  }

  .project-card {
    min-height: 0;
  }

  .project-main-image {
    min-height: 260px;
    height: 260px;
  }

  .project-main-image img {
    min-height: 260px;
    height: 260px;
  }

  .project-year {
    left: 16px;
    bottom: 16px;
  }

  .project-content {
    padding: 28px 23px 31px;
  }

  .project-content h2 {
    font-size: 26px;
  }

  .project-content p {
    font-size: 15px;
  }

  .project-detail {
    margin-top: 20px;
    padding: 28px 20px;
  }

  .project-detail-header {
    gap: 15px;
  }

  .project-detail-heading h2 {
    font-size: 27px;
  }

  .project-detail-description p {
    font-size: 16px;
  }

  .project-gallery {
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
  }

  .project-gallery-item {
    height: 160px;
  }

  .project-lightbox {
    padding: 65px 15px;
  }

  .project-lightbox-image {
    max-height: calc(100vh - 130px);
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 55px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }

  .lightbox-counter {
    bottom: 18px;
  }

  .projects-empty {
    padding: 40px 22px;
  }


  /* KONTAKT */

  .contact-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info {
    padding: 10px;
  }

  .contact-map iframe {
    height: 350px;
  }

  .contact-people {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .person {
    display: block;
    padding: 10px;
  }

  .person h3 {
    margin-bottom: 12px;
  }

  .person-name {
    margin-bottom: 15px;
  }

  .person-name.empty {
    display: none;
  }

  .person-detail {
    margin-bottom: 12px;
  }


  /* FORM */

  .inquiry-area {
    margin-top: 60px;
    padding-top: 55px;
  }

  .inquiry-title {
    font-size: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* ==================================================
   MALÉ MOBILY
================================================== */

@media (max-width: 500px) {

  .realization-image {
    height: 210px;
  }

  .detail-image {
    height: 230px;
  }

  .submit-button {
    width: 100%;
  }

  .project-main-image {
    height: 220px;
    min-height: 220px;
  }

  .project-main-image img {
    height: 220px;
    min-height: 220px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery-item {
    height: 220px;
  }

}
/* ==================================================
   REALIZÁCIA PRE – ODDELENIE OD POPISU
================================================== */

.project-realization-for {
  margin: -5px 0 22px;
  color: #222;
  font-size: 15px;
  line-height: 1.5;
}

.project-realization-for strong {
  font-weight: 700;
}

.project-detail-realization-for {
  margin-top: 13px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.project-detail-realization-for strong {
  color: #111;
  font-weight: 700;
}


/* ==================================================
   ODSEKY V DETAILNOM POPISE PROJEKTU
================================================== */

.project-detail-description p {
  margin: 0 0 20px;
}

.project-detail-description p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   ĎALŠIE REALIZÁCIE A SPOLUPRÁCE
================================================== */

.additional-realizations {
  margin-top: 30px;
  padding: 55px 55px 50px;
  background: white;
  border-radius: 8px;
  border-top: 3px solid #d60000;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
}

.additional-realizations-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.additional-realizations-heading {
  margin-bottom: 28px;
}

.additional-realizations-label {
  display: block;
  margin-bottom: 10px;
  color: #d60000;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.additional-realizations-heading h2 {
  margin: 0;
  color: #111;
  font-size: 30px;
  line-height: 1.25;
}

.additional-projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.additional-project-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  background: #f3f3f3;
  border-left: 3px solid #d60000;
  border-radius: 3px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.additional-realizations-description {
  max-width: 950px;
}

.additional-realizations-description p {
  margin: 0 0 20px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

.additional-realizations-description p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   NOVÉ PRVKY – TABLET
================================================== */

@media (max-width: 950px) {
  .additional-realizations {
    padding: 45px 40px;
  }
}


/* ==================================================
   NOVÉ PRVKY – MOBIL
================================================== */

@media (max-width: 800px) {
  .project-realization-for {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .project-detail-realization-for {
    margin-top: 10px;
    font-size: 14px;
  }

  .additional-realizations {
    margin-top: 15px;
    padding: 35px 23px;
  }

  .additional-realizations-heading h2 {
    font-size: 26px;
  }

  .additional-projects-list {
    gap: 8px;
    margin-bottom: 27px;
  }

  .additional-project-tag {
    padding: 8px 11px;
    font-size: 13px;
  }

  .additional-realizations-description p {
    font-size: 15px;
    line-height: 1.75;
  }
}
/* ==================================================
   OPRAVA POZÍCIE SEKCIE PO KLIKNUTÍ V MENU
   Zarovná začiatok sekcie pod navigáciu
================================================== */

#onas,
#oblasti-realizacie,
#projekty,
#kontakt {
  scroll-margin-top: 30px;
}
