/* === GLOBAL === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0a0a0c;
  padding: 0.8rem 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(255,45,85,0.2);
}

.nav-toggle {
  display: none; /* ukryj hamburger na desktopie */
}


/* kontener */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(-90px); /* przesunięcie tylko desktop */
}

/* Logo */
.nav-logo img {
  height: 115px;
  display: block;
}

/* Menu linków */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.nav-item .nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  transition: color 0.3s;
}

.nav-item .nav-link:hover {
  color: #ff2a55;
}

/* === MOBILE STYLES === */
@media (max-width: 900px) {

  /* navbar pozostaje taki sam — zawsze fixed */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0a0a0c;
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255,45,85,0.2);
  }

  .nav-container {
    justify-content: space-between;
    transform: none; /* bez przesunięcia na mobile */
  }

  /* przesunięcie logo i hamburgera */
  .nav-logo {
	display: block;
    margin-left: -140px; /* logo trochę w lewo */
  }

  .nav-toggle {
    display: block;
    margin-right: -150px; /* burger trochę w prawo */
  }

  .nav-menu {
    position: fixed;
    top: 115px; /* poniżej paska */
    left: -35px;
    width: 100%;
    background: #0a0a0c;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 60vh; /* rozwinięcie */
  }

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

  .nav-link {
    font-size: 1.1rem;
  }
}

/* desktopowa wysokość navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px; /* STAŁA wysokość */
  background: #0a0a0c;
  padding: 0; /* usuń zmienne paddingi */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(255,45,85,0.2);
}

/* Margines, by treść nie chowała się pod navbar */
body {
  padding-top: 130px;

/* === PROFILE LAYOUT === */
.profile-layout {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 20px 40px; /* miejsce na navbar */
  flex-wrap: wrap;
}

/* === SIDEBAR === */
.profile-sidebar {
  flex: 0 0 280px;
  background: #1c1c1c;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(227, 27, 109, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-sidebar:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(227, 27, 109, 0.4);
}

.profile-sidebar img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #ff2a55;
}

.profile-sidebar h2 {
  margin: 8px 0 4px;
  font-size: 1.3rem;
  color: #ff2a55;
}

.profile-sidebar .position {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.sidebar-contact h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

.sidebar-contact p {
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* === MAIN PROFILE CONTENT === */
.profile-main {
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.profile-section {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(227, 27, 109, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(227, 27, 109, 0.3);
}

.profile-section h2 {
  font-size: 1.1rem;
  color: #ff2a55;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-section p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
}

/* === FOOTER === */
footer {
  background: transparent;
  text-align: center;
  font-size: 0.85rem;
  color: #b7b7b7;
  margin-top: 40px;
}

/* === ANIMATIONS ON SCROLL === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ICON STYLE === */
.material-icons {
  color: #ff2a55;
  font-size: 18px;
}
