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

:root{
  --primary:#2e465a;
  --accent:#d40000;
  --light:#fff;
  --text:#2e465a;
  --gray:#e1e6e9;
}

body{
  font-family:'Poppins',Arial,sans-serif;
  color:var(--text);
  background:#ffffff;
  transition:background 0.6s ease;
}

body.scrolled-bg{
  background: radial-gradient(1200px 800px at 20% -10%, rgba(11,27,51,0.15), transparent),
              linear-gradient(160deg, #f7f9fb 0%, #edf2f7 35%, #e8eef6 100%);
              background-color: #15223f;
}

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:6rem;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  transition:background .35s ease, box-shadow .35s ease;
  z-index:1000;
}
.navbar.scrolled{
  background: #2e465a;
  box-shadow:0 8px 24px rgba(0,0,0,.25)
}
.nav-container{
  width:92%;
  max-width:1200px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.logo{

  display:flex;
  align-items:center;
  gap:.6rem;
  text-decoration:none;
}


.logo img{
  height: 120px;
  width:auto
}
.logo span{
  font-weight:800;
  letter-spacing:.5px;
  color:#fff;
  text-transform:uppercase
}
.nav-links{
  list-style:none;
  display:flex;
  gap:1.6rem;
  align-items:center
}
.nav-links a{
  text-decoration:none;
  color:#fff;
  font-weight:700;
  position:relative;
  padding:.30rem 0;
  transition:color .2s;
  font-size: 20px;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  height:3px;
  width:0;
  background:var(--accent);
  transition:width .2s ease;
}
.nav-links a:hover{
  color:var(--accent)
}
.nav-links a:hover::after{
  width:100%
}

.nav-links a.active{
  color:var(--accent) !important;
  opacity: 1 !important;
}
.nav-links a.active::after{
  width:100% !important;
}

.menu-toggle{
  display:none;
  flex-direction:column;
  width:30px;
  height:22px;
  background:transparent;
  border:none;
  cursor:pointer
}
.menu-toggle span{
  height:3px;
  background:#fff;
  border-radius:2px
}

@media(max-width:900px){

  .menu-toggle{
    display:flex;
  }

  .header {
    background: url("../images/hero-img-900\ \(1\).webp") center/cover no-repeat;
  }

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;  
    width:75%;    
    height:100vh;
    background:var(--primary);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:1.8rem;
    padding:21.6rem 1rem;
    transition:right .3s ease;
    z-index:9999;
  }

  .nav-links.active{
    right:0; 
  }

  .nav-links a{
    font-size:1.2rem;
  }
}



.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: var(--light);
  background: url("../images/hero-img-1500.webp") center/cover no-repeat;
  padding: 0 5vw; 
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.8) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 0;
  animation: fadeInUp 1s ease;
    margin-left: 0;
    margin-right: auto;
  text-align: left;
  align-items: flex-start;  
  display: flex;
  flex-direction: column;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #f1f1f1;
}

.hero-content .red {
  color: var(--accent);
  font-weight: 600;
}

.hero-content .blue {
  color: #2d7be5;
  font-weight: 600;
}

.buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.25s;
}

.btn.red {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(212, 0, 0, 0.4);
}

.btn.red:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn.white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn.white:hover {
  background: #fff;
  color: var(--primary);
}

.section{
  padding:5rem 2rem;
  max-width:1200px;
  margin:0 auto;
  text-align:center;

}
.section.alt{
  background:#f7f9fb;
  border-radius:18px
}
.section h2{
  font-size:2.2rem;
  color: #000000;
}
.line{
  width:64px;
  height:4px;
  background:var(--accent);
  border:none;
  margin:.8rem auto 2rem
}
.section p{
  font-size:1.08rem;
  line-height:1.8;
  color:#222;
  margin-bottom:1.6rem
}
.ulist{
  list-style:none;
  margin-top:.8rem
}
.ulist li{
  font-weight:700;
  margin:.35rem 0
}
.contact-container{
  display:flex;
  flex-wrap:wrap;
  gap:2.5rem;
  justify-content:center;
  align-items:flex-start;
  margin-top:1.5rem;
}

.contact-container {
  background: transparent;
}
.contact-form{
  flex:0 1 420px;
  background:#f7f9fb;
  padding:2rem;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.08)
}
.contact-form label{
  display:block;
  text-align:left;
  font-weight:700;
  margin-top:1rem
}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #cfd6de;
  background:#fff;
  margin-top:.4rem;
  transition:border .2s;
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:none;
  border-color:var(--accent)
}
.contact-form button{
  margin-top:1.2rem;
  width:100%
}
.gdpr{
  font-size:.85rem;
  color:#555;
  margin-top:.6rem
}

