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

body {
  font-family: 'Poppins', sans-serif;
}


@font-face {
  font-family: 'Audiowide';
  src: url('../fonts/Audiowide-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* szybkie wyświetlenie fallbacku zanim wczyta się TTF */
}


body {
  font-family: 'Poppins', sans-serif;
  background: black !important;
  color: white;
  overflow-x: hidden;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: black; /* czarne tło od startu */
  z-index: 9999;          /* nad wszystkim innym */
}


#color-bends-container {
  position: fixed;
  top: -10svh;          /* ⬆ zapas */
  left: 0;
  width: 100%;
  height: 120svh;       /* ⬇ zapas */
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}


#color-bends-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;          /* wypełnia cały kontener */
  height: 100%;
  display: block;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

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

h1, h2 {
  font-weight: 400;
}

.lighthouse-proof {
  padding: 5rem 1.5rem;
  background: #0b1a24b3;
  padding: 3rem;
  margin-bottom: 5rem;
}

.lighthouse-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lighthouse-text .badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b1a24;
  background: #b0a582; /* złoty */
  border-radius: 999px;
}

.lighthouse-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.lighthouse-text p {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  color: #d7e1e8;
}

.lighthouse-image {
  display: flex;
  justify-content: center;
}

.lighthouse-image img {
  max-width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lighthouse-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
}

/* MOBILE */
@media (max-width: 900px) {
  .lighthouse-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lighthouse-text p {
    margin: 0 auto;
  }
}


/* ================= HEADER ================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
}


.logo-container img {
  width: 200px;
  height: auto;
  display: block;
  margin-top: 15px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #d2d2d2;
  user-select: none;
}

/* NAV DESKTOP */
nav {
  display: flex;
  justify-content: flex-end; /* linki wyrównane do prawej */
  max-width: 100%; /* nie wyjdzie poza kontener */
  box-sizing: border-box;
  overflow: hidden; /* zapobiegnie wychodzeniu na bok */
}

nav a {
  font-weight: 400;
  color: #fffcf4;
  transition: 0.3s ease;
  padding: 0.5rem 3rem;
  font-size: 18px;
  white-space: nowrap; /* linki w jednej linii */
}

nav a:hover {
  color: #b0a582;
  transform: scale(1.1);
}

/* =============== HERO =============== */
.hero-banner {
  width: 100%;
  height: 100vh; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem; 
  position: relative;
}

@media (max-width: 768px) {
   .hero-banner {
    padding-top: 4rem; 
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 810px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 2rem 0 2rem; /* wysoko jak wcześniej */
  color: #fffcf4;
}

.hero-content h1 {
  font-family: 'Audiowide', sans-serif;
  font-size: 68px;
  font-weight: 600; /* pogrubienie */
  line-height: 1.3;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-family: 'Audiowide', sans-serif; /* <--- zmienione */
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
}



.hero-content h1 span {
  color: #cebd88;       /* Twój kolor */
}

.hero-highlight {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #cebd88;
  margin-bottom: 3rem;
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}



.hero-cta {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  background: #b0a582;  /* Twój kolor */
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(176,165,130,0.4);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-content {
    padding: 6rem 1rem 0 1rem;
  }

  .hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
    padding-top: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    margin-top: 1rem;
  }

  .hero-highlight {
    font-size: 1rem;
    line-height: 1.4;
  }
}



