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

body {
  font-family: var(--bs-font-sans-serif);
}

a {
  color: #228200 !important;
}
a:hover {
  color: #A02196 !important;
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', serif;
}
h5, h6, .section_heading h5 {
  font-family: 'Instrument Sans', sans-serif;
  text-transform: uppercase;
}
strong {
  font-weight: 600 !important;
}

/* Navbar */
#mainNav {
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: top 0.3s ease-in-out;
}
.nav-link.active {
  color: #A02196 !important;
}
.navbar-toggler {
  border: none !important;
}
.navbar-toggler i {
  font-size: 2.5rem;
}
/* Hero Section */
.hero-section {
  background-image: url('../img/visual_klassik-openair-osnabrueck.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
/* Hero Footer */
.hero-footer {
  background-image: url('../img/koo_buehne.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  position: relative;
}

/* sections */
.section_heading h2 {
  text-transform: uppercase;
  color: #A02196;
}
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;

  @media (min-width: 768px) {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
.bg-grey {
    background-color: #f6f6f6 !important;
}

/* Mini Cards */
.card-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}
.gallery-item h4 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.gallery-item h6 {
  font-weight: 600;
}
.overlay-box {
  /* always visible by default */
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: 24px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
/* For hover-capable devices ONLY */
@media (hover: hover) and (pointer: fine) {
  .overlay-box {
    opacity: 0;
    pointer-events: none;
  }
  .gallery-item:hover .overlay-box {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Accordion */
.accordion-button {
  color: #228200 !important;
}
.accordion-button:hover {
  color: #A02196 !important;
}
.accordion-button:not(.collapsed) {
  background-color: #fff !important;
  /*box-shadow: 0 0 0 0.25rem rgba(160, 33, 150, 0.2) !important;*/
  box-shadow: none !important;
}
.accordion-button:focus {
  box-shadow: none !important;
}
.accordion-body {
  text-align: left;
  font-size: 18px;
}

/* Termin Card */
.termin {
  border-bottom: 1px solid #bbb;
  text-align: left;
}
.termin-last {
  border-bottom: 0px solid #bbb;
}
.termin h4, .termin .purple {
  color: #A02196;
}

/* Modal */
.modal-header {
  text-align: left !important;
  align-items: normal !important;
}
.modal-header h3 {
  color: #A02196;
}
.modal-body {
  text-align: left !important;
  font-size: 18px;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Button */
.custom-btn {
  background-color: #228200 !important;
  color: #fff !important;
  border: none;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
  padding: 12px !important;
  max-width: 420px; /* Or whatever max width you want */
  width: 100% !important; 
}
.custom-btn:hover {
  background-color: #A02196 !important;
  color: #fff !important;
  text-decoration: none;
}

/* Scroll to Top Button */
#scrollTopBtn {
  z-index: 1050;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  background-color: #228200;
  border-color: #228200;
}
#scrollTopBtn.show {
  opacity: 1 !important;
  visibility: visible !important;
}
#scrollTopBtn.transition {
  opacity: 0;
  visibility: hidden;
}
#scrollTopBtn:hover {
  background-color: #A02196;
  border-color: #A02196;
}

/* Footer */
.footer a:hover {
  color: #228200 !important;
}