
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#0f0f0f;
  color:#eee;
  line-height:1.6;
}

/* CONTAINER */
.container{
  width:95%;
  max-width:1400px;
  margin:auto;

}

.container a {
  text-decoration: none;
  color: inherit;
}

/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar{
  background:linear-gradient(to right,#0f0f0f,#1a1a1a);
  border-bottom:1px solid rgba(197,162,106,0.2);

  display:flex;
  overflow:hidden;

  max-height:60px;
  opacity:1;
  transform:translateY(0);

  transition:
    transform 0.4s ease,
    opacity 0.3s ease,
    max-height 0.4s ease;
}

/* layout */
.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
}

/* 🔥 znika bez pustej przestrzeni */
body.scrolled .topbar{
  transform:translateY(-100%);
  opacity:0;
  max-height:0;
}

/* lewa */
.topbar-left{color:#aaa;}
.topbar-left strong{color:#c5a26a;}

/* prawa */
.topbar-right a{
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:8px;
  transition:0.3s;
}

.phone-icon{
  color:#c5a26a;
  font-size:16px;
  text-shadow:0 0 8px rgba(197,162,106,0.6);
}

.topbar-right a:hover{
  color:#c5a26a;
  text-shadow:0 0 8px rgba(197,162,106,0.6);
}

/* HEADER */
header{
  position:sticky;
  top:0;
  z-index:999;

  transition:background 0.35s ease, box-shadow 0.35s ease;

  background: linear-gradient(to bottom, rgba(10,10,10,0.95), rgba(5,5,5,0.95));
  border-bottom:1px solid rgba(197,162,106,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.02);
}


body.scrolled header{
  background: rgba(10,10,10,0.9);
  box-shadow:
    0 5px 20px rgba(0,0,0,0.8),
    inset 0 -1px 0 rgba(255,255,255,0.03);
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  padding:20px 0;

  transform:scale(1);
  transform-origin:top center;
  transition:transform 0.35s ease;
}

body.scrolled .nav{
  transform:scale(0.92);
}

.nav-left{margin-right:40px;}

/* LOGO */
.logo img{
  height:50px;
  transform:scale(1);
  transition:transform 0.35s ease;
}

body.scrolled .logo img{
  transform:scale(0.85);
}

.nav-center{
  flex:1;
}

/* NAV LINKS */
nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  white-space:nowrap;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  position:relative;
  padding-bottom:5px;

  transform:translateY(0);
  transition:transform 0.3s ease, color 0.3s ease;
}

body.scrolled nav a{
  transform:translateY(-2px);
}


nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:linear-gradient(90deg,#c5a26a,#a67c3b);
  transition:0.3s;
}

nav a:hover{
  color:#e0c48f;
  text-shadow:0 0 8px rgba(197,162,106,0.6);
}

nav a:hover::after{width:100%;}

nav a.active{color:#c5a26a;}
nav a.active::after{width:100%;}

/* LANG */
.nav-right{margin-left:40px;}

.lang{color:#aaa;}
.lang span:hover{color:#c5a26a;}

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

.hamburger span{
  width:28px;
  height:3px;
  background:#fff;
  transition:0.3s;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* OVERLAY */
.menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:999;
}

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

header,
.nav,
.logo img,
nav a{
  will-change:transform;
  transform:translateZ(0);
}
/* HERO PARALLAX */
.hero{
  height:90vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/hero.webp") center/cover no-repeat;
  z-index:-1;
}



.hero-2 .hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/hero2.webp") center/cover no-repeat;
  z-index:-1;
}


.hero-3 .hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/centrum.png") center/cover no-repeat;
  z-index:-1;
}

.hero-4 .hero-bg{
    position:absolute;
    inset:0;
    background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/main/lupek-naturalny-otoczenie-zewnetrzne/lupek-naturalny-otoczenie-zewnetrzne-16.webp") center/cover no-repeat;
    z-index:-1;

}
.hero-5 .hero-bg{
  background:
    
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/Gemini_Generated_Image_3ud1vj3ud1vj3ud1.png") center/cover no-repeat;
    z-index:-1;
    position:absolute;
    inset:0;
  
}
.hero-content{
  position:relative;
  z-index:2;
}

.hero h1{
  font-size:48px;
  margin-bottom:15px;

  color:#fff;

  text-shadow:
    0 5px 20px rgba(0,0,0,0.8),      /* cień bazowy */
    0 0 10px rgba(197,162,106,0.6),  /* złoty glow */
    0 0 25px rgba(197,162,106,0.3);  /* rozmycie */
}

.hero p{
  font-size:18px;
  color:#ccc;
}

/* BUTTON */
.btn{
  display:inline-block;
  margin-top:25px;
  padding:14px 34px;

  background:linear-gradient(135deg,#d4b37a,#a67c3b);
  color:#fff;

  text-decoration:none;
  border-radius:6px;

  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;

  box-shadow:0 10px 30px rgba(166,124,59,0.5);

  transition:all 0.3s ease;
}
.btn:hover{
  transform:translateY(-3px);

  background:linear-gradient(135deg,#e0c48f,#b88a45);

  box-shadow:
    0 15px 40px rgba(166,124,59,0.7),
    0 0 20px rgba(197,162,106,0.4);
}


.btn:active{
  transform:translateY(0);
}
/* SECTIONS */
.section{
  padding:100px 0;
  position:relative;
}

.section.centrum{
  min-height:70vh; 

  display:flex;
  align-items:center; 
}

.section reveal centrum{
  height: 500px;
}

.section h2{
  font-size:32px;
  margin-bottom:20px;
}

.section h2::after{
  
  display:block;
  width:60px;
  height:3px;
 
  margin-top:10px;
}

.section p{
  max-width:800px;
  color:#ccc;
  line-height:1.8;
}

.dark{
  background:linear-gradient(to bottom,#181818,#0f0f0f);
  border-top:1px solid rgba(197,162,106,0.1);
  border-bottom:1px solid rgba(197,162,106,0.1);
}


.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  position: relative;
  
}


#logo_panel{
  width:0%;
  max-width:500px;
  margin:auto;
  display:block;

  border-radius:8px;

 

  transition:0.4s;
}

.section.centrum .container{
  max-width:1200px; 
  margin:auto;
  padding:0 20px; 
}
.centrum .grid2{
  gap:60px;
  align-items:center;
}

/* obraz */
.centrum-img{
  width:100%;
  max-width:450px; 
  margin-right:150px;

  border-radius:10px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(197,162,106,0.2);

  transition:0.4s;
}

/* hover */
.centrum-img:hover{
  transform:scale(1.05);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.9),
    0 0 50px rgba(197,162,106,0.4);
}

.kamien-bg{
  position:relative;
  overflow:hidden;
}

/* zdjęcie */
.kamien-bg::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    url("img/panel2.jpg") center/cover no-repeat;

  z-index:0;
 
}

.kamien-bg2::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
    url("img/Zbliżenie na kamienne bloki w słońcu.png") center/cover no-repeat;

  z-index:0;
 
}