/* HERO ANIMACJE - wszystkie elementy */
/* HERO ANIMACJE – content i CTA (z dołu) */
.hero-content,
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* HERO TYPOGRAPHY – z LEWEJ */
.hero-typography {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* =========================
   GALERIA – KONTENER
========================= */
.gallery {
  width: 100%;
  padding: 5rem 1.25rem;
}

/* =========================
   SEKCJA
========================= */
.gallery-section {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
}

/* =========================
   NAGŁÓWEK
========================= */
.gallery-section h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.gallery-section p {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* =========================
   GRID
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* =========================
   KAFEL
========================= */
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  overflow: hidden;
  border-radius: 16px;
  background: #eaeaea;
}

/* =========================
   OBRAZ
========================= */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .gallery {
    padding: 4rem 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-section h1 {
    font-size: 2rem;
  }

  .gallery-section p {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
}


/* STAN KOŃCOWY */
.hero-content.visible,
.hero-cta.visible,
.hero-typography.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}




/* Opóźnienia dla kolejnych elementów */
.hero-content.visible h1 {
  transition-delay: 0.2s;
}

.hero-content.visible p.hero-highlight {
  transition-delay: 0.4s;
}

.hero-cta.visible {
  transition-delay: 0.05s;
}

.hero-typography.visible {
  transition-delay: 0.8s;
}

/* WHY IMAGE – wjazd z PRAWEJ */
.why-image {
  opacity: 0;
  transform: translateX(60px); /* START z prawej */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* stan końcowy */
.why-image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Domyślnie pokazujemy desktop, ukrywamy mobile */
.desktop-logo {
  display: block;
}
.mobile-logo {
  display: none;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .desktop-logo {
    display: none;
  }
  .mobile-logo {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}

/* Desktop */
.desktop-logo.hero-logo {
  display: block;
  width: 1350px; 
  height: auto;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .desktop-logo.hero-logo {
    display: none !important;
  }

  .mobile-logo.hero-logo {
    display: block;
    width: 350px;
    max-width: 350px;
    height: auto;
    padding-top: 3rem;
  }
}

/* Dodatkowo dla samego obrazu / svg */
.hero-logo {
  height: auto;
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.6))
          drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
  transition: transform 0.8s ease-out, filter 0.8s ease-out;
}

//* Pulsowanie samego glow */
.hero-typography.visible .hero-logo {
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6))
            drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8))
            drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
  }
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .hero-logo {
    width: 100%;       
    max-width: 400px;
  }
}


/* CTA BUTTONS */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-cta {
  position: relative;
  padding: 0.5rem 3rem;
  font-weight: 600;
  border-radius: 12px;
  color: #fffcf4;
  border: 2px solid #b0a582;
  background: transparent;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}





/* ---------- CONTAINER CAROUSEL ---------- */
.text-carousel {
  position: fixed; /* przyklejona do dolnej krawędzi ekranu */
  bottom: 0;       /* dolna krawędź */
  left: 0;
  right: 0;
  width: 100%;     /* zawsze zajmuje całą szerokość */
  overflow: hidden;
  z-index: 10;
  background: #ffffff1c; /* lekko przezroczyste tło */

  /* efekt wyłaniania się ze środka */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 25%,
    black 50%,
    rgba(0,0,0,0.2) 75%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 25%,
    black 50%,
    rgba(0,0,0,0.2) 75%,
    transparent 100%
  );

}

/* ---------- TRACK ---------- */
.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  gap: 5rem;
  align-items: center;
}

/* ---------- ITEMS ---------- */
.carousel-item {
  min-width: 160px;
  display: flex;
  justify-content: center;
  position: relative; /* potrzebne dla pseudo-elementu */
}

.carousel-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  background: linear-gradient(
    to bottom,
    transparent,
    #d4af37, /* Twój złoty kolor */
    transparent
  );
}

/* Usuń linię po ostatnim elemencie */
.carousel-item:last-child::after {
  display: none;
}

.carousel-item span {
  font-size: 20px;
  font-weight: 300;
  color: white;
  white-space: nowrap;
}

/* ---------- ANIMACJA LEWO → PRAWO ---------- */
@keyframes scroll {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .text-carousel {
    bottom: 0; /* zawsze przy dolnej krawędzi */
    padding-bottom: env(safe-area-inset-bottom, 10px); /* iPhone notch i bezpieczny margines */
  }

  .carousel-item span {
    font-size: clamp(14px, 4vw, 22px);
  }
}


/* tylko mobile */
@media (max-width: 768px) {
  .hero-background-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom; /* pokaz dolny fragment fali */
    background-repeat: no-repeat;
    z-index: 1; /* nad animacją canvas, ale pod treścią */
    pointer-events: none; /* żeby nie przeszkadzało w klikaniu */
  }

  .hero-content {
  position: relative;
  z-index: 2;
  max-width: 810px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem 0 2rem; /* wysoko jak wcześniej */
  color: #fffcf4;
}

