/* ------------------------ */
/* RESET + GLOBALNE STYLE */
/* ------------------------ */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* blokuje przewijanie w bok */
}

a {
  color: #FF6F00;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ------------------------ */
/* NAGŁÓWEK */
/* ------------------------ */

header {
  background-color: #fff;
  color: black;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  position: relative;
  margin-top: 70px;
}

header .header-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

header .logo {
  width: 540px;
  height: auto;
  margin-right: 20px;
  max-width: 100%;
}

header h1 {
  font-size: 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #FF6F00;
  font-weight: bold;
}

/* ------------------------ */
/* NUMER TELEFONU */
/* ------------------------ */

.phone {
  font-size: 24px;
  color: black;
}

.phone a {
  color: #FF6F00;
  text-decoration: none;
  font-weight: bold;
}

.phone a:hover {
  text-decoration: underline;
}

/* ------------------------ */
/* SEKCJA O MNIE */
/* ------------------------ */

.about-me {
  padding: 30px 20px;
  text-align: center;
  max-width: 800px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-me h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #FF6F00;
  font-weight: bold;
}

.about-me p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-me p:last-of-type {
  margin-bottom: 0;
  font-size: inherit;
}

/* ------------------------ */
/* NAWIGACJA (MENU GŁÓWNE) */
/* ------------------------ */

nav {
  background-color: #fff;
  text-align: center;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 10px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  text-decoration: none;
  color: #FF6F00;
  font-size: 18px;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ff8c00;
}

nav ul li a:active {
  color: #FF6F00;
}

/* ------------------------ */
/* STOPKA */
/* ------------------------ */

footer {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}

footer p {
  font-size: 14px;
  margin: 0;
}

/* ------------------------ */
/* RESPONSYWNOŚĆ */
/* ------------------------ */

@media (max-width: 768px) {
  header {
    padding-bottom: 20px;
    margin-top: 60px;
  }

  header .logo {
    width: 250px;
    margin: 0 auto;
    display: block;
  }

  header .header-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header h1 {
    font-size: 24px;
    text-align: center;
  }

  nav {
    height: auto;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    font-size: 16px;
  }

  .about-me {
    margin: 20px 10px;
    padding: 20px 10px;
  }

  .about-me h2 {
    font-size: 20px;
  }

  .about-me p {
    font-size: 15px;
  }

  .phone {
    font-size: 18px;
    text-align: center;
  }
}
