/* No scroll when Burger Menu is ON (JS) */

.no-scroll {
  overflow: hidden;
  height: 100vh;
}
/* URL ACTIVE (JS) */
#nav-menu a.active {
  color: var(--second-accent-color);
}
.dropdown-line {
  display: none;
}

/* ================
    Navigation Bar
   ================ */
.navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 99;

  width: 100%;
  padding: 2em 5em;
  background: transparent;
  transition: background 0.2s, padding 0.2s 0.2s;
}
#navigationWrapper.scrolled {
  padding: 0.75em 5em;
  background-color: var(--background-color-dark);
}
.logo img {
  width: 15em;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.nav-links-list {
  display: flex;
  gap: 1em;
  text-transform: uppercase;
}
.nav-links-list li a {
  padding: 0.8em 0.5em;
  font-weight: bold;
  font-size: var(--fs-h6);
  color: var(--white-text-color);
  transition: 0.2s;
}
.nav-links-list li a:hover {
  color: var(--second-accent-color);
}

/* Drop down links */
.has-dropdown {
  position: relative;
}
.dropdown-title {
  position: relative;
  padding: 0.8em 1em 0.8em 0em;
  font-weight: bold;
  font-size: var(--fs-h6);
  cursor: default;
  color: var(--white-text-color);
}
.dropdown-title::before {
  content: "▾";
  position: absolute;
  right: 0;
  top: 25%;
  font-size: 1em;
  transition: 0.3s ease;
}
/* dropdown initially hidden with opacity + visibility */
.dropdown {
  position: absolute;
  top: 150%;
  left: 0;
  background-color: var(--background-color-light);
  padding: 0.8em 1em;
  border-radius: 0.25em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.3s ease, visibility 0.2s ease;
  z-index: 100;
  min-width: 100%;
}
.nav-links-list .dropdown li a {
  display: block;
  padding: 0.4em 0;
  color: var(--background-color-dark);
  white-space: nowrap;
}
.dropdown li a:hover {
  color: var(--second-accent-color);
}
/* SHOW dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .dropdown-title::before {
  transform: rotate(180deg);
}

/* Donation Button */
#donation-btn {
  padding: 0.5em 1em;
  background-color: transparent;
  border: 1px solid var(--white-text-color);
}
#donation-btn:hover {
  background-color: var(--donation-color-hover);
  border: 1px solid var(--donation-color-hover);
  color: var(--white-text-color);
}
.nav-links .icon-design {
  display: none;
}


/* ========
    Footer
   ======== */
.big-container-footer {
  padding: 6.25em 0 2em;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  width: 88%;
  margin: 0 auto;
}
.footer-section {
  flex: 1 1 220px;
  margin: 1.5em;
}
.footer-section a {
  color: var(--small-text-color-dark);
  transition: 0.2s;
}
.footer-section p {
  color: var(--small-text-color-dark);
  transition: 0.2s;
}
.footer-section a:hover {
  text-decoration: underline;
  color: var(--white-text-color);
}
.footer-section h4 {
  font-size: var(--fs-body);
  margin-bottom: 0.8em;
  color: var(--second-accent-color);
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 0.8em;
}
.footer-section ul li a {
  color: var(--small-text-color-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-section ul li a:hover {
  color: var(--white-text-color);
  text-decoration: underline;
}
/* Footer socials icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.social-icons svg {
  fill: var(--white-text-color);
  transition: .2s;
}
.social-icons svg:hover {
  fill: var(--second-accent-color);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;

  max-width: 1200px;
  width: 88%;
  margin: 0 auto;

  margin-top: 2em;
  font-size: 0.8rem;
  border-top: 1px solid var(--small-text-color-dark);
  padding-top: 0.8em;
  color: var(--small-text-color-dark);
}
.footer-bottom a {
  color: var(--small-text-color-dark);
}
.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 1150px) {
  .logo img {
    width: 12em;
  }
  .nav-links-list li a {
    font-size: var(--fs-body);
  }
}

@media (max-width: 1025px) {
  .navigation-wrapper {
    padding: 1.5em 2em;
    background-color: transparent;
  }
  #navigationWrapper.scrolled {
    padding: 0.8em 2em;
  }
  #nav-menu a.active {
    color: var(--second-accent-color) !important;
  }
  .logo img {
    width: 17em;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 5em 2em 2em 2em;

    background-color: var(--background-color-dark);
    position: fixed;
    min-height: 100%;
    max-height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;

    transition: 0.3s;
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav-links-list li a {
    font-size: var(--fs-h4);
    padding: 0.2em 0;
    display: block;
  }

  /* Drowp down for mobile */
  .dropdown-line {
    display: block;
    width: 100%;
    background-color: var(--small-text-color-dark);
    opacity: 0.5;
    margin-top: 1em;
  }
  .has-dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-title {
    font-weight: bold;
    font-size: var(--fs-h5);
    padding: 0.5em 0 0.3em;
    color: var(--small-text-color-dark);
  }
  .dropdown-title::before {
    display: none;
  }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    transition: none;
  }
  .dropdown li a {
    padding: 0.2em 0;
    font-size: var(--fs-h4);
    color: var(--white-text-color) !important;
  }
  .dropdown li a:hover {
    color: var(--second-accent-color) !important;
  }
  #donation-btn {
    margin-top: 1em;
    display: inline-block;
    padding: 0.2em 0.5em;
    background-color: var(--donation-color);
    border: none;
  }
  #donation-btn:hover {
    background-color: var(--donation-color-hover);
    border: none;
  }
  
}
@media (max-width: 800px) {
  .logo img {
    width: 13em;
  }
  .nav-links-list li a {
    font-size: var(--fs-h2);
  }
  .dropdown-title {
    font-size: var(--fs-h3);
  }
  .dropdown li a {
    padding: 0.2em 0 !important;
    font-size: var(--fs-h2);
    color: var(--white-text-color) !important;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom a {
    margin-top: 1em;
  }
  .nav-links-list li a {
    font-size: var(--fs-h3);
  }
  .dropdown-title {
    font-size: var(--fs-h4);
  }
  .dropdown li a {
    font-size: var(--fs-h3);
  }
}
