/*
Theme Name: Legend Homes
Template: twentytwentyfive
Version: 1.0
Author: Your Name
Description: A customized child theme of Twenty Twenty-Five.
*/

@import url("./assets/fonts/abolition/stylesheet.css");
@import url("./assets/fonts/roboto/stylesheet.css");
@import url("./page-styles/home.css");
@import url("./page-styles/contactus.css");
@import url("./page-styles/menu.css");

* {
  font-family: "robotoregular";
}

* img:focus,
a:focus,
a:active {
  border: 0 !important;
  outline: none !important;
}

p {
  font-size: 1rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
}

h1 {
  font-family: "abolition_testregular";
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0px;
}

.wp-block-navigation-item * {
  font-family: "abolition_testregular";
  font-size: 1.5rem;
  text-decoration: none !important;
}

/* Menu */
/* Normal Menu Item */
.wp-block-navigation-item a,
.wp-block-navigation-item .wp-block-navigation-item__content span {
  color: #f8ae00 !important; /* Yellowish color */
  opacity: 1 !important;
}

/* Current Menu Item */
.wp-block-navigation-item.current-menu-item a,
.wp-block-navigation-item a.current-menu-ancestor,
.wp-block-navigation-item.current-menu-ancestor
  > a.wp-block-navigation-item__content
  span,
.wp-block-navigation-item.current-menu-item
  .wp-block-navigation-item__content
  span,
.wp-block-navigation-item .wp-block-navigation-item__content:hover span {
  text-decoration: none;
  color: #53792a !important; /* Greenish color */
}

/* Form Elements */
.btn-orange {
  background: #f8ae00 !important;
  border-radius: 6px;
}

.btn-orange:hover {
  opacity: 0.8;
}

.btn-orange .wp-element-button {
  background: transparent !important;
  padding: 0.5rem 2rem;
  border-radius: 1rem;
  font-size: 1rem;
}

/* Common Styles */
.flex-row-reverse {
  flex-direction: row-reverse;
}

/* Main */
body {
  min-height: 100vh;
}
body > .wp-site-blocks > main {
  min-height: calc(100vh - 485px);
}

main .wp-block-image img {
  border-radius: 2rem;
}

/* Headings */
.heading-style {
  font-family: "abolition_testregular";
  text-transform: capitalize;
}

.facilities-block .wp-block-media-text__media img {
  border-radius: 1rem 0 0 1rem;
}

.facilities-block h5,
.choose-us-block h5 {
  color: #006ba1 !important; /* Yellowish color */
}

.facilities-block h3,
.choose-us-block h3 {
  font-family: "abolition_testregular";
  font-size: 3rem;
}

.facilities-block .text-small {
  font-size: 12px;
  margin: 6px 0 0;
  text-align: center;
}

.choose-us-block {
}

.choose-us-block .wp-block-media-text__media img {
  border-radius: 0 1rem 1rem 0;
}

.choose-us-block ul li {
  font-size: 1rem;
}

/* Overview Block */
.overview-block {
  position: relative;
}

.overview-block:after {
  background: #ffffff;
  position: absolute !important;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.9;
  display: none;
}

.overview-block > * {
  position: relative;
  z-index: 1;
  gap: 0;
}

