:root{
  --bg:#0f1213;
  --panel:#1b1f21;
  --muted:#c9d0d2;
  --brand:#f5b041; /* złoty akcent */
  --accent:#0b5ed7;
  --glass: rgba(255,255,255,0.03);
}

/* reset & base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow-x: hidden;font-family:Inter, Roboto, Arial, sans-serif;background:var(--bg);color:var(--muted);-webkit-font-smoothing:antialiased}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* topbar */
.topbar{background:#000;color:var(--muted);font-size:14px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:8px 0}

/* header */
.header{
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{color:var(--brand);font-weight:800;font-size:20px}
.main-nav{display:flex;gap:14px;align-items:center}
.main-nav a{color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:6px;font-weight:600}
.main-nav a:hover{background:rgba(255,255,255,0.02)}
.header-actions{display:flex;gap:10px;align-items:center}
.btn{background:var(--brand);color:#111;padding:10px 14px;border-radius:8px;text-decoration:none;font-weight:700}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted)}
.burger{display:none;background:transparent;border:none;color:var(--muted);font-size:22px;cursor:pointer}


/* hero */
.hero{position:relative;height:72vh;min-height:420px;overflow:hidden}
.slides{position:absolute;inset:0}
.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.02);transition:opacity .9s ease,transform .9s ease}
.slide[data-index="0"]{opacity:1;transform:scale(1)}
.hero-overlay{position:relative;z-index:2;height:100%}
.hero-inner{display:flex;align-items:center;height:100%}
.hero-content{background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6));padding:30px;border-radius:10px;color:#fff;text-align:center;margin:auto}
.hero-content h1{font-size:34px;margin-bottom:8px}
.lead{color:var(--muted);max-width:900px;margin:10px auto 0}
.hero-ctas{display:flex;gap:12px;justify-content:center;margin-top:12px}

/* sections */
.section{padding:64px 0}
.dark{background:#0b0d0e}
.fade{opacity:0;transform:translateY(20px);transition:opacity .8s ease, transform .8s ease}
.fade.show{opacity:1;transform:translateY(0)}

/* services tiles */
.service.bg{position:relative;height:240px;background-size:cover;background-position:center;border-radius:12px;overflow:hidden;display:flex;align-items:flex-end;transition:transform .25s ease}
.service.bg:hover{transform:scale(1.02)}
.service.bg .overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.6))}
.service.bg .content{position:relative;z-index:2;padding:16px;color:#fff}
.service.bg h3{color:var(--brand);margin:0 0 6px}
.service.bg p{font-size:14px;margin:0}

/* projects */
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.proj img{width:100%;height:200px;object-fit:cover;border-radius:8px}

/* offer list */
.offer-list{max-width:760px;margin:0 auto;text-align:left;color:var(--muted);line-height:1.8}

/* pricing form */
.pricing-form{position:relative;padding:80px 0;background-image:url('https://www.dobredomy.pl/poradnik/wp-content/uploads/2023/03/CREATON-dach%C3%B3wka-DOMINO.jpg');background-size:cover;background-position:center}
.pricing-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.66)}
.pricing-content{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:40px;color:#fff;align-items:start}
.pricing-text h2{color:var(--brand)}
.pricing-text ul{margin:12px 0 0;padding-left:18px}
.pricing-form-box{background:rgba(255,255,255,0.04);padding:22px;border-radius:10px;backdrop-filter:blur(2px)}
.pricing-form-box input, .pricing-form-box textarea{width:100%;margin-bottom:12px;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--muted)}
.pricing-form-box textarea{min-height:140px;resize:vertical}
.pricing-form-box .form-info{font-size:13px;color:rgba(255,255,255,0.7);margin-top:8px}

/* why us & pricing cards */
.service{background:var(--panel);padding:16px;border-radius:8px;color:var(--muted);min-height:120px;display:flex;flex-direction:column;gap:8px}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.price-card{background:var(--panel);padding:18px;border-radius:8px;text-align:center;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.03);background:transparent;color:var(--muted)}