.kamien-bg::after{
  content:"";
  position:absolute;
  inset:0;

 background:
  linear-gradient(
    rgba(10,10,10,0.75),
    rgba(5,5,5,0.5)
  ),
  radial-gradient(circle at center, rgba(197,162,106,0.1), transparent 70%);

  z-index:1;
}


.kamien-bg .container{
  position:relative;
  z-index:2;
}



#logo_panel:hover{
  transform:scale(1.05);
}

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


.tile{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  cursor:pointer;

  box-shadow:0 15px 40px rgba(0,0,0,0.8);
}


.tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
  filter:brightness(0.8);
}

.tile::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
  opacity:0.8;
  transition:0.5s;
}


.tile-text{
  position:absolute;
  bottom:20px;   /* 🔥 dół */
  left:0;

 
  color:#fff;
  font-size:12px;
  font-weight:600;
  text-align:left;
 padding:0 20px; /* 🔥 spacing */

  width:100%;
  text-shadow:0 3px 15px rgba(0,0,0,0.7);
  transition:0.3s;
}


.tile:hover img{
  transform:scale(1.08);
  filter:brightness(0.2);
}

.tile:hover::before{
  opacity:0.2;
}

.tile:hover .tile-text{
  color:#c5a26a;
   transform:translateY(-3px);
}

/* CONTACT */
.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}


/* INPUTY */
input, textarea{
  width:100%;
  padding:14px 16px;
  margin-bottom:15px;

  background:#141414;
  border:1px solid rgba(255,255,255,0.05);
  border-radius:6px;

  color:#fff;
  font-size:15px;

  transition:all 0.3s ease;
}

/* placeholder */
input::placeholder,
textarea::placeholder{
  color:#777;
}


input:focus, textarea:focus{
  outline:none;
  border:1px solid #c5a26a;

  box-shadow:
    0 0 10px rgba(197,162,106,0.4),
    0 0 20px rgba(197,162,106,0.2);
}

/* TEXTAREA */
textarea{
  min-height:120px;
  resize:vertical;
}


