@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    @apply bg-white text-darkGray;
  }
}

@layer components {
  .container {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
  }
  
  .btn-primary {
    @apply bg-primary text-white px-6 py-3 rounded-ios shadow-ios hover:shadow-ios-hover transition-all duration-300;
  }
  
  .section {
    @apply py-16 md:py-24;
  }
  
  .section-title {
    @apply text-3xl md:text-4xl font-semibold mb-8 text-center;
  }
}

/* Custom animations */
.fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Additional animations */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 6rem;
  }
}

/* Zusätzliche Styles für die Hero-Sektion */
#start {
  position: relative;
  overflow: hidden;
}

#start::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(109, 40, 217, 0.3), rgba(124, 58, 237, 0.2));
  z-index: 1;
}

#start .container {
  position: relative;
  z-index: 2;
}

/* Styles für die Referenzen-Sektion */
#referenzen .group {
  cursor: pointer;
  transition: transform 0.3s ease;
}

#referenzen .group:hover {
  transform: translateY(-5px);
}

/* Styles für das Kontaktformular */
#contact-form input,
#contact-form textarea {
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  transform: translateY(-2px);
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
  color: #4B5563; /* darkGray */
}

/* Dark mode styles */
.dark body {
  background-color: #111827; /* dark-bg */
  color: #E5E7EB; /* dark-text */
}

.dark .btn-primary {
  background-color: #A78BFA; /* primary-light */
}

.dark .btn-primary:hover {
  background-color: #7C3AED; /* primary */
}

/* Additional utility classes */
.rounded-ios {
  border-radius: 1rem;
}

.shadow-ios {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.dark .shadow-ios {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.shadow-pink-glow {
  box-shadow: 0 8px 30px rgba(124,58,237,0.5);
}

.shadow-primary-glow {
  box-shadow: 0 8px 30px rgba(167,139,250,0.5);
}

/* Formularfelder im Dark Mode */
.dark #contact-form input,
.dark #contact-form textarea {
  background-color: #1F2937;
  border-color: #374151;
  color: #E5E7EB;
}

.dark #contact-form input:focus,
.dark #contact-form textarea:focus {
  border-color: #7C3AED;
  background-color: #111827;
}

/* Google Maps ohne Rand */
#kontakt iframe {
  border: none !important;
  border-radius: 1rem;
  width: 100% !important;
  height: 100% !important;
} 