@import url(./global.css);

body{
    font-size:16px;
    line-height: 1.6;
    font-family: "Nunito", sans-serif;
}

ul, li, ol {list-style:none;}

h1, h2, h3, h4, h5, h6 {
    font-family: "Chewy", Impact, 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
}

:focus-visible{
    outline: 5px solid var(--pinkPrimary);
    outline-offset: 2px;
}

/* Header */

header{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 15%;
    padding: 2% 5%;
    background-color: var(--orangePrimary);
    z-index: 999;
    border-bottom: 5px solid var(--purplePrimary);
}

header>img{
    width: 10%;
}

header>nav{
    display:flex;
}

header>nav>a{
    text-align: center;
    display: flex;
    align-items: flex-end;
    padding:4% 15%;
    margin: -10px;
    font-size: 1em;
    text-transform: capitalize;
    border-bottom: 3px solid var(--purplePrimary);
}

header>nav>a:hover{
    border-bottom: 5px solid var(--purplePrimary);
    transition: 0.3s ease-in-out;
}

label.hamburger {
   display: block;
   width: 40px;
   height: 60px;
   position: relative;
   cursor: pointer;
}

input#hamburger {
  display:none
}

.line {
   position: absolute;
   height: 6px;
   width: 100%;
   background: white;
   transition: 0.5s;
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

.sidebar {
  position: fixed;
  top: 0;
  left:0;
  width: 220px;
  height: 100%;
  background: var(--purplePrimary);
  border-right:3px solid var(--orangePrimary);
  color: white;
  padding-top: 60px;
  transition: transform 0.3s ease;
  transform: translateX(-100%);
  z-index: 1000;
}

.sidebar.visible {
  transform: translateX(0);
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
}

.sidebar nav ul li {
  padding: 16px;
}

.sidebar nav ul li a {
  color: #fff;
  text-decoration: none;
}

.sidebar>nav>ul>li>a{
    padding:10px;
    border-bottom: 2px solid black;
}

.hidden {
  display: none;
}

/* Overlay styles */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* overlay ativo */
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* main */

#mainFilter{
  display:flex;
  height:100%;
  width: 100%;
  background: rgba(234, 169, 77, 30%);
  position: absolute;
}

#mainLogo{

  left:0;
  width: 30%;
  margin:7% 6%;
}

#firstMain{
    background-image: url(../imgs/imagensATVs/isa-pintando-rosto-de-criança.jpeg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: right;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding:6%;
    width: 100%;
    height: 100%;
}

/* onboard */

.onboard{
    display:flex;
    justify-content: center;
    position: relative;
    align-items: center;
    flex-direction: column;
    background-color: var(--purplePrimary);
    color:white;
    padding:10%;
}

#onboardImgElementRight{
    display:flex;
    position: absolute;
    width: 20%;
    right:10%;
}
#onboardImgElementLeft{
    display:flex;
    position: absolute;
    width:20%;
    left:10%;
}

#transitionBump{
    width: 100%;
    height: 15%; 
    display:flex; 
    position: absolute;
    top:-14%;
}
#transitionBumpAboutUs{
    width: 100%;
    height: 5%; 
    display:flex; 
    position: absolute;
    top:-4%;
}

.onboardText{
    text-align: center;
    width: 50%;
}

/* services */

.services{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--orangePrimary);
    padding:6%;
    position: relative;
}

#transitionBumpYellow{
    width: 100%;
    height: 2%; 
    display:flex; 
    position: absolute;
    top:-2%;
}

.servicesText{
    text-align: center;
}

.serviceButtons{
    display:flex;
    justify-content: center;
    align-items: center;
    position:relative;
}

.servicesGrid{
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}

.servicesCard{
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border: 2px solid var(--pinkPrimary);
    border-radius: 40px;
    padding:10%;
    width: 70%;
    margin: 5% 30%;
    background-color: var(--purplePrimary);
    color:white;
    box-shadow: 0px 10px 20px rgb(44, 46, 101);
}

.servicesCard:hover{
    transform: translateY(-1%);
}

.servicesCard>img{
    width: 30%;
}

.otherService{
    background-color: var(--purplePrimary);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding:5%;
    color:white;
}

.otherService>h3, .otherService>h4{
    color:white;
    padding:2% 0px;
}

