html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #198754;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container.flex-grow-1 {
  flex: 1 0 auto;
}

main {
  flex: 1;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

.hero-section {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  margin-top: 2rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.8s ease-out;
  letter-spacing: 1px;
}

.hero-subtitle {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 400;
}

.hero-description {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-button {
  animation: fadeInUp 0.8s ease-out 0.6s both;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #f8f9fa !important;
}

.hero-button:active {
  transform: translateY(-1px);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1.5rem;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-success {
  background-color: #28a745 !important;
}

/* Menü linklerini beyaz ve net yap */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  transition: opacity 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  opacity: 0.8;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
}

.navbar-dark .navbar-brand {
  color: #ffffff !important;
}

.navbar-dark .dropdown-toggle {
  color: #ffffff !important;
}

/* Ürün kartı resimlerine hover efekti */
.product-image-link {
  display: block;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-image-link:hover {
  transform: scale(1.05);
}

.product-image-link img {
  transition: transform 0.3s ease;
}