/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Child theme for Divi
 Author: ChatGPT
 Template: Divi
 Version: 1.0.0
*/

/* Add your custom CSS below this line */


.painting-services-section {
  background: #f5f5f5;
  padding: 50px 20px;
}

.painting-services-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.painting-services-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-kicker {
  display: inline-block;
  color: #6fc529;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.painting-services-heading h2 {
  margin: 0 0 5px;
  color: #2f2f2f;
  font-size: 43px;
  line-height: 1.05;
  font-weight: 800;
}

.painting-services-heading h2 span {
  color: #6fc529;
}

.painting-services-heading p {
  margin: 0;
  color: #444444;
  line-height: 1.7;
}

.painting-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.painting-service-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 285px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.painting-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.painting-service-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e6f6d9;
  color: #6fc529;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.painting-service-content h3 {
  color: #202020;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.painting-service-content p {
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.learn-more {
  color: #65bd23;
  font-size: 16px;
  font-weight: 700;
  margin-top: auto;
}

.painting-service-image {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.interior-img {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0)
    ),
    url("https://northernbeacheshousepainters.com.au/wp-content/uploads/2026/06/interior-painting.jpg");
}

.exterior-img {
  background-image: url("https://northernbeacheshousepainters.com.au/wp-content/uploads/2026/06/exterior-painting.jpg");
}

.commercial-img {
  background-image: url("https://northernbeacheshousepainters.com.au/wp-content/uploads/2026/06/commercial-painting.jpg");
}

.deck-img {
  background-image: url("https://northernbeacheshousepainters.com.au/wp-content/uploads/2026/06/deck-timber-painting.jpg");
}

.painting-services-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #69c827 0%, #7cd52f 100%);
  border-radius: 8px;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.painting-services-cta::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 230px;
  height: 230px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.cta-icon {
  width: 66px;
  height: 66px;
  background: #2f2f2f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6fc529;
  font-size: 30px;
  flex-shrink: 0;
}

.painting-services-cta h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
}

.painting-services-cta p {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
}

.cta-button {
  background: #2f2f2f;
  color: #ffffff;
  padding: 18px 44px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-button:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .painting-services-heading h2 {
    font-size: 42px;
  }

  .painting-services-grid {
    grid-template-columns: 1fr;
  }

  .painting-service-card {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  .painting-services-section {
    padding: 55px 16px;
  }

  .painting-services-heading h2 {
    font-size: 34px;
  }

  .painting-services-heading p {
    font-size: 16px;
  }

  .painting-service-card {
    grid-template-columns: 1fr;
  }

  .painting-service-image {
    min-height: 210px;
    order: -1;
  }

  .painting-service-content {
    padding: 28px 24px;
  }

  .painting-services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }

  .cta-left {
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

.service-icon {
	display:none;
}

@media(min-width:1100px){
.painting-service-card {
    display: flex;
    flex-direction: column-reverse;
}

	.painting-service-image {
		min-height: 210px;
		order: 1;
	}
}