/*=== RESET ======================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

/*====  VARIABLES ============================ */
:root {
  --header-height: 5.5rem;

  /* colors */
  --hue: 159;
  /* HSL color mode */
  --base-color: rgb(232, 184, 164);
  --base-color-second: rgb(232, 184, 164);
  --base-color-alt: rgb(0, 0, 0);
  --title-color: hsl(var(--hue) 41% 10%);
  --text-color: hsl(0 0% 46%);
  --text-color-light: hsl(0 0% 98%);
  --body-color: hsl(0 0% 98%);

  /* fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1rem;

  --title-font: 'Poppins' , sans-serif;
  --body-font: 'DM Sans' , sans-serif;
}

/*===  BASE ============================ */
html {
  scroll-behavior: smooth;
}

body {
  font: 400 1rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

.title {
  font: 700 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.button {
  background-color: var(--base-color);
  color: var(--text-color-light);
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.25rem;
  font: 500 1rem var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  background: var(--base-color-alt);
}

.divider-1 {
  height: 1px;
  background: rgb(232, 184, 164);
}

.divider-2 {
  height: 1px;
  background: rgb(232, 184, 164);
}

.divider-3 {
  height: 1px;
  background:rgb(232, 184, 164);
}

/*====  LAYOUT ============================ */
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 4rem;
}

.section header strong {
  color: var(--base-color);
}

#header {
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 2rem;
  display: flex;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--body-color);
  width: 100%;
}



/*=== LOGO ===================*/


/* Styling for the logo */
.logo {
  font-size: 2rem; /* Adjust the font size for the logo */
  font-weight: bold; /* Optional: Make logo bold */
  color: black; /* Adjust the color */
  text-align: center; /* Center the logo */
  display: block; /* Ensure the logo is on its own line */
}

.logo span {
  color: rgb(232, 184, 164); /* Optional: Style the 'wati' part differently */
}

/* Styling for the 'powered-by' text */
.powered-by {
  font-size: 0.7rem; /* Smaller font size */
  color: gray; /* Lighter text color */
  text-align: left; /* Align text to the left */
  margin-top: 15px; /* Increase margin to move the text further down */
  display: block; /* Ensure it takes a new line */
  width: 100%; /* Ensure it takes up the full width */
}


/*====  NAVIGATION ============================ */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover {
  color: var(--base-color);
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--base-color);

   position: absolute;
   left: 0;
   bottom: -1.5rem;

   transition: width 0.2s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

/* MOSTRAR MENU */
nav.show .menu {
  opacity: 1;
  visibility: visible;

  background: var(--body-color);

  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 4rem;
}

/* toogle menu */
.toggle {
  color: var(--base-color);
  font-size: 1.5rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;


  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;

}

/*=== HOME ===================*/
#home {
  overflow: hidden;
}

#home .container {
  margin: 0;
}

#home .image {
  position: relative;
}

#home .image::before {
  content: '';
  height: 100%;
  width: 100%;
  background: rgb(232, 184, 164);
  position: absolute;
  top: -16.8%;
  left: 16.7%;
  z-index: 0;
}

#home .image img{
  position: relative;
  right: 2.93rem;
}

#home .image img,
#home .image::before {
  border-radius: 0.25rem;
}

#home .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

/*====  ABOUT ============================ */
#about h2.title {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#about {
  background: white;
}

#about .container {
  margin: 0 auto;
  grid-auto-flow: column;
  gap: 0;
}


#about .image {
  position: relative;
}

#about .image::before {
  content: '';
  height: 100%;
  width: 100%;
  background: rgb(232, 184, 164);
  position: absolute;
  top: -8.3%;
  left: -33%;
  z-index: 0;
}

#about .image img{
  position: relative;
}

#about .image img,
#about .image::before {
  border-radius: 0.25rem;
}

#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: justify;
}

#about strong {
  color: var(--base-color);
}

/*==== SERVICES ============================ */
#services h2.title {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: .25rem solid var(--base-color);
  border-radius: .25rem .25rem 0 0;
  text-align: center;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  color: var(--base-color);
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}

.card p {
  text-align: center;
}

/*==== BLOGAO DA MARIA ============================ */
#blog-container {
  background: white;
}

