/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: white;
}

/* Header */
header {
  background-color: #fff;
  color: #000;
  padding: 10px 0;
}

header .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 5px;
  position: relative;
}

.logo {
  height: 70px;
  width: auto;
  max-width: 100%;
}

.right-group {
  display: flex;
  align-items: center;
  gap: 20px;
  order: 1;
  flex-grow: 1;
  justify-content: flex-end;
}

/* Menu */
.menu {
  order: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-direction: row;
  position: relative;
}

.menu ul {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #555;
}

.login-icon {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000;
  cursor: pointer;
  text-decoration: none;
}

.login-icon img {
  width: 32px;
  height: 32px;
}

.menu-toggle,
.menu-close {
  display: none;
}

/* Banner destaque */
.banner-destaque {
  position: relative;
  width: 100vw;
  height: 400px;
  margin: 5px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.banner-destaque::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.conteudo-banner {
  border-radius: 12px;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.conteudo-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.conteudo-banner p {
  font-size: 1.2rem;
}

/* Botão Saiba Mais */
.btn-saiba-mais {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 12px 24px;
  background-color: #ff4500;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.btn-saiba-mais:hover {
  background-color: #e03e00;
  transform: translateY(-3px);
}

/* Conteúdo principal */
main {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.fotos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.fotos img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Imagem grande */
.fotos2 {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.fotos2 img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fotos2 img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Cards novidade com efeito hover */
.fotosnovidade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  color: white;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.foto-item {
  text-align: center;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #101826;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.foto-item img {
  width: 100%;
  height: 200px;       /* altura do card */
  object-fit: contain; /* mantém a imagem inteira dentro do card */
  background-color: #101826; /* opcional: fundo caso sobre espaço */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/*.foto-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}*/

.foto-item h3 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.foto-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.foto-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* Rodapé */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 14px;
}

footer p {
  margin: 6px 0;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ccc;
  text-decoration: underline;
}

/* Responsividade básica */
@media (max-width: 768px) {
  .fotosnovidade {
    grid-template-columns: repeat(2, 1fr);
  }
  .fotos {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Ajuste para tablets */
@media (max-width: 768px) {
  .foto-item img {
    height: 180px;
  }
}

/* Ajuste para celulares */
@media (max-width: 480px) {
  .foto-item img {
    height: 150px; /* menor altura para caber na tela pequena */
  }
}