@font-face {
  font-family: "Ayar-Juno";
  src: url("/assets/fonts/Ayar-Juno/Ayar-Juno.ttf.woff") format("woff"),
    url("/assets/fonts/Ayar-Juno/Ayar-Juno.ttf.svg#Ayar-Juno") format("svg"),
    url("/assets/fonts/Ayar-Juno/Ayar-Juno.ttf.eot"),
    url("/assets/fonts/Ayar-Juno/Ayar-Juno.ttf.eot?#iefix")
      format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}

/* ==================================================
   Base Styles
   ================================================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("/assets/img/bg.svg") no-repeat bottom center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh; /* Ensure the body takes at least full viewport height */
}

/* Hide scrollbar but maintain scroll functionality */
body::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

/* ==================================================
     Main Content
     ================================================== */
main {
  padding-top: 90px; /* Adjust to the height of the header */
  padding-bottom: 56px; /* Adjust to the height of the footer */
}

.section-heading {
  font-size: 3.5rem; /* Adjust the font size */
  font-weight: bold; /* Make the font bold */
  font-family: "Ayar-Juno";
  color: #ffd700; /* Change the color to a nice yellow */
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: uppercase; /* Make the text uppercase */
}

.section-heading::after {
  content: "";
  width: 6rem; /* Adjust the width of the decorative line */
  height: 0.2rem; /* Adjust the height of the decorative line */
  background-color: #ffd700; /* Use the same color as the text */
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 2px; /* Rounded corners for the line */
}

/* ==================================================
     Header
     ================================================== */
header {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand h1 {
  margin: 0;
  color: #f9ed24; /* yellow */
  font-family: "Ayar-Juno";
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.navbar-nav .nav-item {
  margin-left: 1rem;
}

.navbar-nav .nav-link {
  text-decoration: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #333 !important;
  background-color: #f9ed24;
}

.navbar-toggler {
  border-color: #fff;
}

.navbar-toggler i {
  color: #fff !important;
}

/* ==================================================
     Hero Section
     ================================================== */
.hero {
  position: relative;
  overflow: hidden;
  max-height: calc(100vh - 146px);
}

#desktop-hero .carousel-item img {
  object-fit: cover;
  height: 100vh;
}

#desktop-hero .carousel-caption {
  bottom: 20%;
}

#desktop-hero .carousel-caption .caption-bg {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
}

#mobile-hero .hero-content img {
  width: 100%;
  height: auto;
}

#mobile-hero .overlay {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 5%);
  background: rgba(0, 0, 0, 0.6);
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

#mobile-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#mobile-hero p {
  font-size: 1.2rem;
}

/* ==================================================
     Services Section
     ================================================== */
.services {
  padding: 10rem 1rem; /* Increased padding for more spacing */
  text-align: center;
}

.services h3 {
  color: #f9ed24; /* yellow */
  font-size: 3rem; /* Increase font size for prominence */
  font-weight: bold;
  margin-bottom: 2rem;
  text-transform: uppercase; /* Add text transformation for prominence */
}

.service-card {
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  border-radius: 10px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.service-card i {
  color: #f9ed24; /* yellow */
}

/* ==================================================
     Gallery Section
     ================================================== */
.gallery {
  padding: 10rem 1rem; /* Increased padding for more spacing */
  text-align: center;
}

.gallery-container {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 1rem;
  border-radius: 10px;
}

.gallery h3 {
  color: #f9ed24; /* yellow */
  font-size: 3rem; /* Increase font size for prominence */
  font-weight: bold;
  margin-bottom: 2rem;
  text-transform: uppercase; /* Add text transformation for prominence */
}

.gallery-item {
  margin-bottom: 1rem;
}

#gallery-container img {
  transition: transform 0.3s ease;
}

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

/* ==================================================
     Contact Section
     ================================================== */
.contact {
  padding: 8rem 1rem 18rem; /* Increased padding for more spacing */
  text-align: center;
}

.contact h3 {
  color: #f9ed24; /* yellow */
  font-size: 3rem; /* Increase font size for prominence */
  font-weight: bold;
  margin-bottom: 2rem;
  text-transform: uppercase; /* Add text transformation for prominence */
}

.contact-card {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.contact-card .card-body {
  padding: 20px;
}

.contact-card h5 {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #f9ed24; /* yellow */
}

.contact-card form .input-group label {
  color: #f9ed24;
}

.contact-card form .input-group input,
.contact-card form .input-group span,
.contact-card form .input-group textarea {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
}

.contact-card form .input-group input::placeholder,
.contact-card form .input-group textarea::placeholder {
  color: #fff;
}

.contact-card form .btn {
  background: #f9ed24;
  color: #333;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.contact-card form .btn:hover {
  background: #f9ed24;
}

/* ==================================================
     Footer
     ================================================== */
footer {
  position: relative;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 1rem 0;
}

.footer-content {
  position: relative;
  text-align: center;
}

.footer-text {
  position: relative;
  color: #fff;
  font-weight: bold;
}

.footer-brand {
  font-family: "Ayar-Juno";
}

/* ==================================================
     Miscellaneous
     ================================================== */
/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f9ed24;
  border: none;
  color: #333;
  font-size: 2rem;
  width: 60px; /* Ensure the width is equal to the height */
  height: 60px; /* Ensure the height is equal to the width */
  border-radius: 50%; /* This will make it perfectly round */
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-to-top.show {
  display: flex;
}

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

/* Imprint Card */
.imprint-card {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.imprint-card .card-body p {
  margin-bottom: 1.5rem;
}

/* Datenschutz Card */
.datenschutz-card {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  border-radius: 10px;
  margin: 0 auto;
  padding: 2rem;
}

.datenschutz-card .card-body p {
  margin-bottom: 1.5rem;
}

/* Modal adjustments */
.modal-xl {
  max-width: 50%;
}

.modal-body {
  padding: 0;
}

/* ==================================================
     Responsive Design
     ================================================== */

@media (max-width: 992px) {
  #gallery-container {
    column-count: 4;
  }
}

@media (max-width: 768px) {
  .navbar-brand h1 {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 30px;
  }

  .navbar-nav .nav-item {
    margin-left: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.5rem;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  #gallery-container {
    column-count: 4;
  }

  #desktop-hero .carousel-item img {
    height: 60vh;
  }

  #desktop-hero .carousel-caption {
    bottom: 10%;
  }

  #desktop-hero .carousel-caption .caption-bg {
    padding: 10px;
  }

  #desktop-hero .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .section-heading {
    font-size: 2rem; /* Adjust the font size for smaller screens */
  }

  .section-heading::after {
    width: 40px; /* Adjust the width of the decorative line for smaller screens */
  }
}

@media (max-width: 576px) {
  #gallery-container {
    column-count: 1;
  }

  #desktop-hero .carousel-item img {
    height: 50vh;
  }

  #desktop-hero .carousel-caption {
    bottom: 5%;
  }

  #desktop-hero .carousel-caption .caption-bg {
    padding: 8px;
  }

  #desktop-hero .carousel-caption h2 {
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 1.8rem; /* Adjust the font size for extra small screens */
  }

  .section-heading::after {
    width: 30px; /* Adjust the width of the decorative line for extra small screens */
  }

  #scrollToTopBtn {
    display: none;
  }
}

/* ==================================================
     Map Responsive
     ================================================== */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  top: 55%;
}