.contact-info{
  flex:0 1 380px;
  background: #232e45;
  color:#fff;
  padding:2rem;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.2)
}
.contact-info a{
  color:#fff;
  text-decoration:none;
  font-weight:700
}
.contact-info a:hover{
  color:var(--accent)
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


.company-info p{
  color: #fff;
}

.people-info p{
  color: #fff;
}

.img-right img{
  width:100%;
  margin-top:1.2rem;
  border-radius:10px;
  opacity:.9
}

footer{
  background:var(--primary);
  color:#fff;
  text-align:center;
  padding:1.4rem 0
}

@keyframes fadeInUp{
  from{opacity:0;
    transform:translateY(24px)}
    to{opacity:1;transform:translateY(0)}
  }

@media (max-width: 768px) {

  .header{
    background: url("../images/hero-img-768px.webp") center/cover no-repeat;
  }

  .contact-container {
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 1rem !important;
    gap: 2rem !important;
  }
}

@media(max-width:480px){

  .header {
    background: url("../images/hero-img480px.webp") center/cover no-repeat;
  }

  .menu-toggle{
    display:flex;
  }

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;  
    width:80%;    
    height:100vh;
    background:var(--primary);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:1.6rem;
    padding:2rem 1.2rem;
    transition:right .3s ease;
    z-index:9999;
  }

  .nav-links.active{
    right:0;  
  }

  .nav-links a{
    font-size:1.1rem;
  }
}


  .contact-info {
    width: 100% !important;
    padding: 2rem 1.5rem !important;
    border-radius: 12px;
  }

  .contact-form {
    width: 100% !important;
    padding: 2rem 1.5rem !important;
  }

  .g-recaptcha {
    transform: scale(0.87);
    transform-origin: 0 0;
  }


@media (max-width: 768px) {
  .contact-info {
    background: var(--primary); 
    min-width: unset !important;
  }
}


.slider-cards {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #15223f;
  padding: 8vh 0;
}

.slider-cards .card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(500px, 86vw);
  min-height: 380px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(13, 31, 55, 0.18);
  text-align: center;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0.3;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}


.slider-cards .card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  filter: none;
}

.slider-cards .card.next {
  transform: translate(calc(-50% + 500px), -50%) scale(0.9);
  opacity: 0.7;
  filter: blur(1px);
  cursor: pointer;
}

.slider-cards .card.next::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(196, 215, 255, 0.9), rgba(196, 215, 255, 0));
}

.slider-cards .card.prev {
  transform: translate(calc(-50% - 500px), -50%) scale(0.9);
  opacity: 0.7;
  filter: blur(1px);
  cursor: pointer;
}

.slider-cards .card.prev::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(196, 215, 255, 0.9), rgba(196, 215, 255, 0));
}

.slider-cards .card h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #0b1b33;
  margin-bottom: 1rem;
}

.slider-cards .card p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  color: #111;
}

.slider-cards .card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.slider-cards .card li {
  font-weight: 600;
  color: #222;
  margin: 0.25rem 0;
}

.slider-cards .dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.slider-cards .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-cards .dot.active {
  background: #d40000;
}

.slider-cards .dot:hover {
  transform: scale(1.1);
}

.gallery-section{
  background: #15223f;
  padding: 3.5rem 2rem;
  text-align: center;
}

.gallery-section h2{
  color: #fff;
  font-size: 2.2rem;
}

.gallery-grid{
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item{
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  cursor: pointer;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}


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

.gallery-overlay{
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.92); 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 99999;
}

.gallery-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.gallery-full{
  max-width: 90%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: zoomIn .35s ease;
}

.gallery-close{
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
}

.gallery-item.portrait {
  aspect-ratio: 3 / 4; /* výška väčšia než šírka */
}

.gallery-item.landscape {
  aspect-ratio: 4 / 3; /* šírka väčšia než výška */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* stredný obrázok širší */
  gap: 1.6rem;
  max-width: 1200px;
  margin: 3rem auto 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  cursor: pointer;
}

/* Krajne obrázky - vysoké */
.gallery-item.portrait {
  aspect-ratio: 2.65 / 4;
}

/* Stredný obrázok - široký */
.gallery-item.landscape {
  aspect-ratio: 4 / 3;
}

/* Obrázky sa prispôsobia kontajneru */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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



@keyframes zoomIn{
  from{
    transform: scale(.9);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}
.g-recaptcha iframe {
    visibility: visible !important;
    opacity: 1 !important;
}

.g-recaptcha > div {
    margin-bottom: 0 !important;
}

.g-recaptcha iframe {
    display: inline-block !important;
}

.g-recaptcha + div {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 980px) {
  .slider-cards .card {
    width: 90vw;
  }

  .slider-cards .card.next,
  .slider-cards .card.prev {
    display: none;
  }

  .slider-cards {
    min-height: 600px;
  }
}
.cards-viewport .card.prev,
.cards-viewport .card.next {
  cursor: pointer;
}
.cards-viewport .card { pointer-events: auto; }
.cards-viewport .card::after { pointer-events: none; }


.header {
  background: url("../images/hero-img-1500.webp") center/cover no-repeat;
}


#galleryOverlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.9);
}

#galleryOverlay.active {
  display: flex;
}

#galleryFullImg {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
}



a.link,
a.link:visited,
a.link:hover,
a.link:active {
    color: #6ea8ff !important;
    text-decoration: underline !important;
}




