/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow: hidden;
  color: white;
}

/* ===== Vídeo de fundo ===== */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Camada escura sobre o vídeo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* ===== Cabeçalho ===== */
.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  position: relative;
  margin-top: -20px;
  margin-left: 30px;
  margin-right: 30px;
}

.logo {
  width: 180px;
}

.menu a {
  margin-left: 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  color: #00d9ff;
}

/* ===== Título ===== */
.titulo {
  font-size: 2rem;
  text-align: left;
  margin: 30px 90px 10px;
  z-index: 1;
}

/* ===== Container principal ===== */
.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 40px;
  height: calc(100vh - 140px);
  position: relative;
  z-index: 1;
  margin-left: -60px;
}

/* ===== Botões de serviço ===== */
.servicos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.servicos button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  min-width: 220px;
}

.servicos button:hover {
  background-color: #00d9ff;
  color: #000;
}

/* ===== Calendário ampliado ===== */
.calendario {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 25px;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  color: white;
}

.calendario .cabecalho {
  background-color: coral;
  border-radius: 10px 10px 0 0;
  padding: 10px 0;
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  justify-content: space-around;
}

.calendario .grade {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 15px;
  font-size: 1rem;
  gap: 5px;
}

.calendario .grade div {
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.calendario .active {
  background: #00d9ff;
}

.calendario .past {
  opacity: 0.3;
}

/* ===== Horários em 4 colunas ===== */
.horarios {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.horarios img {
  width: 40px;
  margin-bottom: 20px;
}

.horas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 12px;
}

.horas span {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.horas span:hover {
  background-color: #00d9ff;
  color: #000;
}

/* ===== RESPONSIVIDADE ===== */

/* Responsivo para telas menores que 480px */
@media (max-width: 480px) {
  /* Ajuste o fundo */
  #background-video {
    object-position: center center;
    width: 50%;
    height: 100%;
  }

  /* Ajuste no logo */
  .logo {
    width: 180px;
    margin-left: -40px;
  }

  /* Menu */
  .menu {
    margin-top: 10px;
    font-size: 12px;
    display: grid;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 30px;
    left: 90%;
    transform: translateX(-50%);
    padding: 10px;
    gap: 15px;
    text-align: right;
  }

  /* Ajuste do slogan */
  .slogan-box {
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
  }
  .titulo {
    font-size: 1.2rem;  /* Ajuste para telas pequenas */
    margin-top: 20px;
    margin-left: 20px;
  }

  /* Ajuste para os cards */
/* Ajuste para os cards */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;  /* Habilita a rolagem vertical */
  color: white;
}

/* Vídeo de fundo */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Camada escura sobre o vídeo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* Cabeçalho */
.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  position: relative;
  margin-top: -20px;
  margin-left: 30px;
  margin-right: 30px;
}

.logo {
  width: 180px;
}

.menu a {
  margin-left: 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  color: #00d9ff;
}

/* Título */
.titulo {
  font-size: 2rem;
  text-align: left;
  margin: 30px 90px 10px;
  z-index: 1;
}

/* Container principal */
.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 40px;
  position: relative;
  z-index: 1;
  margin-left: -60px;
  padding-bottom: 100px; /* Ajuste para que o conteúdo não fique cortado na parte inferior */
}

/* Botões de serviço */
.servicos {
  display: flex;
  flex-direction: column;  /* Cards empilhados verticalmente */
  gap: 15px;
  margin-top: 20px;
}

.card {
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  text-align: center;
  transition: transform 0.3s;
  backdrop-filter: blur(4px);
  margin-top: 10px;
  margin-bottom: 30px;
}

.card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.card span {
  display: block;
  padding: 8px;
  font-size: 0.85rem;
  font-weight: bold;
}

.card:hover {
  transform: scale(1.05);
  background-color: rgba(0, 0, 0, 0.75);
}

/* Calendário */
.calendario {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 25px;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  color: white;
  margin-top: 20px;
}

/* Horários */
.horarios {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.horas span {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.horas span:hover {
  background-color: #00d9ff;
  color: #000;
}

/* Responsivo */
@media (max-width: 480px) {

  .titulo {
    font-size: 1rem; /* Tamanho reduzido da fonte */
    margin: 10px 20px; /* Ajuste de margem para centralizar */
    text-align: left; /* Garantia de alinhamento */
  }

  .container {
    padding: 10px;
  }

  .servicos {
    gap: 10px;
    margin-left: 60px;
  }
  .horarios {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-left: 60px;
    margin-top: 20px;
  }
  
  .horarios img {
    width: 30px;
    height: auto;
    margin-top: 8px;
  }
  
  .horas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px !important;
  }
  .calendario {
    width: 350px;
    margin-left: 60px;
  }
}
}
/* Responsivo para tablets (telas entre 481px e 819px) */
@media (min-width: 481px) and (max-width: 819px) {
  /* Ajuste do fundo */
  #background-video {
    object-position: center center;
    width: 100%;
    height: 100%;
  }

  /* Ajuste no logo */
  .logo {
    width: 180px;
  }
  .titulo {
    font-size: 2rem; /* Tamanho reduzido da fonte */
    margin: 10px 20px; /* Ajuste de margem para centralizar */
    text-align: left; /* Garantia de alinhamento */
    margin-left: 60px;
  }
  /* Menu */
  .menu {
    margin-top: 10px;
    font-size: 14px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 30px;
    left: 90%;
    transform: translateX(-50%);
    padding: 10px;
    gap: 15px;
    text-align: right;
    margin-top: 70px;
  }

  /* Ajuste do slogan */
  .slogan-box {
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
  }

/* Bloco principal para alinhar serviços e calendário na horizontal */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px;
  flex-direction: row;
}

/* === Bloco de Serviços === */
.servicos {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 20px;

}

/* === Bloco do Calendário === */
.calendario {
  width: 300px;
  height: auto;
  margin-left: 60px;

}

/* === Bloco de Horários === */
.horarios {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  margin-top: -120px;
  margin-left: 40px;
  flex-wrap: wrap;
}

.horarios img {
  width: 30px;
  height: auto;
  margin-top: 8px;
}

.horas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
}
/* Responsivo para tablets (telas entre 820px e 1024px) */
@media (min-width: 820px) and (max-width: 1024px) {
  /* Ajuste do fundo */
  #background-video {
    object-position: center center;
    width: 100%;
    height: 100%;
  }

  /* Ajuste no logo */
  .logo {
    width: 180px;
  }
  .titulo {
    font-size: 2rem; /* Tamanho reduzido da fonte */
    margin: 10px 20px; /* Ajuste de margem para centralizar */
    text-align: left; /* Garantia de alinhamento */
    margin-left: 60px;
    margin-top: 60px;
  }
  /* Menu */
  .menu {
    margin-top: 10px;
    font-size: 14px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 30px;
    left: 80%;
    transform: translateX(-50%);
    padding: 10px;
    gap: 15px;
    text-align: right;
    margin-top: 70px;
  }

  /* Ajuste do slogan */
  .slogan-box {
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
  }

/* Bloco principal para alinhar serviços e calendário na horizontal */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px;
  flex-direction: row;
}

/* === Bloco de Serviços === */
.servicos {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 20px;
  margin-top: 60px;

}

/* === Bloco do Calendário === */
.calendario {
  width: 300px;
  height: auto;
  margin-left: 60px;
  margin-top: 60px;

}

/* === Bloco de Horários === */
.horarios {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  margin-top: -120px;
  margin-left: 40px;
  flex-wrap: wrap;
}

.horarios img {
  width: 30px;
  height: auto;
  margin-top: 8px;
}

.horas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
}
