* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', sans-serif;
}



:root {
--bg: #0f0f0f;
--text: #ffffff;
--card: #1f1f1f;
--card-hover: #262626;
--muted: #aaa;
--border: #333;
--section-dark: #1a1a1a;
--header-bg: rgba(140,140,140,0.8);
--footer-bg: #000;
--text-hover: #ccc;
}

.light-mode {
--bg: #ffffff;
--text: #111111;
--card: #ffffff;
--card-hover: #f3f3f3;
--muted: #666;
--border: #e8e8e8;
--section-dark: #f6f7f9;
--header-bg: rgba(255,255,255,0.7);
--footer-bg: #f0f0f0;
--text-hover: #444;
}

body {
background: var(--bg);
color: var(--text);
overflow-y: scroll;
}




.container {
width: 90%;
max-width: 1200px;
margin: auto;
}


/* LOGO */

.logo{
	display: flex;
	align-items: center;
}

.logo img {
height: 50px;
width: auto;
display: block;
}


/* lepsze dopasowanie na mobile */
@media (max-width: 600px) {
.logo img {
height: 40px;
}
}


/* HEADER */
.header {
position: sticky;
top: 0;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
z-index: 2000;
background: var(--header-bg);
color: var(--text);
}

/* Znika przycisk call w header */
@media (max-width: 768px) {
  .header .call-animate {
    display: none;
  }
}


/* NAVBAR */
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}

.nav a {
color: var(--text);
margin: 0 10px;
text-decoration: none;
}

/* HERO */
.hero {
padding: 80px 0;
}

.hero-sub {
font-size: 15px;
color: var(--muted);
line-height: 1.6;
}

.hero-trust {
margin-top: 15px;
font-size: 14px;
color: var(--muted);
}

.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}

.hero h1 {
font-size: 42px;
margin-bottom: 20px;
}

.hero-image {
background: linear-gradient(135deg, #ff6600, #ff9900);
border-radius: 20px;
position: relative;
width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
}

@media (max-width: 768px) {
.hero-image {
height: 220px;
}
.hero-sub {
font-size: 14px;
color: var(--muted);
line-height: 1.5;
}

.hero-trust {
margin-top: 12px;
font-size: 12px;
color: var(--muted);
}
}

.hero-image img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
max-width: 100%;
display: block;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}


/* aktywne zdjęcie */
.hero-image img.active {
opacity: 1;
}

/* lekki overlay */
.hero-image::after {
content: "";
position: absolute;
inset: 0;
/* background: rgba(0,0,0,0.2); */
background: linear-gradient(to bottom,rgba(0,0,0,0.2),rgba(0,0,0,0.2));
}


/* BUTTON */
.btn {
background: #ff6600;
padding: 12px 20px;
border-radius: 8px;
text-decoration: none;
color: var(--text);
display: inline-block;
margin-right: 10px;
transition: 0.3s;
}

.btn:hover {
transform: translateY(-2px);
}

.btn.secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.secondary:hover {
  background: var(--card-hover);
}



/* SECTIONS */

.section {
padding: 60px 0;
text-align: center;
background: var(--bg);
color: var(--text);
border-bottom: 1px solid var(--border);
}

.dark {
background: var(--section-dark);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}


.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}


.card {
background: var(--card);
padding: 25px;
border-radius: 15px;
transition: 0.3s;
text-align: center;
}

.card:hover {
transform: translateY(-5px);
}

/* OPIS SEKcji */
.section-desc {
margin-top: 10px;
color: var(--muted);
}

/* GRID – ELASTYCZNY */
.services-grid {
margin-top: 30px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 25px;
}

.section p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 102, 0, 0.25); /* bardzo subtelne */
  text-underline-offset: 3px;
  transition: 0.25s;
}

.section p a:hover {
  color: #ff6600;
  text-decoration-color: #ff6600;
}








/* KARTA USŁUGI  */
.service-card {
position: relative;
overflow: hidden;
background: var(--card);
transition: all 0.35s ease;
text-align: center;
padding: 25px;
border-radius: 15px;

}