.otherServiceGrid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:2%;
}

.otherServiceCard{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--orangePrimary);
    border: 3px solid var(--pinkPrimary);
    padding:5%;
    width: 100%;
}

.otherServiceCard>img{
    width: 100%;
}

.otherServiceCard>h4{
  text-align: center;
  font-size: 1.5em;
}

.otherServiceMisc{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:20%;
}
/* galery */

.galery{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--pinkPrimary);
}

.galery>h2{
    font-size: 2em;
    margin-top:5%;
}

.galeryGrid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}

.galeryGrid>img{
    width: 80%;
    margin:5%;
    transition: 1s ease-in-out;
    border-radius: 30% 60% 20% 40%;
    border: 0px solid var(--orangePrimary);
}

.galeryGrid>img:hover{
    transition: 1s ease-in-out;
    border-radius: 40% 20% 60% 30%;
    border: 6px solid var(--orangePrimary);
}

/* footer */

footer{
    background-color: var(--orangePrimary);
    border-top: 5px solid var(--purplePrimary);
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding:5%;
}

footer>img{width: 40%;}

.footerNav>ul>li>a{
    font-size: 1em;
    text-transform: capitalize;
    border-bottom: 2px solid var(--purplePrimary);
}

.footerSocial>nav>a>img{
    width: 45%;
    background-color: var(--pinkPrimary);
    padding:7%;
    border-radius: 20%;
    border:none;
}

/* Page services */

#secondMain{
    background-image: url(../imgs/imagensATVs/atividade-em-ação-do-pano-gigante-em-hotel-diferente.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode:saturation (50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding:6%;
    width: 100%;
    height: 100%;
}

main>h1{
    display:flex;
    justify-content: center;
    align-items: center;
    padding:15%;
    font-size: 3em;
    color: white;
    text-shadow: 0px 0px 3px black;
}

/* servuce buttons grid */

.serviceChoice{
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--orangePrimary);
    color: white;
    padding:5%;
}

.serviceButtons{
    background-color: var(--orangePrimary);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.serviceButtons>h2{
    text-align: center;
}

.buttonGrid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-content: center;
    gap: 10%;
}

.buttonGrid>button{
    font-size: 1.2em;
    padding: 3% 10%;
    text-align: center;
    width: 200px;
    transition: 0.2s ease-in-out;
}

.buttonGrid>button:hover{
    transform:scale(1.1);
}

.buttonGrid>button:active{
    transform: scale(1);
}

/* services */

.hidden { display: none; } /*do not touch!!!!*/
.visible { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1% 15%;
    background-color: var(--purplePrimary);
    transition: 0.3s ease-in-out;
    animation: dropDown 0.3s linear; 
}

@keyframes dropDown {
    0%{
        transform: translateY(-5%);
        opacity: 0%;
    }
    100%{
        transform: translateY(0%);
        opacity: 100%;
    }
}

.visible>img{
    width: 30%;
}

.serviceText{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    padding:5%;
    text-align: center;
    color: white;
}

/* about us */

#thirdMain{
    background-image: url(../imgs/imagensATVs/recreadora-interagindo-com-meninas-sentadas-ALT.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode:saturation (50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding:6%;
    width: 100%;
    height: 100%;
}

.sobreNos{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:relative;
    background-color: var(--orangePrimary);
}


.whatAbout{
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: var(--purplePrimary);
    color: white;
    width: 100%;
    padding:5%;
}

.whatAbout>img{
  width: 50%;
  padding:2% 0%;
}

.whatAbout>p{
    text-align: center;
    width: 50%;
}

.listAbout{
  display:flex;
  align-items: center;
  justify-content: center;
  background-color: var(--orangePrimary);
}

.listAbout>img{
  width:45%;
  padding: 2% 3%;
  border-radius: 50% 30% 60% 40%;
}

.listAboutText{
    display:flex;
    flex-direction: column;
    width: 40%;
}

.listAboutText>p{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.listAboutText>ul{
    margin: 2% 0px;
    padding:0px 5%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.compromisse{
    display:flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--purplePrimary);
    color: white;
    padding:5%;
    width: 100%;
}

.compromisse>p{
    width: 50%;
    text-align: center;
}

.compromisse>img{
  width: 30%;
  padding:2%;
}

/* buttons */

#buttonOrange{
    padding:1% 5%;
    background-color: var(--orangePrimary);
    color:black;
    font-size: 1.7em;
    font-family: "Chewy", sans-serif;
    margin:20px;
    cursor:pointer;
}
#buttonPurple{
    padding:1% 5%;
    background-color: var(--purplePrimary);
    color:white;
    font-size: 1.2em;
    font-family: "Chewy", sans-serif;
    margin:10px;
    cursor:pointer;
}

