@font-face {
  font-family: 'MyCustomFont';
  src: url('../WinslowBook-LightItalic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}



a {
  color: #0726a8;
  text-decoration: none;
}


a:hover {
  color: #3b8af2;
  text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}


/*--------------------------------------------------------------

# Preloader

--------------------------------------------------------------*/

#preloader {
  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  z-index: 9999;

  overflow: hidden;

  background: #5e5b5d;

}



#preloader:before {

  content: "";

  position: fixed;

  top: calc(50% - 30px);

  left: calc(50% - 30px);

  border: 6px solid #950518;

  border-top-color: #251e21;

  border-radius: 50%;

  width: 60px;

  height: 60px;

  animation: animate-preloader 1s linear infinite;

}



@keyframes animate-preloader {

  0% {

    transform: rotate(0deg);

  }



  100% {

    transform: rotate(360deg);

  }

}



/*--------------------------------------------------------------

# Back to top button

--------------------------------------------------------------*/

.back-to-top {

  position: fixed;

  visibility: hidden;

  opacity: 0;

  right: 15px;

  bottom: 15px;

  z-index: 996;

  background: #950419;

  width: 40px;

  height: 40px;

  border-radius: 4px;

  transition: all 0.4s;

}



.back-to-top i {

  font-size: 28px;

  color: #fff;

  line-height: 0;

}



.back-to-top:hover {

  background: #950019;

  color: #fff;

}



.back-to-top.active {

  visibility: visible;

  opacity: 1;

}



/*--------------------------------------------------------------

# Disable aos animation delay on mobile devices

--------------------------------------------------------------*/

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0 10px; /* Initial padding for spacing */
  background: transparent;
  z-index: 997;
  /* Add padding to the transition to make header shrinkage smooth */
  transition: background 0.9s, box-shadow 0.3s, padding 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
  /* Reduce header padding when scrolled to make it smaller */
  padding: 10px 0;
}



.logo-wrapper {
  overflow: hidden; /* Ensures content doesn't spill during transition */
  opacity: 1;
  transform: translateY(0);
  max-height: 70px; /* Ensures the logo fits initially */

  /* Smooth transition for opacity, transform, and padding */
  transition: opacity 1.5s ease, transform 1.5s ease, padding 1.5s ease;
}

.logo-wrapper.collapsed {
  opacity: 0; /* Fade out the entire logo wrapper */
  transform: translateY(-100%); /* Move it completely upwards to disappear */
  padding: 0; /* Collapse the padding to reduce space */
  max-height: 0; /* Ensure it takes up no vertical space once collapsed */
}

#logo {
  opacity: 1; /* Initial state: logo is fully visible */
  transform: translateY(0); /* Initial state: no vertical movement */
  transition: opacity 3.5s ease, transform 3.5s ease; /* Smooth transition for the logo itself */
}

#logo.fade-out {
  opacity: 0; /* Make the logo invisible */
  transform: translateY(-10px); /* Move it slightly up as it fades */
}

/*--------------------------------------------------------------

# Navigation Menu

--------------------------------------------------------------*/

/**

* Desktop Navigation 

*/

/* Navbar Styling */

.navbar {
  display: flex;
  justify-content: center;
  background: transparent;
}

