/* Innovatek Cloud PlayRooms – podstawowy styl strony */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #f5f5f7;
  color: #222222;
}

/* Układ główny */

header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: #333333;
  margin: 0 0.35rem;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

/* Typografia */

h1, h2, h3 {
  color: #111111;
  margin-top: 0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 0.9rem;
}

section {
  margin-bottom: 2.5rem;
}

/* Listy */

ul, ol {
  padding-left: 1.4rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

/* Obrazki */

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 14px;
}

/* Linki w treści */

a {
  color: #0056b3;
}

a:hover {
  color: #003f80;
}

/* Formularze */

form {
  max-width: 520px;
  margin-top: 0.5rem;
}

label {
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  margin-top: 0.15rem;
  border-radius: 8px;
  border: 1px solid #cccccc;
  font-size: 0.95rem;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.12);
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.4rem;
  background: #0056b3;
  color: #ffffff;
}

button[type="submit"]:hover {
  background: #00418a;
}

/* Stopka */

footer {
  margin-top: 2rem;
  padding: 1.5rem 1rem 2rem;
  background: #111111;
  color: #eeeeee;
  font-size: 0.85rem;
  text-align: center;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

footer p {
  margin: 0.3rem 0;
}

/* Responsywność */

@media (max-width: 768px) {
  nav {
    text-align: center;
    line-height: 1.8;
  }

  main {
    margin: 1.5rem 0.75rem 2rem;
    padding: 1.25rem 1rem 1.75rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}
article {
  display: flex;
  justify-content: space-around;
  gap: 50px;
}
article img {
  max-width: 500px;
  width: auto;
}