* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
  background-color: #f5f7fa;
  color: #333;
}

.menu-item{
  font-size: 20px;
}

header {
  background-color: #0B1546;
  padding: 1rem 2rem;
}

.navbar {
  background-color: #0B1546;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-right: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  background-color: #1e1e2f;
  color: #fff;
  padding: 4rem 2rem;
}

.hero-text {
  flex: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.google-play-btn img {
  height: 50px;
  transition: transform 0.3s ease;
}

.google-play-btn:hover img {
  transform: scale(1.05);
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.card:hover .contact-img {
  transform: scale(1.1);
}


.contact-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  width: 80px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero .btn {
  background: #00bcd4;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  display: inline-block;
}

/* Responsywność */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}

.about,
.services,
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.service-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  padding: 0.75rem;
  background: #0a192f;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #0B1546;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: sticky;
    top: 90px; /* pod header */
    right: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    background-color: rgba(10, 25, 47, 0.95);
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .nav-links.open {
    max-height: 240px; /* wystarczająco na 3 linki */
    opacity: 1;
    padding: 1rem 0;
  }

  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }

  .nav-links a {
    color: #00bcd4;
    font-weight: 600;
    font-size: 1.25rem;
    display: block;
    transition: color 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
  }
}