.navbar ul {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.navbar a {
  color: white;
  font-size: 17px;
  font-weight: 600;
  padding: 5px 10px;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a.active {
  color: #d4af37; /* Gold */
}

.navbar a:hover {
  color: #d4af37;
}




/**

* Mobile Navigation 

*/

.mobile-nav-toggle {

  color: white;

  font-size: 28px;

  cursor: pointer;

  display: none;

  line-height: 0;

  transition: 0.5s;

}



.mobile-nav-toggle.scrolled {

    color: white;

}



.mobile-nav-toggle.bi-x {

  color: #fff;

}



@media (max-width: 991px) {

  .mobile-nav-toggle {

    display: block;

  }



  .navbar ul {

    display: none;

  }

}



.navbar-mobile {

  position: fixed;

  overflow: hidden;

  top: 0;

  right: 0;

  left: 0;

  bottom: 0;

  background: rgba(9, 9, 9, 0.9);

  transition: 0.3s;

  z-index: 999;

}



.navbar-mobile .mobile-nav-toggle {

  position: absolute;

  top: 15px;

  right: 15px;

}



.navbar-mobile ul {

  display: block;

  position: absolute;

  top: 55px;

  right: 15px;

  bottom: 15px;

  left: 15px;

  padding: 10px 0;

  background-color: #fff;

  overflow-y: auto;

  transition: 0.3s;

}



.navbar-mobile a,

.navbar-mobile a:focus {

  padding: 10px 20px;

  font-size: 15px;

  color: #222222;

}



.navbar-mobile>ul>li {

  padding: 0;

}



.navbar-mobile a:hover:before,

.navbar-mobile li:hover>a:before,

.navbar-mobile .active:before {

  visibility: hidden;

}



.navbar-mobile a:hover,

.navbar-mobile .active,

.navbar-mobile li:hover>a {

  color: #950419;

}



.navbar-mobile .getstarted,

.navbar-mobile .getstarted:focus {

  margin: 15px;

}



.navbar-mobile .dropdown ul {

  position: static;

  display: none;

  margin: 10px 20px;

  padding: 10px 0;

  z-index: 99;

  opacity: 1;

  visibility: visible;

  background: #fff;

  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);

}



.navbar-mobile .dropdown ul li {

  min-width: 200px;

}



.navbar-mobile .dropdown ul a {

  padding: 10px 20px;

}



.navbar-mobile .dropdown ul a i {

  font-size: 12px;

}



.navbar-mobile .dropdown ul a:hover,

.navbar-mobile .dropdown ul .active:hover,

.navbar-mobile .dropdown ul li:hover>a {

  color: #0726a8;

}



.navbar-mobile .dropdown>.dropdown-active {

  display: block;

}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
  width: 100%;
  height: 160vh;
  position: relative;
  background-color: #171413;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  padding-top: 100px;
}

#hero::before {
  content: "";
  position: absolute;
  background-image: url("../img/opacity-bg.png");
  background-size: cover;
  background-position: center;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

#hero .container {
  position: relative;
  max-width: 1400px;
    display: flex;
    justify-content: center;
  z-index: 2;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: center; 
  flex-wrap: wrap;
}

.image-side {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.image-side img {
  width: 100%;
  height: auto;
  max-width: 700px;
  object-fit: contain;
}

.text-side {
  color: white;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  margin-top: 10%;
}


.text-side p {
  font-family: 'MyCustomFont', sans-serif;
  color: #ccc;
  font-size: 30px;
  margin-bottom: 15px;
}

.text-side p.small {
  font-size: 20px;
  color: #aaa;
  margin-bottom: 30px;
}

.dugmad {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.dugmad a button {
  background-color: #e8c50a;
  color: black;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.dugmad a button:hover {
  background-color: #28243c;
  color: white;
}

/* Desktop Specific Enhancements */
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}


@media (min-width: 1024px) and (max-width: 1600px) {
    #hero{
        min-height: 180vh;
    }
}

/* Clean Mobile Responsiveness */
@media (max-width: 768px) {
  #hero {
    height: auto; /* Changed from 100vh to auto for better flexibility */
    min-height: 100vh; /* Ensures it covers full viewport */
    padding: 40px 0; /* Adds some padding */
  }

  .hero-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90vw; /* Slightly more width for better text flow */
    margin-top: 0 !important; /* Removed the large margin */
    height: 100%; /* Takes full height of parent */
  }

  .image-side,
  .text-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  .image-side img {
    max-width: 100%;
    height: auto;
  }

  .text-side {
    text-align: center;
    order: 2; /* Makes text appear after image if needed */
  }

  .dugmad {
    justify-content: center;
    width: 100%;
  }

  .dugmad a button {
    width: 100%;
    max-width: 300px;
  }
}

/* Short Viewport Height */
@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }

  .hero-row {
    margin-top: 0px;
  }
}


@media (max-width: 768px) {
 .container{
     padding-top: 120px;
 }
 
 .text-side p{
     font-size:25px;
 }
}






.hero2-section {
    background-color: #0a0a0a; /* Fallback dark background */
    background-image: url('../img/about-bg.webp'); /* Replace with your image path */
    background-size: cover;         /* Ensures full coverage */
    background-position: center;    /* Centers the image */
    background-repeat: no-repeat;   /* Prevents tiling */
    padding: 60px 0;
    min-height: 110vh;
}

.collage-image{
    
    min-height: 60%;
    max-height: 70%;
}



