/* ========== Grundlegende Styles ========== */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('Bunte Blumen.webp') no-repeat center center fixed;
  background-size: cover;
  text-align: center;
}

/* ========== Header ========== */

header {
  background: #333;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-top {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.cart-icon,
.scissors-icon {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.cart-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.scissors-icon {
  position: absolute;
  right: 40px; /* Feinjustierung wie gewünscht */
  top: 50%;
  transform: translateY(-50%);
}

.center-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 0;
}

.logo {
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.hand-image {
  max-width: 60px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Hover-Effekte */
.cart-icon:hover,
.scissors-icon:hover,
.logo:hover,
.hand-image:hover {
  transform: scale(1.1);
}

/* Menü Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: none;
  margin: 10px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #222;
  padding: 10px 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  transition: color 0.3s;
}

nav a:hover {
  text-decoration: underline;
  color: #ffd700;
}

  /* Nur Buttons bekommen Hover-Farbe */
  .anfrage-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }

  /* Bilder im Link: Sanfter Hover-Effekt (optional, sieht aber top aus!) */
  a img {
    transition: transform 0.3s ease;
  }

  a img:hover {
    transform: scale(1.05);
  }


/* ========== Container ========== */

.container {
  max-width: 90%;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stichpunkte {
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
}

.stichpunkte p {
  margin: 5px 0;
}

/* Anfrage Button */
.button {
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #005bb5;
}

/* ========== Galerie Grid ========== */

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.galerie-grid img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border: 4px dashed #aaa;
  border-radius: 12px;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  object-fit: contain;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}


/* Lightbox Styles */
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

#lightbox.show {
  display: flex;
}

#lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
}

.close-btn,
.arrow {
  color: white;
  font-size: 2rem;
  position: absolute;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  transition: transform 0.2s;
}

.close-btn {
  top: 20px;
  right: 30px;
}

.arrow.left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.arrow.right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.close-btn:hover,
.arrow:hover {
  transform: scale(1.2);
}

/* Fade-In Effekt */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Image Gallery für Eigene Vorlagen ===== */

.image-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.image-gallery img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .image-gallery img {
    max-width: 100%;
  }
}

/* ========== Footer ========== */

footer {
  margin-top: 20px;
  padding: 20px;
  background: #333;
  color: #fff;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  text-decoration: underline;
  color: #ffd700;
}

/* ========== Media Queries ========== */

/* Tablets und kleine Laptops */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #222;
    padding: 10px 0;
    align-items: center; /* Neu */
    text-align: center;  /* Optional, aber gut */
  }

  nav.show {
    display: flex;
  }

  .logo {
    max-width: 120px;
  }

  .hand-image {
    max-width: 40px;
  }

  .cart-icon,
  .scissors-icon {
    width: 60px;
  }

  .container {
    padding: 10px;
  }

  .center-logo {
    gap: 10px;
  }
}
/* Sehr kleine Geräte */
@media (max-width: 400px) {
  .cart-icon,
  .scissors-icon {
    width: 40px;
  }

  .logo {
    max-width: 100px;
  }

  .hand-image {
    max-width: 30px;
  }

  .center-logo {
    gap: 5px;
  }

  .menu-toggle {
    margin: 10px auto;
  }
}
/* ========== Veredelungen ========== */

/* 1. Anfrage-Button: Schatten-Verstärkung beim Hover */
.anfrage-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 2. Anfrage-Button: Sanfte Pulse-Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

.anfrage-button {
  animation: pulse 2.5s infinite;
}

