/* Colours */

/* Black#1c1c1c */
/* Pink #C63FB4 */
/* Blue #0C57F9 */
/* <a href="https://pl.freepik.com/darmowe-zdjecie/niski-kat-zdjecia-bialego-budynku-z-dwoma-oknami_10583027.htm">Obraz autorstwa wirestock na Freepik</a> */


/* classes */
/* .h-btn-c - hero-buttons-container */





* {
  margin: 0;
  padding: 0;
}
p {
  font-size: 16px;
}

ul li {
  list-style: none;
}

main {
  width: 100%;
}

.main-hero a{
  text-decoration: none;
  color: white;
  
}

.index-30 {
  z-index: 30;
}

.btn-gradient{
  background: linear-gradient(90deg, #C63FB4, #0C57F9);
  
}
.btn-pink-outline {
  background-color: transparent;
  border: 3px #C63FB4 solid;
 
}

.btn-pink-outline, .btn-gradient{
   color: white;
  width: 150px;
  text-decoration: none;
  text-align: center;
  padding: 10px 20px;
  border-radius: 25px;

}
.btn-pink:hover {
  border: 3px solid #c63fb4;
  color: #c63fb4;
  transform: scale(1.2);
}

.offer-title-container:has(.btn-pink:hover) h1 {
  transform: translateY(-50px);
  transition: 0.3s ease;
  color: #c63fb4;
}

/* Overlays */

.overlay-dark {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}


/* Main Page */

.main-hero{
  height: 100vh;
   color: white;
    position: relative;
   background-image: url(http://localhost/twarowski/wp-content/uploads/2025/12/3.png);
   background-size: cover;
   background-position: center;

}

.hero-heading{
  position: absolute;
  top: 200px;
}

.main-hero h1{
  color: white;
  line-height: 40px;
  z-index: 30;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
  
 
}

.main-hero span{
  font-size: 1rem;
}

.main-hero img{
  position: absolute;
  top: 120px;
  left: -130px ;
  min-width: 550px;
  
 
  opacity: 70%;
  
}

.hero-content{
  z-index: 20;
  width: 100%;
 
 
}
.h-btn-c{
  bottom:100px;
  
}

/* Offer Page */




/* Section Hero */

.offer-hero {
  height: 70vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  padding: 0px;
  margin: 0px;
}
.offer-hero h1 {
  color: #ffffff;
  font-weight: 300;
  font-size: 36px;
  line-height: 40px;
}

.offer-title-container {
  background: linear-gradient(90deg, #c63fb4, #601f57);
  max-width: 90vw;
  display: flex;
  border-radius: 0px 100px 0px 0px;
}

/* Section Welcome */

.section-welcome,
.section-second-content {
  padding: 50px 0px;
}

/* Section second */

.section-second {
  background-color: #1c1c1c;
  color: white;
  position: relative;
}
.section-second img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.img-border-bottom {
  width: 100%;
  height: 10px;
  display: block;
  background-color: #c63fb4;
}

.section-second ul {
  padding-left: 20px;
}
.section-second ul li {
  list-style: none;
  padding-left: 10px;
  position: relative;
  margin: 25px 0px;
}
.section-second ul li::before {
  content: "✔"; /* ikonka */
  position: absolute;
  top: 0px;
  left: -30px;

  width: 25px;
  height: 25px;

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

  background-color: #c63fb4; /* kolor kwadratu */
  color: white; /* kolor ikony */
  font-size: 20px;
  font-weight: bold;

  border-radius: 6px; /* lekko zaokrąglone rogi – opcjonalnie */
}

/* Section third */
.section-third {
  position: relative;
}

.section-third::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0; /* <-- ZAMIAST width / vw */
  bottom: -50px;

  height: 50px; /* wysokość trójkąta */
  background: transparent;

  /* Trójkąt wypełniony kolorem (działa na pełną szerokość) */
  clip-path: polygon(0 100%, 100% 0, 0 0);
  background-color: transparent;
}

/* Section pricing */

/* Cena pogrubiona */
.pricing-table .price {
  font-weight: 700;
  color: #ffe55c; /* zbliżony żółty jak na obrazku */
}

.pricing-table tbody tr:first-child td {
  background: rgba(
    198,
    63,
    180,
    1
  ); /* jaśniejszy różowy dla pierwszego wiersza */
}

.section-pricing {
  background: linear-gradient(180deg, #042c83ff, #5f1e56ff);
  color: white;
  padding: 50px 0px;
}

.section-pricing h2 {
  margin-bottom: 0px;
  color: white;
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;

  border: 1px solid #c63fb4;
  overflow: hidden;
  color: white;
  font-family: "Inter", sans-serif;
}

/* Nagłówki */
.pricing-table thead th {
  padding: 10px 10px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

/* Wiersze */
.pricing-table tbody td {
  padding: 10px 10px;
  font-size: 17px;
  border-bottom: 1px solid #c63fb4;
}


.section-black h2 {
  color: white;
}

.section-black {
  position: relative;
  background-color: #1c1c1c;
  color: white;
  margin-bottom: 50px;
}

.section-black::after {
  content: "";
  position: absolute;
  bottom: -50px; /* trochę wyżej niż większy trójkąt */
  left: 0; /* odsunięcie od lewej krawędzi większego trójkąta */

  width: 0;
  height: 0;

  border-left: 0px solid transparent;
  border-right: 50vw solid transparent;
  border-top: 50px solid #c63fb4; /* kolor mniejszego trójkąta */
}

.section-black::before {
  content: "";
  position: absolute;
  bottom: -50px; /* wychodzi poza dolną krawędź sekcji */
  left: 0;

  width: 0;
  height: 0;

  border-left: 0px solid transparent; /* przezroczyste */
  border-right: 90vw solid transparent; /* przezroczyste */
  border-top: 50px solid #1c1c1c; /* kolor trójkąta */
}

.section-black p {
  margin-top: 50px;
}

.section-white {
  padding: 50px 0px;
  background-color: #EDF2F7 ;
}

/* MEDIA QUERIES */

@media (min-width: 991px) {
  .offer-title-container {
    background: transparent;
  }
  .section-second img {
    border-radius: 50% 0% 50% 0%;
    min-height: max(200px, 100%);
  }

  .section-black::after {
 
  bottom: -100px; 
  border-top: 100px solid #c63fb4; /
}

.section-black::before {
 
  bottom: -100px; 
  border-top: 100px solid #1c1c1c;
}

}

@media (min-width: 1200px) {
  p{
    font-size: 1.1rem;
  }

  .offer-hero h1 {
    font-size: 5rem;
  }

  .section-welcome,
  .section-second-content,
  .section-white {
    padding: 100px 0px;
  }

  .section-second img {
    border-radius: 50% 0% 50% 0%;
  }
 
}
