
:root {
    --bg-color: #120A1F;
    --text-color: #FFFFFF;
    --header-footer-bg: #5B2A86;
    --surface-color: #1E1630;
    --primary-color: #5B2A86;
    --primary-hover: #7B3FB3;
    --link-color: #FFFFFF;
}

body.light-theme {
    --bg-color: #F3ECFF;
    --text-color: #1D1030;
    --header-footer-bg: #7E52B5;
    --surface-color: #FFFFFF;
    --primary-color: #6B3CA3;
    --primary-hover: #5B2A86;
    --link-color: #1D1030;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */

header {
    background-color: var(--header-footer-bg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    letter-spacing: 2px;
}

nav a {
    color: var(--link-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* ================= HERO ================= */

.hero {
    text-align: center;
    padding: 120px 20px 60px 20px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 20px;
}

/* BOTÃO ARREDONDADO */
.btn {
    display: inline-block;
    background-color: var(--header-footer-bg);
    color: var(--text-color);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* ================= IMAGENS ================= */

.imagens {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px 100px 20px;
    flex-wrap: wrap;
}

.img-box {
    width: 260px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(91, 42, 134, 0.6);
    transition: 0.4s ease;
}

.img-box img {
    width: 100%;
    display: block;
    transition: 0.4s ease;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    text-align: center;
}

.img-overlay h3 {
    color: var(--text-color);
    font-size: 1.4rem;
}

.img-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 42, 134, 0.9);
}

.img-box:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

/* ================= SEÇÃO SAIBA MAIS ================= */

.sobre {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.sobre-box {
    background-color: var(--surface-color);
    max-width: 900px;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(91, 42, 134, 0.7);
    transition: 0.3s ease;
    text-align: center;
}

.sobre-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(91, 42, 134, 0.9);
}

.sobre-box h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
}

.sobre-box p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ================= EVENTOS (eventos.html) ================= */

.eventos {
    flex: 1;
    padding: 80px 20px;
    text-align: center;
}

.eventos h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.evento-card {
    background-color: var(--surface-color);
    padding: 35px;
    margin: 25px auto;
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(91, 42, 134, 0.6);
    transition: 0.3s ease;
}

.evento-card h3 {
    margin-bottom: 15px;
}

.evento-card p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.evento-card a,
.evento-card a:visited {

    color: var(--link-color);

    color: #FFFFFF;

    font-weight: bold;
}

.evento-card a:hover {
    opacity: 0.8;
}

.evento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 42, 134, 0.9);
}

/* ================= FOOTER ================= */

footer {
    background-color: var(--header-footer-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.alunos p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ================= CALENDÁRIO ================= */

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.filtros {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filtros input {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  background-color: var(--surface-color);
  color: var(--text-color);
  font-size: 0.9rem;
}

.filtros input::placeholder {
  color: #999;
}




.theme-toggle-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.theme-toggle-button:hover {
    background-color: var(--primary-hover);
}
