/* Style CSS dla strony Ricosta - dystrybucja obuwia, odzieży oraz produktów do domu i ogrodu */

/* Zmienne CSS - używane w całym arkuszu stylów */
:root {
  /* Kolory dla jasnego motywu */
  --primary-color: #007bff;      /* Główny kolor akcentu (niebieski) */
  --bg-primary: #f0f4ff;         /* Tło strony - lekko niebieskawe */
  --text-color: #222222;         /* Kolor tekstu - ciemny szary */
  --text-color-two: #ffffff;     /* Kolor tekstu alternatywny - biały */
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* Cień elementów */

  /* Grubość czcionki */
  --weight-small: 400;     /* Normalna */
  --weight-semibold: 600;  /* Półgruba */
  --weight-bold: 800;      /* Gruba */
}

/* Kolory dla ciemnego motywu */
[data-theme="dark"] {
  --primary-color: #4da3ff;      /* Jaśniejszy niebieski dla ciemnego tła */
  --bg-primary: #1a1f36;         /* Ciemne tło - granatowe */
  --text-color: #e8eaed;         /* Jasny kolor tekstu */
  --text-color-two: #ffffff;     /* Biały tekst */
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Mocniejszy cień */
}

/* Podstawowe style HTML */
html {
  font-size: 100%;
  scroll-behavior: smooth; /* Płynne przewijanie strony */
}

html,
body {
  height: 100%;
  margin: 0;
}

/* Reset domyślnych stylów przeglądarki */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Uwzględnia padding i border w szerokości/wysokości elementu */
}

/* Listy bez punktorów */
ul {
  list-style: none;
}

/* Linki bez podkreślenia z domyślnym kolorem tekstu */
a {
  text-decoration: none;
  color: var(--text-color);
}

/* Główne style dla body */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Minimalna wysokość na całą wysokość okna */
  background: var(--bg-primary);
  color: var(--text-color);
  font-family: "Raleway", sans-serif;
  line-height: 1.5;
}

/* Pozycjonowanie przełącznika motywu - prawy górny róg */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 20; /* Wysoki z-index aby był zawsze widoczny */
}

/* Ikony FontAwesome w ciemnym motywie */
[data-theme="dark"] .theme-toggle-label i {
  color: var(--text-color);
}


/* Główny kontener strony - rozciąga się na całą wysokość */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Sekcje produktów */
.products-sections {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Pojedyncza sekcja produktów */
.product-section {
  margin-bottom: 4rem;
}

/* Nagłówek sekcji - klikalna część */
.section-header {
  cursor: pointer;
  user-select: none;
}

/* Tytuł sekcji */
.section-title {
  font-size: 2rem;
  font-weight: var(--weight-bold);
  color: var(--text-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

/* Hover na tytule sekcji */
.section-header:hover .section-title {
  color: var(--primary-color);
}

/* Logo w tytule sekcji - usuń ten blok CSS aby pozbyć się stylowania logo */
.section-logo {
  height: 3rem;
  width: auto;
  margin-left: 1rem;
  vertical-align: middle;
}

/* Strzałka rozwijania */
.section-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Obrót strzałki gdy sekcja rozwinięta */
.product-section.expanded .section-arrow {
  transform: rotate(180deg);
}

/* Linia pod tytułem */
.section-divider {
  border: none;
  height: 2px;
  background-color: var(--primary-color);
  margin-bottom: 2rem;
}

/* Zawartość sekcji - domyślnie ukryta */
.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* Rozwinięta sekcja */
.product-section.expanded .section-content {
  max-height: 3000px; /* Duża wartość dla płynnej animacji */
  transition: max-height 0.6s ease-in;
}

/* Siatka marek */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  padding-top: 1rem; /* Dodaje przestrzeń po rozwinięciu */
}

/* Karta marki */
.brand-card {
  background: #434c7f;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

/* Hover dla karty marki */
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Nagłówek karty marki */
.brand-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: var(--weight-semibold);
  text-align: center;
}

/* Kontener na logo marki */
.brand-logo-container {
  margin-bottom: 1rem;
  text-align: center;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo marki */
.brand-logo {
  max-width: 90%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Kontener na linki do plików */
.file-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Przycisk pliku */
.file-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

/* Hover dla przycisku pliku */
.file-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}

/* Ikony plików - różne kolory dla różnych typów */
.file-button i {
  font-size: 1.1rem;
}

/* PDF - czerwony */
.file-button .fa-file-pdf {
  color: #ff6b6b;
}

/* Word - niebieski */
.file-button .fa-file-word {
  color: #4a90e2;
}

/* Excel - zielony */
.file-button .fa-file-excel {
  color: #5cb85c;
}

/* PowerPoint - pomarańczowy */
.file-button .fa-file-powerpoint {
  color: #ff9500;
}

/* Obrazy - fioletowy */
.file-button .fa-file-image {
  color: #b366f5;
}

/* Archiwa - żółty */
.file-button .fa-file-zipper {
  color: #ffd700;
}

/* Wideo - czerwony */
.file-button .fa-file-video {
  color: #e74c3c;
}

/* Audio - turkusowy */
.file-button .fa-file-audio {
  color: #00bcd4;
}

/* Kod/tekst - szary */
.file-button .fa-file-code,
.file-button .fa-file-lines {
  color: #95a5a6;
}

/* Domyślny plik - jasny szary */
.file-button .fa-file {
  color: #bdc3c7;
}

/* Komunikat o braku plików */
.no-files {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-size: 0.9rem;
}

/* Karty usług - obuwie, odzież, dom i ogród */
.service-card {
  height: 230px;
  overflow: hidden; /* Ukrywa zawartość poza kartą */
  border-radius: 12px; /* Zaokrąglone rogi */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); /* Bardzo delikatny cień */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Płynna animacja */
  position: relative;
}

/* Efekt hover dla kart - subtelne podnoszenie */
.service-card:hover {
  transform: translateY(-2px); /* Delikatne podniesienie */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* Subtelniejszy cień */
}

/* Zawartość karty - kontener dla informacji */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  position: relative;
  color: var(--text-color-two); /* Biały tekst na kolorowym tle */
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  transition: 0.4s ease-in-out;
  overflow: hidden;
}

/* Informacje na karcie - gradient u dołu dla czytelności tekstu */
.card-info {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Treść na dole karty */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%); /* Gradient ciemniejący u dołu */
  opacity: 1;
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 0;
}

