/* Reset & Basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Overlay Transition */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 2000;
  animation: overlayFade 1.5s ease forwards;
}
@keyframes overlayFade {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}
header .logo img { height: 40px; }
header nav ul { list-style: none; display: flex; gap: 25px; }
header nav a {
  text-decoration: none; color: #111;
  font-weight: 500; transition: color 0.3s ease;
}
header nav a:hover { color: #007aff; }

/* Hero */
.hero {
  height: 100vh;
  background: url("images/hero.jpg") center/cover no-repeat;
  display: flex; justify-content: center; align-items: center;
  text-align: center; color: #fff; position: relative;
}
.hero::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.4);
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 25px; }

.btn {
  display: inline-block; padding: 12px 30px;
  background: #007aff; color: #fff; border-radius: 30px;
  transition: background 0.3s ease;
}
.btn:hover { background: #005bb5; }

/* Scroll Sections */
.scroll-block {
  display: flex; align-items: center; justify-content: center;
  padding: 100px 50px; gap: 40px;
}
.scroll-block:nth-of-type(even) { flex-direction: row-reverse; }
.scroll-text { flex: 1; }
.scroll-image { flex: 1; }
.scroll-image img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}
.scroll-image img:hover { transform: scale(1.05); }

/* Team Grid */
.team { padding: 120px 20px; text-align: center; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; margin-top: 50px;
}
.team-card {
  background: #fff; border-radius: 20px; padding: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-10px); }
.team-card img { width: 100%; border-radius: 15px; margin-bottom: 15px; }
.team-card h3 { margin-bottom: 5px; }

/* Kontakt */
.contact { padding: 120px 20px; text-align: center; }
.contact form {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 600px; margin: auto;
}
.contact input, .contact textarea {
  padding: 15px; border: 1px solid #ccc; border-radius: 12px;
}
.contact button { align-self: center; }

/* Feedback Message */
.form-message {
  margin-top: 20px; font-size: 1rem; color: #007aff;
  opacity: 0; transition: opacity 0.5s ease;
}
.form-message.show { opacity: 1; }

/* Footer */
footer {
  background: #111; color: #fff;
  padding: 30px; text-align: center;
  margin-top: 50px;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0; transform: translateY(40px);
  transition: all 1s ease;
}
.fade-in.show {
  opacity: 1; transform: translateY(0);
}
