/* Base styles */
:root {
  color-scheme: dark;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  background: #7a5e33;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #7a5e33;
}

.welcome-container,
.shop-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 1rem;
}

.welcome-container h1,
.shop-container h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0;
}

.welcome-container p,
.shop-container p {
  max-width: 32rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.tab-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.18);
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.category-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 80px;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.category-section {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-section h2 {
  margin-top: 0;
  color: #ffffff;
}

.category-section p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  min-width: 160px;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: #403422;
  color: white;
}

/* Dropdown Navigation */
.dropdown-nav {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
}

.dropdown-btn {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.8rem;
  margin-top: 0.5rem;
  min-width: 150px;
}

.dropdown-content a {
  padding: 0.8rem 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* PC: Hover öffnet Menü */
@media (hover: hover) {
  .dropdown-nav:hover .dropdown-content {
    display: flex;
  }
}

/* Handy: Hover deaktiviert, nur Klick */
@media (hover: none) {
  .dropdown-nav:hover .dropdown-content {
    display: none;
  }
}

.product-card img {
  width: 45%;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}
