@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Radley:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;     
}

html {
  width: 100vw;
  height: 100vh;
  font-size: 62.5%;
  color: white;
  overflow-x: hidden;
  margin: 0;
}

h1 {
  font-family: 'Caveat', cursive;
  font-size: 30px;
}
  
body {
  background: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.473));
  background-position: center;
  background-size: cover;
  background-position-y: 0px;
  background-repeat: no-repeat;
  min-height: 100vh;
}

header {
  width: 100%;
  height: 9.3vh;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffffdc;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  padding: 0 100px;
  transition: 0.6s;
}

header .logo {
  font-size: 1.8em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  width: 120px;
  height: auto;
  display: block;
}

header .navigation {
  position: relative;
  line-height: 75px;
  transition: 0.6s;
  transition-property: line-height;
  margin-left: auto; /* Added for right alignment */
}

header.sticky .navigation {
  line-height: 60px;
}

header .navigation .menu {
  position: relative;
  display: flex;
  justify-content: flex-end; /* Changed from 'center' to 'flex-end' */
  list-style: none;
  user-select: none;
}

header .menu-item {
  margin-left: 0; /* Added to remove default margins */
}

.menu-item a {
  color: #264d53;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
  font-weight: 600;
}

.menu-item a:hover {
  color:#2f9f99;
  transition: 0.2s;
}

/* Main Content Styles */
main {
  height: 93vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btns button {
  width: 250px;
  height: 60px;
  cursor: pointer;
  border: 1px solid white;
  color: rgba(255, 255, 255, 0.932);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  background-color: transparent;
  font-weight: bold;
  letter-spacing: 0.2rem;
  border-radius: 20px;
  position: relative;
  transition: 1.5s;
}

.btns button:before {
  content: ' ';
  border-radius: 20px;
  bottom: 0;
  left: 0;
  position: absolute;
  width: 0px;
  height: 60px;
  background-color: #af86447f;
  z-index: -1;
  transition: 1s;
}

.btns button:hover:before {
  width: 100%;
}

.btns button:hover {
  color: rgba(236, 236, 236, 0.932);
  border: none;
}

section {
  padding: 30px 100px;
}

.section-home {
  position: relative;
  min-height: 70vh;
  background: url(../img/banner1.png) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;  
}

.section-home:before {
  content: '';
  position: absolute;
  background: linear-gradient(to top, #f0f5f7, transparent);
  width: 100%;
  height: 80px;
  bottom: 0;
}

.section-two {
  min-height: 75vh;
  background: #f0f5f7;
  padding-top: 7vh;
}

.section-two h1 {
  color: #1c7080;
  font-size: 5rem;
  font-weight: 700;
  margin: 30px 0;
  font-family: "Lexend Peta", sans-serif;
  text-align: center;
}

/* Text and Image Section */
.texto-imagem {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.texto-imagem p {
  flex: 2;
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: justify;
  font-family: 'Outfit', sans-serif;
  color: #000;
  font-weight: 600;
  min-width: 300px;
}

.section-two h2 {
  font-size: 2.5rem;
  line-height: 1.6;
  text-align: center;
  color: #2f9f99;
  font-family: "Aleo", serif;
  margin: 2rem 0;
}

.texto-imagem .imagem {
  flex: 1;
  min-width: 300px;
}

.texto-imagem .imagem img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.espaco {
  margin: 68px 0;
}

/* Footer Styles */
.rodape {
  background-color: #dee4e4;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.rodape h1 {
  font-size: 15px;
  color: #264d53;
  font-weight: 100;
  margin: 0;
}

.rodape a i {
  font-size: 2rem;
  color:#264d53;
  margin-top: 10px;
}

/* Responsive Styles */
@media all and (max-width: 1080px) {
  .section-home, .section-two {
    padding: 30px 20px;
  }
  
  .section-two h1 {
    font-size: 5rem;
  }
  
  .texto-imagem {
    flex-direction: column;
  }
  
  .texto-imagem p, .texto-imagem .imagem {
    flex: 1 1 100%;
  }
  
  header {
    padding: 15px 20px;
  }
  
  .btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  header .navigation .menu {
    position: fixed;
    display: block;
    background: rgba(22, 22, 22, 0.9);
    min-width: 250px;
    height: 9.3vh;
    top: 0;
    right: -100%;
    padding: 90px 30px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
    justify-content: center; /* Center menu items in mobile */
  }

  header.sticky .navigation {
    line-height: 75px;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
    margin: 15px 0;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
    margin-left: 20px;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-btn, .close-btn {
    display: block;
    z-index: 1000;
  }

  .section-two h1 {
    font-size: 3.5rem;
  }
  
  .section-two h2 {
    font-size: 1.8rem;
  }
}