/* ========================================
   NZ Coding Academy – style.css (Final Optimiert)
   ======================================== */

/* Global */
body {
  font-family: "Poppins", sans-serif;
  color: #1c1c1c;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #00c6ff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header / Navbar */
.header_section {
  background: linear-gradient(90deg, #004e92, #000428);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-brand span {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler img {
  width: 28px;
  filter: invert(1);
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  margin: 0 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #00c6ff;
}

/* Hero Section */
.slider_section {
  background: url('../images/hero-bg.jpg') no-repeat center center/cover;
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 180px 20px;
  overflow: hidden;
}

.slider_section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 30, 60, 0.55);
  z-index: 0;
}

.slider_section .detail-box {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.slider_section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.slider_section p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #e2e2e2;
}

.slider_section .btn {
  background: #00c6ff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.slider_section .btn:hover {
  background: #007bff;
  transform: scale(1.05);
}

/* Leistungen Section */
.do_section {
  padding: 100px 0;
  background: #f9fbfd;
}

.do_section .heading_container {
  text-align: center;
  margin-bottom: 60px;
}

.do_section h2 {
  font-weight: 700;
  text-transform: uppercase;
  color: #004e92;
}

.do_section .do_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.do_section .box {
  background: #ffffff;
  border-radius: 15px;
  text-align: center;
  width: 250px;
  margin: 20px;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.do_section .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.do_section .box h6 {
  margin-top: 15px;
  font-weight: 600;
  color: #333;
}

/* IT-Beratung Section */
.consulting_section {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #ffffff;
  padding: 100px 0;
}

.consulting_section h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
}

.consulting_section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.consulting_section .box {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.consulting_section .box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}

/* Kontakt Section */
.contact_section {
  padding: 100px 0;
}

.contact_section .heading_container h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #004e92;
}

.contact-form {
  background: #f3f8ff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 30px;
  outline: none;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00c6ff;
}

.contact-form button {
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Footer */
.footer_section {
  background: #001f3f;
  color: #ffffff;
  text-align: center;
  padding: 25px 15px;
}

.footer_section p {
  margin: 0;
  font-size: 0.9rem;
}

.footer_section a {
  color: #00c6ff;
}

.footer_section a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    background-color: rgba(0,0,0,0.85);
    padding: 15px 0;
    text-align: center;
  }

  .navbar-nav .nav-link {
    display: block;
    margin: 10px 0;
  }

  .slider_section {
    padding: 120px 15px;
  }

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

  .slider_section p {
    font-size: 1rem;
  }

  .do_section .box {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .slider_section {
    padding: 80px 15px;
  }

  .slider_section h1 {
    font-size: 1.7rem;
  }

  .slider_section p {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 25px;
  }
}

/* Fix: korrektes mobiles Menü */
.navbar-toggler {
  border: none !important;
  padding: 8px;
}

.navbar-toggler img {
  width: 30px;
  filter: invert(1); /* macht das Icon weiß */
}

/* Dropdown-Menü Styling */
.navbar-collapse {
  background: #000428ee;
  padding: 20px;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 15px 0;
  text-align: left;
  width: 100%;
  color: #fff !important;
}

.navbar-nav .nav-link:hover {
  color: #00c6ff !important;
}

/* Menüs sollen 100% Breite einnehmen */
@media (max-width: 992px) {
  .navbar-collapse {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    z-index: 9999;
  }
}