:root{
  --primary: #005075;
  --secondary: #39527D;
  --white: #fff
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
  }
  *, *:before, *:after {
    box-sizing: inherit;
}

body{
  background-color: #F8F8F8;
}

h1, h2, h3{
  font-family: "Public Sans", sans-serif;
  margin: 0;
}

/* globales */
.container{
  max-width: 150rem;
  margin-top: 8rem;
  margin-bottom: 13rem;
  margin-left: auto;
  margin-right: auto;
}

img {
  width: 100%;
  display: block;
}

.text-center{
  text-align: center;
}

/* header */
.header-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary);
  padding: 1rem 2rem;
}

@media (min-width: 1100px){ 
  .header-container{
    padding: 1rem 4rem 1rem 3rem;
  }
}

/* logo */
.logo-container{
  display: flex;
  gap: 0.9rem;
  align-items: center; 
  min-width: max-content;
}

.logo-image img{
  height: 4.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px){ 
  .logo-image img{
    height: 6rem;
  }
}

/* Logo Text*/
.logo-text h2{
  font-family: "Jura", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--white);
}

@media (min-width: 768px){ 
  .logo-text h2{
    font-size: 2.5rem;
  }
}

.logo-text span{
  font-size: 1.5rem;
  font-weight: lighter;
  display: block;
}

@media (min-width: 768px){
  .logo-text span{
    font-size: 2rem;
  }
}

/* nav */
.nav-container .main-nav{
  display: none;
}

@media (min-width: 900px){ 
  .nav-container .main-nav{
    display: flex;
  }
}

.main-nav a {
  display: inline-block;
  font-size: 1.8rem;
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 1rem 4rem;
  transition: transform 0.3s ease;
  text-decoration: none;
}

@media (min-width: 900px){
  .main-nav a{
    padding: 1rem 2.5rem;
  } 
}

@media (min-width: 1100px){ 
  .main-nav a{
    padding: 1rem 3rem;
  }
}

.main-nav a:hover{
  background-color: #F3EEE6;
  color: #005075;
  transform: scale(1.1);
}

/* Mobile Menu Container*/
@media (min-width: 900px){ 
  .mobile-menu-container{
    display: none;
  }
}

.btn-toggle{
  background-color: var(--white);
  border: 1px solid black;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: none;
}

.btn-toggle svg{
  stroke: var(--primary) !important;
  stroke-width: 3.5 !important;
  height: 2rem;
}

.btn-toggle svg path{
  stroke: var(--primary); 
  stroke-width: 3;
}

@media (min-width: 768px){ 
  .btn-toggle svg{
    height: 3.5rem;
  }
}

.mobile-menu{
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  background-color: var(--primary);
  width: 100%;
  height: 100%;
}

.btn-menu-close{
  position: absolute;
  top: 30px;
  right: 30px;
  height: 3.5rem;
  width: 3.5rem;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: color 0.25 ease, font-size 0.25s ease;
}

.btn-menu-close:hover{
  color: color-mix(in srgb, var(--primary) 80%, white);
  font-size: 2.05rem;
}