/* 🔥 LIFT + SHADOW */
.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  background: var(--card-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 102, 0, 0.3); 
}






/* 💎 GLOW (przesuwające się światło) */
.service-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
120deg,
transparent,
rgba(255, 102, 0, 0.25),
transparent
);
opacity: 0;
transform: translateX(-120%);
transition: opacity 0.3s ease;
}

/* animacja glow */
.service-card:hover::before {
opacity: 1;
animation: glowMove 0.9s ease;
}

/* animacja przesuwania */
@keyframes glowMove {
from {
transform: translateX(-120%);
}
to {
transform: translateX(120%);
}
}

.service-card .icon {
transition: 0.35s;
}

.service-card:hover .icon {
transform: scale(1.15) rotate(5deg);
}

/* dla Twojego gauge */
.service-card:hover .fa-gauge-high {
transform: scale(1.2) rotate(-10deg);
}


/* Tekst */
.service-card h3,
.service-card p {
transition: 0.3s;
}

.service-card:hover h3 {
transform: translateY(-2px);
}

.service-card:hover p {
color: var(--text-hover);
transform: translateY(-2px);
}

.service-card::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(255,102,0,0.15), transparent 60%);
opacity: 0;
transition: 0.3s;
}

.service-card:hover::after {
opacity: 1;
}

/* IKONA */
.icon {
width: 60px;
height: 60px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px auto;
transition: 0.3s;
}

.icon i {
	font-size: 24px;
	color: #ff6600;
	display:  block;
	margin: 0 auto;
}

/* TYTUŁ */
.service-card h3 {
margin-bottom: 10px;
font-size: 18px;
}

/* TEKST */
.service-card p {
font-size: 15px;
color: var(--muted);
}

/* CTA */
.services-cta {
margin-top: 40px;
}

/* GALLERY */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin-top: 30px;
}

.gallery-grid img {
width: 100%;
height: 220px;
object-fit: cover;
border-radius: 12px;
transition: 0.3s;
}

.gallery-grid img:hover {
transform: scale(1.05);
}



/* CONTACT */
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
text-align: left;
align-items: flex-start;
}

.contact-box{
	display: grid;
	gap: 15px;
	margin-top: 20px;
}



.form input, .form textarea {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border: none;
border-radius: 8px;
background: #fafafa;
color: var(--text);
border: 1px solid var(--border);
}

.checkbox {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
color: #bbb;
cursor: pointer;
}

.checkbox input {
width: auto;
margin: 0;
}

/* FLOAT BUTTON */
/*
.call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6600;
  padding: 16px;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: heartbeat 1.5s infinite;
  box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
  z-index: 1000;
}

.call-btn svg {
  width: 22px;
  height: 22px;
}


/* ❤️ efekt bicia serca */
/*
@keyframes heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
  }
  14% {
    transform: scale(1.2);
    box-shadow: 0 5px 30px rgba(255, 102, 0, 0.7);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.2);
    box-shadow: 0 5px 30px rgba(255, 102, 0, 0.7);
  }
  70% {
    transform: scale(1);
  }
}
*/

.call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6600;
  padding: 16px;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: heartbeat 1.3s infinite;
  animation-delay: 3.5s; /* ⏱ start po 3 sekundach */
  box-shadow: 0 5px 20px rgba(255, 102, 0, 0.5);
  z-index: 1000;
}

/* 💥 dodatkowa fala */
.call-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
  animation: wave 1.8s infinite;
  animation-delay: 3.7s; /* ⏱ start po 3 sekundach */
}

/* ❤️ mocniejsze bicie */
@keyframes heartbeat {
  0%, 20% { transform: scale(1); }
  30% { transform: scale(1.2); }
  40% { transform: scale(1); }
  50% { transform: scale(1.2); }
  60%, 100% { transform: scale(1); } /* przerwa */
}

