* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden  !important;
  color: var(--primary-text);
}

:root {
  --primary-color: #1389CA;
  --primary-gradient: linear-gradient(90deg,#1389ca 29%, #0c5c87 87%);
  --primary-hover: #658f3b;
  --primary-text: #414042;
}

/* Headings*/
h1 {
  font-size: 3.625rem;
}
h2 {
  font-size: 2.5rem;
  font-weight: 600;
}
h2 span {
  color: var(--primary-color);
  font-weight: 800;
}
h3 {
  font-size: 2rem;
}
.content-div{
    position: relative;
    z-index: 0;
}
.content-div p {
  max-width: 500px;
  word-break: 100%;
  gap: 0.5rem;
  
}
/* BTNS */
.btn {
  padding: 0.5rem 1.5rem !important;
  border-radius: 2rem;
}
.primary-btn {
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
  transition: color 0.2s;
  font-weight: 500;
  width: fit-content;
}
.primary-btn span,
.primary-btn svg {
  position: relative;
  z-index: 0;
}
.primary-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #1389CA;
  filter: blur(10px);
  z-index: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.primary-btn:hover::before {
  width: 100%;
}
.secondary-btn {
  background-color: rgba(255, 255, 255, 0) !important;
  color: var(--primary-color);
}
.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.664);
  color: var(--primary-color);
}
.service-btn{
    font-size: 0.8rem;
}
.offcanvas-btn{
    width: 100%;
    justify-content: center;
    border: white 1px solid;
    background: none;
}
/* VAR */
.space-between {
  margin-bottom: 6.25rem;
}
/* Navigation */
.navbar-toggler {
  border:none;
}
.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}
.nav-link {
  font-weight: 500;
  transition: color 0.3s ease-in;
}
.nav-link:hover {
  color: var(--primary-color) !important;
}
/* Hero */
.hero {
  height: 80vh;
  width: 100vw;
  background-image: url("../images/hero-background1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(64, 64, 64, 0) 125%
  );
  z-index: 0;
  pointer-events: none;
  
}
.hero-content {
  position: relative;
  z-index: 0;
}
.hero-content h1 {
  max-width: 700px;
  width: 100%;
}
.hero-content h1 span {
  font-weight: 700;
}
.hero-content p {
  max-width: 500px;
  width: 100%;
}
/* About us*/
.about-us-image-wrapper {
  height: 500px;
  width: 100%;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
}
.about-us-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Service */
.service-card {
  padding: 3rem 2.4375rem;
  color: white;
  border-radius: 2rem;
  background-image: url("../images/service-card.png");
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
  min-height: 41vh;
}
.service-card.service-card-background {
  background-image: url("../images/about-us-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.service-card.service-card-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #414042e8;
  z-index: 0;
  pointer-events: none;
  border-radius: 2rem;
}
.service-hover-effect {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  justify-content: flex-end;
  padding: 1rem 1rem;
}
.service-hover-content h2{
    font-size: 1.8rem;
}
.service-hover-content p{
    font-size: 0.8rem;
}
.service-hover-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.6);
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}
.service-hover-effect {
  position: relative;
  overflow: hidden;
}
.service-hover-effect::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.service-hover-effect:hover::after {
  transform: scale(1.12);
}
.service-hover-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.6);
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

 .service-img{
    border-radius: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
 }


/* Projects Gallery */
.slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery-container {
  width: 100%;
}
.gallery-container .gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 60vh;
  gap: 1rem;
}
.gallery-container .gallery-wrap .item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: 0.8s ease;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
}
.gallery-container .gallery-wrap .item::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery-container .gallery-wrap .item:hover::before {
  opacity: 1;
}
.gallery-container .gallery-wrap .item:hover {
  flex: 3;
}
.gallery-container .item:first-of-type {
  background-image: url("../images/about-us-background.jpg");
}
.gallery-container .item:nth-of-type(2) {
  background-image: url("../images/about-us-background.jpg");
}
.gallery-container .item:nth-of-type(3) {
  background-image: url("../images/about-us-background.jpg");
}
.gallery-container .item:nth-of-type(4) {
  background-image: url("../images/about-us-background.jpg");
}
.gallery-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-container .gallery-wrap .item:hover .gallery-text {
  opacity: 1;
}
.gallery-text p {
  font-size: 0.875rem;
}
.instagram p {
  color: var(--primary-color);
  font-weight: 600;
}
/* Socials */
#social-splide .splide__slide {
  
  height: 204px;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff; /* alebo transparent */
  display: flex;
  align-items: center;
  justify-content: center;
}
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}
.gallery-container .gallery-wrap .item.active,
.gallery-container .gallery-wrap .item:hover {
  flex: 3;
}
.gallery-container .gallery-wrap .item.active::before {
  opacity: 1;
}
.gallery-container .gallery-wrap .item.active .gallery-text {
  opacity: 1;
}

