.first-section-container {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;

  position: relative;

  background-image: url('../image-background1/backgroundcombined.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  background-color: #250133;

  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: white;
}

.first-section-content {
  position: absolute;
  top: 48%;
  left: 3%;
  transform: translate(0%,-50%);
  text-align: center;
  width: 40%;
  color: white;
  z-index: 3;
}

.vf-sub-head {
  font-family: 'Sofia Sans Extra Condensed';
  color: #83838391;
  font-size: 1.6vw;
  text-align: center;
  margin: 0 0 8px;
}

.purpez-heading {
  font-family: 'Sofia Sans Extra Condensed';
  color: transparent;
  text-align: center;
  font-size: 6vw;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  background-image: linear-gradient(90deg,#cc74ff, #e0b6ff, #983cce);
  background-clip: text;
  -webkit-background-clip: text;
  display: block;
}


.shop-now-button {
  font-family: 'Instrument Serif';
  font-size: 1.5vw;
  display: block;
  margin: 12px auto 0;
  background-color: transparent;
  border: 1px solid #DE8DFF;
  color: #DE8DFF;
  border-radius: 22px;
  padding: 7px 12px;
  transition: 0.15s;
  cursor: pointer;
}

.shop-now-button:hover {
  background-color: #d15dff60;
  color: #fbefff;
}

.shop-now-button:active {
  background-color: #996eaa;
  color: white;
}

.second-section-container {
  position: relative;
  min-height: 280px;
  background-color: #DFB4EF;
  padding-top: 45px;
}

.second-section-content {
  padding-left: 20px;
  text-align: left;
}

.quick-info-header {
  font-size: 60px;
  font-family: 'Sofia Sans Extra Condensed';
  padding-top: 40px;
  color: #34004d;
}

.quick-info-text {
  max-width: 90%;
  font-size: 20px;
  padding-bottom: 50px;
  color: #1f002e;
}

.black-overlay-phone {
  display: none;
}

.third-section-container {
  position: relative;
  min-height: 0;
  background-color: #DFB4EF;
  padding: 80px 5% 90px;
}

.third-section-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
  gap: 5%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.portfolio-gallery-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-copy-home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.portfolio-header-home {
  font-size: 60px;
  font-family: 'Sofia Sans Extra Condensed';
  margin: 0;
  padding: 0;
  color: #34004d;
}

.portfolio-text-home {
  font-size: 20px;
  line-height: 1.35;
  margin: 0;
  color: #1f002e;
  padding-bottom: 20px;
}

.third-section-content img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #250133;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.third-section-content img:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 8px 8px 0 #250133;
}

.view-portfolio-button,
.learn-more-button {
  font-family: 'Instrument Serif', Arial;
  font-size: 20px;
  color: #DFB4EF;
  background-color: #250133;
  border: 1px solid #250133;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.view-portfolio-button:hover,
.learn-more-button:hover {
  color: #250133;
  background-color: transparent;
  transform: translateY(-3px);
}

.view-portfolio-button:active,
.learn-more-button:active {
  background-color: #2501332f;
}

.fourth-section-container {
  position: relative;
  background-color: #250133;
  padding-bottom: 60px;
}

.fourth-section-content {
  padding: 0 20px;
}

.why-purpez-header {
  font-size: 60px;
  font-family: 'Sofia Sans Extra Condensed';
  padding-top: 40px;
  padding-bottom: 30px;
  color: #DFB4EF;
  text-align: center;
  margin: 0 auto;
}

.why-purpez-text {
  font-size: 20px;
  color: #f4d5ff;
  text-align: center;
  margin: 0 0 20px;
  width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
}

.why-purpez-text:last-of-type {
  margin-bottom: 50px;
}

.explore-services-button {
  font-family: 'Instrument Serif', Arial;
  font-size: 20px;
  color: #250133;
  background-color: #DFB4EF;
  border: 1px solid #f3dbfc;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: block;
  margin: 12px auto 0;
}

.explore-services-button:hover {
  background-color: #e7a4ff70;
  color: #f3dbfc;
}

.explore-services-button:active {
  background-color: rgba(223, 180, 239, 0.24);
}

.fifth-section-container {
  position: relative;
  min-height: 0;
  background-color: #DFB4EF;
  padding: 80px 5% 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 38%);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 150px;
}

.fifth-section-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
}

.jp-img-1 {
  display: block;
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
}

.about-jp-content {
  grid-column: 1;
  grid-row: 1;
  max-width: 600px;
  justify-self: start;
}

.about-johnpaul-header {
  margin: 0 0 22px;
  color: #34004d;
  font-family: 'Sofia Sans Extra Condensed';
  font-size: 60px;
  font-weight: 400;
}