/* 🌊 fala CTA */
@keyframes wave {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 25px rgba(255, 102, 0, 0);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.fb-btn {
position: fixed;
bottom: 20px;
right: 20px;
background: #ff6600;
padding: 15px;
margin-bottom: 70px;
border-radius: 50%;
text-decoration: none;
font-size: 20px;
animation: pulse 2s infinite;
box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
z-index: 1000;
}

@keyframes pulse{
	0% {transform: scale(1);}
	50% {transform: scale(1.1);}
	100% {transform: scale(1);}
}


/* 🔙 PŁYWAJĄCY PRZYCISK WSTECZ */
/* ===== BACK BUTTON HERO STYLE ===== */
.back-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);       /* taki sam kolor jak hero */
  color: var(--text);            /* dla strzałki */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: 0.3s;
  z-index: 1000;
}

/* Hover - jak hero */
.back-floating:hover {
  background: var(--card-hover);
  color: #ff6600; /* efekt hover */
  transform: scale(1.1);
}

/* Strzałka SVG */
.back-floating svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;  /* dziedziczy color z przycisku */
  fill: none;
  stroke-width: 3;
  display: block;
}

/* Tryb jasny/ciemny dla spójności */
body.light-mode .back-floating {
  background: var(--card);
  color: var(--text);
}

body.light-mode .back-floating:hover {
  background: var(--card-hover);
  color: #ff6600;
}

body.light-mode .btn:hover {
	filter: brightness(0.95);
}

body.light-mode .gallery-overlay {
  background: rgba(255,255,255,0.75);
  color: #111;
}

body.light-mode .service-card {
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	border: 1px solid #e6e6e6;
}

body.light-mode .service-card:hover {
	box-shadow: 0 5px 35px rgba(0,0,0,0.15);
	transform: translateY(-10px) scale(1.02);
}

body.light-mode .section {
	background: #fafafa;
}

body.light-mode .section:nth-child(even) {
background: #fafafa;
}

body.light-mode .hero-image::after {
background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(0,0,0,0.1));	
}


/* MOBILE */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }
} /* 🔥 brakowało tego */

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }
}

/* MENU DESKTOP */
.menu {
display: flex;
gap: 20px;
}

.menu a {
color: var(--text);
text-decoration: none;
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
}


.menu a:hover{
	color: #ff6600;
}

/* HAMBURGER */
.menu-toggle {
display: none;
font-size: 28px;
cursor: pointer;
}

/* BUTTONY */
.desktop-btn {
display: inline-block;
}

.mobile-btn {
display: none;
}

/* MOBILE */
@media (max-width: 768px) {

.menu-toggle {
display: block;
}

.menu {
display: none;
flex-direction: column;
background: var(--card);
position: absolute;
top: 70px;
right: 0;
width: 100%;
padding: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
border-top: 1px solid var(--border);
}

.menu.active {
display: flex;
}


.menu-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
opacity: 0;
pointer-events: none;
transition: 0.3s;
z-index: 5;
}

.menu-overlay.active {
opacity: 1;
pointer-events: auto;
}



.desktop-btn {
display: none;
}

.mobile-btn {
display: flex;
align-items: center;
justify-content: flex-start; /* ✅ kluczowa zmiana */
gap: 10px;
padding: 12px 0;

width: 100%;
padding: 14px 0;
text-align: left;

/* opcjonalnie – żeby był identyczny spacing jak linki */
border-bottom: 1px solid var(--border);
}

.mobile-btn svg {
width: 20px;
height: 20px;
stroke: white;
margin-left: 5px;
}
}


.service-card,
.service-card:visited,
.service-card:active,
.service-card:hover {
color: var(--text);
  text-decoration: none;
}

.service-card h3,
.service-card p {
color: inherit;
}

.service-card:hover .icon {
background: #ff6600;
}

.service-card:hover .icon i {
color: white;
}

.section ul li {
background: var(--card);
color: #ff6600;
/* color: var(--text); */
border: 1px solid var(--border);
padding: 12px 15px 12px 35px;
border-radius: 8px;
margin-bottom: 10px;
margin-right: 10px;
position: relative;
transition: 0.3s;
list-style: none;
}


.section ul li:hover {
background: var(--card-hover);
}





/* GALLERY */
/* tu zaczyna sie css dla galerii realizacji */
/* SIATKA */
.gallery-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

