/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f5f7fa;
  color: #333;
  padding-bottom: 4rem;
}

header {
  background: #002f4b;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.faixa-luto {
    position: fixed;
    top: 0;
    right: 0;
    width: 80px;
    height: 200px;
    background: black;
    transform: rotate(45deg);
    transform-origin: top right;
    z-index: 9999;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 50px;
  border-radius: 4px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffc107;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

h1, h2 {
  color: #002f4b;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #004b6e, #008cba);
  color: white;
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 3rem;
}

/* Eventos como Cards */
.eventos-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.eventos-lista li {
  background: white;
  padding: 1.5rem;
  border-left: 5px solid #007bff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  list-style: none;
}

.galeria-imagens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.galeria-imagens img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.galeria-imagens img:hover {
  transform: scale(1.03);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Call to Action Banner */
.cta-banner {
  background: #ffc107;
  color: #333;
  text-align: center;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 10px;
  font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #003b5c;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