/* Ciemniejszy gradient przy hover dla lepszej widoczności przycisków */
.card-content:hover .card-info {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Mocniejszy gradient na urządzeniach mobilnych dla lepszej czytelności */
@media (max-width: 768px) {
  .card-info {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
  }
}

/* Szczegóły karty - tytuł i opis */
.card-details {
  position: relative;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* Tytuł usługi na karcie */
.card-details h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.6); /* Cień tekstu dla lepszej czytelności */
}

/* Ikona przy tytule */
.card-details h3 i {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.9);
}

/* Opis usługi - ukryty domyślnie, pojawia się przy hover */
.card-details p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.4;
  max-height: 0; /* Ukryty domyślnie */
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Pokazanie opisu przy hover */
.card-content:hover .card-details p {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Dla urządzeń dotykowych - zawsze pokaż opisy i przyciski */
.touch-device .card-details p {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.5rem;
}

.touch-device .brand-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Dla urządzeń z myszką - pokaż opisy tylko przy hover */
.no-touch .card-details p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.no-touch .card-content:hover .card-details p {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Przyciski marek - pojawią się przy hover karty obuwia */
.brand-buttons {
  display: flex;
  flex-wrap: wrap; /* Zawijanie przycisków w razie potrzeby */
  gap: 0.8rem; /* Odstęp między przyciskami */
  max-height: 0; /* Ukryte domyślnie */
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Pokazanie przycisków marek przy hover */
.service-card:hover .brand-buttons {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Pojedynczy przycisk marki - efekt szklanego przycisku */
.brand-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.4rem;
  background: rgba(255, 255, 255, 0.15); /* Półprzezroczysty biały */
  backdrop-filter: blur(12px); /* Efekt rozmycia tła (glass morphism) */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Stan hover przycisku marki */
.brand-button:hover {
  background: rgba(255, 255, 255, 0.25); /* Jaśniejsze tło */
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ikona strzałki w przycisku */
.brand-button i {
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

/* Animacja strzałki przy hover */
.brand-button:hover i {
  transform: translateX(3px); /* Przesuwa strzałkę w prawo */
}

/* Tła kart usług - jednolity kolor dla profesjonalnego wyglądu */
.footwear-card,
.clothing-card,
.home-garden-card {
  background: #434c7f; /* Jaśniejszy odcień granatowego */
}

/* Warstwa na karcie - delikatne rozświetlenie przy hover */
.card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
  z-index: 1;
}

/* Efekt rozświetlenia przy hover */
.card-content:hover::before {
  background: rgba(255, 255, 255, 0.03); /* Bardzo subtelna biała warstwa */
}

/* Zapewnia, że treść karty jest nad warstwą */
.card-info {
  z-index: 2;
}

/* Przełącznik motywu jasny/ciemny */
#theme-switch {
  display: none; /* Ukryty checkbox, widoczna tylko etykieta */
}

/* Kontener dla ikon słońca i księżyca */
.theme-toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 60px;
}

/* Ikony przełącznika motywu */
.theme-toggle-label i {
  font-size: 24px;
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--text-color);
}

/* Animacja ikon przełącznika motywu */
.moon-icon {
  transform: rotate(10deg);
}

/* Obrót księżyca przy włączeniu ciemnego motywu */
#theme-switch:checked + .theme-toggle-label .moon-icon {
  transform: rotate(250deg);
}

/* Obrót słońca przy włączeniu ciemnego motywu */
#theme-switch:checked + .theme-toggle-label .sun-icon {
  transform: rotate(100deg);
}

