@charset "UTF-8";
/* CSS Document */

/* Variáveis para facilitar a manutenção */
:root {
  --red: #E02D36;
  --red-hover: #e29397;
  --gray-dark: #3e3e59;
  --gray-light: #f8f8f8;
  --white: #fff;
  --transition-speed: 0.3s;
}

/* Reset de estilos e estilos globais */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.container-fluid {
  padding: 10px 0;
}

.container-fluid a {
  color: var(--red);
  transition: color var(--transition-speed) ease;
}

.container-fluid a:hover {
  text-decoration: none;
  color: var(--red-hover);
}

/* Navbar Estilos */
.navbar {
  background-color: var(--red);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed) ease;
}

#navbarNav a {
  color: var(--white);
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

/* Agrupamento de hover para navbar e social-icons */
.navbar-nav a:hover,
#navbarNav a:hover,
.social-icons a:hover {
  color: var(--gray-dark);
}

/* Estilos para telas pequenas */
@media (max-width: 991px) {
  .navbar-nav {
    background-color: var(--red);
  }
  .navbar-nav a {
    color: var(--white);
  }
}

/* Home Section Estilos */
#home {
  background-color: var(--gray-dark);
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}

#home p {
  font-size: 18px;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Estilos para o Carrossel */
#carouselExample {
  width: 95%;
  margin: auto;
  padding: 0;
}

.carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}

.carousel-item {
  text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  background-color: rgba(224, 45, 54, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--gray-dark);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(224, 45, 54, 0.9);
}

/* Portfolio Section Estilos */
#portfolio {
  padding: 60px 20px;
  text-align: center;
}

#portfolio h2 {
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
}

/* Unificando media queries para .portfolio-item */
@media (max-width: 992px) {
  .portfolio-item {
    text-align: center;
    margin: 0 auto;
    padding-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .video-thumbnail img {
    width: 50%;
  }
}

.portfolio-item {
  margin-bottom: 20px;
  transition: transform var(--transition-speed) ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color var(--transition-speed) ease;
}

.portfolio-item:hover img {
  border-color: var(--red);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-item h4 {
  margin: 10px 0 5px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.portfolio-item p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
}

.portfolio-item a {
  text-decoration: none;
  color: #333;
}

.portfolio-item a:hover {
  text-decoration: underline;
}

/* Estilos da Galeria de Vídeos */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: transform var(--transition-speed) ease;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-thumbnail:hover {
  transform: scale(1.05);
}

.video-thumbnail .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-speed) ease;
}

.video-thumbnail:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--white);
  text-align: center;
}

/* Modal cobrindo toda a tela */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
  background: transparent;
  overflow: hidden;
}

.video-modal video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Botão de fechar */
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 10px;
}

.close-modal:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #000;
}

/* Sobre Section Estilos */
#about {
  background-color: var(--gray-light);
  border-radius: 8px;
  padding: 60px 20px;
  margin-bottom: 20px;
}

#about h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
}

#about p {
  text-align: justify;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

#about span {
  font-weight: bold;
  color: var(--red);
}

/* Contato Section Estilos */
#contact {
  background-color: var(--red);
  border-radius: 8px;
  color: var(--white);
  padding: 60px 20px;
  margin: 0 auto 20px;
  text-align: center;
}

/* Social Icons Estilos */
.social-icons {
  margin: 20px 0;
}

.social-icons p {
  margin: 0;
  font-weight: bold;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 24px;
  color: var(--white);
  transition: color var(--transition-speed) ease;
}

#contact iframe {
  border-radius: 8px;
  margin: 20px 0;
  width: 100%;
  height: 180px;
}

/* Estilos para o Formulário de Contato */
#contact form {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#contact label {
  color: var(--red);
  font-weight: bold;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

#contact textarea {
  resize: vertical;
}

#contact button {
  background-color: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

#contact button:hover {
  background-color: var(--gray-dark);
}

/* Rodapé Estilos */
footer {
  background-color: var(--gray-dark);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  padding: 15px 20px 20px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Estilos para o aviso de cookies */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
  text-align: center;
  padding: 15px;
  display: none;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

#cookie-banner p {
  margin: 0;
  flex-grow: 1;
}

#cookie-banner a {
  color: var(--red);
  text-decoration: underline;
  transition: color var(--transition-speed) ease;
}

#cookie-banner a:hover {
  color: var(--red-hover);
}

#accept-cookies {
  background-color: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  margin-left: 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: background var(--transition-speed) ease;
}

#accept-cookies:hover {
  background-color: var(--gray-dark);
}

/* Botão de Voltar ao Topo */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background var(--transition-speed) ease, transform 0.2s ease-in-out;
  z-index: 1000;
}

#backToTop:hover {
  background-color: var(--gray-dark);
  transform: scale(1.1);
}

#backToTop i {
  position: relative;
  top: 2px;
}

/* Responsividade: Ajuste para telas menores */
@media (max-width: 768px) {
  #backToTop {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}