/*
Theme Name: Zadaszenia Aluminiowe
Author: Macondo
Author URI: https://niewiem.pl
Version: 1.0
Tags: one-column, two-columns
*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body {
    overflow-x: hidden;
}
.hero-new {
	background-image: url("images/baner.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 80vh;
}
.hero-zadaszenia {
	background-image: url("images/baner-zadaszenia.jpg");
}
.hero-ogrody {
	background-image: url("images/baner-ogrody.jpg");
}
.hero-oferta {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 40vh;
}
.hero-about-us {
	background-image: url("images/baner-o-nas.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 40vh;
}
.hero-content {
	max-width: 40vw;
	color: #fff
}
body {
	font-family: "Raleway", sans-serif;
  	font-optical-sizing: auto;
  	color: #000;
}
h1, h2, h3, h4, h5, h6 {
   font-family: "Raleway", sans-serif;
  	font-optical-sizing: auto;
}
.text-primary {
  color: #000000 !important;
}
.bg-secondary {
  background-color: #565656 !important;
}
.btn {
	border-radius: 0 !important;
	min-width: 150px;
	padding: 0.5rem 1rem;
	color: #000;
	border: 2px solid #000;
}
.btn-white {
	font-weight: 700;
	background: #fff;
	color: #000;
	border: 2px solid #fff;
}
.btn.btn-white:hover {
	background: #fff;
	color: #000;
	border: 2px solid #fff;
}
.btn:hover {
	background: #000;
	color: #fff;
	border: 2px solid #000;
}

/* Sekcja Hero */
.hero {
  background: url('images/intro.png') no-repeat center center / cover;
  height: 100vh;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  background: url('images/hero-guy.png') no-repeat right bottom;
  background-size: contain;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.services {
	background: url('images/boksy.png') no-repeat right bottom;
}
/* Obrazek "o nas" */
.about-img {
  width: 100%;
  height: 300px;
  background: url('../images/about-section.jpg') no-repeat center center / cover;
}
/* Główna sekcja */
.opinie {
  position: relative;
  background-color: #f7f7f7;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* Tło ozdobne */
.opinie-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
}

/* Overlay dla lepszej czytelności */
.opinie-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9); /* kontrast */
  z-index: 1;
}

/* Pudełko z opinią */
.opinia-box {
  	background-color: #ffffff;
  	border-radius: 15px;
  	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  	position: relative;
  	z-index: 2;
	padding: 5rem 2rem;
}

/* Strzałki slidera */
.carousel-control-prev,
.carousel-control-next {
	width: 8%;
}
.carousel {
	min-height: 400px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
	filter: invert(1);
}
.background-opinia {
	padding: 40px 150px;
	background-image: url('images/opinie.png'); /* lub SVG */
  	background-size: contain;
  	background-position: center;
	background-repeat: no-repeat;
}
.title-home {
	width: 30rem;
	color: rgb(86 86 86);
	font-size: 6rem;
}
.kontakt {
	margin-left: 5rem;
	font-weight: 700;
	border-radius: 30rem;
	padding: 0.5rem 1rem;
	font-size: 2rem;
}
.text-align-center {
	text-align: center;
}
.text-align-right {
	text-align: right;
}
.card-title {
	text-align: center;
	font-size: 30px;
	color: #ffffff;
	text-decoration: none;
}
.blog-short-post span:hover,
.card-title:hover {
	color: #ffffff;
	text-decoration: none;
}
.blog-short-post span {
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	color: #ffffff;	
}
.blog-short-post .card {
	border-radius: 30px;
	min-height: 400px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.blog-short-post .card-body {
	background-color: #0000004d;
	border-radius: 30px;
	flex-direction: column;
    justify-items: end;
    justify-content: end;
}
.blog-short-post a {
	text-decoration: none;
	color: #ffffff;
}
.blog-short-post h2 {
	font-size: 50px;
}
footer {
	background-color: #565656 !important;
}
footer h4 {
	font-size: 1.2rem;
	color: #ffffff !important;
}
.list-group-item {
	background-color: transparent !important;
}
footer li,
footer ul {
	padding-left: 0 !important;
	border: none !important;
	background-color: #000;
	color: #ffffff !important;
}
footer a {
	color: #ffffff !important;
	text-decoration: none;
}
footer a:hover {
	text-decoration: none;
	font-weight: 700 !important;
}
.btn-success {
	background-color: #005993 !important;
}
.page-header {
	background: url('images/header.png') no-repeat right bottom;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 100px 0;
}
.header-o-nas {
	background: url('images/header-o-nas.jpg') no-repeat right bottom;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 100px 0;
}
.thumb-img {
	max-height: 150px;
}
.link-fix-div:hover,
.link-fix-div {
	text-decoration: none;
}
.link-fix-div h3 {
	font-size: 1.2rem;
	color: #005993;
}
.breadcrumb:hover a,
.breadcrumb a {
	text-decoration: none;
	color: #000;
}
.category-name {
	color: #005993;
}
.navbar-nav .nav-item a {
	color: #000;
}
.blog-news-post h2 {
	color: #000;
	font-size: 1.5rem;
}
.blog-news-post p {
	color: #000;
	font-size: 1.2rem;
}
@media (max-width: 991px) {
	.title-home {
		font-size: 2rem;
	}
	.kontakt {
		margin-left: 0;
		font-size: 1rem;
	}
	h2 {
		font-size: 2rem !important;
	}
	.background-opinia {
		padding: 25px;
	}
	.opinia-box {
		padding: 2rem;
	}
	.carousel {
		max-height: 250px;
	}
	.card-title {
		font-size: 1.5rem;
	}
}
.gallery-item:hover img {
  transform: scale(1.05);
}

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

.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}
.gallery-title {
	background-color: #f7f7f7;
}

