@import './IndexStyle.css';

#hero-mobile{
  display: none;
}

.hero-container{
  width: 100%;
  max-width: 2600px;
  height: 65vh;
  max-height: 850px;
  margin-top: 5%;
  margin-bottom: 20vh;
}

.hero-content-wrapper{
  aspect-ratio: 16/9;
  max-width: 1680px;
  width: 80%;
  height: 100%;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
}

.hero-content-left-container{
  display: flex;
  flex-direction: column;
  height: 92%;
  margin-top: auto;
  width: 50%;
}

.hero-headers{
  display: flex;
  flex-direction: column;
}

.hero-header {
  display: flex;
  justify-content: center; /* Center the header horizontally */
  width: 90%;
  margin-bottom: 5%;
}

.hero-header h1{
  font-family: var(--main-font);
  font-weight: 900;
  color: whitesmoke;
  text-wrap: balance;
  display: flex; /* Use flexbox to align elements */
  flex-direction: column; /* Stack the items vertically */
  width: 100%; /* Ensure the header takes full width */
  font-size: clamp(1.8rem, 2.8vw, 4rem);
  line-height: 1.8; /* Adjust line height for spacing */
}

.hero-subheader{
  width: 90%;
}

.hero-subheader h2{
  font-family: var(--main-font);
  font-size: clamp(0.6rem, 0.9vw, 0.9vw);
  font-weight: 500;
  color: whitesmoke;
  line-height: 1.8;
  margin-bottom: 10%;
}



