/* 
  1. RESET & BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

h1, h2, h3 {
  margin-bottom: 15px;
}

/* 
  2. HEADER & NAV
-------------------------------------------------- */
header {
  background: #061b30; /* bazowy kolor tła */
  color: #fff;
  padding: 5px 0; /* zmniejszony padding */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo 100x100 px */
.logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #f39c12;
}

/* 
  3. HERO SECTION (z wideo w tle)
-------------------------------------------------- */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

/* Wideo w tle */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Półprzezroczysty overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

/* Kontener hero-content */
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 800px; /* ograniczenie szerokości tekstu */
  margin: 0 auto;    /* wyśrodkowanie */
  padding: 0 20px;   /* delikatny odstęp po bokach */
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* 
  4. BUTTONS
-------------------------------------------------- */
.btn {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e67e22;
}

/* 
  5. SEKCJE – SEPARACJA
-------------------------------------------------- */
section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

section:last-of-type {
  border-bottom: none;
}

/* 
  6. WHY QUANTUM
-------------------------------------------------- */
.why-quantum {
  background: #f9f9f9;
}

.why-quantum h2 {
  text-align: center;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.why-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.why-icon {
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 10px;
  display: block;
}

/* 
  7. ABOUT (DWIE KOLUMNY + WIDEO)
-------------------------------------------------- */
.about {
  background: #fff;
}

.about h2 {
  text-align: center;
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1 1 400px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 
  8. SERVICES (4 kolumny + ikony FontAwesome)
-------------------------------------------------- */
.services {
  background: #f9f9f9;
}

.services h2 {
  text-align: center;
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service-icon {
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 10px;
  display: block;
}

.service-item h3 {
  margin-bottom: 10px;
}

/* 
  9. TEAM
-------------------------------------------------- */
.team {
  background: #fff;
}

.team h2 {
  text-align: center;
  margin-bottom: 30px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  max-width: 300px;
  border-radius: 50%;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h3 {
  margin-bottom: 5px;
}

/* 
  10. TESTIMONIALS
-------------------------------------------------- */
.testimonials {
  background: #f9f9f9;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.quote {
  font-style: italic;
  margin-bottom: 10px;
}

.author {
  font-weight: 500;
  text-align: right;
}

/* 
  11. CONTACT
-------------------------------------------------- */
.contact {
  background: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

form label {
  margin: 10px 0 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 14px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

form button:hover {
  background: #e67e22;
}

/* 
  12. FOOTER
-------------------------------------------------- */
footer {
  background: #061b30;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
}