/* H1 duży i pogrubiony */
.hero-content h1 {
  font-family: 'Audiowide', sans-serif;
  font-weight: 800;
  font-size: 64px; /* desktop */
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* SPAN w Twoim kolorze #b0a582 i pogrubiony */
.hero-content h1 span {
  color: #b0a582;
  font-weight: 900;
}

/* Paragraf */
.hero-highlight {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #b0a582;
  margin-bottom: 1rem;
  text-align: center;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
}

.hero-cta {
  padding: 0.5rem 3rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(176,165,130,0.4);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-content {
    padding: 1rem 1rem 0 1rem;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-highlight {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    margin-top: 1rem;
  }
}




  nav {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
  }

  nav.active {
    display: flex;
    top: 100%;
  }

  nav a {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .menu-toggle {
    display: block;
  }

  .logo-container img {
    width: 150px;
    object-position: left;
    margin-top: 15px;
  }

  .text-carousel span {
    font-size: 20px;
  }
}



/* ===================== Sekcja Usług / Features ===================== */
.services {
  padding: 5rem 2rem;
  text-align: center;
  color: #fffcf4;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  font-weight: 400;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #d4af37, #f7e9b0, #d4af37);
  background-clip: text;
  -webkit-background-clip: text;
  color: #fffcf4;
  animation: gradientShift 5s ease infinite;
}

/* ANIMACJA GRADIENTU */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* GRID */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  justify-items: center;
}

/* KARTA */
.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

/* Delikatny biały glow po hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.service-card:hover::before {
  transform: scale(1);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-3px) scale(1.008); /* minimalny ruch */
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.08); /* bardzo delikatny cień */
  border-color: rgba(255, 255, 255, 0.12); /* subtelna ramka */
}


/* Ikony */
.service-card img {
  width: 100%;
  height: 130px;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease, filter 0.5s ease;
  object-fit: contain;
}

.service-card:hover img {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.6));
}

/* Tytuł */
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Opis */
.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(230, 230, 230, 0.9);
  max-width: 280px;
  margin: 0 auto;
}

/* ===================== MOBILE ===================== */
@media (max-width: 600px) {
  .services {
    padding: 0rem 1rem;
  }

  .services h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .services-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .service-card img {
    width: 100%;
    height: 80px;
    margin-bottom: 0.8rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}



/* LAYOUT */

.why-me {
  padding-top: 4rem;
}


.why-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.why-me h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 400;
  text-align: center; /* <-- wyśrodkowanie */
}

@media (max-width: 768px) {
.why-me h2 {
  font-size: 2.2rem;
  }
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* POWÓD */
.why-item {
  position: relative;
  display: flex;
  gap: 1.2rem;
  padding-left: 1.5rem; /* miejsce na linię */
  max-width: 90%;
}

/* ⬅⬅⬅ TUTAJ JEST LINIA */
.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: #f3df9f;
  opacity: 0.9;
}

/* NUMER */
.why-number {
  font-size: 2rem;
  font-weight: 500;
  color: #f3df9f;
  min-width: 42px;
  line-height: 1;
  align-content: center;
}

/* TEXT */
.why-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}



.why-item p {
  font-size: 0.95rem;
  color: rgba(210,210,210,.85);
  line-height: 1.6;
}

/* GRAFIKA */
.why-image {
  display: flex;
  justify-content: center; /* wyśrodkowanie poziome */
  align-items: center;     /* wyśrodkowanie pionowe w swojej kolumnie */
  height: 100%;
  opacity: 1;
}

.why-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0;
}

/* MOBILE */
@media (max-width: 900px) {
  .why-layout {
    grid-template-columns: 1fr;
  }
  .why-image {
    display: none;
  }
}

/* FAQ */
.faq {
  padding: 6rem 2rem;
  color: #fffcf4;
}

.faq h2 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #fffcf4;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.8rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.25rem;      /* większe na desktop */
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2.2rem;
  color: #fffcf4;
  transition: color 0.3s ease;
}