/* Sekcja hero - główna część strony z nagłówkiem */
.hero-section {
  flex: 1; /* Wypełnia dostępną przestrzeń */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 4rem 1rem 2rem;
  /* Tło z wzorem - warstwa koloru + obrazek wzoru */
  background-image: 
    linear-gradient(rgba(240, 244, 255, 0.9), rgba(240, 244, 255, 0.9)), 
    url('./assets/pattern.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: auto, 360px 360px;
}

/* Tło hero dla ciemnego motywu */
[data-theme="dark"] .hero-section {
  background-image: 
    linear-gradient(rgba(26, 31, 54, 0.9), rgba(26, 31, 54, 0.9)), 
    url('./assets/pattern.jpg');
}

/* Odstępy między elementami w sekcji hero */
.hero-section > div {
  margin-top: 1rem;
}

/* Główny nagłówek */
.hero-section h1 {
  font-size: 3.2rem;
  text-align: center;
  transition: 0.2s ease-in-out;
}

/* Logo image styles */
.logo-image {
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Styl zaznaczonego tekstu */
h1::selection,
h2::selection {
  color: #fff;
  background: var(--primary-color);
}

/* Animowany tekst - słowa zmieniające się cyklicznie */
.animated-text-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 1.5em;
  width: 100%;
  max-width: 100%;
  overflow: hidden; /* Ukrywa słowa poza kontenerem */
  min-width: 400px;
}

/* Pojedyncze animowane słowo */
.animated-word {
  opacity: 0;
  animation: fadeInSlideIn 12s infinite; /* Animacja trwa 12s i powtarza się */
  position: absolute;
  width: 100%;
  text-align: center;
}

/* Animacja pojawiania się i znikania słów */
@keyframes fadeInSlideIn {
  0%, 100% {
    opacity: 0;
    transform: translateX(100%); /* Start z prawej strony */
  }
  15%, 25% {
    opacity: 1;
    transform: translateX(0%); /* Wyśrodkowane i widoczne */
  }
  50%, 95% {
    opacity: 0;
    transform: translateX(-100%); /* Znika w lewo */
  }
}

/* Opóźnienia animacji dla 3 słów - każde pojawia się co 4 sekundy */
.animated-word:nth-child(1) { animation-delay: 0s; }
.animated-word:nth-child(2) { animation-delay: 4s; }
.animated-word:nth-child(3) { animation-delay: 8s; }

/* Opis w sekcji hero */
.hero-description {
  text-align: center;
  margin: 1.5rem 0;
  transition: 0.5s ease-in-out;
  max-width: 800px;
}

/* Nagłówek opisu - informacja o firmie */
.hero-description h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: var(--weight-semibold);
}

/* Podnagłówek - hasło reklamowe */
.hero-description h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: var(--weight-semibold);
}

/* Kalam font styles */
.kalam-light {
  font-family: "Kalam", cursive;
  font-weight: 300;
  font-style: normal;
}

.kalam-regular {
  font-family: "Kalam", cursive;
  font-weight: 400;
  font-style: normal;
}

.kalam-bold {
  font-family: "Kalam", cursive;
  font-weight: 700;
  font-style: normal;
}