@media (max-width: 768px) {
  .hero2-section {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: auto !important;
    aspect-ratio: 4 / 5; 
    min-height: auto !important;
    max-height: none !important;
    padding: 0px !important;
  }


  .collage-image{
    display: none;
  }
}


/*-------- CATEGORIES SECTION--------*/

.categories-section {
  background-color: #171413;
  padding: 30px 0;
}

.category-box {
  margin-bottom: 40px;
}

.category-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Raise 2nd and 4th cards */
.category-box:nth-child(2),
.category-box:nth-child(4) {
  margin-top: -30px;
}

.category-box img:hover {
  transform: scale(1.03);
}

.category-box h5 {
  font-weight: 600;
  margin-top: 15px;
}

.btn-category {
  background-color: #e8c50a;
  color: black;
  padding: 8px 20px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
  display: inline-block;
}

.btn-category:hover {
  background-color: #28243c;
  color: white;
}



/*--------------------------------------------------------------

# Sections General

--------------------------------------------------------------*/

section {
  padding: 40px 0;
  overflow: hidden;
}



.section-bg {
  background-color: #f6f9fe;
}



.section-title {
  text-align: center;
  padding-bottom: 30px;
}



.section-title h2 {
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  color: black;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
}



.section-title h3 {
  margin: 15px 0 0 0;
  font-size: 32px;
  font-weight: 700;
}



.section-title p {
  margin: 15px auto 0 auto;
  font-weight: 600;
}



@media (min-width: 1024px) {

  .section-title p {
    width: 50%;
  }

}




/*--------------------------------------------------------------

# About

--------------------------------------------------------------*/



.about-section {
  background-color: #070607;
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-icons {
  text-align: center;
  margin-bottom: 30px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #e8c50a;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-family: 'MyCustomFont', sans-serif;
}

.about-text {
  flex: 1 1 60%;
}

.about-text h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  font-family: 'MyCustomFont', sans-serif;
  text-align: center;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  flex: 1 1 35%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-image {
    margin-top: 30px;
  }
}




/*--------------------------------------------------------------

# Services

--------------------------------------------------------------*/
.services-section {
  background-color: #202120;
  color: white;
  padding: 60px 20px;
}

.services-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  color: white;
}

.service-box {
  margin-bottom: 30px;
}

.service-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-btn {
  background-color: #e8c50a;
  color: black;
  font-weight: 600;
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.service-btn:hover {
  background-color: #28243c;
  color: white;
}

.services-image {
  max-width: 80%;
  height: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .services-section .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-box {
    text-align: center;
  }

  .service-btn {
    margin: 0 auto;
  }

  .services-image {
    margin: 30px 0;
  }
}




/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
#testimonials {
  background: linear-gradient(to bottom, #202120 0%, #1b1b1c 50%, #181918 100%);
  padding: 60px 0;
}

.testimonial-card {
  background-color: #121212; /* Soft dark card background */
  color: #eaeaea;            /* Light text for readability */
  border: 1px solid #2a2a2a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.testimonial-card img {
  border: 2px solid #d9232d;
}

.section-title h2 {
  font-weight: bold;
  color: #ffffff;
}

.section-title h3 {
  color: #aaaaaa;
  font-weight: 500;
}

.section-title h2 span {
  color: #d9232d;
}




.gallery-section {
  background: linear-gradient(to bottom, #0a0a0a 0%, #151515 50%, #202120 100%);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}






.cta-section {
  background: url('../img/kontakt-new.webp') center center / cover no-repeat;
  background-color: rgba(0, 0, 0, 0.9); 
  position: relative;
  padding: 100px 0;
}


.cta-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #f1c40f;
  color: #000;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover {
  background-color: #e0b70f;
  color: #fff;
}

.cta-contact p {
  margin: 5px 0;
  font-size: 1rem;
}

.cta-contact a {
  text-decoration: underline;
}





/*--------------------------------------------------------------

# Footer

--------------------------------------------------------------*/
.custom-footer {
  background-color: #201c1c;
  color: #fff;
}

.custom-footer a {
  color: #fff;
  text-decoration: none;
}

.custom-footer a:hover {
  color: #f1c40f;
  text-decoration: underline;
}

.social-icons a {
  font-size: 1.4rem;
  margin: 0 10px;
  color: #fff;
  display: inline-block;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #f1c40f;
}

.footer-links {
  padding: 0;
  margin-top: 1rem;
}

.footer-links li {
  margin: 5px 0;
}

.footer-links li a {
  font-weight: 500;
}