button{
  width:100%;
  padding:14px;

  background:linear-gradient(135deg,#d4b37a,#a67c3b);
  border:none;
  border-radius:6px;

  color:#fff;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;

  cursor:pointer;

  box-shadow:0 10px 30px rgba(166,124,59,0.5);

  transition:all 0.3s ease;
}

/* HOVER */
button:hover{
  transform:translateY(-2px);

  box-shadow:
    0 15px 40px rgba(166,124,59,0.7),
    0 0 20px rgba(197,162,106,0.4);
}

/* ACTIVE */
button:active{
  transform:translateY(0);
}



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

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

}


.gallery3 img{
  width:300px;
  height: 300px;
  cursor:pointer;
  border-radius:10px;


  transition:0.3s;
}

.gallery3 img:hover{
  transform:scale(1.05);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.9),
    0 0 30px rgba(197,162,106,0.2);
}


#lightbox{
  position:fixed !important;
  top:0;
  left:0;

  width:100vw;
  height:100vh;

  background:rgba(0,0,0,0.95);

  display:none;

  justify-content:center;
  align-items:center;

  z-index:999999;

  padding:20px;
}


#lightbox img{
  max-width:100%;
  max-height:100%;

  object-fit:contain;

  border-radius:10px;
}

body.lightbox-open{
  overflow:hidden;
}



.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
}

/* LEWA STRONA */
.contact-info p{
  margin-bottom:15px;
  color:#ccc;
}

.contact-info strong{
  color:#fff;
}

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

/* MAPA */
.map-wrapper{
  margin-top:60px;
}

.map-wrapper iframe{
  width:100%;
  height:350px;
  border:none;
  border-radius:10px;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.8),
    0 0 30px rgba(197,162,106,0.1);
}




/* SCROLL TO TOP */
#scrollTopBtn{
  position:fixed;
  bottom:30px;
  right: 30px;
  text-align: center;

  width:50px;
  height:50px;

  border:none;
  border-radius:50%;

  background:linear-gradient(135deg,#d4b37a,#a67c3b);
  color:#fff;

  font-size:22px;
  font-weight:bold;

  cursor:pointer;

  display:none;

  z-index:9999;

  box-shadow:
    0 10px 25px rgba(166,124,59,0.5),
    0 0 15px rgba(197,162,106,0.3);

  transition:all 0.3s ease;
  transform: translate(-50%,);
}

/* hover */
#scrollTopBtn:hover{
  transform:translateY(-4px) scale(1.05);

  box-shadow:
    0 15px 35px rgba(166,124,59,0.7),
    0 0 25px rgba(197,162,106,0.5);
}

/* klik */
#scrollTopBtn:active{
  transform:translateY(0);
}






.gallery-modern{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
}

/* kafelek */
.gallery-modern .item{
  background:#141414;
  border-radius:10px;
  overflow:hidden;

  box-shadow:0 15px 40px rgba(0,0,0,0.7);
  transition:0.4s;
}

.gallery-modern img{
  width:100%;
  height:220px;
  object-fit:cover;

  transition:0.5s;
}

.gallery-modern h3{
  font-size:18px;
  margin:15px;
  color:#fff;
}

.gallery-modern p{
  font-size:14px;
  color:#aaa;
  margin:0 15px 20px;
}


.gallery-modern .item:hover{
  transform:translateY(-8px);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.9),
    0 0 30px rgba(197,162,106,0.2);
}

.gallery-modern .item:hover img{
  transform:scale(1.08);
  filter:brightness(0.8);
}


.contact-pro{
  position:relative;
}

/* wrapper */
.contact-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:stretch;
}


.contact-left h2{
  margin-bottom:30px;
}

.contact-item{
  display:flex;
  gap:15px;
  margin-bottom:25px;

  padding:15px;

  background:rgba(255,255,255,0.02);
  border-radius:8px;

  transition:0.3s;
}


.contact-item:hover{
  transform:translateX(5px);

  background:rgba(197,162,106,0.05);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 15px rgba(197,162,106,0.2);
}


.contact-item span{
  font-size:22px;
}

.contact-item strong{
  color:#fff;
  display:block;
}

.contact-item p{
  color:#aaa;
  margin-top:3px;
}



.contact-right{
  background:#141414;
  padding:35px;
  border-radius:12px;
  margin-top:55px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    0 0 40px rgba(197,162,106,0.1);

  transition:0.3s;
}

.contact-right:hover{
  box-shadow:
    0 30px 80px rgba(0,0,0,0.9),
    0 0 50px rgba(197,162,106,0.2);
}

.contact-right h3{
  margin-bottom:20px;
}