/* Slogan with Kalam font and -15 degree slant */
.hero-description h3.kalam-slogan {
  font-family: "Kalam", cursive !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: 2.6rem !important;
  transform: rotate(-5deg);
  display: inline-block;
  margin: 2rem 0;
}

/* Style responsywne - dostosowanie do różnych rozmiarów ekranu */

/* Tablet i małe laptopy */
@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: 1fr; /* Jedna kolumna zamiast dwóch */
  }
  
  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Telefony i małe tablety */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 3rem 1rem 2rem;
  }
  
  /* Mniejszy odstęp przełącznika motywu od krawędzi */
  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }

  /* Mniejsze czcionki na mobilnych urządzeniach */
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  /* Mniejsza czcionka dla animowanego tekstu na urządzeniach mobilnych */
  .animated-text-wrapper {
    font-size: 2rem;
  }

  .hero-description h2 {
    font-size: 1.3rem;
  }
  
  .hero-description h3 {
    font-size: 1.1rem;
  }
  
  .hero-description h3.kalam-slogan {
    font-size: 2.2rem !important;
  }
  
  /* Smaller logo on mobile */
  .logo-image {
    max-width: 200px;
  }
  
  /* Większa wysokość kart na urządzeniach mobilnych */
  .service-card {
    height: 250px;
  }
  
  /* Mniejsze przyciski marek */
  .brand-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  /* Responsywne style dla sekcji produktów */
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-arrow {
    font-size: 1rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
  
  .brand-card {
    padding: 1.2rem;
  }
  
  .brand-card h3 {
    font-size: 1.1rem;
  }
  
  .brand-logo-container {
    height: 60px;
  }
  
  .file-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* Małe telefony */
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  /* Dostosowanie logo w sekcjach na małych ekranach */
  .section-logo {
    height: 2rem;
    margin-left: 0.5rem;
  }
}

/* Stopka strony */
.footer {
  background: #2d3561; /* Granatowe tło dla obu motywów */
  color: #ffffff;
  margin-top: 0;
  padding: 3rem 0 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Cień od góry */
}

/* Kontener stopki - ograniczona szerokość i wyśrodkowanie */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Układ zawartości stopki - dwie kolumny */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Informacje o firmie */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Nazwa firmy w stopce */
.footer-company {
  font-size: 2rem;
  font-weight: var(--weight-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Dane kontaktowe w stopce */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1rem;
}

/* Ikony przy danych kontaktowych */
.footer-contact i {
  font-size: 1rem;
  color: var(--primary-color);
  width: 20px;
}

/* Linki kontaktowe w stopce */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Pojedynczy link kontaktowy */
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  transition: 0.3s ease;
  font-size: 1rem;
}

/* Efekt hover dla linków */
.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(5px); /* Przesuwa link w prawo */
}

/* Ikony przy linkach */
.footer-link i {
  font-size: 1.1rem;
  width: 20px;
  color: var(--primary-color);
}

/* Dolna część stopki - prawa autorskie */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Delikatna linia */
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Stopka - style responsywne */
@media (max-width: 768px) {
  .footer {
    margin-top: 3rem;
    padding: 2rem 0 1rem;
  }

  /* Jedna kolumna na urządzeniach mobilnych */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Wyśrodkowanie elementów stopki */
  .footer-info {
    align-items: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-link {
    justify-content: center;
  }
}

/* Stopka - małe telefony */
@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }

  /* Mniejsza nazwa firmy */
  .footer-company {
    font-size: 1.5rem;
  }

  /* Mniejsze czcionki kontaktów */
  .footer-contact p,
  .footer-link {
    font-size: 0.9rem;
  }
}

/* ========== FORMULARZ HASŁA ========== */

.password-form {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 2rem;
}

.password-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.password-container h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  margin-bottom: 1rem;
}

.password-container p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

#password-input-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#password-input {
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

#password-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

#password-input::placeholder {
  color: var(--text-color);
  opacity: 0.6;
}

#password-input-form button {
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
}

#password-input-form button:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#password-input-form button:active {
  transform: translateY(0);
}

.password-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Responsywność formularza hasła */
@media (max-width: 480px) {
  .password-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .password-container h3 {
    font-size: 1.3rem;
  }
}

/* ========== WSKAŹNIK ŁADOWANIA ========== */

.loading-indicator {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.7;
}

.loading-indicator i {
  margin-right: 0.5rem;
}

.loading-indicator.error {
  color: #ff6b6b;
  opacity: 1;
}