/* KARTA */
.gallery-card {
background: var(--card);
border-radius: 10px;
overflow: hidden;
cursor: pointer;
transition: 0.3s;
}

.gallery-card img {
width: 100%;
height: 200px;
object-fit: cover;
}

.gallery-card h3 {
padding: 15px;
font-size: 16px;
}

.gallery-card p{
font-size: 12px;	
}

/* HOVER */
.gallery-card:hover {
transform: translateY(-5px);
}


/* LIGHTBOX */

@media (max-width: 600px) {
.gallery-cards {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}

.gallery-card img {
height: 120px;
}

.gallery-card h3 {
font-size: 13px;
padding: 8px;
}
}



/* 📦 LIGHTBOX CONTENT */
.lightbox-content {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
z-index: 10001;
}

#lightbox {
  backdrop-filter: blur(6px);
}

/* OPIS */
#lightbox-caption {
  margin-top: 12px;
  text-align: center;
  max-width: 600px;
  position: static;
  color: var(--text);
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}


/* LICZNIK */
#lightbox-counter {
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
}

/* ZOOM */
.lightbox img {
max-width: 90%;
max-height: 80%;
transition: transform 0.2s ease;
position: relative;
z-index: 1;


}

/* MOBILE */
@media (max-width: 600px) {
#lightbox-caption {
font-size: 13px;
padding: 0 10px;
}

#lightbox-counter {
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
}

.arrow {
	position: absolute;
	font-size: 30px;
	padding: 15px;
	background: rgba(0,0,0,0.5);
	border-radius: 50%;
	z-index: 10001;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text);
	cursor: pointer;
	user-select: none;

}

.arrow.left {
	left: 5px;
}

.arrow.right {
	right: 5px;
}
}

/* ===== LIGHTBOX ===== */

.lightbox {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.95);
justify-content: center;
align-items: center;
z-index: 9999;
}



.close {
position: absolute;
top: 20px;
right: 30px;
font-size: 40px;
color: var(--text);
cursor: pointer;
z-index: 10002;
}

.arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 50px;
color: var(--text);
cursor: pointer;
z-index: 10002;
}

.arrow.left {
left: 20px;
}

.arrow.right {
right: 20px;
}

.arrow:hover,
.close:hover {
color: #ff6600;
}
/* tu kończy sie css dla galerii realizacji */


/* === KONTAKT UPGRADE === */

.contact-box a {
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.contact-box a:hover {
  color: #ff6600;
  transform: translateX(3px);
}

.contact-benefits {
  margin-top: 20px;
}

.contact-benefits p {
  margin-bottom: 8px;
  color: var(--muted);
}

.contact-cta {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-cta .btn:hover {
  transform: translateY(-2px); 
  color: var(--text); /* nie zmieniamy koloru tekstu */
}



/* -------------------- */
/* FORMULARZ  - początek*/
/* -------------------- */
.form {
  display: flex;
  flex-direction: column;
}

.form input,
.form textarea {
  background: #1f1f1f;
  border: 1px solid #333;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  transition: 0.3s;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #ff6600;
}

/* CHECKBOX */
.checkbox span {
  color: var(--muted);
}

/* BUTTON */
.form .btn {
  display: inline-block;
  background: #ff6600;
  color: var(--text);
  padding: 12px 12px;
  /*border-radius: 8px; */
 border: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  /* min-width: 150px; /* nigdy mniej niż 150px */
  /* max-width: 300px; /* nigdy więcej niż 300px */
 width: auto;
  width: 50%;       /* domyślnie 50% szerokości kontenera */
}

.form .btn:hover {
  transform: translateY(-2px);
  background: #ff6600;
}

/* ----------------- */
/* FORMULARZ - koniec*/
/* ----------------- */





/* =========================
   FAQ – HOFFMAN STYLE
========================= */

/* ===== FAQ ===== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s;
}

.faq-item:hover {
  border-color: rgba(255,102,0,0.4);
}

/* Pytanie */
.faq-question {
  width: 80%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  transition: 0.3s;
}

/* Hover tekstu */
.faq-question:hover {
  color: #ff6600;
}

/* Strzałka */
.faq-question::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 20px;
  transition: 0.3s;
  color: #ff6600;
}

/* Obrót po otwarciu */
.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(-90deg);
}

