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

body {
background: #0f0f0f;
color: #fff;
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 {
background: rgba(200,200,200,0.7); /* kolor tła nagłówka */
position: sticky;
top: 0;
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
z-index: 2000;
}


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

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

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

.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-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);
}


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

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

.btn.secondary {
background: #333;
}

/* SECTIONS */
.section {
padding: 80px 0;
text-align: center;
}

.dark {
background: #1a1a1a;
}

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


.card {
background: #1f1f1f;
padding: 25px;
border-radius: 15px;
transition: 0.3s;
text-align: center;
}

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

/* OPIS SEKcji */
.section-desc {
margin-top: 10px;
color: #aaa;
}

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

/* KARTA USŁUGI  */
.service-card {
position: relative;
overflow: hidden;
background: #1f1f1f;
transition: all 0.35s ease;
text-align: center;
padding: 25px;
}

/* 🔥 LIFT + SHADOW */
.service-card:hover {
transform: translateY(-10px) scale(1.02);
background: #262626;
/* box-shadow: 0 15px 40px rgba(255, 102, 0, 0.25); */
}

/* 💎 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(-100%);
transition: opacity 0.3s ease;
}

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

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


/* IKONA */
.icon {
width: 60px;
height: 60px;
background: rgba(190,190,190,0.2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px auto;
}

.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 {
color: #ccc;
font-size: 15px;
}

/* 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;
}

.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;
}

.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: 15px;
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;
}


.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-floating {
position: fixed;
bottom: 20px;
left: 20px;
background: #1f1f1f;
color: #ff6600;
width: 50px;
height: 50px;
border-radius: 50%;
text-decoration: none;
font-size: 22px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 5px 20px rgba(0,0,0,0.4);
transition: 0.3s;
}

/* hover */
.back-floating:hover {
background: #ff6600;
color: #fff;
transform: scale(1.1);
}


/* FOOTER */
footer {
text-align: center;
padding: 20px;
background: #000;
}

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

.grid {
grid-template-columns: 1fr 1fr;
}
}

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

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


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

.menu a {
color: white;
text-decoration: none;
}

.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: #111;
position: absolute;
top: 70px;
right: 0;
width: 100%;
padding: 20px;
}

.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: block;
margin-top: 10px;
}
}


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

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

.section ul li {
background: #1f1f1f;
padding: 12px 15px 12px 35px;
border-radius: 8px;
margin-bottom: 10px;
position: relative;
transition: 0.3s;
list-style: none;
}

.section ul li:hover {
background: #262626;
transform: translateX(5px);
}

.section ul li::before {
content: "⚡";
position: absolute;
left: 12px;
color: #ff6600;
}



/* 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: #1f1f1f;
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;
}

/* 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;
}

/* OPIS */
#lightbox-caption {
position: absolute;
bottom: 15px;
left: 15px;
background: rgba(0,0,0,0.6);
color: #ccc;
font-size: 14px;
text-align: center;
padding: 6px 10px;
border-radius: 8px;
}

/* LICZNIK */
#lightbox-counter {
position: absolute;
bottom: 15px;
right: 15px;
font-size: 14px;
color: #fff;
background: rgba(0,0,0,0.6);
padding: 6px 10px;
border-radius: 8px;
z-index: 1000;
backdrop-filter: blur(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 {
position: absolute;
bottom: 20px;
right: 30px;
font-size: 16px;
color: #fff;
background: rgba(0,0,0,0.6);
padding: 6px 12px;
border-radius: 8px;
z-index: 1000;
}

.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: white;
	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: white;
cursor: pointer;
z-index: 10002;
}

.arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 50px;
color: white;
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: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.contact-box a:hover {
  color: #ff6600;
}

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

.contact-benefits p {
  margin-bottom: 8px;
  color: #bbb;
}

.contact-cta {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* żeby na mobile się nie psuło */
}


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

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

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

/* CHECKBOX */
.checkbox span {
  color: #bbb;
}

/* BUTTON */
.form button {
  background: #ff6600;
  border: none;
  padding: 14px;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

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


/* FAQ */
.faq-card {
  text-align: left;
}

.faq-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ff6600;
}

.faq-card p {
  font-size: 14px;
  color: #ccc;
}

.faq-card:hover {
  transform: translateY(-5px);
  background: #262626;
}





/* 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: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  opacity: 0;
  transition: 0.3s;
}

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