/* Contact */
#sendContact a{    color: var(--primary-color) !important;
}
.contact-container {
  padding: 80px 40px;
  background: var(--primary-gradient);
  border-radius: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.contact-form {
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.contact-form .form-group {
  margin-bottom: 30px;
  position: relative;
}
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.contact-form .form-control {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  font-size: 16px;
  color: #333333;
  transition: all 0.3s ease;
  outline: none;
  border-radius: 0;
}
.contact-form .form-control:focus {
  border-bottom-color: #1389CA;
  box-shadow: 0 2px 0 0 #1389CA;
}
.contact-form .form-control::placeholder {
  color: #999999;
  opacity: 0.7;
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
  padding-top: 15px;
}
iframe {
  height: 20rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  width: 100%;
}
/* Footer */
.footer-section {
  background: #363636;
  color: #fff;
  font-size: 15px;
  padding-top: 40px;
  padding-bottom: 20px;
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 10px;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #d3d3d3;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #1389CA;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d3d3d3;
  font-size: 15px;
}
.footer-contact i {
  font-size: 1.1rem;
  color: #1389CA;
}
.footer-social {
  margin-top: 10px;
}
.footer-social-icon {
  width: 32px;
  height: 32px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1389CA;
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social-icon:hover {
  background: #1389CA;
  color: #fff;
}
.footer-bottom {
  color: #bbb;
  margin-top: 30px;
  font-size: 0.875rem;
}
.footer-bottom a {
  color: var(--primary-color);
}

/* SUBPAGES */
/* ABOUT US*/
.subpage{
    height: 50vh;
}
.subpage p{
    max-width: 800px !important;
}
.about-us-img{
    border-radius: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
}
.service-icons-card{
    justify-content: center;
    align-items: center;
    padding: 3rem 0rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
    border-radius: 2rem;
    gap: 1rem;
}
.service-icons-card h2{
    font-size: 1.5rem;
}
.service-icons-card p{
    max-width: 222px;
    width: 100%;
}
.project-page-card{
    position: relative;
     overflow: hidden;
    padding: 2rem 1rem;
    padding-top: 15rem;
    border-radius: 2rem;
    color: white !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.project-page-card h3{
    font-size: 1.5rem ;
}
.project-page-card__overlay {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    background: rgba(30,30,30,0.4);
    transition: background 0.3s;
    z-index: 0;
}
.project-page-card__content {
    position: absolute;
    inset: 0;
    z-index: 0;
    color: white;
    padding: 2rem 1rem 0rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.3s, transform 0.4s;
    pointer-events: none;
}
.project-page-card:hover .project-page-card__overlay {
    background: rgba(30,30,30,0.60);
}
.project-page-card:hover .project-page-card__content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.project-page-card:hover .project-page-card__bg {
    transform: scale(1.04);
}
.contact-card{
    background: var(--primary-gradient);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
    border-radius: 2rem;
    min-height: 16.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
    color: white;
    align-items: center;
}
.contact-raw p{
    margin-bottom: 0;
}

#projectSplide {
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


#projectSplide .splide__track {
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
}

#projectSplide .splide__list {
    height: 100%;
}
#projectSplide .splide__slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0; 
    overflow: hidden;
}
#projectSplide .splide__slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
#projectSplide .splide__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}
#projectSplide .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    display: block;
    border-radius: 0; 
}
.project-page-image img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.238);
    border-radius: 2rem;
}
.project-more-images {
    background-color: rgba(230, 230, 230, 0.247) !important;
    border-radius: 2rem;
}
.contact-p{
    font-size: 12px;
}
.form-check-input{
    margin-top: 0 !important;
}
.checkbox-label a{
    color: var(--primary-color);
}
.form-check-input:focus{
    box-shadow: none;
}
.form-check-input:checked{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.footer-contact li a > span{
    color: #d3d3d3;
}
.offcanvas-body .navbar-nav .nav-link{
    color: white;
    font-size: 1.5rem;
}
.offcanvas{
    background-image: url(../images/hero-background.png);   
}
.offcanvas::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 21%, rgba(0, 0, 0, 0) 208%);
    z-index: -1; 
    pointer-events: none; 
}
.footer-contact li a > span:hover{
    color: var(--primary-color) !important;
}
div#thumbsRow{
    position: relative;
    z-index: 0;
}
.dropdown-item{
    font-weight: 600;
}
.dropdown-item:active{
    background-color: var(--primary-color);
}

.service-content p{
    margin-bottom: 0 !important;
}

.service-content h2{
   font-size: 1.7rem;
}

.service-content ul {
  list-style: none; /* skry klasické bodky */
  padding: 0;
  margin: 0;
}

.service-content ul li {
  position: relative;
  padding-left: 30px; /* rezerva na SVG */
  margin-bottom: 12px;
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;   /* šírka SVG */
  height: 6px;  /* výška SVG */
  transform: translateY(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'><polygon points='10,30 20,10 90,10 80,30' fill='%231E88E5'/></svg>") no-repeat center;
  background-size: contain;
}

.service-content h4{
    padding: 0.25rem 1rem;
    background-color: var(--primary-color);
    width: fit-content;
    color: white;
    font-size: 1.2rem;
}

.splide-arrows-custom {
  border: none;
  background: var(--primary-gradient);
  padding: 0.5rem;
  aspect-ratio: 1 / 1;   
  border-radius: 50%;   
}

.gallery-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;   
  overflow: hidden;   
  border-radius: 2rem;  
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;    
}


.splide-arrows-custom.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.contact a{
    color: white !important;
    text-decoration: none !important;
}

