/* Estilos específicos para Clube do Livro */

/* Estilos para o cabeçalho do clube */
#clube-header {
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.clube-title {
  text-align: center;
  margin-bottom: 2rem;
}

.clube-title h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.clube-title p {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.clube-categories {
  margin: 2rem 0;
}

.clube-categories ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.clube-categories li {
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
  border: 1px solid var(--border-color);
}

.clube-categories li a {
  color: var(--text-color);
  text-decoration: none;
}

.clube-categories li.active {
  background-color: var(--primary-color);
}

.clube-categories li.active a {
  color: #fff;
}

.clube-categories li:hover {
  background-color: var(--hover-color);
}

.clube-categories li:hover a {
  color: #fff;
}

.clube-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.clube-search input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}

.clube-search button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clube-search button:hover {
  background-color: var(--hover-color);
}

/* Estilos para o grid de encontros */
.encontros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.encontro-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.encontro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.encontro-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-content p,
.highlight-text p {
  color: #3c3c3c;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.date-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .encontros-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .clube-categories ul {
    flex-direction: column;
    align-items: center;
  }

  .clube-title h1 {
    font-size: 2rem;
  }
}

/* Estilos para o destaque/próximo evento */
#clube-highlight {
  margin: 3rem 0;
}

.highlight-content {
  display: flex;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.highlight-image {
  flex: 1;
  min-height: 300px;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-text {
  flex: 1;
  padding: 2rem;
}

.highlight-text h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.highlight-text p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.highlight-text .button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.highlight-text .button:hover {
  background-color: var(--hover-color);
}

/* Estilos para os anos como abas */
.year-tabs {
  margin-top: 2rem;
}

.tab-container {
  margin-bottom: 1rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.7rem 1.5rem;
  /* background-color: #f1f1f1; */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Responsividade para o destaque */
@media (max-width: 992px) {
  .highlight-content {
    flex-direction: column;
  }

  .highlight-image {
    min-height: 200px;
  }
}
