:root {
      --dark-gray: #2E2E2E;
      --sage: #A8BDB0;
      --beige: #F5F1E6;
      --black: #1C1C1C;
      --light-gray: #CCCCCC;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}

h1,h2,h3,h4 {
    font-family: 'Poppins', sans-serif;
}
p, li, a, button {
    font-family: 'Montserrat', sans-serif
}
li {
    list-style: none;
}
/* ------------------------------------------------------------------------ */
.gallery-section {
  padding: 3rem 2rem;
  text-align: center;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-section h2 {
  font-size: 3rem;
  margin: 15px 0 30px 0;
  color: var(--dark-gray);
}

.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
}

.carousel img {
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.carousel img:hover {
  transform: scale(1.05);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(42,42,42,0.8);
  color: white;
  font-size: 2rem;
  padding: 0.2rem 0.6rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.arrow:hover {
  background-color: #A8BDB0;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* DARK THEME */
.dark {
  background-color: var(--dark-gray);
}
.dark h2{
  color: white;
}

.dark .arrow {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--dark-gray);

}
/* ------------------------------------------------------------------------ */
/* RESPONSIVE ANPASSUNG – MOBIL SENKRECHT */
@media (max-width: 768px) and (orientation: portrait) {
  .gallery-section {
    padding: 4.1rem 1rem;
    height: auto;
  }

  .carousel {
    padding: 0.5rem;
    gap: 1rem;
  }

  .carousel img {
    height: 220px;
    max-width: 80%;
    margin: 0 auto;
  }

  .arrow {
    top: 45%;
    font-size: 1.5rem;
    padding: 0.2rem 0.4rem;
  }
  .gallery-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}

/* RESPONSIVE ANPASSUNG – MOBIL WAAGERECHT */
@media (max-width: 930px) and (orientation: landscape) {
  .gallery-section {
    padding: 2rem;
    height: auto;
  }
  .gallery-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  .carousel {
    padding: 0.5rem;
    gap: 1rem;
  }

  .carousel img {
    height: 180px;
    max-width: 70%;
  }

  .arrow {
    top: 45%;
    font-size: 1.5rem;
    padding: 0.2rem 0.4rem;
  }
}
