/* Reset i podstawy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: "Poppins", sans-serif;
  color: #fff;
  scroll-behavior: smooth;
}

/* Sekcja video */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

/* Logo i dane kontaktowe */
.top-bar {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1002;
}

.top-bar img {
  width: 200px;
  margin-bottom: 10px;
}

.contact a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 4px 0;
  padding: 6px 12px;
  border: 1px solid #fff;
  border-radius: 6px;
  transition: all 0.3s ease; /* płynne przejścia */
}

.contact a:hover {
  transform: scale(1.08);     /* lekkie powiększenie */
  background: rgba(255,255,255,0.1); /* delikatne tło */
  border-color: #f0f0f0;      /* jaśniejsza ramka */
}

/* Menu startowe w hero */
header {
  position: absolute;
  bottom: 15%;  /* start w dolnej części hero */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 1001;
  transition: all 0.3s ease;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 20px;
  font-size: 1.1rem;
  background: transparent;
  backdrop-filter: none;
}

@media (max-width: 720px) {
  header nav {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
  }
  header.sticky {
    position: absolute !important;
}
.contact-box {
        top: 50% !important;
        left: 50% !important; 
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        max-width: 90% !important;
    }
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sticky menu po przewinięciu */
header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  bottom: auto;
}



/* Sekcja O nas */
.about {
  background: #f8f8f8;
  color: #333;
  padding: 100px 20px;
  text-align: center;
}

.about .container {
  max-width: 1000px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
}

.about .intro {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about .more-text {
  display: none;
  margin-top: 20px;
  line-height: 1.6;
}

.about .more-text.open {
  display: block;
}

.about .features {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: left;
}

.about .features ul {
  list-style: disc;
  padding-left: 20px;
}

.about .features li {
  margin-bottom: 8px;
}

.btn-more {
  margin-top: 20px;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-more:hover {
  background: #444;
}



/* Sekcja Oferta */
.offer {
  background: #111;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.offer h2 {
  font-size: 2.4rem;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}
.offer h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #ffcc00;
  margin: 10px auto 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-card {
  background: #1c1c1c;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.offer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer-card h3 {
  font-size: 1.6rem;
  margin: 20px 0 15px;
  color: #ffcc00;
}

.offer-card p {
  padding: 0 20px 30px;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.offer-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Animacje reveal */
.reveal.active.fade-left  { opacity: 1; transform: translateX(0); }
.reveal.fade-left         { transform: translateX(-80px); }

.reveal.active.fade-right { opacity: 1; transform: translateX(0); }
.reveal.fade-right        { transform: translateX(80px); }

.reveal.active.fade-up    { opacity: 1; transform: translateY(0); }
.reveal.fade-up           { transform: translateY(80px); }


/* ====== REALIZACJE ====== */
.projects {
  background: #f8f8f8;
  color: #333;
  padding: 100px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 2.4rem;
  margin-bottom: 60px;
  color: #111;
  position: relative;
  display: inline-block;
}

.projects h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #ffcc00;
  margin: 12px auto 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cała karta jako link */
.project-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
  text-align: center;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.project-info p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}
.project-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* --- animacja zdjęcia --- */
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease; /* płynne powiększanie */
}

.project-card:hover img {
  transform: scale(1.1); /* powiększenie przy hoverze */
}
/* --- CONTACT --- */
.contact {
  position: relative;
  width: 100%;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) contrast(1.1);
  border: 0;
}

.contact-box {
  position: absolute;
  top: 10%;
  right: 10%;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  max-width: 350px;
}

.contact-box h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
}

.contact-box p {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-box a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  color: #ffcc00;
}
/* REVEAL ANIMACJA */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


footer {
  text-align: center;
  padding: 25px 10px;
  background: rgba(0,0,0,0.9);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
  margin: 5px 0;
}