.hero-cta-container{
  width: 90%;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

@media (max-width: 1280px){
  .hero-cta-container{
    width: 95s%;
  }
}

.hero-cta-header{
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 3%;
  margin-bottom: 2.5%;
}

.hero-cta-header span{
  font-family: var(--main-font);
  font-weight: 700;
  width: 50%;
  font-size: clamp(0.8rem, 1.1vw, 1.5rem);
  text-transform: uppercase;
  color: whitesmoke;
}

.hero-cta-buttons{
  display: flex;
  flex-direction: row;
  gap: 3%;
}

.hero-cta-contactus,
.hero-cta-services{
  white-space: nowrap;
  flex: 1;
  text-align: center; /* Center text inside buttons */
  text-decoration: none;
  font-family: var(--main-font);
  font-size: clamp(0.85rem, 1.15vw, 1.4rem);
  font-weight: 600;
  color: whitesmoke;

  border-radius: 100px;
  padding: 0.5em 0;

  transition: transform 0.1s linear, font-size 0.15s linear;
}

.hero-cta-contactus:hover,
.hero-cta-services:hover{
  transform: scale(1.05);
}

.hero-cta-services{
  background-color: var(--secondary-color);
  border: solid 0.25em var(--secondary-color);
}

.hero-cta-services:hover{
  color: var(--secondary-color);
  background-color: transparent;
}

.hero-cta-services:active{
  color: whitesmoke;
  background-color: var(--secondary-color-dark-10);
}



.hero-cta-contactus{
  margin: auto 0;
  color: var(--primary-color-light-20);
  background-color: transparent;
  border: solid 0.25em var(--primary-color-light-10);
}

.hero-cta-contactus:hover{
  color: whitesmoke;
  background-color: var(--primary-color);
}

.hero-cta-contactus:active{
  background-color: var(--primary-color-dark-10);
}



.hero-content-right-container{
  height: 100%;
  width: 50%;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-image-container {
  width: 100%;  /* Set the width to 100% or a specific value */
  height: 100%; /* Height will adjust based on image aspect ratio */
  min-height: 400px;
}

.hero-image-container img {
  width: 100%;  /* Make the image responsive */
  height: 100%; /* Maintain aspect ratio */
  display: block; /* Remove bottom whitespace */
}

@media screen and (max-width: 1100px){
  .hero-container{
    height: 65vh;
    max-height: 500px;
    min-height: 400px;
    margin-top: 5%;
    margin-bottom: 20vh;
  }

  .hero-image-container{
    max-height: 550px;
    min-height: 350px;
  }
}

@media screen and (max-width: 800px){
.hero-container{
  width: 100%;
  height: 80vh;
  min-height: 550px;
  max-height: none;
  margin: 0;
  position: relative;
}

.hero-content-wrapper{  
  display: none;
}

#hero-mobile{
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
}

.hero-image-container{
  margin: 0 auto;
  width: 60%;
  height: 100%;
  max-height: auto;
  min-height: auto;
}

.hero-image-container img{
  width: 100%;
  height: 100%;
}

.hero-headers{
  display: flex;
  flex-direction: column;
  margin-top: 3vh;
}

.hero-header {
  display: flex;
  justify-content: center; /* Center the header horizontally */
  text-align: center;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 5%;
}

.hero-header h1{
  font-family: var(--main-font);
  font-weight: 900;
  color: whitesmoke;

  display: flex; /* Use flexbox to align elements */
  flex-direction: column; /* Stack the items vertically */
  width: 100%; /* Ensure the header takes full width */
  font-size: clamp(1.5rem, 6.2vw, 3rem);
  line-height: 1.6; /* Adjust line height for spacing */
}

.hero-subheader{
  margin: 0 auto;
  width: 81%;
}

.hero-subheader h2{
  font-family: var(--main-font);
  font-size: clamp(0.75rem, 3vw, 3vw);
  font-weight: 500;
  color: whitesmoke;
  line-height: 1.6;
}



.hero-cta-container{
  width: 90%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  margin-top: auto;
}

.hero-cta-header{
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-bottom: 3vh;
}

.hero-cta-header span{
  display: none;
  font-family: var(--main-font);
  font-weight: 700;
  width: fit-content;
  font-size: clamp(1.2rem, 4.1vw, 2rem);
  text-transform: uppercase;
  color: whitesmoke;
}

.hero-cta-buttons{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.5em;
  z-index: 10;
}

.hero-cta-contactus,
.hero-cta-services{
  white-space: nowrap;
  flex: 1;
  text-align: center; /* Center text inside buttons */
  height: fit-content;
  text-decoration: none;
  font-family: var(--main-font);
  font-size: clamp(1rem, 3.2vw, 1.6rem);
  font-weight: 600;
  color: whitesmoke;

  border-radius: 100px;
  padding: 3% 0;

  transition: transform 0.1s linear, font-size 0.15s linear;
}

.hero-cta-contactus:hover,
.hero-cta-services:hover{
  transform: scale(1.05);
}

.hero-cta-services{
  background-color: var(--secondary-color);
  border: solid 0.25em var(--secondary-color);
}

.hero-cta-services:hover{
  color: var(--secondary-color);
  background-color: transparent;
}

.hero-cta-services:active{
  color: whitesmoke;
  background-color: var(--secondary-color-dark-10);
}



.hero-cta-contactus{
  margin: auto 0;
  color: var(--primary-color-light-20);
  background-color: transparent;
  border: solid 0.25em var(--primary-color-light-10);
}

.hero-cta-contactus:hover{
  color: whitesmoke;
  background-color: var(--primary-color);
}

.hero-cta-contactus:active{
  background-color: var(--primary-color-dark-10);
}

}

@media screen and (max-width: 500px){
  .hero-container{
    width: 100%;
    height: 85vh;
    margin: 0;
    position: relative;
  }
  
  .hero-content-wrapper{  
    display: none;
  }
  
  #hero-mobile{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  
    display: flex;
    flex-direction: column;
  }
  
  .hero-image-container{
    margin: 0 auto;
    width: 75%;
    height: 100%;
  }
  
  .hero-image-container img{
    width: 100%;
    height: 100%;
  }
  
  .hero-headers{
    display: flex;
    flex-direction: column;
    margin-top: 3vh;
  }
  
  .hero-header {
    display: flex;
    justify-content: center; /* Center the header horizontally */
    text-align: center;
    margin-bottom: 5%;
  }
  
  .hero-header h1{
    font-family: var(--main-font);
    font-weight: 900;
    color: whitesmoke;
  
    display: flex; /* Use flexbox to align elements */
    flex-direction: column; /* Stack the items vertically */
    width: 100%; /* Ensure the header takes full width */
    font-size: clamp(1.1rem, 6.6vw, 3rem);
    line-height: 1.5; /* Adjust line height for spacing */
  }
  
  .hero-subheader{
    margin: 0 auto;
    width: 81%;
  }
  
  .hero-subheader h2{
    font-family: var(--main-font);
    font-size: clamp(0.75rem, 3vw, 3vw);
    font-weight: 500;
    color: whitesmoke;
    line-height: 1.8;
  }
  
  
  
  .hero-cta-container{
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: auto;
  }
  
  .hero-cta-header{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 2vh;
  }
  
  .hero-cta-header span{
    display: none;
    font-family: var(--main-font);
    font-weight: 700;
    width: fit-content;
    font-size: clamp(1.2rem, 4.1vw, 2rem);
    text-transform: uppercase;
    color: whitesmoke;
  }
  
  .hero-cta-buttons{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1em;
    z-index: 10;
  }
  
  .hero-cta-contactus,
  .hero-cta-services{
    white-space: nowrap;
    flex: 1;
    text-align: center; /* Center text inside buttons */
    height: fit-content;
    text-decoration: none;
    font-family: var(--main-font);
    font-size: clamp(1rem, 3.2vw, 1.6rem);
    font-weight: 600;
    color: whitesmoke;
  
    border-radius: 100px;
    padding: 3% 0;
  
    transition: transform 0.1s linear, font-size 0.15s linear;
  }
  
  .hero-cta-contactus:hover,
  .hero-cta-services:hover{
    transform: scale(1.05);
  }
  
  .hero-cta-services{
    background-color: var(--secondary-color);
    border: solid 0.25em var(--secondary-color);
  }
  
  .hero-cta-services:hover{
    color: var(--secondary-color);
    background-color: transparent;
  }
  
  .hero-cta-services:active{
    color: whitesmoke;
    background-color: var(--secondary-color-dark-10);
  }
  
  
  
  .hero-cta-contactus{
    margin: auto 0;
    color: var(--primary-color-light-20);
    background-color: transparent;
    border: solid 0.25em var(--primary-color-light-10);
  }
  
  .hero-cta-contactus:hover{
    color: whitesmoke;
    background-color: var(--primary-color);
  }
  
  .hero-cta-contactus:active{
    background-color: var(--primary-color-dark-10);
  }
  
  }