/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

header.scrolled {
  padding: 12px 10%;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -1px;
}

.logo span {
  background: linear-gradient(45deg, #06b6d4, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  margin-left: 30px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #06b6d4;
}

.btn-header {
  background: linear-gradient(45deg, #06b6d4, #ec4899);
  padding: 10px 24px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-header:hover {
  opacity: 0.85;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 140px 10% 60px;
  text-align: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #111827;
}

.hero-text h1 span {
  background: linear-gradient(90deg, #06b6d4, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h2 {
  font-size: 1.6rem;
  margin: 15px 0;
  color: #4b5563;
}

.hero-text p {
  color: #6b7280;
  margin: 20px auto;
  max-width: 650px;
  font-size: 1.05rem;
}

.social {
  margin-top: 30px;
}

.social a {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 12px;
  color: #6b7280;
  transition: transform 0.3s, color 0.3s;
}

.social a:hover {
  color: #ec4899;
  transform: scale(1.25);
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 10%;
  text-align: center;
  opacity: 0;               /* pre animáciu */
  transform: translateY(50px);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #06b6d4, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section p {
  color: #4b5563;
  max-width: 750px;
  margin: auto;
  font-size: 1.05rem;
}

/* ===== CONTACT ===== */
.Kontakt {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px;
  background: #f3f4f6;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.Kontakt h2 {
  text-align: center;
  color: #111827;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.Kontakt p {
  text-align: center;
  color: #374151;
  margin-bottom: 30px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
  outline: none;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #06b6d4, #ec4899);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ===== SERVICES ===== */
.service-list {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(6,182,212,0.25);
}

#form-message {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 12px 20px;
  border-radius: 12px;
  display: none; /* defaultne skryté */
}

#form-message.success {
  color: #065f46; /* tmavozelená */
  background-color: #d1fae5; /* svetlozelená */
  border: 1px solid #10b981;
}

#form-message.error {
  color: #b91c1c; /* tmavočervená */
  background-color: #fee2e2; /* svetločervená */
  border: 1px solid #f87171;
}

/* ===== PARTNERS ===== */
.partner-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.partner {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}

.partner img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.partner:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(236,72,153,0.25);
}

/* ===== CONTACT LINKS ===== */
.contact a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .service-list,
  .partner-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  header {
    padding: 15px 5%;
  }

  nav {
    display: none; /* (hamburger menu cez JS) */
  }

  .btn-header {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.1rem;
  }

  section {
    padding: 60px 5%;
  }

  .Kontakt {
    margin: 30px 10px;
    padding: 20px;
  }

  .Kontakt h2 {
    font-size: 1.8rem;
  }

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

  .contact-form input,
  .contact-form textarea,
  .btn-submit {
    font-size: 0.95rem;
    padding: 12px;
  }

  .service {
    max-width: 90%;
    padding: 30px 20px;
  }

  .partner {
    width: 80%;
    padding: 20px;
  }

  .social a {
    font-size: 1.3rem;
    margin: 0 8px;
  }
}