/* footer */
.footer{padding:18px 0;background:#050505;color:var(--muted);text-align:center}

/* responsiveness */
@media(max-width:1000px){
  .services-grid.images{grid-template-columns:repeat(2,1fr)}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
  .pricing-content{grid-template-columns:1fr}
  .services-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .main-nav{display:none;position:absolute;top:64px;right:20px;background:var(--panel);padding:10px;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.5)}
  .main-nav.open{display:flex;flex-direction:column;gap:6px}
  .burger{display:block}
  .services-grid.images{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr}
  .pricing-content{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero-content h1{font-size:24px}
}




/* DLACZEGO POLGUZ – jasna sekcja, inny styl */
.why-section {
    background: #f4f4f4;
    padding: 80px 20px;
    text-align: center;
    color: #111; /* <<< czarna/ciemna czcionka */
}
.why-container {
    max-width: 1100px;
    margin: auto;
}

.why-subtitle {
    color: #444; /* delikatnie ciemniejszy, ale wciąż widoczny */
}

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

.why-box {
    background: #ffffff;
    color: #111; /* <<< czarna czcionka wewnątrz boxów */
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #ddd;
    transition: 0.3s;
}


.why-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Subtelne animacje wejścia */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.delay1 { animation-delay: 0.2s; }
.delay2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- NOWE USŁUGI (Opcja B) --- */

.services-section {
    background: #181818;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.services-container {
    max-width: 1100px;
    margin: auto;
}

.services-subtitle {
    opacity: 0.7;
    margin-bottom: 50px;
    font-size: 18px;
}



/* KAFELKI */
.service-item {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: 0.4s;
    cursor: pointer;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
    transition: 0.4s;
}

.service-item:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25));
}

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


/* Layout */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


/* TREŚĆ NA KAFELKACH */
.service-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    text-align: left;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.service-content p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.4;
}

/* === SLIDER CONTROLS === */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 32px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s;
}
.slider-arrow:hover {
  background: rgba(0,0,0,0.6);
}
.slider-arrow.left { left: 20px; }
.slider-arrow.right { right: 20px; }

/* dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 20;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  transition: background .3s, transform .3s;
  cursor: pointer;
}
.slider-dots button.active {
  background: var(--brand);
  transform: scale(1.2);
}

.slide {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .9s ease,transform .9s ease;
}

.slide[aria-hidden="false"] {
  opacity:1;
  transform:scale(1);
}



/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
  cursor: zoom-in;
  
   pointer-events: auto;
  cursor: zoom-in;

}

.gallery-item:hover img {
  transform: scale(1.03);
  
}

.gallery-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 12px;
  transform: translateY(40px);
  opacity: 0;
  transition: all .4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   LIGHTBOX – CLEAN & FINAL
   ================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

/* image */
#lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  margin-bottom: 20px;
  border-radius: 12px;
}

/* info panel */
.lightbox-info {
  background: rgba(0,0,0,0.65);
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
  text-align: center;
}

.lightbox-info h3 {
  color: var(--brand);
  margin-bottom: 10px;
}

.lightbox-info p {
  color: #ddd;
}

/* close */
.lightbox .close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  z-index: 100000;
}

/* arrows */
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 100000;
}
/* lightbox – NIE przechwytuj klików przez content */
#lightbox-image,
.lightbox-info {
  pointer-events: none;
}

/* lightbox – strzałki i X MUSZĄ łapać klik */
.lb-arrow,
.lightbox .close {
  pointer-events: auto;
}
.lb-arrow.left { left: 40px; }
.lb-arrow.right { right: 40px; }


/* === PREMIUM USŁUGI === */


.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* left photos */
.services-photos {
  position: relative;
}

.services-photos img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  object-fit: cover;
}

.photo-top {
  width: 85%;
  margin-left: 40px;
}

.photo-bottom {
  position: absolute;
  top: 45%;
  left: 0;
  width: 85%;
}



/* right content */
.services-tag {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 17px;
}

.services-title {
  font-size: 42px;
  margin: 10px 0;
  color: #fff;
}





/* icon + text row */
.service-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-icon {
  background: var(--brand);
  color: #111;
  width: 55px;
  height: 55px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}

