/*
Theme Name: CWS Water
Author: Kompromix
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap&subset=latin-ext');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --navy: #0E2E77;
  --darknavy: #061538;
  --blue: #0A74B9;
  --lightgrey: #F7F7F7;
  --grey: #E6E6E6;
  --darkgrey: #9B9B9B;
  --white: #ffffff;
  --dark: #04070a;
  --green: #3E8833;
  --header-big: 700 6.6rem/8rem 'Poppins', sans-serif;
  --header-large: 700 3.6rem/5rem 'Poppins', sans-serif;
  --header-medium: 300 2.6rem/4rem 'Poppins', sans-serif;
  --header-small: 500 1.4rem/2.2rem 'Poppins', sans-serif;
  --content: 300 1.4rem/2.6rem 'Poppins', sans-serif;
  --content-small: 300 1.4rem/2.2rem 'Poppins', sans-serif;
  --content-tiny: 400 1.2rem/1.8rem 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
  background: var(--white);
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
	overflow-x: hidden;
}

body, a, p, h1, h2, h3, h4, h5 {
  font: var(--content);
  color: var(--dark);
  letter-spacing: .08rem;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

::selection {
	background: var(--navy);
	color: var(--white);
}

::-moz-selection {
	background: var(--navy);
	color: var(--white);
}

strong, b {
    font-weight: 600;
}

img {
    width: 100%;
    height: auto;
}

h1 {
  font: var(--header-big);
  color: var(--white);
}

.page-hero h1 {
	padding: 60px 0;
}

h2 {
  font: var(--header-large);
	  color: var(--blue);
	  margin: 0 0 34px;
}

h2.kompro-slide-subtitle {
	font: var(--header-medium);
	color: var(--white);
	padding: 20px 0 40px;
	font-weight: 300;
	margin: 0;
}

h3 {
  font: var(--header-medium);
		  color: var(--navy);
	padding: 6px 0 12px;
}

h4 {
  margin: 0 0 16px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
}

h5 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
}

.btn, .wpcf7-form-control.btn {
  font: var(--header-small);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--white);
  background: linear-gradient(180deg,
    #0E2E77 0%,
    #0A74B9 60%,
    #0E2E77 100%
  );
  border: none;
  /* początkowy border-radius */
      border-radius: 80% 60% 60% 50% / 60% 60% 80% 80%;
	border-radius: 0% 30% 0% 30% / 0% 80% 0% 80%;
  padding: 1.8rem 6.2rem;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 3;
  background-size: 100% 200%;
  background-position: center top;
  /* dodajemy transition dla obu właściwości */
  transition: 
    background-position 0.8s ease,
    border-radius 0.8s ease,
	  padding 0.8s ease,
	  letter-spacing 0.8s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
	margin-top: 12px;
	width: auto;
}

.btn:hover, .wpcf7-form-control.btn:hover {
  /* gradient dalej przesuwa się pionowo */
  background-position: center center;
  /* swap border-radius */
  border-radius: 60% 40% 70% 60% / 80% 80% 80% 80%;
	border-radius: 30% 0% 30% 0% / 80% 0% 80% 0%;
	color: var(--white);
	padding: 1.8rem 7.2rem;
	letter-spacing: .14rem;
}

.btn * {
  position: relative;
  z-index: 2;
}

.btn:focus,
.btn:active {
  outline: none;
  box-shadow: none;
}

a.btn,
a.btn * {
  color: var(--white);
}

/* Header */
.header-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  font: var(--content-small);
  margin-bottom: 15px;
	justify-content: end;
}

.header-contact a {
  font: var(--content-small);
	font-weight: 500;
}

.header-contact img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  flex-wrap: wrap;            /* ← pozwól na drugi wiersz zamiast shrinkowania w jednym */
  justify-content: flex-end;/* ← możesz też zostawić center, zobaczysz różnicę */
  column-gap: 12px;           /* przerwy poziome */
  row-gap: 0px;              /* przerwy pionowe między wierszami */
  align-items: flex-start;    /* wyrównaj wszystkie elementy u góry wiersza */
}

.navbar-brand img {
	width: 120px;
	height: auto;
}

.navbar-nav .nav-item {
  flex: 0 0 auto; /* grow:0, shrink:0, basis:auto */
}

.navbar-nav li.nav-item > .nav-link {
    padding: 6px 6px;
    font: var(--header-small);
    text-transform: uppercase;
    color: var(--dark);
    transition: all 0.5s ease-in-out;
}

.navbar-nav li.nav-item > .nav-link:hover {
  color: var(--blue);
}

.navbar {
  width: 100%; /* Occupy the full width of the viewport */
	padding: 18px 0;
	margin: 0;
}

