/* First Section Styles - Matching WordPress */

.first-content-section {
  position: relative;
  padding: 140px 0 160px;
  background-color: #fff;
}

.first-content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 70px;
}

.first-section-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

.first-section-left {
  width: 50%;
  padding-right: 30px;
  box-sizing: border-box;
}

.first-section-right {
  width: 50%;
  padding-left: 30px;
  box-sizing: border-box;
}

/* Section Title */
.qodef-section-title {
  margin-bottom: 0;
}

.qodef-section-title.qodef-alignment--left {
  text-align: left;
}

.qodef-section-title .qodef-m-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 30.5px;
  color: #000;
  margin: 0 0 0;
  text-transform: none;
  letter-spacing: 0;
}

.qodef-section-title .qodef-m-text {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 28.6px;
  color: #c28562;
  margin-top: 28px;
  margin-bottom: 0;
}

/* Button */
.first-section-left .qodef-button {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.first-section-left .qodef-button:hover {
  transform: translateX(5px);
}

.first-section-left .qodef-button svg {
  display: block;
  width: 74px;
  height: 40px;
}

/* Spacer */
.first-section-left .spacer {
  height: 40px;
  width: 100%;
}

/* Paragraph */
.first-section-left .p1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 29px;
  color: #615e5e;
  margin: 10px 0 0;
}

/* Stacked Images - Matching WordPress Original */
.qodef-stacked-images {
  position: relative;
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
}

.qodef-stacked-images .qodef-m-images {
  position: relative;
  width: 100%;
}

.qodef-stacked-images .qodef-e-image.qodef--main {
  width: 500px;
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  transform: translateY(0%);
  transition: transform 1.5s cubic-bezier(0.07, 0.83, 0.25, 1);
}

.qodef-stack-image-holder {
  position: absolute;
  z-index: 2;
  width: 300px;
  max-width: 60%;
  top: 60%;
  left: 40%;
}

.qodef-stack-image-holder-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.qodef-stack-image-img-holder {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateY(0%);
  transition: transform 1.5s cubic-bezier(0.07, 0.83, 0.25, 1);
}

.qodef-stacked-images .qodef-e-image.qodef--stack {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  transform: translateY(0%);
  transition: transform 1.5s cubic-bezier(0.07, 0.83, 0.25, 1);
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  .first-content-section .container {
    padding: 0 40px;
  }
  
  .first-section-left,
  .first-section-right {
    width: 100%;
    padding: 0;
  }
  
  .first-section-right {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .first-content-section {
    padding: 60px 0 80px;
  }
  
  .first-content-section .container {
    padding: 0 30px;
  }
  
  .qodef-section-title .qodef-m-title {
    font-size: 22px;
    line-height: 28px;
  }
  
  .qodef-section-title .qodef-m-text {
    font-size: 12px;
    line-height: 24px;
    margin-top: 20px;
  }
  
  .first-section-left .p1 {
    font-size: 18px;
    line-height: 26px;
  }
  
  .first-section-left .spacer {
    height: 30px;
  }
  
  .qodef-stacked-images {
    width: 100%;
    max-width: 100%;
  }
  
  .qodef-stacked-images .qodef-e-image.qodef--main {
    width: 100%;
    max-width: 100%;
  }
  
  .qodef-stack-image-holder {
    width: 60%;
    max-width: 60%;
  }
  
  .qodef-stacked-images .qodef-e-image.qodef--stack {
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .first-content-section {
    padding: 50px 0 60px;
  }
  
  .first-content-section .container {
    padding: 0 20px;
  }
  
  .qodef-section-title .qodef-m-title {
    font-size: 20px;
    line-height: 26px;
  }
  
  .qodef-section-title .qodef-m-text {
    font-size: 11px;
    line-height: 22px;
  }
  
  .first-section-left .p1 {
    font-size: 16px;
    line-height: 24px;
  }
  
  .first-section-left .qodef-button svg {
    width: 60px;
    height: 32px;
  }
}

