html {
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #02406a;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* NAV BAR */
.navigation {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  background-color: #02406a;
  color: white;
  padding: 0;
}

.nav-title {
  font-size: 1.25rem;
}

.nav-cta {
  display: grid;
  place-items: center;
  width: 15%;
}

.nav-cta h3 {
  font-style: italic;
  margin: 0.8rem 0 0.48rem;
}

.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #dac06f;
  color: white;
  border-radius: 9px;
  height: 5rem;
  font-size: 1.75rem;
  font-weight: bold;
  border: none;
  width: 100%;
  text-shadow: black 1px 1px;
  box-shadow: rgba(0,0,0,0.16) 0px 1px 4px;
  line-height: 1.5rem;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  background-color: #37a7e4;
}

/* HERO / PAGE ONE */
.PageOne {
  background-image: url("HeroIMG.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.PageOneTitles {
  display: flex;
  flex-wrap: wrap;
  max-width: 40%;
  margin-left: 10em;
  color: white;
}

.Mainheader {
  margin-bottom: 1%;
  font-size: 4rem;
  text-shadow:
    0px 4px 3px rgba(0,0,0,0.4),
    0px 8px 13px rgba(0,0,0,0.1),
    0px 18px 23px rgba(0,0,0,0.1);
}

.Subheader {
  margin-top: 1rem;
  font-size: 2rem;
  text-shadow:
    0px 4px 3px rgba(0,0,0,0.4),
    0px 8px 13px rgba(0,0,0,0.1),
    0px 18px 23px rgba(0,0,0,0.1);
}

.PageOneList {
    padding-left: 0%;
  width: 100%;
  font-size: 2rem;
  list-style: none;
  text-shadow: black 3px 3px;
  
}

li::before {
  content: "✓ ";
}

/* CONTACT FORMS */
.ContactForm,
.BotContactForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: whitesmoke;
  padding: 1.25rem;
}

.ContactForm {
  position: absolute;
  bottom: 12vw;
  right: 17vw;
  width: 15vw;
  
}



.BotContactForm {
  width: 25%;
  margin: 2rem auto;
}

.ContactForm h1,
.BotContactForm h1 {
  color: #02406a;
  text-align: center;
  margin: 0.16rem 0 0;
}

.ContactForm p,
.BotContactForm p {
  text-align: center;
  font-size: 1.2rem;
  color: #9e8b51;
  margin-top: 0.32rem;
  font-weight: 500;
  
}

.ContactForm form,
.BotContactForm form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ContactForm form input,
.BotContactForm form input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9375rem 3.125rem;
  margin-bottom: 10px;
  font-size: 1rem;
}

#Submission {
  color: white;
  font-size: 1.1rem;
  border: none;
  background-color: #dac06f;
  cursor: pointer;
}

#Submission:hover {
  transform: translateY(-2px);
  box-shadow: rgb(255,255,255) 2px 1px;
  background-color: #37a7e4;
}

/* REVIEWS / PAGE TWO */
.PageTwo {
  background-color: #02406a;
  width: 100%;
  padding-bottom: 4rem;
}

.ReviewCount {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 1rem 0 1.5rem 8vw;
}

.PageTwoTitle {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  width: 60%;
  margin: 0 auto;
  text-align: center;
  text-shadow:
    0px 4px 3px rgba(0,0,0,0.3),
    0px 8px 13px rgba(0,0,0,0.1),
    0px 18px 23px rgba(0,0,0,0.1);
}

.ReviewsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 5%;
}