.dropdown-item {
	padding: 10px;
}

.navbar-toggler {
    z-index: 1100;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h22M4 15h22M4 23h22' stroke='%230E2E77' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'/%3E%3C/svg%3E") !important;
  width: 40px !important;
  height: 40px !important;
}

.navbar-collapse.show {
    background-color: var(--navy);
    z-index: 1050;
}

/* Modal Menu */
.menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 2000;
  display: none; /* Ukryty domyślnie */
}

.menu-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.modal-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.modal-menu li {
  margin: 30px 0;
}

.modal-menu li a {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
}

.modal-menu li a:hover {
  color: var(--orange);
}

/* Przycisk zamknięcia modalu */
.menu-close {
  position: absolute;
  top: 34px;
  right: 18px;
  font-size: 6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.site-footer {
  background: var(--lightgrey);
  color: var(--dark);
  margin-top: 100px;
}

.footer-main {
  padding: 48px 0;
}

.footer-main h5 {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-brand img {
	width: 210px;
	height: auto;
}

.footer-contact {
  display: block;
  list-style: none;
  font: var(--content);
  margin: 0;
  padding: 0 0 10px 0;
}

.footer-contact li {
  padding: 4px 0;
}

.footer-contact img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-main .small-text {
  font: var(--content-small);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--dark);
  text-decoration: none;
  font: var(--content-small);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: var(--navy);
  font: var(--content-tiny);
  padding: 16px 0 2px;
}

.footer-bottom p {
  color: var(--white);
  font: var(--content-tiny);
}

/* Stylizacja Contact Form 7 (domyślna) – możesz rozbudować jeśli używasz własnych klas */
.wpcf7-form-control {
  width: 100%;
  padding: 16px 16px;
  border: 0.8px solid var(--darkgrey);
  border-radius: 6px;
  margin-bottom: 20px;
}

.wpcf7-acceptance {
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
}

.wpcf7-acceptance input {
  margin-right: 12px;
}

.wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 0;
	line-height: normal;
}

.zgoda {
    display: flex;
}

.wp-block-heading {
  margin: 20px 0;
}

.wp-block-column .wp-block-heading, .wp-block-column p {
  margin-bottom: 0px;
  margin-top: 16px;
	padding-left: 20px;
}

.wp-block-columns {
	margin: 0px 0;
}

.bigger-font {
	font-size: 1.6rem;
	line-height: 3rem;
	margin-bottom: 40px;
}

.wp-block-image img {
	border-radius: 16px;
}


/* Sekcja O Nas */
#about-us {
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Nagłówki */
#about-us .about-h3 {
  margin: 0 0 8px;
}

/* Tekst w lewej kolumnie */
#about-us .about-text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
		padding-right: 60px;
}

/* Wstęp w prawej kolumnie */
#about-us .about-intro {
  margin: 0 0 16px;
  font-size: 1.4rem;
  line-height: 1.4;
}

/* Lista */
.about-list {
  list-style: none;
}

/* Każdy element li przesuwamy w prawo, żeby zrobić miejsce na ikonę */
.about-list li {
  position: relative;
  padding-left: 1.6rem; /* szerokość ikonki + odstęp */
  margin-bottom: 8px;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* Wstawiamy przed każdym li ikonę kropli */
.about-list li::before {
  content: "\f043";                   /* unicode dla fas fa-tint / fa-droplet */
  font-family: "Font Awesome 6 Free"; /* nazwa fontu z Twojego importu */
  font-weight: 900;                   /* dla solid */
  position: absolute;
  left: 0;
  top: 0.2em;                         /* dopasuj pionowo wg. gustu */
  font-size: 1rem;                    /* rozmiar ikonki */
  color: var(--blue);                 /* Twoja zmienna z palety */
}

/* Przycisk */
#about-us .about-btn {
  margin-top: 32px; /* .btn ma już własne wewnętrzne paddingi */
}

/* Sekcja „Dlaczego my?” */
#why-us {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--darknavy);
  text-align: center;
}

h2.why-us-heading {
	color: var(--white);	
}

/* Pojedynczy blok z ikoną */
#why-us .why-us-item {
  padding: 0 20px;
  margin: 40px 0;
}

#why-us .why-us-icon {
  font-size: 4rem;
  color: var(--blue);
  display: block;
  margin: 0 auto 20px;
}

h4.why-us-title {
		color: var(--white);
}

#why-us .why-us-text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
	color: var(--white);
}

/* Sekcja Oferta */
#oferta {
  padding-top: 80px;
  padding-bottom: 0px;
  background: var(--white);
}

/* Nagłówek sekcji */
#oferta .section-heading {
  text-align: center;
}