.contact-form-pro input,
.contact-form-pro textarea{
  width:100%;
  padding:14px;
  margin-bottom:15px;

  background:#0f0f0f;
  border:1px solid rgba(255,255,255,0.05);
  border-radius:6px;

  color:#fff;

  transition:0.3s;
}

.contact-form-pro input:focus,
.contact-form-pro textarea:focus{
  outline:none;

  border:1px solid #c5a26a;

  box-shadow:
    0 0 10px rgba(197,162,106,0.4),
    0 0 20px rgba(197,162,106,0.2);
}

.contact-form-pro textarea{
  min-height:120px;
}


.contact-form-pro button{
  width:100%;
  padding:14px;

  background:linear-gradient(135deg,#d4b37a,#a67c3b);
  border:none;
  border-radius:6px;

  color:#fff;
  font-weight:600;
  text-transform:uppercase;

  cursor:pointer;

  box-shadow:0 10px 30px rgba(166,124,59,0.5);

  transition:0.3s;
}

.contact-form-pro button:hover{
  transform:translateY(-2px);

  box-shadow:
    0 15px 40px rgba(166,124,59,0.7),
    0 0 20px rgba(197,162,106,0.4);
}


.map-pro{
  margin-top:80px;
}

.map-pro iframe{
  width:100%;
  height:400px;
  border:none;
  border-radius:12px;

  box-shadow:
    0 30px 70px rgba(0,0,0,0.9),
    0 0 40px rgba(197,162,106,0.15);
}


/* MOBILE */


@media(max-width:992px){

  .contact-wrapper{
    grid-template-columns:1fr;
    gap:40px;
  }

}


footer{
  background:#0a0a0a;
  border-top:1px solid rgba(197,162,106,0.2);
  margin-top:80px;
}

/* layout */
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;

  padding:20px 0;

  font-size:14px;
  color:#aaa;
}

/* link */
.footer-center a{
  color:#aaa;
  text-decoration:none;
  transition:0.3s;
}

.footer-center a:hover{
  color:#c5a26a;
  text-shadow:0 0 6px rgba(197,162,106,0.5);
}

.zv8{
  color:#c5a26a;
  font-weight:600;

  text-shadow:0 0 8px rgba(197,162,106,0.6);
}



.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  margin:15px 0;
  font-size:14px;
  color:#aaa;
  cursor:pointer;
  position:relative;
}

.checkbox input{
  display:none;
}


.checkmark{
  width:18px;
  height:18px;
  border:2px solid #555;
  border-radius:4px;
  position:relative;
  transition:0.3s;
}


.checkbox:hover .checkmark{
  border-color:#c5a26a;
  box-shadow:0 0 8px rgba(197,162,106,0.4);
}


.checkbox input:checked + .checkmark{
  background:#c5a26a;
  border-color:#c5a26a;
  box-shadow:0 0 10px rgba(197,162,106,0.6);
}

.checkmark::after{
  content:"";
  position:absolute;
  left:4px;
  top:0px;
  width:5px;
  height:10px;
  border:solid #000;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
  opacity:0;
}


.checkbox input:checked + .checkmark::after{
  opacity:1;
}


.checkbox a{
  color:#c5a26a;
  text-decoration:none;
}

.checkbox a:hover{
  text-shadow:0 0 6px rgba(197,162,106,0.6);
}


#formMsg{
  margin-top:15px;
  font-size:14px;
  text-align:center;

  opacity:0;
  transition:0.3s;
}

#formMsg.show{
  opacity:1;
}


@media(max-width:768px){

  .footer-inner{
    flex-direction:column;
    text-align:center;
    gap:10px;
  }

}


@media(max-width:992px){


.gallery-modern{
    grid-template-columns:repeat(2, 1fr);
  }
   .section.centrum{
    text-align:center;
  }

  .centrum-img{
    margin-top:20px;
  }
  .hamburger{display:flex;}

  .nav{justify-content:space-between;}

  .nav-center{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:300px;
    background:#0f0f0f;
    padding:100px 30px;
    display:flex;
    align-items:flex-start;
    transition:0.4s;
 z-index:1000;
  }

  .nav-center.active{right:0;}

  nav{
    flex-direction:column;
    gap:25px;
    align-items:flex-start;
    white-space:normal;
  }

  nav a{
    width:100%;
    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,0.05);
  }

  .nav-right{display:none;}

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

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

  .topbar{
    font-size:11px;
  }

  .topbar-inner{
    gap:5px;
  }

  .topbar-right a{
    font-size:11px;
    gap:5px;
  }

  .phone-icon{
    font-size:13px;
  }

/* SMALL MOBILE */
@media(max-width:600px){
  .hero h1{font-size:32px;}
  .section{padding:60px 0;}
}



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


}