/* QUERRY querry */

@media (min-width: 325px){
    h1, h2, h3, h4, h5, h6 {
        font-size:1.3em;
    }
    header>nav{
        display:none;
    }
    header>a{
        display:none;
    }

    main>img{
        width: 50%;
    }

    .servicesGrid{
        display: grid;
        grid-template-columns: 1fr;
    }
    .galeryGrid{
        display:grid;
        grid-template-columns: 1fr;
        padding: 10px 5% 0px 5%;
    }
    .otherServiceGrid{
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 40%;
}
#onboardImgElementRight{
    display:none;
}

#onboardImgElementLeft{
    display:none;
}

#transitionBumpAboutUs{
    display:none;
}

.serviceText{
    width: 80%;
}

.serviceText>img{
    width: 30%;
}

.otherServiceMisc{
  flex-direction: column;
}

    .hidden { 
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background-color: var(--purplePrimary);
        padding: 5% 0%;
     }
     .hidden>img{
        width:50%;
     }
     .serviceText>img{
      display:none;
     }

     .buttonGrid{ display:none;}

     .visible{flex-direction: column;}

     .offerList{
      flex-direction: column;
     }
     .whatAbout{
      padding:7% 5%;
     }
     .whatAbout>p{
    text-align: center;
    width: 70%;
}

.listAbout{
  flex-direction: column;
}

.listAbout>img{
  width: 50%;
}

.compromisse{
      width: 100%; 
      padding:0%;
    }

    #buttonOrange{
        padding:2% 10%;
        font-size: 1.25em;
    }
    #buttonPurple{
       padding:2% 10%;
        font-size: 1.25em; 
    }
    footer{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding:10%;
        width: 100%;
    }
    
}

@media (min-width:600px){
    h1, h2, h3, h4, h5, h6 {
        font-size:1.2em;
    }
    header>nav{
        display:none;
    }
    header>a{
        display:none;
    }
    
    main>img{
        width: 50%;
    }
    #onboardImgElementRight{
    display:flex;
    position: absolute;
    width: 25%;
    right:5%;
}
#onboardImgElementLeft{
    display:flex;
    position: absolute;
    width:25%;
    left:5%;
}
    .servicesGrid{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .galeryGrid{
    display:grid;
    grid-template-columns: 2fr;
    padding: 10px 5% 0px 5%;
}

.otherServiceGrid{
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 10%;
}
    
     .buttonGrid{ display:none;}

     .whatAbout{
      padding:5%;
     }
     .whatAbout>p{
    text-align: center;
    width: 50%;
}

.hidden>img{
        width:30%;
     }
     #div1>img, #div2>img,#div3>img,#div4>img,#div5>img,#div6>img{
      display:block;
      width: 50%;
     }

    .compromisse{
      width: 100%; 
      padding:0%;
    }

    .otherServiceMisc{
      flex-direction: row;
    }

    #buttonOrange{
        padding:2% 5%;
        font-size: 1.5em;
    }
    #buttonPurple{
       padding:2% 5%;
        font-size: 1.25em; 
    }
    #transitionBumpAboutUs{
    display:flex;
}

footer{
    display:grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding:5%;
}
}

@media (min-width: 1024px){

    h1, h2, h3, h4, h5, h6 {
        font-size:2em;
    }
    header{
        position:fixed;
        width: 100%;
    }
    header>nav{
    display:flex;
    gap:20px;
}
    header>a{
            display:flex;
        }
        #onboardImgElementRight{
    display:flex;
    position: absolute;
    width: 20%;
    right:10%;
}
#onboardImgElementLeft{
    display:flex;
    position: absolute;
    width:20%;
    left:10%;
}

.listAbout>img{
  width: 45%;
}

    .servicesGrid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}
    .galeryGrid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}