.about-johnpaul-text {
  margin: 0 0 28px;
  color: #1f002e;
  font-size: 20px;
  line-height: 1.45;
}

.sixth-section-container {
  margin-top: 100px;
  margin-bottom: 250px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #250133;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #250133;
}

.sixth-section-content {
  padding-top: 50px;
  padding-bottom: 50px;
  align-items: center;
  text-align: center;
  font-family: 'Instrument Serif';
  font-size: 40px;
  color: #250133; 
}

.sixth-section-content:hover {
  opacity: 0.8;
}

.sixth-section-content:active {
  opacity: 0.7;
}

.sixth-section-content a {
  color: #250133; 
}

.copyright {
  transition: 0.5s;
}

@media (min-width: 1790px) {
  .first-section-content {  position: absolute;
  top: 40%;
  right: 57%;
  transform: translate(0%,-50%);
  text-align: center;
  width: 40%;
}
}

@media (max-width: 743px) {
  .first-section-container {  
  width: 100%;
  height: 100vh;

  background-image: url('../image-background1/Phone.png');
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;

  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: white;
  aspect-ratio: auto;
}

  .black-overlay-phone {
    display: block;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 73%;
    background-color: #000000;
    z-index: 2;
    background: linear-gradient(
    to bottom, 
    transparent 0%, 
    #000000 40%, 
    #000000 70%, 
    transparent 90%
  );
  }

  .first-section-content {
    right: 50%;
    left: 50%;
    top: 25%;
    transform: translate(-50%,-50%);
    width: 85%;
    z-index: 3;
  }

  .vf-sub-head {
    font-size: 16px;
    margin: 0 0 8px;
  }

  .purpez-heading {
    font-size: 62.3px;
    padding-bottom: 0;
  }

  .shop-now-button {
    font-size: 16px;
    margin: 12px auto 0;
  }

  .second-section-container {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: white;
  }

  .portfolio-text-home {
    width: auto;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    text-align: left;
  }

  .third-section-container {
    min-height: 0;
    padding: 55px 20px 65px;
  }

  .third-section-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .portfolio-gallery-home {
    width: 100%;
    gap: 16px;
    padding-bottom: 10px;
  }

  .portfolio-gallery-home .home-p-3 {
    display: none;
  }

  .portfolio-gallery-home .home-p-4 {
    display: none;
  }

  .portfolio-copy-home {
    gap: 18px;
  }

  .portfolio-copy-home .portfolio-header-home {
    font-size: 48px;
    align-self: flex-start;
  }

  .portfolio-text-home {
    width: auto;
    max-width: 90%;
    margin: 0;
    text-align: left;
  }

  .third-section-content img {
    width: 100%;
    height: auto;
  }

  .why-purpez-header {
    font-size: 48px;
  }

  .why-purpez-text {
    width: 88%;
    font-size: 18px;
  }

  .fifth-section-container {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding: 55px 20px 65px;
    align-items: stretch;
  }

  .about-jp-content {
    order: 1;
    max-width: 100%;
  }

  .fifth-section-content {
    order: 2;
    justify-content: center;
  }

  .jp-img-1 {
    width: min(78%, 320px);
  }

  .about-johnpaul-header {
    margin-bottom: 16px;
    font-size: 48px;
  }

  .about-johnpaul-text {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .sixth-section-container {
    margin-bottom: 200px;
  }
  
}

@media (min-width: 744px) and (max-width: 1250px) {
  .first-section-container {  
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;

  background-image: url('../image-background1/backgroundcombined2.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  background-color: #250133;

  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: white;
}


  .first-section-content {
  left: 6%;
  top: 48%;
  right: 57%;
  transform: translate(0%,-50%);
  text-align: center;
  width: 40%;
  color: white;
  z-index: 3;
}

  .vf-sub-head {
    font-size: 16px;
    margin: 0 0 8px;
  }

  .purpez-heading {
    display: block;
    font-size: 8vw;
    padding-bottom: 0;
    font-weight: 400;
    margin: 0;
    text-align: center;
    text-align-last: center; 
  }

  .shop-now-button {
    font-size: 16px;
    margin: 12px auto 0;
  }

  .why-purpez-text {
    width: 86%;
    font-size: 20px;
  }

  .fifth-section-container {
    gap: 42px;
    padding-left: 6%;
    padding-right: 6%;
  }

  .jp-img-1 {
    width: min(100%, 300px);
  }
}

@media (min-width: 1251px) {
  .why-purpez-text {
    width: min(68%, 980px);
    font-size: 20px;
  }
}