.faq-item summary:hover {
  color: #b0a582;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.6rem;
  color: #b0a582;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  font-size: 1rem;       /* większe, czytelniejsze */
  line-height: 1.7;      /* więcej oddechu */
  color: #ccc;
  max-width: 100%;
  transition: color 0.3s ease;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .faq {
    padding: 4rem 1.2rem;
  }

  .faq h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .faq-item summary {
    font-size: 1.1rem;
  }

  .faq-item summary::after {
    font-size: 1.3rem;
  }

  .faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}


/* ===================== Kim jestem / About ===================== */
.about {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  background-color: #0b1a24b3;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.about-text {
  flex: 1 1 400px;
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(210,210,210,0.95);
}

.about-image img {
  width: 200px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  opacity: 0.9;
}

@media (max-width: 768px) {
.about h2 {
  font-size: 2.2rem;
  }
}

.timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* Linia środkowa */
.timeline-container {
  position: relative;
  margin: 0;
  padding: 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #b0a582;
  transform: translateX(-50%);
  z-index: 0;
}

/* Każdy punkt */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Marker */
.timeline-marker {
  width: 20px;
  height: 20px;
  background: #b0a582;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -10px;
}

/* Treść boxu */
.timeline-content {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 12px;
  display: inline-block;
  max-width: 350px;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px; /* linia po lewej */
  }

  .timeline-item {
    width: 100% !important; /* pełna szerokość */
    left: 0 !important;     /* wyłączamy przesunięcie desktop */
    text-align: left !important;
    padding-left: 50px;     /* miejsce na marker */
    padding-right: 1rem;
    margin-bottom: 2rem;
    transform: none !important; /* reset transform */
  }

  /* marker ustawiony dokładnie na środku linii */
  .timeline-item .timeline-marker {
    left: 20px !important;  /* linia */
    transform: translateX(-50%) !important; /* przesunięcie połowy szerokości */
    right: auto !important;
    top: 0;
  }

  /* wyłączamy wszelkie naprzemienne style z nth-child */
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    left: 0 !important;
    transform: none !important;
  }

  /* boxy */
  .timeline-content {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .timeline-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}


/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #eee;
  line-height: 1.75;
}

/* ================= GLOBAL ================= */
:root {
  --gold: #d6bd7a;
  --gold-soft: rgba(214,189,122,0.18);
  --text-light: #e8e8e8;
  --text-muted: #c7c7c7;
  --bg-dark: #0a0a0a;
  --bg-panel: rgba(255,255,255,0.04);
  --bg-panel-border: rgba(255,255,255,0.08);
  --radius: 16px;
  --transition: 0.3s ease;
}