.otherServiceGrid{
    grid-template-columns: repeat(4, 1fr);
}
.hidden { display: none; } /*do not touch!!!!*/
.visible { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row; 
}
.buttonGrid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 10%;
}

.offerList{flex-direction: row;}

.whatAbout{
      padding:5%;
     }
     .whatAbout>p{
    text-align: center;
    width: 50%;
}

.listAbout{
  flex-direction: row;
}




.compromisse{
  margin-top: 0%;
      padding:5%;
    }


footer{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding:5%;
    width: 100%;
}
 .sidebar,
  #toggleSidebar {
    display: none;
  }

.hidden {
  display: none;
}

    

}

/* ------------------------- */
/* 📱 1. Celular pequeno (320px–374px) */
/* ------------------------- */
@media (max-width: 374px) {
  body {
    font-size: 14px;
  }

  h1, h2, h3 {
    font-size: 1.2em;
  }

  header{
    position: fixed;
    right:0;
    top:-5%;
    background: none;
    border:none;
}

  .servicesCard {
    width: 90%;
    padding: 8%;
    margin: 5% auto;
  }
  #onboardImgElementRight{
    display:none;
}

#onboardImgElementLeft{
    display:none;
}

#transitionBumpAboutUs{
    display:none;
}


  .galeryGrid,
  .servicesGrid,
  .otherServiceGrid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

}

/* ------------------------- */
/* 📱 2. Celular médio (375px–599px) */
/* ------------------------- */
@media (min-width: 375px) and (max-width: 599px) {
  h1, h2, h3 {
    font-size: 1.3em;
  }

  header{
    position: fixed;
    right:0;
    top:-5%;
    background: none;
    border:none;
}

  .servicesCard {
    width: 85%;
    padding: 10%;
  }

  .serviceText {
    width: 90%;
  }

  .galeryGrid,
  .servicesGrid,
  .otherServiceGrid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------- */
/* 🧻 3. Tablet (600px–1023px) */
/* ------------------------- */
@media (min-width: 600px) and (max-width: 1023px) {
  h1, h2, h3 {
    font-size: 1.5em;
  }

  header{
    position: fixed;
    right:0;
    top:-5%;
    background: none;
    border:none;
}

  header > nav {
    display: none;
  }

  header > a {
    display: none;
  }

  main > img {
    width: 50%;
  }

  #onboardImgElementRight {
    display: flex;
    position: absolute;
    width: 25%;
    right: 5%;
  }

  #onboardImgElementLeft {
    display: flex;
    position: absolute;
    width: 25%;
    left: 5%;
  }

  .servicesGrid,
  .galeryGrid,
  .otherServiceGrid {
    grid-template-columns: 1fr 1fr;
  }

  .servicesCard {
    width: 80%;
  }

  .buttonGrid {
    display: none;
  }

  #buttonOrange,
  #buttonPurple {
    padding: 2% 5%;
    font-size: 1.25em;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding: 5%;
  }
}

/* ------------------------- */
/* 💻 4. Desktop (1024px–1439px) */
/* ------------------------- */
@media (min-width: 1024px) and (max-width: 1439px) {
  h1, h2, h3 {
    font-size: 1.8em;
  }

  header {
    position: fixed;
    width: 100%;
  }

  header > nav {
    display: flex;
    gap: 20px;
  }

  header > a {
    display: flex;
  }

  #onboardImgElementRight {
    display: flex;
    position: absolute;
    width: 20%;
    right: 10%;
  }

  #onboardImgElementLeft {
    display: flex;
    position: absolute;
    width: 20%;
    left: 10%;
  }

  .servicesGrid,
  .galeryGrid,
  .otherServiceGrid {
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
  }

  .servicesCard {
    width: 70%;
  }

  .otherServiceGrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .buttonGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 10%;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 5%;
    width: 100%;
  }

  .sidebar,
  #toggleSidebar {
    display: none;
  }

  .hidden {
    display: none;
  }

  .visible {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ------------------------- */
/* 🖥️ 5. Telas grandes (1440px+) */
/* ------------------------- */
@media (min-width: 1440px) {
  h1, h2, h3 {
    font-size: 2em;
  }

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

  .otherServiceGrid{
    grid-template-columns: repeat(4,1fr);
  }

  .servicesCard {
    width: 80%;
  }

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