/*--------------------------------------------------------------
# Basis Styling
--------------------------------------------------------------*/
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Algemene Link Stijlen
--------------------------------------------------------------*/
a {
  text-decoration: none;
  color: #E26266;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #353B57;
}

.text-primary {
    --bs-text-opacity: 1;
    color: #353B57 !important;
}

.nav-link {
	color: #353B57;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
  background-color: #353B57 !important;
  border-bottom: 3px solid #E26266;
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.75rem;
  color: #fff !important;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: #c5cae9 !important;
  font-size: 1rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffffff !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
header.hero-default {
  background: linear-gradient(135deg, #353B57 0%, #7986cb 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Elementen in de hero laten subtiel in beeld komen */
header.hero-default h1,
header.hero-default p.lead,
header.hero-default a.btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

header.hero-default h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  animation-delay: 0.3s;
}

header.hero-default p.lead {
  font-size: 1.25rem;
  animation-delay: 0.5s;
}

header.hero-default a.btn {
  animation-delay: 0.7s;
}

/*--------------------------------------------------------------
# Keyframe Animaties
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Extra CSS voor Cards en Overgangen
--------------------------------------------------------------*/
.card-package {
  transition: transform 0.3s ease;
}

.card-package:hover {
  transform: translateY(-5px);
}

.card-selection.active {
  border: 2px solid #353B57;
  box-shadow: 0 0 15px rgba(0,123,255,0.5);
}

/*--------------------------------------------------------------
# Secties & Cards
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #353B57;
}

section h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: #353B57;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Styling */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  background-color: #fff;
}

.card-header {
  background-color: #E26266;
  color: #fff;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 1rem;
}

/*--------------------------------------------------------------
# Formulieren
--------------------------------------------------------------*/
.form-control {
  border-radius: 4px;
  border: 1px solid #ced4da;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #353B57;
  box-shadow: 0 0 5px rgba(92, 107, 192, 0.3);
}

/*--------------------------------------------------------------
# Tabellen
--------------------------------------------------------------*/
.table {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table thead {
  background-color: #353B57;
  color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f1f1f1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background-color: #353B57;
  color: #fff;
  padding: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #c5cae9;
}

/*--------------------------------------------------------------
# Modals
--------------------------------------------------------------*/
.modal-content {
  border-radius: 8px;
  border: none;
}

/*--------------------------------------------------------------
# Bestellen Pagina
--------------------------------------------------------------*/
    /* Vaste minimale hoogte voor alle cards */
    .card-selection { min-height: 250px; }
    /* Styling voor de geselecteerde card */
    .card-selection.active {
      border: 2px solid #353B57;
      box-shadow: 0 0 15px rgba(0,123,255,0.5);
    }
    /* Standaard styling voor keuze-cards (offerte type) */
    .choice-card {
      cursor: pointer;
      border: 2px solid #353B57;
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 20px;
    }
    .choice-card:hover, .choice-card.active {
      background: #e9ecef;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    .step-container { display: none; animation: fadeIn 0.5s ease-in-out; }
    .step-active { display: block; }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .step-indicator {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      position: relative;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .progress-line {
      position: absolute;
      top: 50%;
      left: 0;
      height: 4px;
      background: #353B57;
      width: 0;
      transition: width 0.5s ease;
      z-index: 0;
      border-radius: 2px;
    }
    .step-indicator .step {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #ccc;
      color: #fff;
      text-align: center;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.3s ease;
    }
    .step-indicator .step.active {
      background: #353B57;
      transform: scale(1.1);
    }
    fieldset legend {
      text-align: center;
      width: 100%;
      margin-bottom: 20px;
      font-size: 1.2rem;
      font-weight: bold;
    }


/*--------------------------------------------------------------
# Signature Pad
--------------------------------------------------------------*/
#signature-pad {
  border: 2px dashed #353B57;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Extra Custom Classes
--------------------------------------------------------------*/
.text-custom {
  color: #353B57;
}

.bg-custom {
  background-color: #7986cb;
}

.bg-status {
  background-color: #353B57;
}

.u-section-1 {
  margin-top: -120px;
}

/*--------------------------------------------------------------
# Animation Utility Klassen
--------------------------------------------------------------*/
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/*--------------------------------------------------------------
# Responsive Aanpassingen
--------------------------------------------------------------*/
@media (max-width: 576px) {
  header.hero-default h1 {
    font-size: 2rem;
  }
  header.hero-default p.lead {
    font-size: 1rem;
  }
}
