/* Custom styles for E-Commerce System Guide */
:root{
  --brand:#0d6efd;
  --accent:#6f42c1;
  --muted:#6c757d;
}

body{
  background: #f8f9fb;
  color: #212529;
  -webkit-font-smoothing:antialiased;
}

/* Header / Footer edge */
header.site-header, footer.site-footer{
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.overview{
  margin-top: 15px;
}
.hero{
  padding: 3.5rem 0;
}

.hero-bg {
  position: relative;
  background-image: url("Header.webp");
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  margin-top: 5px;

  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-bg .row {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 40px 30px;
  border-radius: 20px;
  max-width: 650px;
  width: 90%;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  color: #000;

  position: relative;
  z-index: 5;
}

.frosted-box {
  position: relative;                       /* wichtig für z-index */
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  color: #000;
  text-align: center;
  z-index: 2; /* über dem Hintergrundbild */
}

#ShopFinder{
  margin-top: 1rem;
  font-size: 1.25rem;
}
#Example-site{
  margin-top: 1rem;
  font-size: 1.25rem;
}

#question{
  text-align: center;
}

#answers{
  padding-top: 1.5rem;
  margin: 0 auto;
}

#result{
  text-align: center;
  font-weight: bold;
  margin-top: 1.5rem;
}

#finderCard{
  margin-top: 1.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#finderExplanation{
  margin-top: 1.5rem;
  margin: 0 auto;
}

.finderBox{
  padding: 2rem;
  border-radius: 5px;
  width: 500px;
  height: 230px;
}

.brand-color{
  color: var(--brand);
}

.accent-color{
  color: var(--accent);
}


.card{
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(25, 33, 47, 0.06);
}

.card .card-title{
  color: var(--brand);
}

.card .badge-custom{
  background: linear-gradient(90deg,var(--brand),var(--accent));
  color:#fff;
}

.btn{ transition: transform 0.15s ease; }
.btn:active{ transform: translateY(1px); }

.site-footer p{ margin-bottom: 0; color: #6c757d; }

.hero .lead{ font-size: 1.05rem; }

:focus{ outline: 3px solid rgba(13,110,253,0.12); outline-offset: 2px; }

.muted{ color: var(--muted); }

/* Enhanced styling improvements */
body {
  background: linear-gradient(135deg, #f8f9fb 0%, #e9ecef 100%);
  min-height: 100vh;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(25, 33, 47, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(25, 33, 47, 0.15);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--brand);
}

/* Shop grid improvements */
.shop-grid .card {
  border-radius: 15px;
}

.shop-grid .card-text {
  line-height: 1.6;
  color: #495057;
}

/* Knife showcase section */
.knife-showcase {
  margin: 3rem 0;
  padding: 2rem 0;
}

.knife-showcase-image {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(25, 33, 47, 0.15);
  transition: transform 0.3s ease;
}

.knife-showcase-image:hover {
  transform: scale(1.02);
}

.knife-showcase-text {
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  box-shadow: 0 12px 40px rgba(13, 110, 253, 0.08);
}

.knife-showcase-text .card-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features-list li {
  padding: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #495057;
  line-height: 1.8;
}

.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Hero section improvements */
.hero-bg {
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  min-height: 450px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.frosted-box {
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark-theme header.site-header,
body.dark-theme footer.site-footer,
body.dark-theme footer.site-footer.bg-white,
body.dark-theme .bg-white {
  background-color: #111827 !important;
  border-color: rgba(226, 232, 240, 0.12) !important;
}

body.dark-theme .navbar,
body.dark-theme .navbar.bg-white {
  background-color: #111827 !important;
}

body.dark-theme .navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

body.dark-theme .navbar .nav-link,
body.dark-theme .navbar-brand,
body.dark-theme .site-footer p,
body.dark-theme .muted,
body.dark-theme small.text-muted,
body.dark-theme .card-text,
body.dark-theme .frosted-box,
body.dark-theme .hero .lead,
body.dark-theme .card-title,
body.dark-theme .card-body,
body.dark-theme .shop-grid .card-text,
body.dark-theme .knife-showcase-text,
body.dark-theme .list-group-item,
body.dark-theme .features-list li,
body.dark-theme .nav-link,
body.dark-theme .btn-link {
  color: #e2e8f0;
}

body.dark-theme a,
body.dark-theme a:visited {
  color: #93c5fd;
}

body.dark-theme a:hover,
body.dark-theme a:focus {
  color: #ffffff;
}

body.dark-theme .nav-link:hover,
body.dark-theme .nav-link:focus {
  color: #ffffff;
}

body.dark-theme .card {
  background: #1e293b;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
}

body.dark-theme .frosted-box {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
}

body.dark-theme .hero-bg {
  box-shadow: 0 15px 50px rgba(15, 23, 42, 0.35);
}

body.dark-theme .card .card-title {
  color: #60a5fa;
}

body.dark-theme .btn-outline-primary {
  color: #cbd5e1;
  border-color: #3b82f6;
}

body.dark-theme .btn-outline-primary:hover,
body.dark-theme .btn-outline-primary:focus {
  color: #ffffff;
  background-color: rgba(59, 130, 246, 0.12);
}


.frosted-box h1 {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -0.5px;
}

.frosted-box .lead {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Button improvements */
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.4);
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.btn-outline-primary {
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.3px;
}

article {
  transition: all 0.3s ease;
}

/* Footer improvements */
.site-footer {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

body.dark-theme footer.site-footer,
body.dark-theme footer.site-footer.bg-white,
body.dark-theme .bg-white {
  background: #111827 !important;
  border-color: rgba(226, 232, 240, 0.12) !important;
}

/* Container max-width optimization */
.container {
  max-width: 1200px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .frosted-box h1 {
    font-size: 2rem;
  }
  
  .knife-showcase-text .card-title {
    font-size: 1.4rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

.bi{ margin-right: .35rem; }

.scale {
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(1);
}

.scale-small {
    transform: scale(0.95);
    opacity: 0;
}

svg {
  width: 36px;
  height: 36px;
  margin-top: 2px;;
}