/* responsive.css */
/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
  :root {
    --page-padding: 20px;
  }
  
  body {
    padding: 0;
  }
  
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    margin: 16px;
    border-radius: 12px;
  }
  
  .navbar ul {
    flex-direction: column;
    width: 100%;
  }
  
  .navbar li {
    width: 100%;
    text-align: center;
  }
  
  .navbar a {
    display: block;
    width: 100%;
    padding: 12px;
  }
  
  header {
    padding: 32px 24px;
    margin: 0 16px;
    border-radius: 12px;
  }
  
  header h1 {
    font-size: 2.5rem;
  }
  
  header h2, header p {
    font-size: 1.2rem;
  }
  
  .main-container {
    padding: 0 16px 32px;
  }
  
  .postulaty-container, .tapety-container {
    grid-template-columns: 1fr;
  }
  
  .tapeta-box {
    min-height: 380px;
  }
  
  .tapeta-box img {
    height: 160px;
  }
  
  .page-logo {
    width: 60px;
    height: 60px;
    top: 15px;
    right: 15px;
  }
  
  .tapeta-box:nth-child(5) .new-badge,
  .tapeta-box:nth-child(6) .new-badge,
  .tapeta-box:nth-child(8) .new-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: -6px;
    right: -6px;
  }
}

@media (max-width: 480px) {
  .page-logo {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
  }
  
  .tapeta-box {
    min-height: 350px;
  }
}