/* Custom Styles for Him & I® Meilensteinkarten Landing Page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Button hover effects */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(244, 165, 185, 0.3);
}

/* Card hover effects */
.product-card {
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Push buttons to bottom for consistent alignment */
.product-card > a:last-child {
  margin-top: auto;
}

/* Hero section gradient background */
.hero-gradient {
  background: linear-gradient(135deg, #ffeef4 0%, #fff5f0 50%, #f0f9ff 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #fafafa;
}

::-webkit-scrollbar-thumb {
  background: #f4a5b9;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e88ca4;
}

/* Accessibility: Visible focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f4a5b9;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure focus is visible on interactive elements */
a:focus,
button:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #f4a5b9;
  outline-offset: 2px;
}

/* Animations */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

/* Footer logo sizing */
.footer-logo {
  height: 100px;
}