#blog-container h2.title {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

.blogs.grid {
  gap: 1.5rem;
}

.blog {
  gap: 1rem;
  padding: 2rem 2rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-bottom: .25rem solid var(--base-color);
  border-radius: .25rem .25rem 0 0;
  text-align: justify;
}

.blog img {
  display: block;
  width: 100%; /* Ensures it adapts to container width */
  max-width: 500px; /* Prevents it from getting too large */
  height: auto; /* Maintains aspect ratio */
  margin-bottom: 1.5rem;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.25rem;
  object-fit: cover; /* Ensures the image fits without stretching */
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .blog img {
    max-width: 100%; /* Full width on smaller screens */
    object-fit: contain; /* Ensures the whole image is visible */
  }
}


.blog h3 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  text-align: center;
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.blog p {
  margin-bottom: 1.5rem;
  text-indent: 1.5rem;
  text-align: -webkit-center;
}


#blog-container .button {
  height: 2.5rem;
  display: flex;
  justify-content: center;
}



/*==== TESTIMONIALS ============================ */
/*border-bottom: 1px solid #6AB99D;*/
#testimonials h2.title {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#testimonials span {
  font-size: 20px;
  line-height: 30px;
  padding-right: 30px;
}

details > summary {
  list-style: none;
}

details {
  text-align: center;
  font-weight: bold;
  color: #0F241D;
  outline: none;
  padding: 20px;
  font-size: 20px;
  line-height: 30px;
  border-radius: 5px;
  transition: all ease-in-out .8s;
  cursor: pointer;
  border: 1px solid  rgb(232, 184, 164);

  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  appearance: auto;
}

details[open]{
  background: #ecf7f2 ;
}

#testimonials p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  color: rgb(0, 0, 0)
  
}




/* swiper */
.swiper-slide {
  height: auto;
  padding: 4rem 1rem;
}

.swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
}

.swiper-pagination-bullet-active {
  background: var(--base-color);
}

/*====  contact ============================ */
#contact {
  background: white;
}

#contact .grid {
  gap: 4rem;
}

#contact .text p {
  margin-bottom: 2rem;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul.grid {
  gap: 2rem;
}

#contact ul li {
  display: flex;
  align-items: center;
}

#contact ul li i {
  color: var(--base-color);
}

/*====  footer ============================ */
footer {
  background: var(--base-color);
}

footer.section {
  padding: 4rem 0;
}

footer .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer .brand p {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}
/* Targeting the span elements within the footer */
footer .brand span {
  color: white; /* Set the text color to white */
}



footer p {
  margin: 5px 0; /* Adjust margin between paragraphs */
}


footer i {
  font-size: 2rem;
  color: var(--text-color-light);
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
}

footer .social a{
  transition: .3s;
  display: inline-block;
}

footer .social a:hover {
  transform: translateY(-8px);
}

/*====  Back to top ============================ */
.back-to-top {
  background: var(--base-color);
  color: var(--text-color-light);

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: .5rem;
  clip-path: circle();

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%)
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


/*====  MEDIA QUERIES ============================ */
/* extra large devices: +1200  */
@media (min-width: 1000px) {
  /* reusable classes */
  .container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 10rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }*/

  .button {
    height: 3.125rem ;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  
  main {
    margin-top: var(--header-height);
  }

  /* home */

  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */

  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  /* services */
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* blog */
  .blog {
    grid-template-columns: 1fr 3fr;
  }

  .content {
    display: flex;
    flex-flow: column nowrap;
  }

  .content .button {
    margin-top:auto;
    width: 15rem;
    align-self: flex-end;
  }

  .blog h3 {
    font: 700 1.5rem var(--title-font);
  }

  .blog img {
    height: 200px;
    width: 300px;
  }

  .blog p {
    margin: auto 20px;
    line-height: 1rem;
  }





  
  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  #testimonials details {
    text-align:left;

  }

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  
}
/* large devices: +1023  */
/* large devices: +992  */
@media (min-width: 992px) {
  :root {
    --title-font-size: 2.25rem;
    --subtitle-font-size: 1.125rem;
  }
}
/* medium devices: +767  */
