@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-background-color: #fefefa;
  --primary-text-color: #242f40;
  --secondary-background-color: #242f40;
  --secondary-text-color: #fefefa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

/* -------------------------------------------------- HEADER ------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 45px 80px;
  background-color: var(--secondary-background-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

header.header--scrolled {
  padding: 26px 80px;
}

.menuBtn {
  position: absolute;
  left: 80px;
  background-color: transparent;
  border: 0;
}

.menuBtn:hover {
  cursor: pointer;
}

.logo {
  /* width: 80px;
  height: auto;
  margin: 0 auto; */
  text-decoration: none;
  color: var(--secondary-text-color);
}

.logoImg {
  display: none;
}

.logoTitle {
  font-weight: 600;
  font-style: normal;
}

.logoTitleFull {
  font-family: "Cinzel", system-ui;
}

.logoTitleShort {
  display: none;
  font-family: "Cinzel", system-ui;
  font-size: 30px;
}

/* ------------------------------------------------------ Main ------------------------------------------ */

main {
  background-color: var(--primary-background-color);
  color: var(--primary-text-color);
}

/* ---------------------------------------------------- Sidebar/Menu --------------------------------------------- */

.sidebar {
  height: 100%;
  width: 280px;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  background-color: var(--secondary-background-color);
  overflow-x: hidden;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  padding-top: 90px;
}

.sidebar.open {
  transform: translateX(0);
}

.menuLink {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 20px;
  color: var(--secondary-text-color);
  display: inline-block;
  transition: 0.3s;
}

.menuLink:hover {
  color: #a3a3a3;
}

hr {
  margin: 15px 0px;
}

.menuPray {
  padding: 10px 20px;
  color: var(--secondary-text-color);
}

.closeBtn {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 40px;
}

.closeBtn:hover {
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.menuPray {
  font-size: 16px;
}

/* Título de seção do menu lateral (estilo simples) */
.menuSectionTitle {
  margin: 18px 20px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  color: var(--secondary-text-color);
}

/* ------------------------------------------------------ Footer ------------------------------------------------------ */

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  background-color: var(--secondary-background-color);
  color: var(--secondary-text-color);
  padding: 27px 80px;
}

.footerLogo {
  font-size: 20px;
}

.footerLinks,
.footerSocialMedia {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footerTitle {
  font-size: 18px;
}

.footerText {
  font-size: 16px;
}

.fastLinks,
.menuLink {
  position: relative;
}

 .nav-active {
  font-weight: 600;
}

.fastLinks.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #efa00b;
  border-radius: 999px;
}

.menuLinkText {
  display: inline-block;
  position: relative;
}

.sidebar .menuLink.nav-active .menuLinkText::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: #efa00b;
  border-radius: 999px;
}

.fastLinks,
.socialMediaLinks {
  display: flex;
  text-decoration: none;
  color: var(--secondary-text-color);
  margin: 2px;
}

.footerIcon {
  margin-right: 5px;
}

/* -------------------------------------------- Responsividade --------------------------------------------------------- */
/* ---------------------------------- 900px ---------------------- */

@media (max-width: 900px) {
  .logoTitle {
    font-size: 26px;
  }

  /* Footer */
  footer {
    padding: 40px 30px;
    gap: 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .footerLinks {
    display: none;
  }

  .footerSocialMedia {
    align-items: center;
  }
}

/* ------------------------------ 500px ------------------------- */

@media (max-width: 500px) {
  header {
    text-align: center;
    padding: 40px 20px;
    .menuBtn {
      left: 20px;
      img {
        width: 35px;
      }
    }

    .logoImg {
      display: none;
    }
  }

  .logoTitleFull {
    display: none;
  }

  .logoTitleShort {
    display: inline;
  }

  /* MENU */
  .menuLink {
    font-size: 18px;
  }

  .menuPray {
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 30px 20px;
    font-size: 14px;
    gap: 20px;
  }

  .footerLogo {
    font-size: 14px;
  }

  .footerText {
    font-size: 14px;
  }

  .footerSocialMedia {
    align-items: flex-start;
    .footerTitle {
      font-size: 14px;
    }
  }
}
