:target {
  scroll-margin-top: 30px;
}
html, body {
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  background-color: #0d051a;
  color: #fff;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a112b;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  gap: 40px;

}

.nav-left, .nav-right {
  display: flex;
  gap: 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-left a:hover,.nav-right a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-logo img {
  max-height: 65px;

}
@media (max-width: 768px) {
  .navbar {
    display: none;
  }
}
.btn.gradient {
  background: linear-gradient(45deg, #ff00d4, #ff9100);
  color: white;
}
/* === MOBILE NAVBAR === */
.mobile-navbar {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .mobile-navbar {
    display: block;
    background-color: #1a112b;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }

  .mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-logo {
    height: 50px;
  }

  .burger {
    font-size: 30px;
    cursor: pointer;
    color: white;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    animation: slideDown 0.5s ease forwards;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    padding: 12px;
    margin: 5px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }

  .mobile-menu a:nth-child(1) { background-color: #00e0ff; }
  .mobile-menu a:nth-child(2) { background-color: #ff00d4; }
  .mobile-menu a:nth-child(3) { background-color: #ff9100; }
  .mobile-menu a:nth-child(4) {
    background: linear-gradient(45deg, #ff00d4, #ff9100);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
.map-section {
  background-image: url('../img/bckgrnd.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 20px;
  color: white;
}

.map-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  backdrop-filter: blur(10px);
}

.map-box {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  border: 3px solid #ff00d4;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px #ff00d4;
}

.map-info {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: left;
}

.map-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.map-info p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #fff;
}

.map-info .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(45deg, #ff00d4, #ff9100);
  color: white;
  transition: transform 0.2s;
}

.map-info .btn:hover {
  transform: scale(1.05);
}



footer {
  background-color: #0d051a;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #999;
}

@media screen and (max-width: 768px) {
  .map-section {
    background-attachment: scroll !important;
  }
}
/* Ogólne style sekcji */
.about-section,
.experience-section {
  padding: 40px 20px;
  background: linear-gradient(to right, #0d051a, #110820);
  color: white;
}

/* Layout kontenerów */
.about-container,
.experience-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* Obrazki */
.about-image img,
.experience-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 20px #00f0ff;
}

/* Tekst */
.about-text,
.experience-text {
  flex: 1;
}

.about-text h2,
.experience-text h2 {
  font-family: 'Impact', sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  color: #00f0ff;
}

.about-text p,
.experience-text ul {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
}

/* Lista z ikonkami */
.experience-text ul {
  list-style: none;
  padding: 0;
}

.experience-text li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.experience-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff00d4;
  font-weight: bold;
}

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

  .about-text,
  .experience-text {
    padding: 0 10px;
  }
}


