/* assets/css/style.css */

/* Variáveis de cores */
:root {
    --red-primary: #d92948;
    --red-secondary: #e63956;
    --gray-light: #f0f0f0;
    --gray-medium: #d9d9d9;
    --blue-dark: #2a3344;
    --blue-medium: #3b4d66;
    --blue-secondary: #33475b;
    --yellow: #ffb700;
    --green-primary: #7ed321;
    --green-secondary: #85d992;
  }
  
  /* Fonte padrão */
  body {
    font-family: 'Bai Jamjuree', sans-serif;
    color: var(--blue-dark);
    background-color: #fff;
  }
  
  /* Títulos */
  h1, h2, h3, h4, h5, h6 {
    color: var(--red-primary);
    font-weight: 600;
  }
  
  /* Links */
  a {
    color: var(--red-secondary);
    text-decoration: none;
  }
  
  a:hover {
    color: var(--red-primary);
  }
  
  /* Botões */
  .btn-primary {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    color: #fff;
  }
  
  .btn-primary:hover {
    background-color: var(--green-secondary);
    border-color: var(--green-secondary);
  }
  
  .btn-secondary {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--blue-dark);
  }
  
  .btn-secondary:hover {
    background-color: #e6a600; /* Um tom mais escuro do amarelo */
    border-color: #e6a600;
  }
  
  /* Background de seções */
  .section-alternate {
    background-color: var(--gray-light);
  }
  
  /* Navbar */
  .navbar {
    background-color: var(--blue-dark);
    z-index: 1030;
  }
  
  .navbar .nav-link {
    color: #fff;
  }
  
  .navbar .nav-link:hover {
    color: var(--yellow);
  }
  
  /* Footer */
  footer {
    background-color: var(--blue-medium);
    color: #fff;
  }
  
  footer a {
    color: var(--yellow);
  }
  
  footer a:hover {
    color: var(--green-primary);
  }

html {
    scroll-behavior: smooth;
  }

/* Estado inicial das sections */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
    overflow: hidden;
   /* height: 100vh;  A section ocupará a altura total da viewport */
  }

/* Contêiner do vídeo */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Estilos para o vídeo */
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Película para escurecer o vídeo */
.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Um fundo preto com 50% de opacidade */
    z-index: 2;
}


/* Overlay com conteúdo (textos) */
.overlay {
    position: relative;
    z-index: 3; /* Colocado à frente da película */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #fff;
}

.overlay h1{
    color: #fff;
    text-align: center;
    margin-top: 30%;
  }

  .overlay p {
    color: #fff;
    text-align: center;
    margin: 10% 0 10%;
  }

  /* Responsividade para dispositivos móveis */
  @media only screen and (max-width: 768px) {
    #bg-video {
        display: none;
    }
    .video-container {
        background-color: #007bff;
    }
}
  
  /* Quando a section estiver visível */
  .section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .thumb-img {
    cursor: pointer;
    margin-bottom: 10px;
}
.thumb-img:hover {
    border: 2px solid #007bff;
}
.proposal-header {
  text-align: center;
  margin-bottom: 40px;
}
.proposal-header img {
  max-width: 200px;
  margin-bottom: 20px;
}
.proposal-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}
.proposal-description {
  font-size: 18px;
  margin-bottom: 30px;
}
.clause-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
}
.clause-content {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}
/* Custom checkbox styles */
.custom-form-check {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

.custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
}

.custom-checkbox:checked + .custom-label {
  color: #28a745;
}

.custom-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  background-color: #f1f1f1;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-checkbox:checked + .custom-label::before {
  background-color: #28a745;
  border-color: #28a745;
}

.custom-label::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 2px;
  width: 10px;
  height: 16px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-checkbox:checked + .custom-label::after {
  opacity: 1;
}

.quantity input[type="number"] {
  transition: all 0.3s ease;
  border: 2px solid #ccc;
  border-radius: 5px;
}

.quantity input[type="number"]:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}
.testimonial-section {
  background: linear-gradient(135deg, #4c93bc, #7ed321);
  padding: 60px 0;
  color: white;
}

.testimonial-section h3 {
  margin-bottom: 40px;
  font-weight: 600;
}

.card {
  border: none;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-body {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
}

.card-footer {
  background-color: transparent;
  border-top: none;
  text-align: right;
}

.text-white {
  color: white !important;
}