/* Custom styles to complement Bootstrap 5 */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Cores principais */
.bg-light {
  background-color: #f8f9fa !important;
}

.text-primary {
  color: #6E59A5 !important;
}

.bg-primary {
  background-color: #6E59A5 !important;
}

.btn-primary {
  background-color: #6E59A5;
  border-color: #6E59A5;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #5d4a8c;
  border-color: #5d4a8c;
}

.btn-outline-primary {
  color: #6E59A5;
  border-color: #6E59A5;
}

.btn-outline-primary:hover {
  background-color: #6E59A5;
  border-color: #6E59A5;
}

/* Seção Hero */
.hero-section {
  background-color: #fff;
  padding: 4rem 0;
}

/* Ícones de recursos */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bg-primary-soft {
  background-color: #E5DEFF;
}

/* Etapas de como funciona */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #6E59A5;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto;
}

.step-card {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  height: 100%;
}

/* Navegação */
.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Cards */
.card {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Formulários */
.form-control:focus {
  border-color: #9b87f5;
  box-shadow: 0 0 0 0.25rem rgba(155, 135, 245, 0.25);
}

/* Tabs */
.nav-tabs .nav-link.active {
  color: #6E59A5;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link:not(.active):hover {
  border-color: #e9ecef #e9ecef #dee2e6;
}

/* Custom print styles */
@media print {
  body * {
    visibility: hidden;
  }
  #budget-preview, #budget-preview * {
    visibility: visible;
  }
  #budget-preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .no-print {
    display: none !important;
  }
}

/* Classes for consistent spacing */
.section-spacing {
  margin-bottom: 1.5rem;
}

/* Hover effect for table rows */
#items-table tbody tr:hover {
  background-color: rgba(155, 135, 245, 0.1);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Footer */
footer {
  background-color: #1A1F2C;
}

footer a:hover {
  color: #fff !important;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeIn {
  animation: fadeIn 1s ease;
}
