/* TeDaCo Dark Theme - Professional & Eye-friendly */

/* Global Dark Theme Variables */
:root {
  --bg-primary: #1e1e1e;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #3c3c3c;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #888888;
  --accent-primary: #3fcdc7;
  --accent-secondary: #e98e06;
  --accent-tertiary: #ff689b;
  --border-color: #404040;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Body and Main Background */
body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

/* Header */
#header {
  background: rgba(60, 60, 60, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

#header.header-transparent {
  background: rgba(60, 60, 60, 0.85) !important;
}

/* Logo Area - Lighter background for better visibility */
.logo {
  background: rgba(80, 80, 80, 0.9) !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(5px) !important;
}

/* Navigation */
.navbar ul li a {
  color: var(--text-primary) !important;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: var(--accent-primary) !important;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
  color: var(--text-primary) !important;
  min-height: 100vh !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 2 !important;
}

#hero .container {
  position: relative !important;
  z-index: 10 !important;
}

#hero h2 {
  color: var(--text-primary) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

#hero h2 span {
  color: var(--accent-primary) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

#hero p {
  color: var(--text-secondary) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Sections */
.section-bg {
  background-color: var(--bg-secondary) !important;
}

section {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* About Section */
.about {
  background-color: var(--bg-secondary) !important;
}

.about h2, .about h3 {
  color: var(--text-primary) !important;
}

.about p {
  color: var(--text-secondary) !important;
}

.about ul li {
  color: var(--text-secondary) !important;
}

.about ul li i {
  color: var(--accent-primary) !important;
}

/* Services Section - FORCE VISIBILITY */
.services .box {
  background: linear-gradient(145deg, #4a4a4a, #3a3a3a) !important;
  border: 2px solid #4a90e2 !important; /* Blauer Border für professionelles Design */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  transform: translateY(0) !important;
  border-radius: 12px !important;
  padding: 30px !important;
  min-height: 200px !important; /* Mindesthöhe */
  display: block !important; /* Sichtbarkeit erzwingen */
  opacity: 1 !important; /* Vollständig sichtbar */
  visibility: visible !important;
}

.services .box:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
  background: linear-gradient(145deg, #5a5a5a, #4a4a4a) !important;
  border-color: #00d4ff !important; /* Cyan Border beim Hover */
}

/* Service Box Content */
.services .box .icon {
  margin-bottom: 20px !important;
}

.services .box h4 {
  color: #ffffff !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
}

.services .box p {
  color: #e0e0e0 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

.services .box h4 a {
  color: var(--text-primary) !important;
}

.services .box p {
  color: var(--text-secondary) !important;
}

/* Team/Karriere Section */
.team {
  background-color: var(--bg-secondary) !important;
}

.team .member {
  background: linear-gradient(145deg, #4a4a4a, #3a3a3a) !important;
  border: 1px solid #555555 !important;
  border-radius: 15px !important;
  padding: 25px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.team .member h4 {
  color: var(--text-primary) !important;
}

.team .member span {
  color: var(--accent-primary) !important;
}

.team .member p {
  color: var(--text-secondary) !important;
}

/* Info Boxes */
.info-box {
  background: linear-gradient(145deg, #4a4a4a, #3a3a3a) !important;
  border: 1px solid #555555 !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.info-box:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  background: linear-gradient(145deg, #5a5a5a, #4a4a4a) !important;
}

.info-box h3, .info-box h5 {
  color: var(--text-primary) !important;
}

.info-box p {
  color: var(--text-secondary) !important;
}

/* Contact Section */
.contact {
  background-color: var(--bg-primary) !important;
}

.contact .info-box {
  background: var(--bg-secondary) !important;
}

/* Forms */
.form-control {
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.form-control:focus {
  background-color: var(--bg-tertiary) !important;
  border-color: var(--accent-primary) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(63, 205, 199, 0.25) !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
}

.form-check-label {
  color: var(--text-secondary) !important;
}

.form-check-label a {
  color: var(--accent-primary) !important;
}

/* Buttons */
.btn-get-started,
.btn-primary {
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) !important;
  border: none !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-get-started:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 205, 199, 0.4);
}

/* Footer */
#footer {
  background-color: #2a2a2a !important;
  border-top: 1px solid #555555 !important;
  padding: 30px 0 !important;
}

#footer .footer-info h3 {
  color: #ffffff !important;
  font-weight: 600 !important;
}

#footer .footer-info p {
  color: #e0e0e0 !important;
  font-weight: 400 !important;
}

#footer .footer-links h4 {
  color: #ffffff !important;
  font-weight: 600 !important;
}

#footer .footer-links p {
  color: #e0e0e0 !important;
  font-weight: 400 !important;
}

#footer .copyright {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#footer .credits {
  color: #e0e0e0 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

#footer .credits a {
  color: var(--accent-primary) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

#footer .credits a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Social Links */
.social-links a {
  background: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-primary) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* Section Headers */
.section-header h3 {
  color: var(--text-primary) !important;
}

.section-header p {
  color: var(--text-secondary) !important;
}

/* Back to Top Button */
.back-to-top {
  background: var(--accent-primary) !important;
  color: white !important;
}

.back-to-top:hover {
  background: var(--accent-secondary) !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--text-primary) !important;
}

/* AOS Animations - Preserve Original Functionality */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Ensure AOS animations work with dark theme */
[data-aos="fade-up"] {
  transform: translate3d(0, 40px, 0);
  opacity: 0;
}

[data-aos="fade-up"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.6);
  opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

[data-aos="zoom-out"] {
  transform: scale(1.2);
  opacity: 0;
}

[data-aos="zoom-out"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translate3d(-40px, 0, 0);
  opacity: 0;
}

[data-aos="fade-right"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translate3d(40px, 0, 0);
  opacity: 0;
}

[data-aos="fade-left"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Custom animations for enhanced experience */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced hover animations */
.services .box {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.services .box:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

.team .member {
  transition: all 0.3s ease !important;
}

.team .member:hover {
  transform: translateY(-5px) !important;
}
