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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: white;
}


.logo-container img {
    width: 100%;
    max-width: 800px; 
    height: auto;
    display: block;
    margin: auto;
}


@media (max-width: 768px) {
    .logo-container img {
        width: 80%;
    }
} */



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

body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: #333;
}

header {
    margin-top: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    font-weight: bold;
}

.logo img {
    height: 50px;
}

.logo:hover {
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    font-weight: bold !important;
    
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: red;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* Sections */
section {
    padding: 80px 40px;
    text-align: center;
}

section:nth-child(even) {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
            position: fixed;
    height: 100vh;
    top: 90px;
        padding-top: 50px;
    text-align: center;     
    }

    .nav-links li a {
        font-weight: bold;
    }

    .nav-links.active {
        transform: translateX(0);
        
    }

    .hamburger {
        display: flex;
    }
}



html {
    scroll-behavior: smooth;
}

.call-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e60000; /* Bright red */
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 15px 60px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    z-index: 2000;
}

.call-button:hover {
    background-color: #b30000; /* Darker red on hover */
    transform: translateX(-50%) scale(1.05);
}


#dent-counter {
    font-weight: 700;
    color: #e60000;
    font-size: 4rem;
}

#services {
    padding: 80px 40px;
    background-color: #f9f9f9;
    text-align: center;
}

#services h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#services p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

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

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e60000;
}

.service-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}



/* HOME SECTION */
#home {
    padding: 120px 40px;
    text-align: center;
    background-color: #f9f9f9;
}

.home-content {
    max-width: 800px;
    margin: 0 auto;
}

#home h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

#home p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-button {
    display: inline-block;
    background-color: #e60000; /* czerwony */
    color: white;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
}



#napis {
    width: 30vw;
    margin: 0 auto;
}




/* CONTACT SECTION */
#contact {
  padding: 80px 40px;
  background: white;
  color: #333;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#contact h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

/* Cards */
.contact-card {
  background: #f9f9f9;
  padding: 22px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}

.contact-card h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-link {
  display: inline-block;
  font-weight: 600;
  color: #e60000;
  text-decoration: none;
  font-size: 1.05rem;
  margin-top: 6px;
}

.contact-link:hover {
  color: #b30000;
  text-decoration: underline;
}

/* Social block */
.social-card .social-note {
  margin: 8px 0 12px;
  color: #555;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
}

.social-icon {
  width: 35px;       /* dopasuj rozmiar ikon do layoutu */
  height: 35px;
  object-fit: contain;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
  filter: grayscale(0); /* możesz ustawić grayscale(1) jeśli chcesz jednolity wygląd */
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  filter: none;
}

/* Make contact cards a bit tighter on small screens */
@media (max-width: 480px) {
  #contact {
    padding: 40px 18px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }
}


@media (max-width: 768px) {
 #napis {
    width: 80vw; /* 80% of viewport width */
    height: auto; /* keep aspect ratio */
  }
}



@media (max-width: 768px) {
  #home h1 {
    font-size: 20px;
  }
}



html, body {
  overflow-x: hidden;
}







@media (max-width: 768px) {
  #wyciagniete {
    flex-direction: column; /* ustawia pionowo */
    text-align: center;
  }
}



#countermobile {
  display: none; /* Hide by default (desktop) */
}

@media (max-width: 768px) {
  #countermobile {
    display: block; /* Show on screens 768px wide or smaller (mobile) */
  }
}



body {
  margin-bottom: 40px; /* lub inna wartość w px, rem itp. */
}



.icon-type {
    height: 50px;
}





.type {
    color: black!important;
}




/* ANIMACJA */
/* 
@keyframes pulse {
  0%   { transform: translateX(-50%) scale(1); }
  5%   { transform: translateX(-50%) scale(1.08); }
  10%  { transform: translateX(-50%) scale(1); }
  100% { transform: translateX(-50%) scale(1); }
}

.call-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  animation: pulse 5s ease-in-out infinite;
} */




#home {
  position: relative;
  overflow: hidden;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/backs.jpg") center/cover no-repeat;
  opacity: 0.18; /* 20% opacity */
  z-index: 0;
}

#home .home-content {
  position: relative;
  z-index: 1; /* ensures text & image on top */
  text-align: center;
}



/* Dlaczego PDR section */
#why-pdr {
  text-align: center;
  padding: 60px 20px;
  background-color: white;
  color: #333;
}

#why-pdr h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#why-pdr .underline {
  width: 100px;
  height: 4px;
  background-color: #e60000;
  margin: 0 auto 40px;
}

.underline {
  width: 100px;
  height: 4px;
  background-color: #e60000;
  margin: 0 auto 40px;
}

#why-pdr .benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

#why-pdr .benefit {
  max-width: 250px;
  text-align: center;
}

#why-pdr .benefit img {
  height: 50px;
  margin-bottom: 15px;
}

#why-pdr .benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#why-pdr .benefit ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

#why-pdr .benefit ul li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  #why-pdr h1 {
    font-size: 2rem;
  }
  #why-pdr .benefits {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  #why-pdr h1 {
    font-size: 1.6rem;
  }
  #why-pdr .benefit {
    max-width: 100%;
  }
}

/* REVIEWS SECTION */
#reviews {
  padding: 80px 40px;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
}

#reviews h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

#reviews .underline {
  width: 100px;
  height: 4px;
  background-color: #e60000;
  margin: 0 auto 40px;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

.review-summary h2 {
  font-size: 1.8rem;
  color: #e60000;
  margin-bottom: 5px;
}

.review-summary p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;justify-content: center; /* centers the grid tracks horizontally */

}

.review-card {
  background: white;
  padding: 25px 20px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.review-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}

.review-card span {
  font-weight: 600;
  color: #333;
}

.review-link .btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #e60000;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.2s;
}

.review-link .btn:hover {
  background-color: #b30000;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #reviews h1 {
    font-size: 2rem;
  }
  .review-summary h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 20px 15px;
  }
}



.review-stars {
  color: #e60000; /* red stars */
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: inline-block;
}

.review-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}

.review-card span {
  font-weight: 600;
  color: #333;
}



.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0 auto;
  max-width: 400px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.google-logo {
  width: 24px;
  height: 24px !important;
  margin-right: 8px;
  margin: 0 auto;
}






.service-card.hail {
  background: 
    linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
    url("./assets/hail.jpg") center/cover no-repeat;
}