.ReviewOne,
.ReviewTwo,
.ReviewThree {
  background-color: white;
  color: #02406a;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: none;
  padding: 2rem;
  max-width: 350px;
  flex: 1 1 300px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ReviewOne:hover,
.ReviewTwo:hover,
.ReviewThree:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.ReviewDescription {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 600;
}

.ReviewName {
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.contactNOW {
  text-shadow: black 2px 2px;
  font-size: 4rem;
}

.GReview {
  width: 5rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* BOOKING BUTTON */
.anchorButton {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #dac06f;
  color: white;
  text-decoration: none;
  border-radius: 9px;
  height: 6rem;
  font-size: 2.75rem;
  font-weight: bold;
  border: none;
  line-height: 3rem;
  width: 50%;
  margin: 4rem 25%;
  text-shadow: black 2px 2px;
  cursor: pointer;
  text-align: center;
  
}

.anchorButton:hover {
  transform: translateY(-2px);
  background-color: #37a7e4;
}
/* TEAM / PAGE THREE */
.PageThree {
  margin-top: 2%;
}

.PageThreeTitle {
  background-color: #dac06f;
  color: white;
  text-align: center;
  font-size: 5rem;
  font-weight: 700;
  padding:  0;
  text-shadow: 1px 2px black;
}

.PageThreeContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 10%;
  background-color: #02406a;
}

.PlumberThree img{
  border-radius: 0px;
  width: 110%;
}


.PlumberOne,
.PlumberTwo,
.PlumberThree {
  background-color: #f7f7f7;
  color: #02406a;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  text-align: center;
}

.PlumberOne:hover,
.PlumberTwo:hover,
.PlumberThree:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.PlumberHeadshot {
  max-width: 100%;
  border: 3px solid #dac06f;
  margin-bottom: 1.5rem;
}

.PlumberOne h3,
.PlumberTwo h3,
.PlumberThree h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0 0;
}

.PlumberOne h4,
.PlumberTwo h4,
.PlumberThree h4 {
  font-size: 1.1rem;
  color: #888;
  margin: 0.25rem 0 1rem;
}

.PlumberOne p,
.PlumberTwo p,
.PlumberThree p {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
  color: #333;
}

/* CONTACT NOW / PAGE FOUR */
.PageFour {
  background-color: #dac06f;
  text-align: center;
  font-size: 1.75rem;
  padding: .1rem 1;
  color: white;
}

/* FOOTER */
.FootDecor {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #dac06f;
  color: white;
  text-shadow: black 1px 1px;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.footimg {
  width: 10%;
}

.footer {
  line-height: 1.2;
  text-align: center;
}

.FBIcon {
  width: 20%;
}


@media screen and (max-width: 768px) {
    .navigation img {
        min-width: 50%;
    }
    .anchorButton {
      font-size: 2rem;
    }
    .ReviewCount {
        font-size: 1.17em;
        margin-left: 5%;
    }

    .Fivestars {
        min-width: 20%;
        
    }

  .PageOneTitles {
    max-width: 90%;
    margin: 1rem auto;
  }
  .PageOneList {
    max-width: 100%;
    line-height: 3.5rem;
    font-size: 6vw;
  }

  .PageTwoTitle h1{
    text-align: center;
    margin: 0%;
  }

  .ContactForm {
    position: static;
    width: 90%;
    margin: 2rem auto;
    
  }

 

  .BotContactForm {
    width: 90%;
  }

  .ReviewOne,
  .ReviewTwo,
  .ReviewThree {
    max-width: 100%;
  }

  .anchorButton {
    width: 90%;
    margin: 2rem auto;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-title {
    text-align: center;
    margin-top: 1rem;
  }

  .footimg {
    width: 50%;
  }

  .FBIcon {
    width: 10%;
    justify-content: center;
    align-items: center;
    margin:0 25%;
  }
}


/* ─────────────────────────────────────────────── */
/* TARGET: Nest Hub (1024x600, landscape) */
@media screen and (device-width: 1024px) and (device-height: 600px) and (orientation: landscape) {
.navigation img {
        min-width: 20%;
    }

  .PageOneTitles {
    max-width: 90% !important;
    margin: 2rem auto !important;
    text-align: center;
  }

  .Mainheader {
    font-size: 2.5rem !important;
  }

  .Subheader {
    font-size: 1.5rem !important;
  }

  .PageOneList {
    font-size: 1.25rem !important;
    line-height: 2rem;
    padding: 0 1rem;
  }

  .ContactForm {
    position: static !important;
    width: 90% !important;
    margin: 2rem auto !important;
  }
}

/* ─────────────────────────────────────────────── */
/* TARGET: Nest Hub Max (1280x800, landscape) */
@media screen and (device-width: 1280px) and (device-height: 800px) and (orientation: landscape) {
.navigation img {
        min-width: 20%;
    }

  .PageOneTitles {
    max-width: 85% !important;
    margin: 2rem auto !important;
    text-align: center;
  }

  .Mainheader {
    font-size: 3rem !important;
  }

  .Subheader {
    font-size: 1.75rem !important;
  }

  .PageOneList {
    font-size: 1.5rem !important;
    line-height: 2.5rem;
  }

  .ContactForm {
    position: static !important;
    width: 85% !important;
    margin: 2rem auto !important;
  }
}

/* ─────────────────────────────────────────────── */
/* TARGET: Asus Zenbook Fold (2560x1920, folds into ~1920x1280 or ~1280x960) */
@media screen and (max-device-width: 1920px) and (min-device-width: 1280px) and (aspect-ratio: 4/3) {
    .navigation img {
        min-width: 80%;
    }


  .PageOneTitles {
    max-width: 80% !important;
    margin: 2rem auto !important;
    text-align: center;
  }

  .Mainheader {
    font-size: 3.25rem !important;
  }

  .Subheader {
    font-size: 1.75rem !important;
  }

  .PageOneList {
    font-size: 1.75rem !important;
    padding: 0 1rem;
    text-align: left;
  }

  .ContactForm {
    position: static !important;
    width: 70% !important;
    margin: 2rem auto !important;
  }
}

/* ───────────────────────────────────── */
/* 📱 Asus Zenbook Fold — Portrait Mode (853 x 1280) */
@media screen and (device-width: 853px) and (device-height: 1280px) and (orientation: portrait) {
  .navigation {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem;
    padding: 1rem 0;
  }

  .navigation img {
    min-width: 30%;
    max-width: 50%;
  }

  .nav-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-cta h3 {
    order: -1; /* Moves it above the button */
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }

  .cta-button {
    width: 90% !important;
    font-size: 1.4rem !important;
    height: 4rem !important;
    border-radius: 7px;
  }

  .PageOneTitles {
    max-width: 90% !important;
    margin: 1.5rem auto !important;
    text-align: center;
  }

  .Mainheader {
    font-size: 2.2rem !important;
  }

  .Subheader {
    font-size: 1.25rem !important;
  }

  .PageOneList {
    font-size: 1.2rem !important;
    line-height: 1.8rem !important;
    padding: 0 1rem;
    text-align: left;
  }

  .ContactForm {
    position: static !important;
    width: 90% !important;
    margin: 2rem auto !important;
  }
}

/* ───────────────────────────────────── */
/* 💻 Asus Zenbook Fold — Landscape Mode (1280 x 853) */
@media screen and (device-width: 1280px) and (device-height: 853px) and (orientation: landscape) {
  .PageOneTitles {
    max-width: 80% !important;
    margin: 2rem auto !important;
    text-align: center;
  }


  .Mainheader {
    font-size: 3rem !important;
  }

  .Subheader {
    font-size: 1.5rem !important;
  }

  .PageOneList {
    font-size: 1.5rem !important;
    line-height: 2.5rem;
    padding: 0 2rem;
  }

  .ContactForm {
    position: static !important;
    width: 60% !important;
    margin: 2rem auto !important;
  }
}


/* ───────────────────────────────────── */
/* 🖥 Nest Hub (1024x600, landscape) */
@media screen and (device-width: 1024px) and (device-height: 600px) and (orientation: landscape) {
  .PageOneTitles {
    max-width: 85% !important;
    margin: 1.5rem auto !important;
    text-align: center;
  }

  .Mainheader {
    font-size: 2.2rem !important;
  }

  .Subheader {
    font-size: 1.3rem !important;
  }

  .PageOneList {
    font-size: 1.25rem !important;
    line-height: 2rem;
    text-align: left;
    padding: 0 1rem;
  }

  .ContactForm {
    position: static !important;
    width: 85% !important;
    margin: 2rem auto !important;
  }

  .anchorButton {
    width: 85% !important;
    margin: 2rem auto;
  }
}
@media screen and (device-width: 853px) and (device-height: 1280px) and (orientation: portrait) {
  .cta-button {
    font-size: 1.4rem !important;
    height: 4rem !important;
    line-height: 2rem !important;
    padding: 0.5rem 1rem !important;
    width: 120% !important;
    border-radius: 7px !important;
  }

  .navigation img {
    max-width: 70% !important;
    height: auto !important;
  }

  .Subheader {
    font-size: 1.75rem !important;
  }

  .PageOneList {
    font-size: 2rem !important;
    line-height: 2.5rem !important;
  }
}

/* ───────────────────────────────────── */
/* ✅ Asus Zenbook Fold — Landscape Mode (1280 x 853) */
@media screen and (device-width: 1280px) and (device-height: 853px) and (orientation: landscape) {
  .cta-button {
    font-size: 1.5rem !important;
    height: 4.5rem !important;
    width: 80% !important;
    border-radius: 7px !important;
    line-height: 1.4rem;
  }

  .navigation img {
    max-width: 60% !important;
    height: auto !important;
  }
}

/* 📱 iPad Air (820 x 1180 & 1180 x 820) behaves like mobile */
@media screen and (device-width: 820px) and (device-height: 1180px),
       screen and (device-width: 1180px) and (device-height: 820px) {
  .PageOneTitles {
    max-width: 90% !important;
    margin: 1rem auto !important;
    text-align: center;
  }

  .ContactForm {
    position: static !important;
    width: 90% !important;
    margin: 2rem auto !important;
  }

  .BotContactForm {
    width: 90% !important;
    margin: 2rem auto !important;
  }

  .ContactForm form input,
  .BotContactForm form input {
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  #Submission {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 1rem 0 !important;
  }

  .cta-button {
    font-size: 1.5rem !important;
    height: 4.5rem !important;
    width: 150% !important;
    border-radius: 7px !important;
    line-height: 1.4rem;
  }
}

/* ───────────────────────────────────── */
/* 📱 iPad Pro 11" & 12.9" – Portrait & Landscape */
@media screen and (device-width: 834px) and (device-height: 1194px),
       screen and (device-width: 1194px) and (device-height: 834px),
       screen and (device-width: 1024px) and (device-height: 1366px),
       screen and (device-width: 1366px) and (device-height: 1024px) {
  
  .PageOneTitles {
    max-width: 90% !important;
    margin: 1rem auto !important;
    text-align: center;
  }

  .ContactForm {
    position: static !important;
    width: 90% !important;
    margin: 2rem auto !important;
  }

  .BotContactForm {
    width: 90% !important;
    margin: 2rem auto !important;
  }

  .cta-button {
    width: 150%;
    line-height: 2rem;
  }

  .ContactForm form input,
  .BotContactForm form input {
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  #Submission {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 1rem 0 !important;
  }
}