/*
Theme Name: Wood-House
Theme URI: http://impreza.us-themes.com/
Template: Impreza
Author: UpSolution
Author URI: http://us-themes.com/
Description: Multi-Purpose WordPress Theme.
Version: 7.13.1753162555
Updated: 2025-07-22 07:35:55

*/

@import url('https://fonts.googleapis.com/css2?family=Alata&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
  --bg-main: #fff;
  --text: #35415b;
  --text-green: #2a6d38;
}

body {
  background-color: var(--bg-main);
  font-family: 'Alata', sans-serif;
}

.hero-section {
  background: url('{{hero_bg}}') center center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-content {
  width: 100%;
  text-align: center;
}
.hero-content h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.features-section {
  margin: 80px 0 80px 0;
  text-align: center;
}
.features-description {
  font-size: 1rem;
  font-weight: 300;
  margin: 0 auto;
  margin-bottom: 32px;
  color: #222;
  max-width: 1440px;
  line-height: 1.125rem;
}
.features-list {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}
.feature-icon-bg {
  background: #f5deb3;
  border-radius: 50%;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon-bg img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.feature-title {
  color: #2e8b57;
  font-size: 0.825rem;
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.testimonials-section {
  background: #f5f5f5;
  padding: 80px 0 80px 0;
  text-align: center;
}

.testimonials-title {
  font-size: 2.1rem;
  font-weight: 500;
  margin-bottom: 48px;
  color: #111;
}

.testimonials-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.08);
  width: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  background: linear-gradient(90deg, #8b5a2b 68%, #f5deb3 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 18px 24px;
  font-size: 1.15rem;
  font-weight: 500;
}

.testimonial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
}

.testimonial-content {
  color: #222;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  padding: 24px;
  min-height: 100px;
}

.testimonials-cta {
  margin-top: 32px;
}

.btn {
  display: inline-block;
  background: linear-gradient(
    90deg,
    rgba(46, 139, 87, 0.85) 0%,
    rgba(18, 59, 36, 0.85) 100%
  );
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 64px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.08);
  transition: background-position 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.16);
  color: #fff !important;
}

.about-section {
  margin: 80px 0 80px 0;
  text-align: center;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  justify-content: stretch;
  align-items: center;
  gap: 64px;

  margin: 0 auto;
  flex-wrap: wrap;
}

.about-image img {
  border-radius: 25px;
  object-fit: cover;
  display: block;
}

.about-image {
  width: 50%;
}

.about-text {
  flex: 1 1 400px;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 400;
  color: #222;
  max-width: 600px;
}

.about-text p {
  margin-bottom: 18px;
}

.why-section {
  background: #f7f7f7;
  padding: 60px 0 80px 0;
  text-align: center;
}

.why-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 48px;
}

.why-list {
  display: flex;
  justify-content: stretch;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.why-card {
  background: #fbe5b9;
  border-radius: 30px;
  width: 260px;
  min-height: 390px;
  padding: 44px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.04);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: #222;
  line-height: 1.2;
}

.why-card-desc {
  font-size: 0.97rem;
  font-weight: 400;
  color: #222;
  margin-top: auto;
}

.container {
  max-width: 1460px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Aktualizuję sekcje, by używały .container */
.about-content,
.why-list,
.features-list,
.testimonials-list {
  max-width: 1460px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  display: flex;
  justify-content: center;
  margin: 80px 0 80px 0;
}

.cta-container {
  background: linear-gradient(
    120deg,
    rgba(46, 139, 86, 0.75) 0%,
    rgba(18, 59, 36, 0.75) 100%
  );
  border-radius: 30px;
  padding: 48px 32px 40px 32px;
  width: 100%;
  max-width: 1460px;
  text-align: center;
  color: #f5f5e9;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #f5f5e9;
}

.cta-desc {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #f5f5e9;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #d6d2b2;
  color: #8b5a2b;
  font-size: 1.08rem;
  font-weight: 400;
  border-radius: 24px;
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cta-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.nature-section {
  margin: 80px 0 80px 0;
}

.nature-container {
  max-width: 1460px;
  margin: 0 auto;
}

.nature-content {
  width: 100%;
}

.nature-title {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}

.nature-flex {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nature-text {
  flex: 1 1 420px;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  line-height: 1.6;
  max-width: 600px;
}

.nature-image img {
  border-radius: 28px;
  object-fit: cover;
  display: block;
}

.nature-image {
  width: 50%;
}

.section {
  margin: 100px 0;
}

.page-content-section {
  margin: 128px auto;
  font-size: 1rem;

  h2 {
    font-size: 2rem;
  }
}

/* Responsywność paddingu na mniejszych ekranach */
@media (max-width: 900px) {
  .container,
  .page-content-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 600px) {
  .container,
  .page-content-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Responsywność kart w sekcji Dlaczego Warto Wybrać Wood-House? */
.why-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: stretch;
  margin: 0 auto;
}
.why-card {
  background: #fbe5b9;
  border-radius: 30px;
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  flex: 1 1 260px;
  min-height: 390px;
  padding: 44px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.04);
}
@media (max-width: 900px) {
  .why-list {
    gap: 24px;
  }
  .why-card {
    min-width: 180px;
    max-width: 100%;
    padding: 32px 16px 24px 16px;
    min-height: unset;
  }
}
@media (max-width: 600px) {
  .why-list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .why-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 24px 8px 16px 8px;
    min-height: unset;
  }
}

@media (max-width: 900px) {
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 600px) {
  .section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 900px) {
  .about-content,
  .nature-flex {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }
  .about-image,
  .nature-image {
    width: 100%;
    margin-bottom: 16px;
  }
}
