/* =========================================
   1. RESET I PODSTAWY
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #000;
  color: white;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden; 
}

/* --- ANIMOWANE TŁO (SLIDER) --- */
.bg-slideshow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; 
  background-color: #000;
}

.bg-slideshow::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.bg-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; 
  z-index: 0;
}

.bg-slide.active {
  opacity: 1;
}

/* =========================================
   2. NAGŁÓWEK (HEADER)
   ========================================= */
header {
  position: fixed; top: 0; width: 100%; padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
  z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-links { display: flex; gap: 25px; z-index: 10; }
.nav-links a { color: white; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: #ff3344; }

.logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 24px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #ffffff !important; text-decoration: none !important;
  z-index: 10;
}

.header-actions { display: flex; align-items: center; gap: 20px; z-index: 10; }

.btn-login { background: white; color: black; border: none; padding: 10px 24px; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
.btn-login:hover { filter: brightness(0.9); }
.btn-login:active { transform: scale(0.95); }

/* =========================================
   3. SEKCJA POWITALNA (HERO)
   ========================================= */
.welcome-section {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 85vh; padding-top: 100px; text-align: center;
}

.typing-container { display: inline-block; }
.typing-main { font-size: 80px; font-weight: 700; margin-bottom: 5px; overflow: hidden; white-space: nowrap; border-right: 3px solid transparent; width: 0; animation: typing 1s steps(10, end) forwards, blink-caret-main 1.2s step-end; }
.typing-sub { font-size: 48px; font-weight: 400; color: #ccc; overflow: hidden; white-space: nowrap; border-right: 3px solid transparent; width: 0; margin: 0 auto; animation: typing 2s steps(25, end) 1.2s forwards, blink-caret-sub 2s step-end 1.2s; }

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret-main { 50% { border-color: #ffffff; } 100% { border-color: transparent; } }
@keyframes blink-caret-sub { 50% { border-color: #ffffff; } 100% { border-color: transparent; } }

.search-wrapper { margin-top: 40px; width: 100%; max-width: 700px; opacity: 0; animation: fadeIn 0.6s ease 0.8s forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(20px); } }

.search-container { display: flex; background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.search-container input { flex: 1; padding: 18px 20px; border: none; outline: none; font-size: 16px; font-family: 'Montserrat', sans-serif; color: #222; }
.search-btn { background: #ff3344; color: white; border: none; padding: 0 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.search-btn:hover { background: #e62e3d; }
.search-btn svg { width: 22px; height: 22px; }
.search-message { margin-top: 15px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; display: none; text-align: center;}

/* =========================================
   4. SEKCJE PROMO I KARUZELA (JASNE TŁO)
   ========================================= */
.light-section {
  background: #ffffff;
  color: #111;
  padding: 80px 20px;
  position: relative;
  z-index: 5;
}

.promo-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.promo-image { flex: 1; border-radius: 12px; overflow: hidden; }
.promo-image img { width: 100%; display: block; }
.promo-text { flex: 1; }
.promo-text h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.promo-text p { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 30px; }

.btn-red {
  display: inline-block;
  background: #ff3344;
  color: white;
  padding: 14px 30px;
  border-radius: 30px; 
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-red:hover { background: #d92635; transform: translateY(-2px); }

.slider-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.slider-container h3 { font-size: 24px; font-weight: 600; margin-bottom: 40px; color: #333; }
.slider-overflow {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.slider-overflow::before, .slider-overflow::after {
  content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
}
.slider-overflow::before { left: 0; background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%); }
.slider-overflow::after { right: 0; background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%); }

.slider-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused; 
}

.slide-logo {
  font-size: 24px;
  font-weight: 700;
  color: #999;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* =========================================
   5. ŚCIANA ZDJĘĆ (PHOTO WALL)
   ========================================= */
.photo-wall-section {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.photo-wall-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr); 
  gap: 0; 
}

.photo-wall-grid img {
  width: 100%;
  aspect-ratio: 1 / 1; 
  object-fit: cover;
  display: block;
}

.photo-wall-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.photo-wall-overlay h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.photo-wall-overlay p {
  font-size: 18px;
  color: #ddd;
  max-width: 650px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* =========================================
   6. ZAKŁADKA "O NAS" (ABOUT US)
   ========================================= */
.about-hero { padding: 200px 20px 100px; text-align: center; background: #000; }
.about-hero h1 { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.about-hero .red-text { color: #ff3344; }
.about-hero p { max-width: 700px; margin: 0 auto; font-size: 18px; color: #aaa; line-height: 1.6; }

.stats-section { background: #111; padding: 60px 20px; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.stats-wrapper { display: flex; justify-content: space-around; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 30px; }
.stat-box { text-align: center; }
.stat-box h3 { font-size: 48px; color: #ff3344; font-weight: 700; margin-bottom: 5px; }
.stat-box span { font-size: 14px; font-weight: 600; text-transform: uppercase; color: #888; letter-spacing: 1px; }

.story-section { background: #fff; color: #000; padding: 100px 20px; }
.story-container { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.story-image { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.story-image img { width: 100%; display: block; transition: transform 0.5s ease; }
.story-image:hover img { transform: scale(1.05); }
.story-content { flex: 1; }
.story-content h2 { font-size: 40px; font-weight: 700; margin-bottom: 25px; line-height: 1.2; }
.story-content p { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 20px; }

.team-section { background: #f4f5f6; color: #000; padding: 100px 20px; text-align: center; }
.team-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.team-subtitle { color: #666; font-size: 16px; margin-bottom: 50px; }
.team-grid { display: flex; justify-content: center; gap: 30px; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; }
.team-card { background: #fff; border-radius: 12px; overflow: hidden; width: 300px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-10px); }
.team-photo img { width: 100%; height: 350px; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.3s; }
.team-card:hover .team-photo img { filter: grayscale(0%); }
.team-info { padding: 25px; }
.team-info h3 { font-size: 20px; margin-bottom: 5px; font-weight: 700; }
.team-info .role { display: block; color: #ff3344; font-size: 13px; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; }
.team-info p { font-size: 14px; color: #666; line-height: 1.6; }

/* =========================================
   7. ZAKŁADKA "KONTAKT" (DZIELONY EKRAN)
   ========================================= */
.contact-page-section {
  padding: 160px 20px 100px;
  background: #000;
  min-height: 80vh;
}

.contact-split-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-info-side {
  flex: 1;
  padding: 80px 60px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-side h2 { font-size: 42px; margin-bottom: 20px; font-weight: 800; color: #fff; line-height: 1.2; }
.contact-info-side p { color: #888; line-height: 1.6; margin-bottom: 50px; font-size: 16px; }

.contact-details { list-style: none; }
.contact-details li { margin-bottom: 25px; font-size: 16px; color: #ddd; display: flex; flex-direction: column; }
.contact-details li span { font-size: 12px; text-transform: uppercase; color: #ff3344; font-weight: 700; margin-bottom: 5px; letter-spacing: 1px; }

.contact-form-side {
  flex: 1.2;
  padding: 80px 60px;
  background: #ffffff;
  color: #000;
}

.contact-form-side h2 { font-size: 32px; margin-bottom: 30px; font-weight: 700; }

.contact-form-light { display: flex; flex-direction: column; gap: 20px; }
.contact-form-light input, .contact-form-light select, .contact-form-light textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f4f5f6;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-form-light input:focus, .contact-form-light select:focus, .contact-form-light textarea:focus {
  outline: none;
  border-color: #ff3344;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,51,68,0.1);
}

.contact-form-light textarea { resize: vertical; min-height: 160px; }

.contact-form-light button {
  margin-top: 10px;
  align-self: flex-start;
  padding: 16px 40px;
  background: #ff3344;
  color: white;
  border-radius: 30px; 
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
.contact-form-light button:hover { background: #d92635; transform: translateY(-2px); }

/* =========================================
   8. ZAKŁADKA "KATEGORIE" (CREATIVE GRID)
   ========================================= */
.categories-section {
  padding: 160px 40px 100px;
  max-width: 1300px;
  margin: 0 auto;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 40px; 
}

.category-card-wide {
  display: flex;
  background: #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.category-card-wide:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 51, 68, 0.3); 
}

.cat-image {
  flex: 1;
  max-height: 300px;
  overflow: hidden;
}

.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.category-card-wide:hover .cat-image img {
  transform: scale(1.05);
}

.cat-info {
  flex: 1.5;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
}

.cat-number {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03); 
  font-family: inherit;
}

.cat-info h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.category-card-wide:hover .cat-info h2 {
  color: #ff3344; 
}

.cat-info p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cat-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease, padding-left 0.3s ease;
  align-self: flex-start;
}

.category-card-wide:hover .cat-link {
  color: #ff3344;
  padding-left: 5px; 
}

/* =========================================
   9. PODSTRONA LOGOWANIA I RESET HASŁA
   ========================================= */
.login-page-section {
  padding: 160px 20px 100px;
  background: #000;
  min-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  width: 100%;
  max-width: 480px;
  background: #0a0a0a;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.login-container h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.login-subtitle {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 35px;
}

.login-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.5px;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #222;
  background: #111;
  color: white;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: #ff3344;
  background: #151515;
}

.login-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 5px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  cursor: pointer;
}

.remember-me input {
  accent-color: #ff3344;
}

.forgot-pass {
  color: #ff3344;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-pass:hover {
  color: #d92635;
}

.login-submit-btn {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.register-prompt {
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}

.register-prompt a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.register-prompt a:hover {
  color: #ff3344;
}

.forgot-pass-section {
  text-align: left;
}

.forgot-pass-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.forgot-pass-section p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 25px;
}

.btn-back {
  background: transparent;
  color: #aaa;
  border: 1px solid #333;
  padding: 14px;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
  width: 100%;
  margin-top: 10px;
}

.btn-back:hover {
  background: #222;
  color: #fff;
  border-color: #555;
}

.reset-success {
  display: none;
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #4CAF50;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   10. PROSTE PODSTRONY TEKSTOWE
   ========================================= */
.simple-page-section {
  padding: 180px 20px 100px;
  background: #000;
  min-height: 85vh;
  text-align: center;
}

.simple-page-container {
  max-width: 750px;
  margin: 0 auto;
  background: #0a0a0a;
  padding: 60px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.simple-page-container h1 {
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: 800;
}

.simple-page-container h3 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.simple-page-container p {
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 15px;
}

.simple-page-container ul {
  color: #aaa;
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 15px;
}

.simple-page-container a.mail-link {
  color: #ff3344;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.simple-page-container a.mail-link:hover {
  color: #fff;
}

/* =========================================
   11. ROZBUDOWANA STOPKA
   ========================================= */
.main-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 5;
  border-top: 1px solid #222;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand h2 { font-size: 24px; margin-bottom: 20px; letter-spacing: 2px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials img { width: 20px; filter: invert(1); opacity: 0.7; transition: 0.3s; }
.footer-socials img:hover { opacity: 1; }

.footer-col h4 { font-size: 16px; margin-bottom: 20px; color: #fff; }
.footer-col a { display: block; color: #aaa; text-decoration: none; font-size: 13px; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 20px;
  font-size: 11px;
  color: #666;
}

/* =========================================
   12. RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================= */
@media(max-width: 1100px) {
  .photo-wall-grid { grid-template-columns: repeat(6, 1fr); }
}

@media(max-width: 900px) {
  .promo-container { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-wall-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-wall-overlay h2 { font-size: 32px; }
  
  .contact-split-layout { flex-direction: column; }
  .contact-info-side, .contact-form-side { padding: 50px 30px; }
  .contact-info-side h2 { font-size: 32px; }
  .about-hero h1 { font-size: 48px; }
  .story-container { flex-direction: column; text-align: center; }
  .category-card-wide { flex-direction: column; }
  .cat-image { max-height: 250px; }
}

@media(max-width: 768px) {
  header { padding: 15px 20px; }
  .nav-links, .lang-dropdown { display: none; }
  .logo { position: static; transform: none; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-socials { justify-content: center; }
  .photo-wall-grid { grid-template-columns: repeat(3, 1fr); }
  .simple-page-container { padding: 30px 20px; margin: 0 20px; }
}

@media(max-width: 600px) {
  .about-hero h1 { font-size: 36px; }
  .stats-wrapper { flex-direction: column; gap: 40px; }
  .story-content h2 { font-size: 32px; }
}
