/* styles.css */

/* Fade-in Effekt */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Logo Styles */
.logo-container {
  background-color: transparent;
  border: none;
}
.logo-container img {
  width: auto;
  height: 40px; /* Angepasste Höhe */
  display: block;
  transition: transform 0.3s ease;
}
.logo-container img:hover {
  transform: scale(1.05);
}

/* Affiliate Produkt */
.product {
  max-height: 600px;
  overflow: hidden;
  border: 3px solid #3b82f6; /* Tailwind's blue-500 */
  background-color: #fff; /* Tailwind's gray-800 */
  color: #f3f4f6; /* Tailwind's gray-100 */
  border-radius: 8px;
  margin: 10px 0;
  display: flex;
  align-items: center;
}
.product img {
  max-height: 600px;
  object-fit: cover;
  border-radius: 5px;
}
.product .image-container {
  width: 30%;
  flex-shrink: 0;
}
.product .details {
  margin-left: 20px;
  margin-right: 20px;
  width: 70%;
  padding-bottom: 20px;
  padding-top: 10px;
}
.product .details h3 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #93c5fd; /* Tailwind's blue-400 */
}
.product .details p {
  font-size: 0.95rem;
  color: #000; /* Tailwind's gray-300 */
  margin-bottom: 0.5rem;
}
.product .details a {
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

/* Grüner Rahmen für die erste Meditationskarte */
.highlighted {
  border: 3px solid #10b981; /* emerald-500 */
}

/* Label-Stil */
.highlight-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(16, 185, 129, 0.8); /* emerald-500 with alpha */
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: bold;
}

.tile {
  position: relative;
  max-width: 100%;
  margin: 0 auto 1.5rem auto;
  border: 3px solid #10b981; /* emerald-500 */
  background-color: #1f2937; 
  color: #f3f4f6;
  border-radius: 8px;
}

/* Fixed Footer */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(31, 41, 55, 0.9); /* gray-800 w/ opacity */
  text-align: center;
  padding: 1rem 0;
  z-index: 1000;
  margin-top: 200px;
}
.fixed-footer a {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.fixed-footer p {
  color: #fff;
  font-size: 0.875rem;
  margin: 0;
}

/* .hidden can fade using the same transition approach, if desired. 
   For now, Tailwind's .hidden means display: none. 
   If you want a fade-out, you'd need a custom class or JS approach
   to animate. */

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 41, 55, 0.95); /* gray-800 w/ high opacity */
  /* Start hidden */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
.overlay-content {
  background-color: #1f2937; /* gray-800 */
  color: #f3f4f6; /* gray-100 */
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  margin: auto;
  margin-top: 2rem;
}
.overlay-content h2, .overlay-content h1 {
  margin-top: 0;
  color: #10b981; /* emerald-500 */
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #10b981;
}
.close-button:hover {
  color: #fff;
}

/* Additional styles for product title link */
.product-title a {
  color: #60a5fa; /* blue-400 */
  text-decoration: none;
}
.product-title a:hover {
  text-decoration: underline;
}

/* Mobile nav */
#mobile-menu a {
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #f3f4f6;
}
#mobile-menu a:hover {
  background-color: #374151; /* gray-700 */
  color: #fff;
}

/* Buttons */
button, .bg-green-700, .bg-green-500 {
  transition: background-color 0.3s ease;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prose for blog post */
.prose {
  max-width: 100%;
}
@media (min-width: 768px) {
  .prose {
    max-width: 750px;
  }
}
@media (min-width: 1024px) {
  .prose {
    max-width: 1140px;
  }
}

/* Header Styles */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #10b981; /* emerald-500 */
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #fff; /* white */
  padding-bottom: 0.3rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #10b981; /* emerald-500 */
  margin-bottom: 0.3rem;
  border-bottom: 1px solid #fff; /* white */
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 2.25rem;
  font-weight: 500;
  color: #10b981; /* emerald-500 */
  margin-bottom: 0.3rem;
}

/* Paragraph Styles */
p {
  font-size: 1.25rem;
  line-height: 1.3;
  color: #d1d5db; /* gray-300 */
}

/* Unordered List Styles */
ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #d1d5db; /* gray-300 */
  margin-bottom: 0.1rem;
}

/* Optional: Add some spacing and transition for better appearance */
h1, h2, h3, p, ul, li {
  transition: color 0.3s ease, transform 0.3s ease;
}