/* Odpowiedź */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.6;
  font-size: 15px;
}

/* Aktywny */
.faq-item.active .faq-answer {
  max-height: 300px;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 15px;
    padding: 16px;
  }

  .faq-answer p {
    font-size: 14px;
    padding: 0 16px 16px;
  }
}

.faq-item.active {
  box-shadow: 0 0 0 1px rgba(255,102,0,0.3);
}





/* realizacje */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}



/* ------ */
/* RATING */
/* ------ */
.rating {
  font-size: 18px;
}

.shine {
  color: #ffb400;
  text-shadow: 0 0 5px rgba(255, 180, 0, 0.5);
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-20deg);
}

.shine:hover::after {
  animation: shine 1s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.shine::after {
  animation: shine 3s infinite;
}

/* ------ */
/* RATING */
/* ------ */


/* ----------------------------- */
/* Dla przycisku z animają słuchawki */
/* ----------------------------- */

.call-animate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff6600;
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

/* IKONA */
.phone-icon {
  display: inline-block;
  animation: ring 1.5s infinite;
  transform-origin: center;
}

.phone-icon svg {
width: 20px;
height: 20px;
}



/* ANIMACJA DZWONIENIA */
@keyframes ring {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-10deg); }
  30%  { transform: rotate(15deg); }
  40%  { transform: rotate(-5deg); }
  50%  { transform: rotate(10deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* DELIKATNY PULS */
.call-animate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 rgba(255, 102, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 102, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}
/* ----------------------------- */
/* Dla przycisku z animacją słuchawki awarii */
/* ----------------------------- */


.social-icon,
#theme-toggle {
width: 40px;
height: 40px;
background: var(--card);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
cursor: pointer;
}

/* SVG */
.social-icon svg,
#theme-toggle svg {
width: 20px;
height: 20px;
stroke: var(--text);
}

/* hover 🔥 */
.social-icon:hover,
#theme-toggle:hover {
background: #ff6600;
}

.social-icon:hover svg,
#theme-toggle:hover svg {
stroke: white;
}


.socials {
display: flex;
align-items: center;
gap: 10px;
flex: 0 0 auto; /* 🔥 blokuje ściskanie całego bloku */
}


  /* =============================== */
  /* Przycisk trybu jasny/ciemny */
  /* =============================== */
 
#theme-toggle {
position: static;
width: 40px;
height: 40px;
background-color: var(--card);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
.socials img {
width: 30px;
height: 30px;
}

#theme-toggle {
width: 35px;
height: 35px;
}
}


#theme-toggle svg {
  position: absolute;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.light-mode #icon-sun {
  opacity: 0;
  transform: scale(0);
  stroke: #111;
}
body.light-mode #icon-moon {
  opacity: 1;
  transform: scale(1);
  stroke: #111;
}

body:not(.light-mode) #icon-sun {
  opacity: 1;
  transform: scale(1);
}
body:not(.light-mode) #icon-moon {
  opacity: 0;
  transform: scale(0);
}
  
#icon-sun {
  stroke: #444444; /* żółty kolor słońca */
}

#icon-moon {
  stroke: #444444; /* księżyc w białym kolorze */
}  
  
/* -------------------- */
/* === THEME TOGGLE === */
/* -------------------- */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--footer-bg);
  color: var(--text);
}

.footer-company {
text-align: center;
margin-top: 8px;
font-size: 0.9rem;
}


.footer-company summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* zamiast margin */
  opacity: 0.7;
  transition: 0.3s;
}

.footer-company summary:active {
  transform: scale(0.98);
}

.footer-company summary:hover{
  opacity: 1;
  color: #ff6600;
}

/* usuwa domyślną strzałkę */
.footer-company summary::-webkit-details-marker {
display:none;	
}