/* ================= PAGE BACKGROUNDS ================= */
body.blog-list {
  background: linear-gradient(180deg, #111 0%, #050505 100%);
}

body.blog-article-page {
  background: radial-gradient(circle at top, #1a1a1a 0%, #050505 80%);
}

/* ================= BLOG HEADER ================= */
.blog-header {
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.blog-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}

.blog-header p {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ================= BLOG LIST ================= */
.blog-posts {
  padding: 1.5rem 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  line-height: 2;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- BLOG ITEM ---------- */
.blog-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.blog-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  border-color: var(--gold-soft);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.blog-item:hover img {
  transform: scale(1.04);
}

.blog-item-content {
  padding: 1.4rem 1.7rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-item-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: #fff;
  font-weight: 600;
}

.blog-item-content p {
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-item-content .read-more {
  margin-top: auto;
  align-self: flex-start;
  color: var(--gold);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.blog-item-content .read-more:hover {
  color: #fff;
  transform: translateX(5px);
}

/* ================= SINGLE ARTICLE ================= */
.blog-article {
  max-width: 1200px;
  padding: 2.5rem 2rem;
  color: var(--text-light);
  line-height: 1.8;

  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  margin-top: 6rem;
  justify-self: center;
}

.article-hero {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  margin: 2.5rem 0;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: transform var(--transition);
}

.article-hero:hover {
  transform: scale(1.02);
}

.blog-article h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  text-align: center;
}

.blog-article h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 2.2rem 0 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.blog-article h3 {
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  margin: 1.8rem 0 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.article-date {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 1.2rem;
}

.blog-article p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.02);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border-left: 2px solid var(--gold-soft);
}

.blog-article strong {
  color: var(--gold);
  font-weight: 600;
}

/* ================= TABLE OF CONTENTS ================= */
.blog-article nav[aria-label="Spis treści"] {
  margin: 2.3rem 0;
  padding: 1.4rem 1.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  place-content: center;
}

.blog-article nav[aria-label="Spis treści"] h2 {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-content: center;
}

.blog-article nav[aria-label="Spis treści"] ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-article nav[aria-label="Spis treści"] a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.blog-article nav[aria-label="Spis treści"] a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}

/* ================= TABLES ================= */
.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.3rem 0;
  font-size: 0.98rem;
  overflow-x: auto;
  display: block;
}

.blog-article th,
.blog-article td {
  padding: 0.7rem 0.9rem;
  text-align: left;
}

.blog-article th {
  background-color: #222;
  color: var(--gold);
  font-weight: 600;
}

.blog-article td {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.blog-article tr:nth-child(even) td {
  background-color: #202020;
}

.blog-article tr:hover td {
  background-color: var(--gold-soft);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .blog-item img {
    height: 85px;
  }
}

@media (max-width: 768px) {
  .blog-header {
    padding: 6rem 1rem 3rem;
  }

  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-posts {
    padding: 1.5rem 1rem 3rem;
    gap: 2.5rem;
    text-align: center;
    line-height: 2;
  }

  .blog-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .blog-item img {
    height: 85px;
  }

  .blog-item-content {
    padding: 1.2rem 1.3rem 1.8rem;
  }

  .blog-item-content h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .blog-item-content p {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
  }

  .blog-article {
    margin: 2.5rem 1rem;
    padding: 1.6rem 1.2rem;
    max-width: 375px;
  }

  .article-hero {
    margin: 1.6rem 0;
    height: auto;
  }

  .blog-article h1 {
    font-size: 1.5rem;
  }

  .blog-article h2 {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
  }

  .blog-article h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  }

  .blog-article p {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    padding: 0.7rem 0.8rem;
  }

  .blog-article nav[aria-label="Spis treści"] {
    padding: 1.2rem 1.3rem;
    margin: 2rem 0;
    align-items: center;
  }

  .blog-article nav[aria-label="Spis treści"] h2 {
    font-size: 1.1rem;
  }

  .blog-article table {
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .blog-article th,
  .blog-article td {
    padding: 0.6rem 0.7rem;
  }
}

/* PODSTAWOWY STYL */
/* ===================== PODSTAWOWY STYL ===================== */
.offer-page {
  font-family: 'Poppins', sans-serif;
  color: #eee;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 6rem 1rem; /* dolny padding dla scrolla */
}

/* ===================== HEADER ===================== */
.offer-header {
  text-align: center;
  margin-top: 160px;
  margin-bottom: 4rem;
}

.offer-header h1 {
  font-family: 'Audiowide', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #b0a582, #d4c9aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.offer-header p {
  font-size: 1.2rem;
  color: #f0ece4;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== GRID USŁUG ===================== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  grid-auto-rows: minmax(1fr, auto);
}

/* ===================== BOXY ===================== */
.offer-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.offer-box:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

.offer-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3e6d0;
  margin-bottom: 0.3rem;
}

/* ===================== SPECYFICZNE KOLORY BOXY ===================== */

.offer-box1 {
  background: rgba(176, 135, 80, 0.1); /* ciepły beż/brąz */
}

.offer-box1 h2,
.offer-box1 ul li::before,
.offer-box1 .highlight {
  color: #b08750;
}

.offer-box2 {
  background: rgba(80, 176, 135, 0.1); /* mięta / zielony */
}

.offer-box2 h2,
.offer-box2 ul li::before,
.offer-box2 .highlight {
  color: #1cce4a;
}

.offer-box3 {
  background: rgba(80, 135, 176, 0.1); /* niebieski */
}

.offer-box3 h2,
.offer-box3 ul li::before,
.offer-box3 .highlight {
  color: #0092ff;
}

.offer-box4 {
  background: rgba(176, 80, 135, 0.1); /* róż / fiolet */
}

.offer-box4 h2,
.offer-box4 ul li::before,
.offer-box4 .highlight {
  color: #c149d6;
}


/* ===================== WYRÓŻNIONE ŚRODKOWE BOXY ===================== */
.offer-box.featured {
  background-color: #dddddd24;
  border: 2px solid #b08750;
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

/* ===================== DOPISEK NAJCZĘŚCIEJ WYBIERANE ===================== */
.offer-box .highlight {
  display: block;
  font-weight: 700;
  color: #b0a582;
  margin-top: 0.3rem;
  font-size: 1.05rem;
}

/* ===================== CENA ===================== */
.offer-box .price {
  display: block;
  color: #d4c9aa;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem 0;
}

/* ===================== LISTA Z PTASZKIEM ===================== */
.offer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-box ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: #eee;
}

.offer-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: #b0a582;
}

/* ===================== DODATKOWE INFORMACJE ===================== */
.offer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.offer-info .info-box {
  background: rgba(176,165,130,0.08);
  border-radius: 12px;
  padding: 1.8rem;
  flex: 1 1 280px;
  color: #eee;
  display: flex;
  flex-direction: column;
}

.offer-info .info-box.featured {
  background-color: #dddddd;
  color: #000;
  font-weight: 600;
}

.offer-info .info-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.offer-info .info-box h3::before {
  content: "i";
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  background-color: #b0a582; /* złoty okrąg */
  color: #fff; /* biały napis i */
  font-weight: 700;
  text-align: center;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.offer-info .info-box p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Wyśrodkowany box na dole */
.offer-info .info-box.center {
  text-align: center;
}

/* ===================== RESPONSYWNOŚĆ ===================== */
@media (max-width: 1024px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .offer-header h1 { font-size: 2rem; }
  .offer-header p { font-size: 1rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-box { width: 100%; }
  .offer-info { flex-direction: column; }
}

@media (max-width: 480px) {
  .offer-header { margin-top: 120px; }
  .offer-header h1 { font-size: 2rem; }
  .offer-header p { font-size: 0.95rem; }
}


/* ===================== CTA / Kontakt ===================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto 5rem;
  padding: 2rem;
  background: #f3df9f1c; /* półprzezroczyste ciemne tło */
  border-radius: 16px;
  color: #fffcf4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-form h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
.contact-form h2 {
  font-size: 2.2rem;
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 10px;
  background: #2c2c2c;
  color: #fffcf4;
  font-size: 1rem;
  resize: none;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.btn-submit {
  display: inline-block;
  background: #fffcf4;
  color: #1a1a1a;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ===================== Komunikat po wysłaniu ===================== */
.form-success {
  display: block;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(212,175,55,0.15); /* lekko złote, półprzezroczyste tło */
  color: #4bff5d; /* złoty tekst */
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.contact-form button[type="submit"] {
  display: inline-block;
  background: #fffcf4;       /* jasny kolor tła */
  color: #1a1a1a;            /* ciemny tekst */
  font-weight: 600;
  padding: 0.5rem 3rem;
  border-radius: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .services-container,
  .why-me-container,
  .portfolio-grid,
  .about-container {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    gap: 1rem;
  }

  .testimonial {
    flex: 0 0 80%;
  }

  .about-text {
    text-align: center;
  }
}



/* ==============================
   STOPKA PROFESJONALNA
   ============================== */
.site-footer {
  background-color: black;
  color: white;
  font-family: 'Poppins', sans-serif;
  padding: 1rem 1rem 1rem;
  border-top: 2px solid #b0a582;
  box-shadow: inset 0 1px 0 rgba(176, 165, 130, 0.15);
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* KONTAKT – POZIOMO */
.footer-contact {
  display: flex;
  justify-content: center; /* ewentualnie center */
  gap: 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cebd88;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact .contact-item:hover {
  color: white;
}

/* LINKI PODSTRON – równomiernie rozciągnięte */
.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color 0.3s ease, background 0.3s ease;
}

.footer-links a:hover {
  background: rgba(176,165,130,0.15);
  color: #b0a582;
}

/* COPYRIGHT */
.footer-copy {
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(176, 165, 130, 0.15);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

/* RESPONSYWNOŚĆ MOBILE */
@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    font-size: 1.15rem;
    gap: 0rem;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}



/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
  }

  .service {
    max-width: 90%;
  }
}

/* USUNIĘCIE NIEBIESKICH PODŚWIETLEŃ NA MOBILE */
a, button, .menu-toggle, img {
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}

/* USUNIĘCIE OBRAMOWANIA FOCUS */
a:focus,
button:focus,
.menu-toggle:focus,
img:focus {
  outline: none !important;
  box-shadow: none !important;
}

a, button {
  -webkit-touch-callout: none;
  user-select: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===================== Kontakt - Podstrona ===================== */
.contact-page {
  padding: 4rem 1rem;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #fffcf4;
  line-height: 1.6;
}

/* ===================== Hero / Nagłówek ===================== */
.contact-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 3rem;
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===================== Sekcja formularza i dane kontaktowe ===================== */
.contact-form-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}

/* ===================== Formularz ===================== */
.contact-form-container {
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  background: #f3df9f0f; /* półprzezroczyste tło */
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-form-container form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form-container form input,
.contact-form-container form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 10px;
  background: #2c2c2c;
  color: #fffcf4;
  font-size: 1rem;
  resize: none;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-container form input:focus,
.contact-form-container form textarea:focus {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.contact-form-container form button[type="submit"] {
  display: inline-block;
  background: #fffcf4;
  color: #1a1a1a;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-container form button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ===================== Komunikat po wysłaniu ===================== */
.form-message {
  margin-top: 1rem;
  font-weight: 500;
  color: #d4af37; /* złoty akcent */
  text-align: center;
}

/* ===================== Dane kontaktowe ===================== */
.contact-info {
  max-width: 400px;
  min-width: 300px;
  color: #fffcf4;
  text-align: center;
  place-self: center;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* ===================== Responsywność ===================== */
@media (max-width: 900px) {
  .contact-form-section {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    max-width: 100%;
    text-align: center;
  }
}

/* ===================== Regulamin ===================== */

.page-content {
  padding: 1rem 1rem;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #fffcf4;
}

/* Główna sekcja regulaminu */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: #093b2d69; /* półprzezroczyste */
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  line-height: 1.8;
  margin-top: 5rem;
}

/* Tytuł główny */
.content-section h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

/* Nagłówki paragrafów */
.content-section h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fffcf4;
}

/* Paragrafy */
.content-section p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

/* Listy */
.content-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-section ul li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 0.5rem;
}

/* Linki */
.content-section a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
}

.content-section a:hover {
  text-decoration: underline;
}

/* Wyróżnienia */
.content-section strong {
  color: #ffffff;
  font-weight: 600;
}

/* ===================== Responsywność ===================== */

@media (max-width: 768px) {
  .content-section {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .content-section h1 {
    font-size: 2rem;
  }

  .content-section h2 {
    font-size: 1.4rem;
  }
}

/* Wszystkie linki i przyciski będą widoczne przy focusie */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #FFD700; /* np. złoty obrys */
  outline-offset: 2px;
}

/* Dodatkowo można wymusić, żeby TAB działał na elementach z tabindex */
[tabindex]:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.tech-panel {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10rem;
    z-index: 10;
    align-items: center;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative; /* potrzebne dla linii */
  padding: 0 1rem;
}

.metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -60px;
  top: 10%;
  height: 80%;
  width: 1px; /* cienka linia */
  background: linear-gradient(
    to bottom,
    transparent,
    #7fd7ff,
    transparent
  );
}

.metric .label {
  font-size: 1rem;
  color: #eee;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metric .value {
  font-size: 2rem;
  font-weight: 700;
  color: #7fd7ff;
  text-shadow: 0 0 10px rgba(127, 215, 255, 0.5);
  line-height: 1;
}

.metric .unit {
  font-size: 1.2rem;
  margin-left: 0.2rem;
  opacity: 0.8;
}

@media (max-width: 500px) {
  .tech-panel {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2x2 */
    gap: 2rem 2.5rem;
    width: calc(100vw - 2rem);
    max-width: 320px;
    justify-items: center;
  }

  /* 🔥 WYŁĄCZ LINIE – w gridzie robią bałagan */
  .metric::after {
    display: none;
  }

  .metric {
    padding: 0;
  }

  .metric .label {
    font-size: 0.85rem;
  }

  .metric .value {
    font-size: 1.6rem;
  }
}