/* style.css */
:root {
  --gradient-purple: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
  --gradient-pink: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  --gradient-blue: linear-gradient(135deg, #3498db 0%, #5f6fd8 100%);
  --gradient-mixed: linear-gradient(135deg, #2ecc71 0%, #1abc9c 40%, #3498db 70%, #5f6fd8 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
}

/* Navbar */
.navbar {
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-mixed) 1;
}

.navbar-brand.gradient-text {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-mixed);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Carousel */
.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  color: #333;
  border: 2px solid #2ecc71;
}

.carousel-caption h1 {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Titles */
.section-title {
  font-weight: bold;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-mixed);
  border-radius: 2px;
}

/* Service Cards */
.service-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #2ecc71;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: var(--gradient-mixed);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Team Cards */
.team-card {
  padding: 1rem;
  transition: all 0.3s ease;
}

.team-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #2ecc71;
  object-fit: cover;
  transition: all 0.3s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Course/Angebote Section */
.course-item {
  margin-bottom: 3rem;
}

.course-title-box {
  background: var(--gradient-mixed);
  padding: 3rem 2rem;
  border-radius: 15px;
  min-height: 250px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.course-title-box:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-title-text {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.course-description-box {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  min-height: 250px;
  transition: all 0.3s ease;
}

.course-description-box:hover {
  border-color: #2ecc71;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.course-description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* Calendar Table */
.calendar-table {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #f0f0f0;
}

.calendar-table thead {
  background: var(--gradient-mixed);
  color: white;
}

.calendar-table th {
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.calendar-table tbody tr {
  transition: all 0.3s ease;
}

.calendar-table tbody tr:hover {
  background: rgba(46, 204, 113, 0.05);
}

.calendar-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

/* Contact Form */
.contact-form .form-control {
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.btn-gradient {
  background: var(--gradient-mixed);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  border-top: 3px solid transparent;
  border-image: var(--gradient-mixed) 1;
}

.gradient-text-footer {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-placeholder {
  /* Platzhalter für das Logo - später hier ein img Tag einfügen */
  min-height: 60px;
  /* Beispiel: Logo würde so aussehen */
  /* width: 150px; */
  /* height: auto; */
}

.footer .hover-link {
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .hover-link:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.footer h6 {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.footer ul li {
  transition: all 0.3s ease;
}

.footer ul li:hover {
  transform: translateX(3px);
}

.footer svg {
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item {
    height: 300px;
  }
  
  .carousel-item img {
    height: 300px;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .course-title-text {
    font-size: 1.5rem;
  }

  .course-description-text {
    font-size: 1rem;
  }

  .course-title-box,
  .course-description-box {
    padding: 2rem 1.5rem;
    min-height: 200px;
  }
}