/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #dc2626; /* Vermelho */
  --secondary-color: #000000; /* Preto */
  --accent-color: #ffffff; /* Branco */
  --text-dark: #000000;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --bg-light: #f8f9fa;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}

/* Navbar Customizada */
.navbar-dark {
  background-color: var(--secondary-color) !important;
}

/* Navbar Brand - Logo maior */
.navbar-brand {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem; /* Aumentado de 1.5rem */
  color: var(--accent-color) !important;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  font-size: 2rem; /* Ícone maior */
  margin-right: 0.75rem;
}

.navbar-nav .nav-link {
  color: var(--accent-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Logo com imagem maior */
.navbar-logo {
  height: 50px; /* Tamanho maior */
  width: auto;
  transition: all 0.3s ease;
}

/* Navbar responsiva com logo à esquerda */
@media (max-width: 768px) {
    /* Reorganiza o layout da navbar */
    .navbar .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Posiciona a logo à esquerda */
    .navbar-brand {
        font-size: 1.4rem;
        position: static;
        transform: none;
        margin: 0;
        order: 1;
    }
    
        /* ERespobsivo */
    .navbar-title {
        /* display: none; */
        position: absolute;
        left: 53%;
        transform: translateX(-50%);
        font-size: 1.4rem;
        z-index: 1;
    }
    
    /* Posiciona o botão do menu à direita */
    .navbar-toggler {
        margin-left: auto;
        order: 2;
    }
    
    .navbar-logo {
        height: 50px;
        margin: 0;
    }
}


.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-2px);
}

/* Hero Section Slideshow */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

/* Indicadores do Slideshow */
.slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 4;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-outline-light {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
}

/* Animações */
.animate-fade-up {
  animation: fadeUp 1s ease-out;
}

.animate-fade-up-delay {
  animation: fadeUp 1s ease-out 0.3s both;
}

.animate-fade-up-delay-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .animate-fade-up-delay-2 {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .slideshow-indicators {
    bottom: 20px;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* Cards e Componentes */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-success {
  background-color: var(--secondary-color) !important;
}

.bg-warning {
  background-color: var(--primary-color) !important;
}

.bg-info {
  background-color: var(--secondary-color) !important;
}

/* Service Cards */
.service-card {
  background: var(--accent-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-color);
  font-size: 2rem;
}

.service-card h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Tabela de Horários */
.table-dark {
  background-color: var(--secondary-color);
  color: var(--accent-color);
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(0, 0, 0, 0.05);
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
}

.badge.bg-success {
  background-color: var(--secondary-color) !important;
}

.badge.bg-warning {
  background-color: var(--primary-color) !important;
}

.badge.bg-info {
  background-color: var(--secondary-color) !important;
}

.badge.bg-danger {
  background-color: var(--primary-color) !important;
}

.badge.bg-secondary {
  background-color: var(--secondary-color) !important;
}

/* Seção de Contato */
.contact-info {
  padding: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--accent-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h5 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-muted);
  margin: 0;
}

/* Social Links */
.social-links .social-link {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--accent-color);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links .social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--secondary-color) !important;
}

footer h5,
footer h6 {
  color: var(--accent-color);
}

footer .text-muted {
  color: #9ca3af !important;
}

footer .social-link {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

footer .social-link:hover {
  color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: var(--accent-color);
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #25d366;
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .contact-item {
    text-align: center;
    flex-direction: column;
  }

  .contact-icon {
    margin: 0 auto 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}
