/* =====================
   Global Body
===================== */
body {
  background-color: #f4f4f4; /* soft gray background */
  color: #333;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* =====================
   Hero Section
===================== */

.hero {
  position: relative;
  background: url('https://euroandes.net/wp-content/themes/my-active-theme/images/hero-01.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); /* dunkler Overlay für bessere Lesbarkeit */
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #004080; /* Euroandes-Blau */
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #0066cc;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 50% transparent black overlay */
  z-index: 1; /* sits above the image but below the text */
}

.hero-text {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* optional, adds contrast */
}


/* =====================
   Services Section
===================== */
.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff; /* contrast with hero */
}

.services h2 {
  font-size: 2em;
  margin-bottom: 40px;
}

.service-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-item {
  background-color: #f9f9f9;
  padding: 20px;
  flex: 1 1 250px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-item h3 {
  margin-top: 0;
}

.service-item p {
  font-size: 0.95em;
}

/* =====================
   Contact Section
===================== */
.contact {
  padding: 60px 20px;
  background-color: #f4f4f4; /* matches body background */
  text-align: center;
}

.contact h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

/* =====================
   Footer (already professional)
===================== */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #555;
  background-color: #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
}

.footer-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 15px 0;
}

.site-footer a {
  color: #555;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: #000;
  text-decoration: underline;
}

/* Social links */
.footer-social {
  margin-top: 10px;
}

.footer-social a {
  display: inline-block;
  margin: 0 5px;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  vertical-align: middle;
  transition: fill 0.3s;
}

.footer-social a:hover svg {
  fill: #0a66c2; /* example hover color */
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2em;
  }
  .hero-text p {
    font-size: 1em;
  }
  .service-items {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #222;
    color: #ccc;
  }
  .services {
    background-color: #333;
  }
  .service-item {
    background-color: #444;
    color: #eee;
  }
  .contact {
    background-color: #222;
    color: #ccc;
  }
  .site-footer {
    background-color: #222;
    color: #ccc;
  }
  .site-footer a {
    color: #ccc;
  }
  .footer-social svg {
    fill: #ccc;
  }
  .footer-social a:hover svg {
    fill: #fff;
  }
  .footer-divider {
    border-top: 1px solid #555;
  }
}
