/* ============================================
   Festzeltgaming Font Setup (lokal)
   Century Gothic lokal geladen (Root-Verzeichnis)
   ============================================ */

/* Entferne Google Fonts Import:
@import url("https://fonts.googleapis.com/css2?family=Century+Gothic:wght@400;700&display=swap");
*/

/* Lokale Fontdefinition */
@font-face {
  font-family: "Century Gothic";
  src: url("/CenturyGothic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Falls du eine Bold-Variante separat hast (optional):
@font-face {
  font-family: "Century Gothic";
  src: url("/CenturyGothic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* ============================================
   Design-Variablen und globale Styles
   ============================================ */
:root {
  --bgColor: #FFFFF1;
}

body {
  background-color: var(--bgColor);
  font-family: "Century Gothic", Arial, sans-serif;
  margin: 0;
  padding: 2rem;
  color: #252122;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* ============================================
   Cards
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
  justify-content: center;
}

.card {
  background-color: #FFFFF1;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  margin: 1rem;
  color: var(--accent-color);
}

.card p {
  margin: 0 1rem 1.5rem 1rem;
  font-size: 0.95em;
}

/* ============================================
   Social Links
   ============================================ */
.social-links {
  text-align: center;
  margin-top: 3rem;
  color: #1F625F;
}

.social-links h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1F625F;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(24%) sepia(23%) saturate(807%) hue-rotate(132deg) brightness(89%) contrast(87%);
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(23%) saturate(807%) hue-rotate(132deg) brightness(110%) contrast(100%);
}

/* ============================================
   Farbpalette
   ============================================ */
.color-palette {
  text-align: center;
  margin: 4rem 0;
  color: #1F625F;
}

.color-palette h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.color-swatch {
  width: 160px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.05);
}

.swatch {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  border: 2px solid #ccc;
  margin-bottom: 0.5rem;
}

.color-swatch span {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.color-swatch p {
  font-size: 0.9rem;
  margin: 0;
}

/* Feedback bei Kopie */
.color-swatch.copied span::after {
  content: " ✓ Kopiert!";
  font-weight: normal;
  color: #1F625F;
  margin-left: 5px;
}
