/* ===== GLOBALNE ===== */
body {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

html, body {
  height: 100%;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
}
.containerfoot {
  max-width: 1100px;
  margin: 0 auto;
}

.containerfoot p {
  margin: 0; /* usuwa domyślny odstęp */
}

.container2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  margin-top: -70px;
}

.container3 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 0px;
}

.r2 {
  font-size: 10px;
}

/* ===== HEADER ===== */
header {
  height: 80px;
  padding: 0;
  background: rgba(254, 130, 25, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-weight: 600;
  font-size: 1.5em;
}

.logo img {
  height: 90px;
  vertical-align: middle;
}

.nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 50px;
}

.nav li a {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav li a:hover {
  color: #FFF;
}

/* ===== HERO / SLIDER ===== */
.slider {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  border-bottom: 3px solid rgba(0, 0, 0, 0.08);
}

.slide {
  position: absolute;
  width: 100%;
  height: 650px;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f5f5f5;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.slide-text2 {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f5f5f5;
  font-size: 18px;
  text-align: center;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  z-index: 2;
}
.o-nas {
  background-color: #F5F5F5;
  padding: 60px 20px;
  color: #243352;
}

.o-nas-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.o-nas-img {
  flex: 1;
}

.o-nas-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.o-nas-text {
  flex: 2;
}

.o-nas-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.o-nas-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .o-nas-grid {
    flex-direction: column;
    text-align: center;
  }

  .o-nas-text h2 {
    font-size: 26px;
  }
}
/* ===== PRZYCISKI SLIDER ===== */
.slider-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-button {
  background-color:  #fe8219;
  color: #fff;
  padding: 20px 40px;
  font-size: 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.slider-button.secondary {
  background-color: #0077cc;
}

.slider-button:hover {
  background-color: #FE8219;
  transform: scale(1.5);
}

.slider-button.secondary:hover {
  background-color: #005fa3;
}

/* ===== INNE SEKCJE ===== */
.section {
  padding: 60px 20px;
  margin-top: 50px;
}

.section.alt {
  background-color: #f9f9f9;
}

.section.compact {
  padding-top: 10px;
}

h2 {
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}

form button:hover {
  background-color: #005fa3;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

footer {
  background-color: #fe8219;
  color: white;
  text-align: center;
  padding: 20px 0; /* tylko góra/dół */
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== INNE SEKCJE ===== */
.gap-section {
  background-color:  #fe8219;
  height: 10px;
}

.zalety {
  background-color: #F5F5F5;
  color: #243352;
  padding: 60px 20px;
}

.etapy-realizacji {
  background-color: #243352;
  color: #F5F5F5;
  padding: 60px 20px;
  text-align: center;
}

.etapy-realizacji h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

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

.etap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.etap img {
  width: 100px !important;
  display: block !important;
  margin: 0 auto 5px auto !important;
  padding: 0 !important;
  float: none !important;
}

.etap h3 {
  font-size: 18px;
  font-weight: 600;
  color: #F5F5F5;
  margin-top: 1px;
}

.etap p {
  font-size: 15px;
  line-height: 1.6;
  color: #F5F5F5;
  margin-top: -10px;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  height: 3px;
  background: #f5f5f5;
  border-radius: 4px;
  transition: 0.3s;
  display: block;
  margin: 0 auto; /* wyśrodkowanie */
  transform-origin: center;
}

/* różne szerokości w normalnym stanie */
.hamburger span:nth-child(1) { width: 30px; }
.hamburger span:nth-child(2) { width: 24px; }
.hamburger span:nth-child(3) { width: 18px; }

/* ===== AKTYWNY HAMBURGER (X) ===== */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  width: 30px; /* przywrócenie maksymalnej szerokości do X */
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  width: 30px; /* przywrócenie maksymalnej szerokości do X */
}

/* ===== OTWARTE MENU ===== */
header.menu-open {
  background: #f5f5f5 !important;
  transition: background 0.3s ease;
}

header.menu-open .hamburger span {
  background: #222222;
}

/* ===== MOBILNE MENU ===== */
.mobile-menu {
  background: #fe8219;
  backdrop-filter: blur(12px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9998;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: #F5F5F5;
  text-decoration: none;
  text-align: center;
}

.mobile-menu.active {
  max-height: 500px;
}

/* ===== UKRYJ MENU DESKTOP NA MOBILE ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  header {
    position: relative;
    height: auto;
    background: #fe8219;
    border-bottom: 1px solid #000;
    z-index: 9999;
  }
  
   .logo img {
    height: 65px;
  }

  .slider, .slide, .slide img {
    height: 400px;
  }

  .slide-text {
    font-size: 24px;
  }

  .slide-text2 {
    font-size: 14px;
  }

  .section,
  .zalety,
  .etapy-realizacji {
    padding: 30px 10px;
    margin-top: 30px;
  }

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

  /* PRZYCISKI POD SLIDEREM */
  .slider-buttons {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto 0 auto;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    justify-content: center;
    background: #fe8219;
    padding: 10px;
    border-radius: 6px;
  }

  .slider-button {
    padding: 12px 20px;
    font-size: 16px;
	border: 1px solid rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 480px) {
  .slider, .slide, .slide img {
    height: 250px;
  }

  .slide-text {
    font-size: 18px;
  }

  .slide-text2 {
    font-size: 12px;
  }

  .etap img {
    width: 60px !important;
  }

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

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}
/* Ukrycie gap-section na ekranach mobilnych */
@media (max-width: 768px) {
.gap-section {
  background-color: #F5F5F5;
  height: 5px;
}
}
.slide-text-highlight {
  color: #243352; /* np. złoty kolor, możesz zmienić na dowolny */
}
@media (max-width: 768px) {
  .container2 {
    margin-top: 0; /* usuwa przerwę na telefonie */
    padding: 20px 10px; /* opcjonalnie dopasowanie paddingu */
  }
}
@media (max-width: 768px) {
  /* Cała sekcja slidera ma być jasnoszara */
  .slider {
    background: #F5F5F5 !important;
  }

  .slide,
  .slide img {
    background: #F5F5F5 !important;
  }

  /* Przyciski zostają szare ale bez zaokrąglonej wyspy */
.slider-buttons {
    background: transparent;
    padding: 0;
  }
}
}
/* HEADER NA PODSTRONACH */
.inner-page header {
  background: #F5F5F5 !important;
  position: absolute !important;
}
.project {
  margin-bottom: 50px;
}

.project h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

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

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

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
}

.caption {
  color: white;
  margin-top: 10px;
  font-size: 18px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 50px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transform: translateY(-50%);
}

.prev { left: 20px; }
.next { right: 20px; }


.kontakt-section {
    background: #F5F5F5;
    color: #243352;
    padding: 80px 20px;
}

.kontakt-header {
    text-align: center;
    margin-bottom: 50px;
}

.kontakt-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.kontakt-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.kontakt-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #243352;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.kontakt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.kontakt-card i {
    font-size: 50px;
    color: #fe8219;
    margin-bottom: 20px;
}

.kontakt-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.kontakt-card p {
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .kontakt-header h2 {
        font-size: 28px;
    }

    .kontakt-card {
        padding: 30px 15px;
    }

    .kontakt-card i {
        font-size: 40px;
    }
}

.cennik-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}

.cennik-item strong {
    color: #fe8219;
    font-size: 20px;
}

.cennik-info {
    margin-top: 30px;
    line-height: 1.7;
    font-size: 16px;
    color: #222222;
}

.orange {
    color: #ff5733; /* Dowolny kolor (może być też np. red, rgb, hsl) */
    font-weight: bold; /* Opcjonalnie: pogrubienie czcionki */
}
@media (max-width: 768px) {
    .cennik-item {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 768px) {
  .etapy-realizacji {
    margin-top: 0 !important;
    padding-top: 20px; /* opcjonalnie dopasuj padding */
  }
}