/* =============================== */
/* Estilos Generales */
/* =============================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  flex-direction: column;
  
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* =============================== */
/* Navbar */
/* =============================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e1dfdf;
  padding: 25px 20px;
  position: relative;
 z-index: 1;
}
.navbar .logo {
  color: rgb(133, 127, 127);
  font-size: 22px;
  font-weight: bold;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  
}
.navbar ul li {
  display: inline;
  position: relative;
  
}
.navbar ul li a {
  color: rgb(82, 82, 82);
  text-decoration: none;
  padding: 8px 12px;
  transition: 0.3s;
  border-color: rgb(136, 205, 230);
}
.navbar ul li a:hover {
  background-color: #f0eded;
  border-radius: 5px;
  border-color: rgb(86, 185, 227);
  
}

/* Dropdown submenu para RATGEBER, PRAXIS y KONTAKT */
.navbar ul li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #faf9f9;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  
  
}
.navbar ul li.dropdown:hover .dropdown-content {
  display: block;
}
.navbar ul li.dropdown .dropdown-content li {
  padding: 8px 12px;
}
.navbar ul li.dropdown .dropdown-content li a {
  color: rgb(82, 82, 82);
  text-decoration: none;
  display: block;
}
.navbar ul li.dropdown .dropdown-content li a:hover {
  background-color: #f0eded;
}
.navbar ul li a.active {
  background-color: #e0e0e0;
  border-radius: 5px;
  font-weight: bold;
  color: #000;
}

/* =============================== */
/* Hero Section */
/* =============================== */
.hero {
  
  color: #0c0c0c;
  font-family: 'Times New Roman', Times, serif;
  padding: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: linear-gradient(rgba(68, 125, 135, 0.6), rgba(68, 115, 135, 0.6));
  background-size: cover;
  background-position: top;
 
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  max-width: 1200px;
  width: 100%;
  gap: 0px;
  margin: 0 auto;
}

.hero-left img {
  width: 250px;
  height: 250px;

}


.hero-content h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 18px;
  margin-top: 10px;
}


/* =============================== */
/* Content Section */
/* =============================== */
.content {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  margin-bottom: 0;
  z-index: 0;
  margin-top: 0;
}


.content::before,
.content::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
}
.content::before {
  background: url('/Sources/home/pregnant-woman-standing-by-window-looking-photo.jpg') no-repeat center center/cover;
  filter: blur(2px);
  z-index: -2;
  height: 120%;
  width: 100%;
}
.content::after {
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}
.text-content {
  flex: 2;
  min-width: 300px;
  max-width: 800px;
  margin-left: 5%;
  margin-top: 30px;
  font-size: 18px;
}


/* =============================== */
/*Arrow */
/* =============================== */
.scroll-arrow {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(83, 81, 81, 0.7); /* blanco con transparencia */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.scroll-arrow:hover {
  background-color: rgba(96, 93, 93, 0.9);
}

.scroll-arrow .arrow {
  font-size: 24px;
  color: #333;
}

/* =============================== */
/* Footer */
/* =============================== */


.footer {
  
  background: linear-gradient(rgb(143, 185, 193), rgb(133, 175, 193));
  font-weight: bold;
  width: 100%;
  height: 20vh;
  margin-top: 100px;
  color: rgb(16, 16, 16);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  font-family: 'Times New Roman', Times, serif;
  z-index: 2;
}


.footer .info-box {
  display: flex;
  flex-direction: column; /* Icono arriba, texto debajo */
  align-items: center;
  gap: 5px;
  font-size: 20px;
 
}
.footer .info-box img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.footer .info-box img:hover {
  transform: scale(1.1);
}
.footer-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover {
  color: inherit;
  text-decoration: none;
}

/* =============================== */
/* Footer Bottom */
/* =============================== */

.footer-bottom {
  background-image: url("/Sources/home/pregnant-woman-standing-by-window-looking-photo.jpg");
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #333;
  z-index: 2;
  margin-bottom: 0px;
  background-position:bottom;
 
 
}

/* =============================== */
/* Animaciones de Entrada */
/* =============================== */

/* Recuadros con efecto de fadeInUp */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header navbar fadeInDown */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar link fadeIn con retraso escalonado */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTable {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicación de las animaciones */
.navbar {
  animation: fadeInDown 0.8s ease-out forwards;
}

/* Añadir animación a cada link con retraso */
.navbar ul li {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
.navbar ul li:nth-child(1) { animation-delay: 0.2s; }
.navbar ul li:nth-child(2) { animation-delay: 0.3s; }
.navbar ul li:nth-child(3) { animation-delay: 0.4s; }
.navbar ul li:nth-child(4) { animation-delay: 0.5s; }
.navbar ul li:nth-child(5) { animation-delay: 0.6s; }
.navbar ul li:nth-child(6) { animation-delay: 0.7s; }
.navbar ul li:nth-child(7) { animation-delay: 0.8s; }
.navbar ul li:nth-child(8) { animation-delay: 0.9s; }