/* Wprowadzenie pod nagłówkiem */
#oferta .section-intro {
  margin: 0 auto 80px;
  max-width: 800px;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
}

/* Pojedynczy blok oferty */
#oferta .oferta-item .row .oferta-image {
  padding-left: 0;
	padding-right: 0;
}

/* Obraz w ofercie */
#oferta .oferta-image img {
  display: block;
  width: 100%;
  height: auto;
    object-fit: cover;
    min-height: 700px;
	border-radius: 0% 40% 0% 60% / 0% 80% 0% 80%;
}

/* Zawartość tekstowa i przycisk */
#oferta .oferta-content {
  padding: 0 80px;
}

#oferta .oferta-content p {
  margin: 0 0 24px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--dark);
}

.page-hero {
	margin-bottom: 80px;
}

/* ---- Baza stylu dla całej grupy ---- */
.kurita-highlight {
  position: relative;
  background-color: var(--blue);
  color: var(--white);
  padding: 4rem 7.5rem 4rem 4rem;
  border-radius: 16px;
  overflow: hidden;
	margin: 40px 0 30px;
}

/* ---- Subtelne logo w tle ---- */
.kurita-highlight::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
  background-image: url('images/kurita.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
	border-radius: 12px;
}

/* ---- Ujednolicenie koloru tekstu w grupie ---- */
.kurita-highlight p,
.kurita-highlight li,
.kurita-highlight h2 {
  color: var(--white);
}
.kurita-highlight ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}
.kurita-highlight ul li::marker {
  color: var(--white);
}

.effects-contact {
	margin-top: 60px;
}

.effects {
	background-color: var(--lightgrey);
	padding: 50px 40px 60px;
	border-radius: 16px;
}

.effects h2 {
	margin: 0 0 30px!important;
	color: var(--navy);
}

.effects p {
	font-size: 1.6rem;
	line-height: 3rem;
}

/* 1. Ustaw kontener jako relative i ukryj nadmiar */
.contact-us {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  padding: 100px 40px 110px;
  border-radius: 16px;
}

/* 2. Pseudo-element z tłem i małą przezroczystością */
.contact-us::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background-image: url('images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* ustaw wg gustu, np. 0.05–0.2 */
  z-index: 1;
}

/* 3. Podnieś tekst nad tło */
.contact-us > * {
  position: relative;
  z-index: 2;
}

.contact-us h2 {
	margin: 0 0 30px!important;
	color: var(--white);
}

.contact-us p {
	font-size: 1.6rem;
	line-height: 3rem;
	color: var(--white);
}

.contact-info-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-info-box ul {
	list-style-type: none;
	padding-left: 0;
}

.contact-info-box ul li {
	margin: 10px 0;
}

@media (max-width: 991px) {
	
	.header-content {
		display: flex;
		align-items: center;
		gap: 30px		
	}
	
	.header-contact {
		margin-bottom: 0;
	}
	
	h1 {
		font-size: 4.8rem;
		line-height: 6rem;
	}
	
	h2.kompro-slide-subtitle {
		font-size: 2.8rem;
		line-height: 4rem;
	}

	h2 {
		font-size: 2.8rem;
		line-height: 4rem;
	}
	
	h3 {
		font-size: 2.2rem;
		line-height: 3rem;
	}
	
	.footer-main .col-12 {
		margin-bottom: 30px;
	}
	
}

@media (max-width: 768px) {
	
	.navbar .container {
		justify-content: center;
	}
	
	.header-content {
		margin-top: 20px		
	}
	
	#oferta .oferta-content {
    	padding: 40px;
	}
	
	#oferta .oferta-image img {
		min-height: 500px;
	}
	
	.footer-main {
		padding-left: 15px;
		padding-right: 15px;
	}
	
}

@media (max-width: 575px) {
	
	.navbar .container {
		justify-content: space-between;
		padding-left: 15px;
		padding-right: 15px;
		align-items: center;
	}
	
	.header-contact {
		display: none;
	}
	
	.kompro-slider .container, .contact-section .container, .page-content .container {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.kompro-slide {
		    background-position: left;
	}
	
	h1 {
		font-size: 3.6rem;
		line-height: 5rem;
	}
	
	.kompro-slide-content {
		max-width: 100%;
	}
	
	h2.kompro-slide-subtitle {
		font-size: 2rem;
		line-height: 3rem;

	}

	h2 {
		font-size: 2.4rem;
		line-height: 3.6rem;
	}
	
	#about-us, #oferta .section-intro {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.page-hero h1 {
    padding: 60px 15px;
	}
	
	#oferta .oferta-image img {
		min-height: 300px;
	}
	
	.wp-block-column .wp-block-heading, .wp-block-column p {
		padding-left: 0px;
	}
	
}

