@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", sans-serif;
  background-color: #0f1117;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navigation */
nav {
  background-color: #1a1c23;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #00bcd4;
  font-weight: 600;
}
.nav-links a:hover {
  color: #fff;
}
.logo img {
  height: 40px;
  display: flex;
  align-items: center;
  margin-right: 3rem;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #1a1c23;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
  }
}


/* Card */
.card {
  background: #1e1f2b;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Service Card */
.service-card {
  background: #222430;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  text-align: center;
}

.service-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 1rem 0 0.5rem;
  color: #00bcd4;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-description {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Formulare */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem;
  margin: 0.5rem 0 1rem;
  border: none;
  border-radius: 6px;
  background: #2a2d3a;
  color: #fff;
}
textarea {
  resize: vertical;
}
form label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
}
form input,
form textarea {
  margin-top: 0.3rem;
}

/* Buttons */
button {
  background: #00bcd4;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
  background: #0195a8;
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.4);
}

/* Footer */
footer {
  background: #1a1c23;
  color: #888;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}
footer a {
  color: #00bcd4;
  text-decoration: none;
}

/* reCAPTCHA */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

/* Hero */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  text-align: center;
}
.hero-section img {
  max-width: 90%;
  margin-top: 1rem;
}

/* CTA */
.cta-button {
  background: #00bcd4;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #0195a8;
}