/* mobile */
@media (max-width: 900px) {
  .services-wrapper {
    grid-template-columns: 1fr;
  }
  .services-photos {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .lb-arrow {
    display: none;
  }
}

/* === USŁUGI PREMIUM – 3 KOLUMNY === */






/* TEKSTY */
.services-label {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.services-column h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #111;
}

.services-intro {
  margin-bottom: 25px;
  color: #555;
  max-width: 90%;
}

/* LISTA USŁUG */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-item-premium {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-item-premium .icon {
  width: 55px;
  height: 55px;
  background: var(--brand);
  color: #111;
  border-radius: 10px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* RESPONSYWNOŚĆ – na telefonie wracamy do jednego bloku */
@media (max-width: 900px) {
  .services-3col {
    grid-template-columns: 1fr;
  }

  .img-top, .img-bottom {
    width: 100%;
    position: static;
    margin: 0 0 15px 0;
  }
}

/* === USŁUGI – UKŁAD JAK Z PROTOTYPU === */

.services-modern {
  background: #f6f6f6;
  padding: 90px 0;
  color: #222;
}



/* ZDJĘCIA */
.services-images {
  position: relative;
}

.services-images img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.img-main {
  width: 90%;
}

.img-overlay {
  position: absolute;
  bottom: -40px;
  left: 40px;
  width: 80%;
}

/* TEKSTY */

.services-col h2 {
  font-size: 36px;
  margin: 10px 0 20px;
  color: #111;
}



.services-desc {
  max-width: 420px;
  color: #555;
  margin-bottom: 30px;
  max-width: 420px;
}

/* POJEDYNCZA USŁUGA */
.service-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.service-row h4 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #111;
}

.service-row p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* IKONA */
.service-row .icon {
  min-width: 52px;
  height: 52px;
  background: var(--brand);
  color: #111;
  border-radius: 12px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .img-overlay {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
}

/* GŁÓWNY GRID */
.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 60px;
  align-items: start;
}



/* LISTA USŁUG – DWIE KOLUMNY */
.services-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-top: 30px;
}

.services-offset {
  margin-top: 130px; /* dokładnie pod nagłówkiem */
}

/* MOBILE */
@media (max-width: 1000px) {
  .services-grid,
  .services-content-2col {
    grid-template-columns: 1fr;
  }

  .services-offset {
    margin-top: 0;
  }
}

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

.logo img {
  height: 48px;      /* idealna wysokość na desktop */
  width: auto;
}

.footer img {
  height: 50px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1)
          drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.header .logo img {
  filter: brightness(0) invert(1)
          drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}


/* === O NAS === */

.about-section {
  padding: 90px 0;
  background: #fff;
}
.about-content h2 { color: #111; }
.about-lead { color: #222; }
.about-content p { color: #555; }
.about-content li { color: #333; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img.logo-clean {
  box-shadow: none;
  border-radius: 0;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-clean {
  max-width: 320px;
}

.about-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.section-tag {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.about-content h2 {
  font-size: 38px;
  margin: 10px 0 20px;
}

.about-lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* STATYSTYKI */
.about-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.about-stats strong {
  font-size: 32px;
  color: var(--brand);
}

.about-stats span {
  display: block;
  font-size: 14px;
  color: #1d1717;
}

/* LISTA */
.about-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-list li {
  font-size: 15px;
}

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

/* TUTAJ IKONKI FB,INSTA */
.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 20px;
}

.header-socials a {
  color: #ccc;
  font-size: 16px;
  transition: color .25s ease, transform .25s ease;
}

.header-socials a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .header-socials {
    display: none;
  }
}

.footer-google a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 15px;
  text-decoration: none;
  transition: color .25s ease;
}

.footer-google a i {
  font-size: 18px;
  color: #fbbc05; /* kolor Google */
}

.footer-google a:hover {
  color: #fff;
}


/* tutaj kontakt css */
.contact-clean {
  background: #0f0f0f;
}

.contact-intro {
  max-width: 520px;
  margin: 0 auto 50px;
  color: var(--muted);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.contact-box {
  background: var(--panel);
  padding: 40px 30px;
  border-radius: 14px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.contact-box i {
  font-size: 34px;
  color: var(--brand);
  margin-bottom: 15px;
}

.contact-box h4 {
  margin-bottom: 10px;
  color: #fff;
}

.contact-box a {
  display: block;
  color: #ddd;
  font-weight: 600;
  margin-bottom: 6px;
  text-decoration: none;
}

.contact-box span,
.contact-box p {
  color: var(--muted);
  font-size: 14px;
}

.contact-cta {
  text-align: center;
}

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


/* visit licznik wejsc na strone */
.visit-counter {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  opacity: 0.85;
}

.visit-counter span {
  font-weight: 700;
  color: var(--brand);
}
}
