:root {
  --bs-primary: #6c63ff; /* Lila */
  --bs-secondary: #00c6ff; /* Cyan */
  --bs-dark: #1c2025; /* eigenes Dunkelgrau */
  --bs-light-dark: #212529; /* Dunkles Grau */
  --bs-light: #f8f9fa; /* Helles Grau */
  --bs-success: #28a745; /* Grün */
  --bs-info: #17a2b8; /* Blau */
  --bs-warning: #ffc107; /* Gelb */
  --bs-danger: #dc3545; /* Rot */
}

/* Navbar Styles */
.navbar-gradient {
  background: var(--bs-light-dark);
  box-shadow: 0 4px 8px var(--bs-dark);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--bs-light) !important;
  text-decoration: none;
}

.navbar-brand img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.navbar-nav {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
}

.navbar-nav .nav-item {
  margin: 0 0.25rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--bs-primary);
  color: white !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  .navbar-gradient {
    padding: 0.75rem 0;
  }

  .navbar-nav {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    display: block;
    width: 100%;
    background: transparent;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: var(--bs-primary);
    color: white !important;
    transform: none;
  }

  .navbar-brand img {
    width: 32px;
    height: 32px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  /* Remove the extra background from collapse */
  .navbar-collapse {
    background: transparent;
    border-radius: 0;
    margin-top: 0.5rem;
    padding: 0;
  }
}

/* Gradient Separator */
.bg-gradient-separate {
  background: linear-gradient(90deg, #6c63ff, #00c6ff);
  height: 3px;
  margin: 3rem auto;
}

/* Body Styles */
body {
  background-color: var(--bs-dark);
  color: var(--bs-light);
  font-family: "Roboto Flex", sans-serif;
  padding-top: 80px; /* Account for fixed navbar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Content Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-light);
}

p {
  color: var(--bs-light);
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}

.badge-category {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  color: var(--bs-light);
}

/* Section Styles */
.hero {
  padding: 5rem 0;
}

/* Section Gradient Backgrounds */
.section-gr-1 {
  background: linear-gradient(135deg, #1c2025 0%, #2a2d36 50%, #1c2025 100%);
  position: relative;
}

.section-gr-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.1) 0%,
    rgba(0, 198, 255, 0.05) 100%
  );
  pointer-events: none;
}

.section-gr-2 {
  background: linear-gradient(135deg, #212529 0%, #343a40 50%, #212529 100%);
  position: relative;
}

.section-gr-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 198, 255, 0.1) 0%,
    rgba(108, 99, 255, 0.05) 100%
  );
  pointer-events: none;
}

/* Ensure content is above the overlay */
.section-gr-1 > .container,
.section-gr-2 > .container {
  position: relative;
  z-index: 1;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Removed hover effect for better UX - cards are not clickable */
/* .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
  border-color: rgba(108, 99, 255, 0.5);
} */

.project-card .card-body {
  padding: 2rem;
}

.project-card .card-title {
  color: var(--bs-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-card .card-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Removed hover effect for better UX - cards are not clickable */
/* .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
  border-color: rgba(108, 99, 255, 0.5);
} */

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 3rem;
  color: var(--bs-primary);
  transition: all 0.3s ease;
}

/* Removed hover effect for better UX - cards are not clickable */
/* .service-card:hover .service-icon i {
  color: var(--bs-secondary);
  transform: scale(1.1);
} */

.service-title {
  color: var(--bs-light);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0;
}

.service-cta {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.1) 0%,
    rgba(0, 198, 255, 0.1) 100%
  );
  border-color: rgba(108, 99, 255, 0.3);
}

.service-cta:hover {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.2) 0%,
    rgba(0, 198, 255, 0.2) 100%
  );
}

.service-cta .btn {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

/* Responsive Service Cards */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-icon i {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.1rem;
  }
}

/* Skills Section */
.skill-icon {
  font-size: 3rem;
  color: var(--bs-primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

/* Removed hover effect for better UX - skills are not clickable */
/* .skill-icon:hover {
  color: var(--bs-secondary);
  transform: scale(1.1);
} */

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--bs-primary),
    var(--bs-secondary)
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background: var(--bs-primary);
  border-radius: 50%;
  transform: translateX(-5px);
  z-index: 1;
}

/* Removed hover effect for better UX - timeline items are not clickable */
/* .timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
  border-color: rgba(108, 99, 255, 0.5);
} */

.timeline-item h3 {
  color: var(--bs-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Form */
.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bs-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 300px;
  justify-content: flex-start;
}

.contact-link:hover {
  color: #ffffff;
  background: rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.contact-link i {
  color: var(--bs-primary);
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.contact-link:hover i {
  color: #ffffff;
}

/* Footer Styles */
.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-logo {
  margin: 2rem 0;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--bs-primary);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--bs-light);
  padding: 0.75rem;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
  color: var(--bs-light);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Blog Styles */
.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.blog-card .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
}

/* Blog card styles */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .card-text {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.gradient-heading {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 600;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }

  .project-card .card-body {
    padding: 1.5rem;
  }

  .skill-icon {
    font-size: 2.5rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -1.5rem;
  }

  .contact-links {
    padding: 2rem 1rem;
    gap: 1.25rem;
  }

  .contact-link {
    min-width: 260px;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 70px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-links {
    padding: 1.5rem 0.75rem;
    gap: 1rem;
  }

  .contact-link {
    min-width: 240px;
    font-size: 0.95rem;
    padding: 0.7rem 1.25rem;
  }

  .contact-link i {
    font-size: 1.2rem;
  }
}

/* Footer Styles */
.footer {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2rem;
  flex-shrink: 0;
}

.footer-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  );
  border: none;
  border-radius: 1px;
  margin: 0 auto 2rem auto;
  opacity: 1;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer .row {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav {
    justify-content: center;
    gap: 1.25rem;
    margin: 0;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-copyright {
    text-align: center;
    margin: 0;
  }

  .footer-link {
    font-size: 0.9rem;
  }
}
