/* =================== VARIÁVEIS =================== */
:root {
  /* Cores principais */
  --azul-principal: #2A5C82;
  --vermelho-destaque: #C3423F;
  --branco: #FFFFFF;
  --cinza-claro: #F5F5F5;
  --azul-escuro: #1A3A4D;

  /* Cores alternativas (neutras e tons escuros) */
  --clr-neutral-100: hsl(0, 0%, 100%);
  --clr-primary-100: hsl(205, 15%, 58%);
  --clr-primary-400: hsl(215, 25%, 27%);
  --clr-primary-800: hsl(217, 33%, 17%);
  --clr-primary-900: hsl(218, 33%, 9%);

  /* Estilo e transições */
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.1);
  --borda: 2px solid rgba(42, 92, 130, 0.1);
  --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =================== HEADER =================== */

.header {
  background-color: var(--clr-neutral-100);
  box-shadow: var(--sombra);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--clr-primary-400);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--azul-principal);
}

.menu-mobile {
  display: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--clr-primary-400);
  position: relative;
  transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--clr-primary-400);
  transition: transform 0.3s;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

.menu-mobile.is-active .hamburger {
  background-color: transparent;
}

.menu-mobile.is-active .hamburger::before {
  transform: rotate(45deg);
}

.menu-mobile.is-active .hamburger::after {
  transform: rotate(-45deg);
}

@media (max-width: 999px) {
    .nav-links-wrapper {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--clr-neutral-100);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links-wrapper.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .menu-mobile {
        display: block;
    }

    .button-doar {
        margin-top: 20px;
    }
}

body {
    font-family: Arial, sans-serif;
    background: #E2E2E2;
    color: #333;
}

/* NAVBAR */
  .navbar {
    width: 100%;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-left, .navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .navbar-right {
    margin-left: auto;
  }
  
  .navbar-right a {
    text-decoration: none;
    font-size: 14px;
    color: #1A3A4D;
    font-weight: bold;
    transition: 0.2s ease;
  }
  
  .navbar-right a:hover {
    color: #2793ff;
  }
  
  .logo {
    width: 120px;
  }
  
  /* BOTÃO DOAR */
  .button-doar {
    width: 135px;
    height: 47px;
    background: #2793FF;
    color: #fff !important;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
  }
  
  .button-doar:hover {
    background-color: #1A6ED8;
  }

/* EVENTO DESTAQUE */
.evento-destaque {
    width: 95%;
    margin: 20px auto;
    height: 500px;
    border-radius: 15px;
    background-color: white;
    padding: 20px;
}

.evento-destaque .container {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.evento-destaque img {
    width: 50%;
    height: 400px;
    margin-left: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.info {
    width: 50%;
    flex: 1;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-inscrever {
    display: inline-block;
    margin: 10px auto;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

/* CARROSSEL */
.outros-eventos {
    width: 95%;
    margin: 20px auto;
    height: auto;
    border-radius: 15px;
    background-color: white;
    padding: 20px;
}
.card-image{
  border-radius: 8px;
}
.carousel {
    position: relative;
    overflow: hidden;
    margin: 20px;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.card {
    background: #E8F2FB;
    border-radius: 20px;
    min-width: 500px;
    height: 600px;
    text-align: left;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    padding: 5px;
}

.card-header {
    width: 95%;
    height: 360px;
    margin: 10px auto;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    backdrop-filter: blur(10px);
}

.card-content {
    margin: 0 auto;
    width: 80%;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* FOOTER */
.footer {
  background-color: #2A5C82;;
  display: flex;
  color: #F5F5F5;
  justify-content: center;
  font-size: .7em;
  padding: 4em 1em 1em 1em;
}

.footer-container {
  min-width: 100%;
}

.footer a {
  color: #F5F5F5;
  text-decoration: none;
}

.footer h4 {
  font-weight: 800;
}

.footer-logo {
  width: 120px;
  border-radius: .48em;
}

.footer-columns {
  display: flex;
  justify-content: center;
  gap: 5em;

}

.footer-bottom {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-top: 1px solid #4190a3;
  margin: 5em auto 1em auto;
  padding: 1em;
  width: 50%;
}

.div-footer-information p {
  color: #E4F1FF;
  font-size: 1.45em;
}

.content-information-footer {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.info-curso {
  font-weight: bold;
}

/* =================== RESPONSIVIDADE =================== */

@media (max-width: 992px) {
    .evento-destaque .container {
        flex-direction: column;
        text-align: center;
    }

    .evento-destaque img {
        width: 80%;
        height: auto;
        margin: 0 auto 20px;
    }

    .info {
        width: 100%;
    }

    .carousel {
        padding: 0 40px;
    }

    .card {
        min-width: 400px;
    }
}

@media (max-width: 768px) {

    .evento-destaque {
        height: auto;
        padding: 15px;
    }

    .evento-destaque img {
        width: 100%;
    }

    .carousel {
        padding: 0 20px;
    }

    .carousel-track {
        gap: 20px;
    }

    .card {
        min-width: 300px;
        height: auto;
    }

    .card-header {
        height: 250px;
    }

    .footer-columns {
        flex-direction: column;
        text-align: center;
        gap: 2em;
    }

    .footer-bottom {
        width: 80%;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.5rem;
    }

    .carousel {
        padding: 0;
    }

    .carousel button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }

    .card {
        min-width: 100%;
    }
}