body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #222;
}

/* Pasek nagłówkowy */
#title {
  background: #d9c8aa;
  color: #000;
  text-align: center;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Burger + header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
}
.flags img {
  width: 30px;
  margin: 0 5px;
  cursor: pointer;
}
.burger-menu {
  position: relative;
}
.menu-icon {
  cursor: pointer;
  font-size: 1.5rem;
  display: inline-block;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.menu li {
  padding: 10px 20px;
}
.menu li a {
  text-decoration: none;
  color: #222;
}
#menu-toggle {
  display: none;
}
#menu-toggle:checked + .menu-icon + .menu {
  display: block;
}

/* Sekcje */
section {
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
h1, h2, h3 {
  text-align: center;
}

/* Kwadraty (umiejętności + CV/Portfolio) */
.skills-container,
.cv-portfolio-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.skill, .cv-box, .portfolio-box {
  flex: 1;
  min-width: 260px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.skill:hover, .cv-box:hover, .portfolio-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Przyciski */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #d9c8aa;
  color: #000;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* Stopka */
footer {
  background: #d9c8aa;
  color: #000;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}
footer a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
/* Footer przyklejony do dołu */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
  background: #d9c8aa;
  color: white;
  text-align: center;
  padding: 15px;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

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

/* ===== CV Layout ===== */

/* Kontener CV z dwiema kolumnami */
.cv-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
}

/* Lewa kolumna (węższa) */
.cv-left {
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

/* Zdjęcie profilowe */
.cv-left .photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #d9c8aa;
}

/* Sekcje w lewej kolumnie */
.cv-left section {
  margin-bottom: 25px;
}
.cv-left h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}
.cv-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-left ul li {
  margin-bottom: 8px;
}

/* Prawa kolumna (szersza) */
.cv-right {
  flex: 3;
  min-width: 400px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
}

/* Nagłówki w prawej kolumnie */
.cv-right h2 {
  margin-top: 30px;
  font-size: 1.4rem;
  color: #333;
  border-bottom: 2px solid #d9c8aa;
  padding-bottom: 5px;
}

/* Doświadczenie / Edukacja */
.experience {
  margin-bottom: 20px;
}
.experience h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.experience span {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
}
.experience ul {
  margin-top: 5px;
  padding-left: 20px;
}

/* Certyfikaty */
.cv-right ul {
  padding-left: 20px;
}

/* Responsywność */
@media (max-width: 900px) {
  .cv-container {
    flex-direction: column;
  }
  .cv-left, .cv-right {
    max-width: 100%;
  }
}
