/* Fonty Nimbus Sans */
@font-face {
    font-family: 'NimbusSans';
    src: url('fonts/nimbus-sans-l.bold.woff2') format('woff2'),
         url('fonts/nimbus-sans-l.bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NimbusSans';
    src: url('fonts/nimbus-sans-l.bold-italic.woff2') format('woff2'),
         url('fonts/nimbus-sans-l.bold-italic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'NimbusSans';
    src: url('fonts/nimbus-sans-l.regular.woff2') format('woff2'),
         url('fonts/nimbus-sans-l.regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NimbusSans';
    src: url('fonts/nimbus-sans-l.regular-italic.woff2') format('woff2'),
         url('fonts/nimbus-sans-l.regular-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NimbusSans', Arial, sans-serif;
    background: white;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 60px 0 30px; /* Zaktualizowano paddingi zgodnie z nowymi wysokościami pasków */
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
}

/* Górny pasek - zmniejszony o 25% */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Zmniejszono z 80px (25% redukcji) */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 1.5rem;
    padding: 8px 0; /* Proporcjonalnie zmniejszono z 10px */
}

.logo-top {
    height: 38px; /* Zmniejszono z 50px (proporcjonalnie do wysokości paska) */
    width: auto;
    object-fit: contain;
}

/* Elementy w prawym rogu belki */
.top-placeholder-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-placeholder {
    color: #DC2B19;
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem; /* Rozmiar tekstu pozostaje bez zmian */
}

.separator {
    color: #DC2B19;
    font-weight: bold;
}

.flag-link {
    font-size: 1.4rem; /* Rozmiar emoji pozostaje bez zmian */
    text-decoration: none;
    transition: transform 0.2s;
}

.flag-link:hover {
    transform: scale(1.1);
}

/* Główna zawartość */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 30px 0 20px;
    padding: 0.25rem 0;
}

.logo-main-stanczyk-manufaktura {
    height: 120px;
    width: 312px; /* 120px * 2.6 */
    object-fit: contain;
}

.logo-main-wytfurnia {
    height: 120px;
    width: 120px;
    object-fit: contain;
}

/* Przycisk do starej poczty */
.old-mail-button-container {
    display: flex;
    justify-content: center;
    margin: 5px 0 15px;
}

.old-mail-button {
    display: inline-block;
    background: #DC2B19;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.old-mail-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.title-section {
    text-align: center;
    margin: 20px 0;
    padding: 0.5rem 0;
}

h1 {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

h2 {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.placeholder {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.placeholder-bold {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 1rem 0;
}

.button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'NimbusSans', Arial, sans-serif;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 0;
}

.button:hover {
    background: #DC2B19;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.button:active {
    background: #DC2B19;
    color: #000;
    border: 2px solid #000;
    transform: translateY(0);
}

.button .material-symbols-outlined {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.button-label {
    font-weight: 700;
    font-size: 1rem;
}

.section {
    width: 100%;
    max-width: 800px;
    margin: 25px auto;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.section-content {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.section-content-bold {
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Stopka - zmniejszona o 50% */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px; /* Zmniejszono z 60px (50% redukcji) */
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: 'NimbusSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.9rem; /* Rozmiar tekstu pozostaje bez zmian */
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.privacy-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #DC2B19;
}

/* ---------------------------------------- */
/* 9-przyciskowa siatka 3×3 (proporcje 1.5) */
/* ---------------------------------------- */
.buttons-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 0.5rem 0;
}

.button-9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;   /* 1.5 × 100px */
  height: 100px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: 'NimbusSans', Arial, sans-serif;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.button-9:hover {
  background: #DC2B19;
  color: #000;
  transform: translateY(-2px);
}

.button-9:active {
  border-color: #000;
  transform: translateY(0);
}

.button-9 .material-symbols-outlined {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.button-9 .button-label {
  font-size: 0.9rem;
  text-align: center;
}

.buttons-grid-9 {
  gap: 3rem;
}

/* ------------------------------- */
/* Poprawiony kolor list UL i OL   */
/* ------------------------------- */
.content-list,
ol.content-list {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
  color: #444;            /* ciemniejszy odcień dla lepszej czytelności */
  line-height: 1.5;
}

.content-list li,
ol.content-list li {
  margin-bottom: 0.5rem;
}

.note {
    border: 2px solid #DC2B19;
    color: #DC2B19 !important;
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    font-weight: 700;
    box-sizing: border-box;
}
.note b {
    color: #DC2B19 !important;
}


@media (max-width: 768px) {
    body {
        padding: 53px 0 30px; /* Zaktualizowano padding top dla nowej wysokości paska */
    }
    
    .top-bar {
        height: 53px; /* Zmniejszono z 70px (25% redukcji) */
        padding: 0 1.5rem;
    }
    
    .logo-top {
        height: 30px; /* Zmniejszono z 40px (proporcjonalnie) */
    }
    
    .logo-container {
        padding: 6px 0; /* Proporcjonalnie zmniejszono */
    }
    
    .logo-section {
        flex-direction: column;
        gap: 2.5rem;
        margin: 20px 0 15px;
    }
    
    .old-mail-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .old-mail-button-container {
        margin: 4px 0 12px;
    }
    
    .title-section {
        margin: 15px 0;
    }
    
    .buttons-row {
        gap: 2rem;
        margin: 15px 0;
    }
    
    .button {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .placeholder,
    .placeholder-bold {
        font-size: 0.95rem;
    }
    
    .section-content,
    .section-content-bold {
        font-size: 0.9rem;
    }
    
    .section {
        margin: 20px auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 45px 0 30px; /* Zaktualizowano padding top dla nowej wysokości paska */
    }
    
    .top-bar {
        height: 45px; /* Zmniejszono z 60px (25% redukcji) */
        padding: 0 1rem;
    }
    
    .logo-top {
        height: 26px; /* Zmniejszono z 35px (proporcjonalnie) */
    }
    
    .logo-container {
        padding: 5px 0; /* Proporcjonalnie zmniejszono */
    }
    
    .top-placeholder-container {
        gap: 0.5rem;
    }
    
    .top-placeholder {
        font-size: 0.9rem;
    }
    
    .flag-link {
        font-size: 1.2rem;
    }
    
    .old-mail-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .old-mail-button-container {
        margin: 3px 0 10px;
    }
    
    .title-section {
        margin: 12px 0;
    }
    
    .buttons-row {
        flex-direction: column;
        margin: 12px 0;
    }
    
    .section {
        margin: 15px auto;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .placeholder,
    .placeholder-bold {
        font-size: 0.9rem;
    }
    
    .section-content,
    .section-content-bold {
        font-size: 0.85rem;
    }


}
