@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap");

/* Reset some default browser styles */
body,
h1,
h2,
h3,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

/* Global Styles */
body,
input,
textarea {
  font-family: "Ubuntu", sans-serif;
}

body {
  background-color: #f0f0f0;
}

a {
  transition: color 0.3s ease;
}

a:hover {
  color: #ffc107;
  transition: color 0.5s ease;
}

#btnTopo {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 10px;
  border: none;
  outline: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  padding: 20px;
  border-radius: 50%; /* Formato arredondado */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Sombra suave */
  transition: background-color 0.3s ease; /* Transição suave de cor */
}

#btnTopo:hover {
  background-color: #ffc107;
  transition: background-color 0.5s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
header {
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-left: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  margin-right: 20px;
}

nav li {
  margin-right: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

/* Hero Section Styles */
.hero {
  background-image: url("../img/slide3.jpg");
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.hero button,
.fade-link button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.hero button:hover,
.fade-link button:hover {
  background-color: #ffc107; /* Change to your desired hover color */
  transition: background-color 0.5s ease;
}

/* Product Carousel Styles */
.product-carousel {
  background-color: #f0f0f0;
  padding: 20px 0;
  text-align: center;
}

.product-carousel h2 {
  font-size: 24px;
  margin-left: 20px;
  text-align: left;
}

.product-item {
  display: inline-block;
  width: 200px;
  margin: 0 10px;
}

.product-item img {
  max-width: 100%;
  border: 1px solid #ccc;
}

.product-item img:hover {
  transform: scale(1.1);
}

/* Sobre Nós Styles */

.about-us {
  background-color: #fff;
  padding: 20px 0;
  text-align: left;
}

.about-us p {
  line-height: 25px;
}

.about-us h2 {
  font-size: 24px;
  margin-left: 20px;
  text-align: left;
}

.about-us p,
h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 10px;
  text-align: justify;
}

.about-us h3,
h4,
p {
  margin-left: 30px;
  margin-right: 30px;
}

.fa-lightbulb,
.fa-handshake,
.fa-heart {
  color: #999999 !important;
  font-size: 30px !important;
}

/* Contatos Styles */

.contact {
  background-image: url("../img/slide3.jpg");
  background-size: cover;
  padding: 20px 0;
  color: #fff;
}

.contact h2 {
  font-size: 24px;
  margin-left: 20px;
  text-align: left;
}

.contact p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

#contactform {
  max-width: 600px;
  margin: 0 auto;
}

#contactform label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

#contactform input,
#contactform textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contactform textarea {
  resize: vertical;
}

#contactform button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contactform button:hover {
  background-color: #ffc107;
  transition: background-color 0.5s ease;
}

.input-error {
  border-style: inset !important;
  border: 1px solid red !important;
  border-radius: 5px !important;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-logo img {
  max-width: 120px;
}

.footer-contact,
.footer-social,
.footer-info {
  margin-bottom: 10px;
}

.footer-contact a {
  text-decoration: none;
  color: white;
}

.footer-contact a:hover {
  color: #ffc107;
  transition: color 0.5s ease;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 16px;
}

.footer-social a {
  margin-right: 10px;
  color: white;
}

.footer-social a:hover {
  color: #ffc107;
  transition: color 0.5s ease;
}

.footer-restrict {
  margin-top: 20px;
}

.footer-restrict a {
  text-decoration: none;
  color: white;
}

.footer-restrict a:hover {
  color: #ffc107;
  transition: color 0.5s ease;
}

.footer-info {
  margin-top: 40px;
  font-size: 12px;
  margin-bottom: 0 !important;
}

/* Fade Modal */

.fade {
  display: none;
  position: fixed !important;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.8);
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}

.fade_close {
  position: absolute;
  top: 3%;
  right: 3%;
  color: #eee;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;
}

/* Login */

.spinner {
  cursor: wait;
}

.containerLogin {
  justify-content: center;
  align-items: center;
}

.loginContainer {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 auto;
  max-width: 320px;
  padding: 40px;
}

.loginContainer h1 {
  text-align: center;
}

.loginContainer h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.loginContainer .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.loginContainer label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #555;
  margin-left: 0;
}

.loginContainer input[type="text"],
.loginContainer input[type="password"],
.loginContainer input[type="password_confirmation"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.loginContainer button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.loginContainer button[type="submit"]:hover {
  background-color: #ffc107;
  transition: background-color 0.5s ease;
}

.loginContainer .g-recaptcha {
  margin-top: 20px;
}

.form-group .error-text {
  color: red !important;
  display: flex;
  height: 10px;
}

.error {
  color: red;
  font-size: 0.7em;
}

.error-text {
  color: red;
  font-size: 0.78em;
}

.error-border {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  font-size: 0.8em;
}

.forgot {
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 12px !important;
  text-align: center !important;
  margin-top: 20px !important;
}

.forgot a {
  color: gray !important;
  text-decoration: none !important;
}

.forgot a:hover {
  color: blue !important;
  font-weight: 500 !important;
  transition: color 0.5s ease, font-weight 0.5s ease;
}

.bt-2 {
  margin-bottom: 20px;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #fff;
  background-color: #f44336; /* Cor de fundo para alerta */
}

.alert-success {
  background-color: #4caf50; /* Verde para sucesso */
}

.alert-warning {
  background-color: #ffc107; /* Amarelo para aviso */
}

.alert-error {
  background-color: #f44336; /* Vermelho para erro */
}

/* Uso de Cookies */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  display: none;
  z-index: 9000;
}
.cookie-consent p {
  margin-bottom: 10px;
}

.accept-cookies,
.reject-cookies {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0 10px;
}

.reject-cookies {
  background-color: #f44336;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin: 20px 0;
  }

  .hero {
    padding: 60px 0;
  }
  #contactform button,
  label {
    margin: 20px;
  }
  #contactform input,
  #contactform textarea {
    margin: 0 20px;
    width: 87%;
  }

  .g-recaptcha {
    margin-left: 0px !important;
    margin-top: 20px !important;
  }
}
