/* Galerie Sektion */
* {
  font-family: "Lora", serif;
}
.galerie-section {
  background-color: #ffffff;
  padding: 5rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.galerie-title {
  font-family: "Playfair Display", serif;
  font-size: 1.875rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
}

.galerie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .galerie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Karten */
.artwork-card {
  border-radius: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 1rem;
}

.artwork-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.artwork-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artwork-image:hover {
  cursor: pointer;
}

.artwork-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.medium {
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.desc {
  font-size: 0.875rem;
  color: #6b7280;
}
h3 {
  font-family: "Lora", serif;
  display: flex;
  justify-content: space-between;
}
.shop-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

a {
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
  background-color: #111827;
  color: white;
  padding: 0.5rem 1rem;
}

.btn-primary:hover {
  background-color: #1f2937;
}



.admin-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
.btn-edit,
.btn-delete {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-edit {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}
.btn-delete {
  background: #ef4444;
  color: #fff;
  border: 1px solid #b91c1c;
}
.btn-edit:hover {
  filter: brightness(1.03);
}
.btn-delete:hover {
  filter: brightness(1.05);
}


.gallery-legal-note {
  font-size: 0.85rem;
  color: #5a5a5a;
  margin-top: 0.3rem;
  text-align: center;
  margin-top: 1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.modal-counter {
  position: absolute;
  top: 15px;
  right: 30px;
  color: #fff;
  font-size: 20px;
}

.close {
  position: absolute;
  top: 15px;
  left: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: 40px;
  padding: 16px;
  margin-top: -50px;
  user-select: none;
}

.prev { left: 0; }
.next { right: 0; }

.hidden { display: none; }


.image-wrapper-slider {
  position: relative;
}

.image-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.slider-prev,
.slider-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  user-select: none;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

