/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

/* Custom styles */
.hero { background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%); }

/* ===== Swiper FIX ===== */
/* Swiper v9 benutzt .swiper (nicht swiper-container) */
.swiper,
.gallery-slider {
    padding: 20px 0;
    width: 100%;
}

/* Slides Layout */
.swiper-slide {
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.swiper-slide:hover { transform: translateY(-5px); }

/* Bild immer sichtbar */
.gallery-slider img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .gallery-slider img { height: 240px; }
}

}

/* Buttons */
.swiper-button-next, 
.swiper-button-prev {
    color: #FF6B6B;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet-active { background: #FF6B6B; }

/* Form validation styles */
input:invalid, textarea:invalid { border-color: #f87171; }
input:valid, textarea:valid { border-color: #4ade80; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero { padding-top: 100px; padding-bottom: 100px; }
    .swiper-button-next, .swiper-button-prev { display: none; }
    .gallery-slider img { height: 240px; }
}