/* własna strzałka */
.footer-arrow {
  width: 0;
  height: 0;

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);

  transition: transform 0.3s ease, border-color 0.3s ease;
}


/* obrót strzałki po otwarciu */
.footer-company[open] .footer-arrow {
  transform: rotate(180deg);
}

.footer-company[open] summary {
  color: #ff6600;
  opacity: 1;
}

.arrow {
  display: block;
}

.footer-content {
	margin-top: 6px;
	opacity: 0.8;
	line-height: 1.5;
}

.footer-content p {
  transition: 0.2s;
  cursor: default;
}

.footer-content p:hover {
  color: var(--text);
}

body.light-mode .footer-arrow {
  border-top-color: #888;
}

body.light-mode .footer-company summary:hover .footer-arrow {
  border-top-color: #ff6600;
}






.opinion-cta{
margin-top:20px;
}


/* POZIOME PRZEWIJANIE OPINII NA TELEFONIE  - początek*/
@media (max-width: 768px) {
  .opinions-grid {
    display: flex;          /* flex zamiast grid */
    overflow-x: auto;       /* przewijanie poziome */
    gap: 15px;
    padding-bottom: 10px;
  }

  .opinion-card {
    flex: 0 0 280px;       /* każda karta ma minimalną szerokość */
    scroll-snap-align: start; /* przyjemny efekt snap */
  }

  .opinions-grid::-webkit-scrollbar {
    height: 6px;
  }

  .opinions-grid::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 3px;
  }

  .opinions-grid::-webkit-scrollbar-track {
    background: #1f1f1f;
  }
}

/* Dodaj snap scrolling na mobile */
.opinions-grid {
  scroll-snap-type: x mandatory;
}

/* Drobny efekt hover na desktopie */
@media (min-width: 769px) {
  .opinion-card:hover {
    transform: translateY(-5px);
  }
}

/* POZIOME PRZEWIJANIE OPINII NA TELEFONIE  - koniec */

/* dla galerii zdjęć */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 20px;
}

.lightbox .left { left: 20px; }
.lightbox .right { right: 20px; }

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  cursor: pointer;
}


#lightbox-counter {
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
}


#lightbox-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  max-width: 800px;
  padding: 10px;
  scroll-behavior: smooth;
}

#lightbox-thumbs img {
  height: 60px;
  opacity: 0.6;
  cursor: pointer;
  border-radius: 6px;
}

#lightbox-thumbs img.active {
  opacity: 1;
  outline: 2px solid #ff6600;
}

#lightbox-img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}


/* kontener główny */
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}

/* miniatury POD zdjęciem */
#lightbox-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  max-width: 800px; /* 🔥 ograniczenie szerokości */
  justify-content: center;
}

#lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
}



#lightbox-thumbs img {
  height: 60px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

#lightbox-thumbs img:hover {
  transform: scale(1.1);
}

#lightbox-thumbs img.active {
  transform: scale(1.15);
}





.thumb-nav {
  position: absolute;
  bottom: 80px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  padding: 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
}

.thumb-nav.left { left: 10px; }
.thumb-nav.right { right: 10px; }





@media (max-width: 768px) {
  #lightbox-img {
    max-height: 60vh;
  }

  #lightbox-thumbs img {
    height: 50px;
  }
}

/* dla galerii end */



/* dla rodo */

#rodo {
  padding: 60px 0;
}

/* kontener węższy = lepsza czytelność */
#rodo .container {
  max-width: 850px;
}

/* karta tekstowa */
.rodo-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 25px 30px;
  backdrop-filter: blur(6px);
}

.rodo-box:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

/* tekst desktop */
.rodo-box p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* nagłówek */
#rodo h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.75;
}

/* link/mail */
#rodo strong {
  font-weight: 600;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {

  #rodo {
    padding: 40px 0;
  }

  .rodo-box {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .rodo-box p {
    font-size: 14px;
    line-height: 1.65;
  }

  #rodo h2 {
    font-size: 18px;
  }
}

/* ===== DARK MODE BALANCE (jeśli masz light-mode) ===== */
body.light-mode .rodo-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* dla rodo */


