/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Cores */
:root {
  --primary-color: #898989;
  --secondary-color: #B9A491;
  --text-color: #ffffff;
}

.header {
  background-color: var(--primary-color);
  color: white;
  box-shadow: #0c0c0c 2px 2px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  height: 100px;
  top: 0;
  z-index: 10;
}

.logo-img {
  height: 100px;
  width: auto;
}

.navigation a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.navigation a:hover {
  text-decoration: underline;
}

/* Imagem de fundo do conteúdo principal */
.main-content {
  background-image: url('imgs/fundovolakas.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 120px;
  padding-bottom: 60px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* Container dos cards */
.card-container {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Card de introdução */
.intro-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-text {
  padding: 30px;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.card-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.card-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: white;
}

.title-card-presentation {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.title-card {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.text-min {
  text-align: center;
  font-size: 0.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.description-card {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

/* Cards de apresentação */
.card-presentation {
  display: flex;
  flex-direction: row;
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-card-presentation {
  width: 30%;
  height: 250px;
  object-fit: cover;
  padding-top: 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-presentation .card-text {
  padding: 60px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
}

.card-presentation.reverse {
  flex-direction: row-reverse;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer p {
  margin: 5px 0;
}

.contato-link-footer {
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}

@media (max-width: 530px) {
  .card-presentation,
  .card-presentation.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-presentation .card-text {
    width: 100%;
  }

  .title-card {
    white-space: nowrap;
    font-size: 1.5rem;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .card-presentation,
  .card-presentation.reverse {
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    text-align: center;
  }

  .card-presentation .card-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    padding: 1rem;
  }

  .image-card-presentation {
    width: 90%;
    height: auto;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