.mobile-menu a{
  font-size: 3.5rem;
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

/* Hero image */
.hero-image{
  background-image: url(/img/hero-img.avif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 42rem;
}

@media (min-width: 700px){ 
  .hero-image{
    height: 60rem;
  }
}

@media (min-width: 1000px){ 
  .hero-image{
    height: 85rem;
  }
}

@media (min-width: 1700px) and (min-height: 1000px) {
  .hero-image {
    height: 105rem;
  }
}

/* About Us*/
.about-us-section{
  background-color: var(--primary);
  padding: 5rem 5rem 7rem 5rem;
}

@media (min-width: 768px){ 
  .about-us-section{
    padding: 7rem 9rem;
  }
}

@media (min-width: 992px){ 
    .about-us-section{
      padding: 10rem 10rem;
    }
}

@media (min-width: 1100px){ 
  .about-us-section{
    padding: 15rem 20rem 13rem 13rem;
  }
}

@media (min-width: 1366px){ 
  .about-us-section{
    padding: 15rem 20rem 13rem 13rem;
  }
}

.about-us h2{
  color: #FFF;
  font-size: 1.7rem;
  margin-bottom: 2.5rem;
  font-weight: lighter;
}

@media (min-width: 768px){
  .about-us h2{
    font-size: 2.5rem;
  }
}

.span-about-us{
  font-weight: 900;
  display: inline-block;
  margin-bottom: 1.5rem;
  display: block;
}

.about-us h1{
  font-weight: 200;
  font-size: 2.5rem;
  text-align: left;
  color: #FFF;
}

@media (min-width: 768px){ 
  .about-us h1{
    font-size: 4.5rem;
  }
}

.about-us button{
  background-color: transparent;
  margin-top: 5rem;
  color: #FFF;
  font-weight: 900;
  padding: 1.5rem;
  text-align: center;
  width: 75%;
  border: 1px solid #fff;
  border-radius: 20px;
  font-size: 1.3rem;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

@media (min-width: 768px){ 
  .about-us button{
    width: 50%;
  }

  @media (min-width: 1000px){ 
    .about-us button{
      width: 30%;
    }
  }
}

.about-us button:hover{
  background-color: #FFF;
  color: #000;
  transform: scale(1.05);
}

/* render image living room*/
.render-living{
  background-image: url(/img/render-living.avif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center lef;
  height: 35rem;
}

@media (min-width: 768px){
  .render-living{
    height: 55rem;
    background-position: center center;
  }
}

/* Projects */
.project-section{
  margin: 0 auto;
}

.project-card{
  padding: 5rem 5rem 5rem 5rem;
  background-color: #F3EEE6;
}

@media (min-width: 700px){ 
  .project-card{
    padding: 8rem 7rem 8rem 7rem;
  }
}

@media (min-width: 1100px){ 
  .project-card{
    padding: 14rem 7rem 13rem 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.project-image{
  height: 25rem;
  overflow: hidden;
}

@media (min-width: 700px){ 
  .project-image{
    height: 40rem;
  }
}

@media (min-width: 1100px){ 
  .project-image{
    height: 50rem;
  }
}

#carouselExampleIndicators,
.carousel-inner,
.carousel-item {
  height: 100%; 
}

.carousel-item img{
  height: 100%;
  background-size: cover;
}

.project-text{
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  margin-top: 2.5rem;
}

@media (min-width: 700px){ 
  .project-text{
    padding: 0rem;
  }
}

@media (min-width: 1100px){ 
  .project-text{
    padding: 0 6rem;
  }
}

.project-text h2{
  color: var(--secondary);
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0;
}

@media (min-width: 768px){ 
  .project-text h2{
    font-size: 4rem;
  }
}

.project-text p{
  font-family: "Public Sans", sans-serif;
  margin-top: 2rem;
  font-size: 1.8rem;
  text-align: left;
  color: var(--secondary);
}

@media (min-width: 768px){ 
  .project-text p{
    font-size: 2.5rem;
  }
}

/* project card inverted*/
.project-card-inverted{
  background-color: var(--secondary);
}

.project-card-inverted .project-image{
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.project-card-inverted .project-text h2,
.project-card-inverted .project-text p{
  color: #FFF;
}


.project-card-inverted .project-text{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

#carouselExampleColibri,
.carousel-inner,
.carousel-item {
  height: 100%; 
}

/* render pool*/
.render-pool{
  background-image: url(/img/render-pool.avif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  height: 35rem;
}


@media (min-width: 768px){ 
    .render-pool{
      height: 55rem;
    }
}

@media (min-width: 1100px){ 
  .render-pool{
    height: 75rem;
  }
}

/*  Services */
.service-section{
  margin: 5rem 5rem 0 5rem;
}

@media (min-width: 700px){
  .service-section{
    margin: 10rem 9rem;
  }
}

@media (min-width: 1100px){ 
  .service-section{
    margin: 13rem 10rem;
  }
}

.service-section > h3{
  font-size: 2.5em;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.2rem;
  margin-bottom: 2rem;
  color: #000;
}


@media (min-width: 700px){ 
  .service-section > h3{
    font-size: 4rem;
  }
}

@media (min-width: 1100px){
  .service-section > h3{
    font-size: 6rem;
    margin-bottom: 3rem;
  }
}

.service-card{
  margin-bottom: 4rem;
}

@media (min-width: 768px){ 
  .service-card{
    margin-bottom: 7rem;
  }
}

@media (min-width: 1100px){ 
  .service-card{
    display: grid;
    grid-template-columns: repeat(2, 1fr);

  }
}

.service-card:last-child{
  margin-bottom: 0;
}

.service-card-img{
  height: 25rem;
  overflow: hidden;
}

@media (min-width: 768px){ 
  .service-card-img{
    height: 45rem;
  }
}

.service-card-img img{
  height: 100%;
}

.service-card-text{
  padding-left: 0rem;
}

@media (min-width: 1100px){ 
  .service-card-text{
    padding-left: 3rem;
  }
}

.service-card-text h3{
  margin-top: 2rem;
  font-size: 2rem;
  font-family: "Public Sans", sans-serif;
  font-weight: 800;
}

@media (min-width: 700px){ 
  .service-card-text h3{
    font-size: 4rem;
  }
}

@media (min-width: 1100px){ 
  .service-card-text h3{
    margin: 0;
  }
}

.service-card-text p{
  font-size: 1.5rem;
  font-weight: 500;
}

@media (min-width: 768px){ 
  .service-card-text p{
    font-size: 3rem;
  }
}

/* Budget */
.budget-section{
  margin: 7rem 3rem 3rem 3rem;
}

@media (min-width: 700px){ 
  .budget-section{
    margin: 5rem;
  }
}

.budget-section h3{
  font-size: 3rem;
}

@media (min-width: 768px){ 
  .budget-section h3{
    font-size: 4.5rem;
    font-weight: lighter;
  }
}

@media (min-width: 1100px){ 
    .budget-form{
      max-width: 100rem;
      margin: 5rem auto;
    }
}

.budget-form fieldset{
  border: 2px solid black;
}

.budget-form legend{
  background-color: #005485;
  width: 100%;
  padding: 2rem;
  color: #FFF;
  font-size: 2rem;
  text-align: center;
}

@media (min-width: 768px){ 
  .budget-form legend{
    padding: 2.5rem;
  }
}

.fieldset-content{
  padding: 4rem;
}

.field{
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
}

@media (min-width: 768px){ 
  .field{
    flex-direction: row;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px){ 
    .field input,
    .field .multi-select-container{
      margin-bottom: 2rem;
    }
}

.field input, 
.field textarea,
.field select{
  flex: 1;
  border: 1px solid #e1e1e1;
  padding: 1rem;
}

.field label:first-child {
  flex-basis: 5rem;
}

@media (min-width: 768px){ 
  .field label:first-child {
    flex-basis: 10rem;
  }
}

.input-wrapper{
  position: relative;
  width: 100%;
  flex: 1;
}

.input-wrapper input{
  width: 100%;
}

.multi-select-container {
  flex: 1;
  position: relative;
}

.dropdown-display {
  position: relative;
  border: 1px solid #ccc;
  padding: 1rem;
  cursor: pointer;
  background-color: #fff;
  font-size: 1.6rem;
}

.dropdown-display::after{
  position: absolute;
  content: '▼';
  right: 15px;
}

.dropdown-options {
  display: none; 
  position: absolute; 
  width: 100%; 
  border: 1px solid #ccc;
  border-top: none; 
  background-color: #fff;
  z-index: 10; 
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.dropdown-options.show {
  display: block; 
}

.dropdown-options label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.6rem;
  cursor: pointer;
}

.budget-btn-submit{
  display: flex;
  justify-content: center;
}

.budget-btn-submit button[type="submit"]{
  background-color: #8cbc00;
  text-transform: uppercase;
  margin-top: 2rem;
  color: #FFF;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 2rem;
  text-align: center;
  border: none;
  width: 35%;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.budget-form button:hover{
  background-color: #6a9500;
  transform: translateY(-1px);
}

/* Budget Form Errors*/
.field.error label{
  color: #b91c1c;
    font-weight: bold;
    font-weight: 600;
    transition: transform 0.2s;
}

.field.error input,
.field.error textarea{
  border: 1px solid #dc2626;
  background-color: #fef2f2;
}

.invalid-icon{
  position: absolute;
  right: 12px;
  top: 55%;
  background: #dc2626;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

@media (min-width: 768px){
  .invalid-icon{
    top: 25%;
  } 
}

/* Opacity */
.opacity-50{
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer*/
.site-footer{
  border-top:  #005075 solid 3px;
  padding-top: 10rem;
  margin-bottom: 8rem;
}

.grid-footer{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
}