.overview-block h2 {
  font-family: "abolition_testregular";
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.our-mission {
  border-radius: 1rem;
  padding: 0;
  position: relative;
}

.our-mission:before {
  background: #091d35;
  position: absolute !important;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.9;
  border-radius: 1rem;
  display: none;
}

.our-mission h3 {
  font-size: 2rem;
  position: relative;
  z-index: 1;
  color: #f8ae00 !important;
  font-family: "abolition_testregular";
  text-transform: u;
}

.our-mission p {
  position: relative;
  z-index: 1;
  color: #202020;
  line-height: 1.5;
}

/* Featured Properties */
.featured-properties-block {
  position: relative;
}

.featured-properties-block:before {
  background: #fbfaf3 !important;
  position: absolute !important;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.95;
}

.featured-properties-block h2 {
  color: #53792a !important;
  font-family: "abolition_testregular";
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.featured-properies-slider {
  width: 1200px !important;
  max-width: 100% !important;
}

.metaslider.ms-theme-clarity .flexslider .caption-wrap {
  border: 0px;
}

.metaslider.ms-theme-clarity .flexslider .caption-wrap .caption {
  padding: 10px;
  font-size: 1rem;
  background: #53792a !important;
  color: #ffffff;
  border: 0;
}

.metaslider.ms-theme-clarity .flexslider .flex-control-paging li a {
  width: 15px;
  height: 15px;
}

.founders-word-block h3 {
  font-family: "abolition_testregular";
  font-size: 1.5rem;
  color: #53792a !important;
  letter-spacing: 1px;
}

/* About Us */
.overview-block > div:first-child > div:nth-child(2n) {
  flex-direction: row-reverse;
}

/* Our Team */

.our-team {
  text-align: center;
  margin-bottom: -40px !important;
  position: relative;
}

.our-team * {
  z-index: 1 !important;
  position: relative;
}

.our-team:after {
  background: #fbfaf3;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.9;
  z-index: 0;
}

.our-team img {
  aspect-ratio: 4/5 !important;
  border-radius: 100% !important;
}

/* Project Details Page */
.project-details-block-outer {
}

.project-details-block-outer > div {
  display: flex;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.project-details-block-outer > div:nth-child(2n + 1) > div {
  flex-direction: row-reverse;
}

.project-details-block-outer h2 {
  font-size: 2rem;
  position: relative;
  font-family: "abolition_testregular";
  text-transform: capitalize;
  z-index: 1;
  color: #f8ae00 !important;
  font-weight: normal !important;
}

.project-details-block-outer > div img {
  border-radius: 2rem;
  width: 100%;
}

.project-details-block-outer p,
.project-details-block-outer ul li {
  font-size: 1rem;
}

/* Footer Block */

.footer-block {
  position: relative;
}

.footer-block::before {
  background: #8cad2b;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.9;
}

.footer-block .address-block * {
  color: #ffffff;
}

.footer-block .wp-block-site-logo {
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
}

.footer-block .address-block h2 {
  font-family: "abolition_testregular";
  letter-spacing: 1px;
}

.footer-block .address-block p {
  font-weight: normal;
  line-height: 1.5;
}

/* Custom Footer */
.custom-footer .wp-block-site-logo > * {
  margin-inline-end: 0em;
  padding: 0;
}

.custom-footer .wp-block-site-logo > img {
  border-radius: 0rem !important;
}

.page-template-wp-custom-template-custom-page > div > main {
  margin-top: 0 !important;
}

.page-template-wp-custom-template-custom-page > div > main > div {
  padding-bottom: 0 !important;
}

.page-template-wp-custom-template-custom-page > div > footer {
  display: none;
}

@media screen and (max-width: 993px) and (min-width: 768px) {
  .footer-block .footer-inner-block div.wp-block-column {
    width: auto !important;
    flex-basis: 0 !important;
    flex-grow: 1 !important;
  }

  .our-mission h3 {
    font-size: 2rem;
  }

  .our-team-block {
    flex-wrap: wrap !important;
  }

  .our-team .our-team-block > div.wp-block-column {
    min-width: 26%;
    margin: 0;
    flex-basis: auto !important;
  }

  .our-team img {
    aspect-ratio: 1 !important;
    border-radius: 100% !important;
    height: auto !important;
    width: auto !important;
  }
}

@media screen and (max-width: 767px) {
  /* Menu */
  .wp-block-navigation-submenu {
    padding-right: 0px !important;
  }

  .wp-block-navigation__responsive-container-close svg,
  .wp-block-navigation__responsive-container-open svg {
    width: 37px !important;
    height: 37px !important;
  }

  .our-mission {
    padding: 0rem !important;
  }

  .our-mission h3 {
    font-size: 2rem !important;
  }

  .about-us-block-outer {
    margin-bottom: 3rem;
  }

  .overview-block > * {
    padding: 0 !important;
  }

  .wp-block-image.has-custom-border img {
    box-sizing: border-box;
    border-radius: 1rem !important;
  }

  .our-team img {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 50% !important;
    border-radius: 0 !important;
  }

  .our-team h3 {
    font-size: 1.5rem;
  }

  /* Home Page Features Slider */
  .mobile-home-meta-slider .metaslider .caption {
    padding: 15px 10px !important;
    word-wrap: break-word;
    font-size: 1.25rem !important;
    background: #006ba1 !important;
    color: #ffffff;
    border: 0;
  }

  .mobile-home-meta-slider .metaslider .caption-wrap {
    opacity: 0.9 !important;
  }

  /* Footer Block */

  .footer-block .wp-block-site-logo {
    background: none;
    padding: 0rem;
    border-radius: 0rem;
    width: 100%;
    text-align: center;
    margin: auto;
    float: left;
    margin-inline-end: 0;
  }

  .footer-block .wp-block-site-logo img {
    height: auto;
    max-width: 100%;
    background: #ffffff;
    padding: 1rem;
    border-radius: 1rem !important;
  }

  .footer-block .address-block {
    margin: auto !important;
  }
}

.google-maps {
    background: url(./assets/google-maps.png) left center no-repeat;
    width: auto;
    background-size: 22px auto;
    padding-left: 30px;
    height: 30px;
    line-height: 27px !important;
    text-decoration: none;
}