.hero-image img {
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}
.social-icons-nav li {
	border: none;
}
.social-icons-nav  img {
	max-height: 30px;
}
.navbar-brand {
	padding: 0 !important;
}
.navbar {
	padding: 0 !important;
}
.stats-section {
	position: relative;
}
.pasek {
	background-image: url("images/srodek.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 30vh;
	width: 100%;
	z-index: -111;
	margin-top: -100px;
}
/* Galeria */
* { box-sizing:border-box; }
body { margin:0; }

.fullscreen-gallery {
  position: relative;
  width:100%;
  min-height:100vh;
  padding: 0;
  background: #000; /* opcjonalnie tło */
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* maksymalnie 3 kolumny */
  gap: 0;
  width:100%;
  height:100%;
}
/* 3 kolumny na duże ekrany */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.link-fix-black {
	text-decoration: none;
	color: #000
}

/* 2 kolumny na średnich */
@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 kolumna na wąskich */
@media (max-width: 650px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.gallery-item img {
  display: block;
  width:100%;
  height:100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item .overlay {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .25s ease;
}
.gallery-item .plus {
  font-size: 3rem;
  color:#fff;
  opacity:0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.05);
}
.gallery-item:hover .overlay,
.gallery-item:focus .overlay {
  background: rgba(0,0,0,0.45);
}
.gallery-item:hover .plus,
.gallery-item:focus .plus {
  opacity:1;
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset:0;
  display: flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
  visibility:hidden;
  opacity:0;
  transition: opacity .3s ease;
  pointer-events:none;
  padding:1rem;
}
.lightbox.active {
  visibility: visible;
  opacity:1;
  pointer-events:auto;
}
.lightbox-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter: blur(3px);
}
.image-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox img {
  max-width:100%;
  max-height:100%;
  display:block;
  border-radius:6px;
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
}
.close-btn {
  position: absolute;
  top:1rem;
  right:1rem;
  background:transparent;
  border:none;
  font-size:2.5rem;
  color:#fff;
  cursor:pointer;
  z-index:2;
  padding:0.25rem 0.5rem;
  line-height:1;
}
.nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,0.1);
  border:none;
  color:#fff;
  font-size:2rem;
  padding:0.5rem 1rem;
  cursor:pointer;
  z-index:2;
  border-radius:4px;
  user-select:none;
}
.nav:hover {
  background:rgba(255,255,255,0.2);
}
.prev { left:1rem; }
.next { right:1rem; }

.caption {
  position: absolute;
  bottom:1rem;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-size:0.9rem;
  z-index:2;
  background:rgba(0,0,0,0.4);
  padding:6px 12px;
  border-radius:4px;
}
.stars {
	display: flex;
	justify-content: space-evenly
}
footer {
	border-top: 4px solid #fff;
}
.footer-border {
	background-color: #000;
	height: 10px;
}
.section-katalog {
	margin-bottom: 120px;
}
.bg-grey {
	background-color: rgb(234 234 234);
}
.section-kontakt {
	padding-top: 50px;
}
.navbar-nav a {
	font-size: 1.2rem;
	text-transform: uppercase;
	margin-right: 1rem;
}
.wpforms-field-container input,
.wpforms-field-container textarea {
	border: none !important;
	border-bottom: 2px solid #000 !important;
	background: transparent !important;
	border-radius: 0 !important;
}
.wpforms-field-container textarea {
	padding-top: 0 !important;
}
.bg-black {
	position: relative
}
.fw-bold-extra {
	font-weight: 900 !important;
}
.wpforms-submit {
	padding-right: 30px !important;
    padding-left: 30px !important;
}
.ps-6 {
	padding-left: 6rem !important;
}