/* ==========================================================================
   Rojname Custom CSS - Bootstrap 5.3 Uyumlu
   Faz 3: Özel CSS/SCSS Yazma (CDN ile)
   ========================================================================== */

/* -------------------------------------------------------------------------
   Bootstrap 5 Değişkenlerini Override Et
   ------------------------------------------------------------------------- */
:root {
  /* Bootstrap Ana Renkler */
  --bs-primary: #007bff;
  --bs-secondary: #6c757d;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;

  /* Font Sistemi */
  --bs-font-sans-serif: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bs-font-serif: "Literata", Georgia, "Times New Roman", serif;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* AKM Özel Renk Paleti */
  --akm-primary: #007bff;
  --akm-secondary: #6c757d;
  --akm-accent: #28a745;
  --akm-blue: #007bff;
  --akm-green: #28a745;
  --akm-orange: #ffc107;
  --akm-red: #dc3545;
  --akm-gray: #6c757d;
  --akm-light-gray: #f8f9fa;
  --akm-dark-gray: #343a40;

  /* Boyutlar */
  --bs-body-font-family: var(--bs-font-serif);
  --bs-body-font-size: 1.1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;

  /* Border Radius */
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;

  /* Box Shadow */
  --bs-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* -------------------------------------------------------------------------
   Base Stil Override'ları
   ------------------------------------------------------------------------- */
body {
  font-family: var(--bs-font-sans-serif);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

/* -------------------------------------------------------------------------
   Header ve Navigation - Modern Navbar
   ------------------------------------------------------------------------- */
.main-header {
  background-color: var(--akm-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.main-header .navbar {
  padding: 0.5rem 1rem;
}

.main-header .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.main-header .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.8);
}

.main-header .navbar-nav .nav-link {
  color: white;
  padding: 0.5rem 0.5rem;
  border-radius: var(--bs-border-radius);
  transition: background-color 0.15s ease-in-out;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.main-header .navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.main-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* -------------------------------------------------------------------------
   Hero Section / Main Slider - Bootstrap Carousel ile Modernleştirilmiş
   ------------------------------------------------------------------------- */
#mainSlider {
  position: relative;
  height: 500px; /* Swiper'daki gibi başlangıç yüksekliği */
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--bs-box-shadow-lg);
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

#mainSlider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Caption (Top, Full-Width Bar) --- */
#mainSlider .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  transform: none;
  max-width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  background: rgba(0, 0, 0, 0.6);
}

#mainSlider .carousel-caption h5 {
  background-color: transparent;
  padding: 0;
  font-size: 1.5rem;
  color: #fff791;
  margin: 0 0 0.25rem 0;
  display: block;
}

#mainSlider .carousel-caption p {
  background-color: transparent;
  padding: 0;
  font-size: 1rem;
  color: #fff;
  margin: 0;
  display: block;
}

/* --- 2. Controls (Top-Right) --- */
#mainSlider .carousel-control-prev,
#mainSlider .carousel-control-next {
  position: absolute;
  top: 1.5rem;
  left: auto;
  bottom: auto;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--bs-border-radius-sm); /* Not round */
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  opacity: 0.8;
}

#mainSlider .carousel-control-prev:hover,
#mainSlider .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
}

/* Position them side-by-side in the top right */
#mainSlider .carousel-control-next {
  right: 1.5rem;
}

#mainSlider .carousel-control-prev {
  right: 5.5rem; /* Adjusted for side-by-side positioning */
}

#mainSlider .carousel-control-prev-icon,
#mainSlider .carousel-control-next-icon {
  width: 1rem;
  height: 1rem;
}

#mainSlider .carousel-indicators {
  position: absolute;
  top: 1.5rem;
  right: 9rem;
  left: auto;
  bottom: auto;
  margin: 0;
  padding: 0;
  height: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#mainSlider .carousel-indicators [data-bs-target] {
  background-color: white;
  opacity: 0.7;
  width: 2rem;
  height: 2rem;
  border-radius: var(--bs-border-radius-sm);
  border: none;
  margin: 0;
  text-indent: -999px;
}

#mainSlider .carousel-indicators .active {
  background-color: var(--akm-primary);
  opacity: 1;
}

/* Responsive Özelleştirmeler */
@media (max-width: 992px) {
  #mainSlider {
    height: 400px;
  }
  #mainSlider .carousel-caption h5 {
    font-size: 2rem;
  }
  #mainSlider .carousel-caption p {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  #mainSlider {
    height: 300px;
  }
  #mainSlider .carousel-caption {
    padding: 1.5rem;
  }
  #mainSlider .carousel-caption h5 {
    font-size: 1.5rem;
  }
  #mainSlider .carousel-caption p {
    font-size: 1rem;
    -webkit-line-clamp: 2; /* Daha küçük ekranlarda daha az satır */
  }
}

@media (max-width: 576px) {
  #mainSlider {
    height: 250px;
  }
  #mainSlider .carousel-caption {
    padding: 1rem;
  }
  #mainSlider .carousel-caption h5 {
    font-size: 1.25rem;
  }
  #mainSlider .carousel-caption p {
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* En küçük ekranlarda tek satır */
    overflow: hidden;
  }
}

.cards-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--akm-primary);
}

.cards-section .section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--akm-secondary);
  margin-bottom: 3rem;
}

.custom-card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow);
  overflow: hidden;
  transition: all 0.15s ease-in-out;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg);
}

.custom-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.custom-card .card-body {
  padding: 1.5rem;
}

.custom-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.75rem;
}

.custom-card .card-text {
  color: var(--akm-gray);
  line-height: 1.5;
}

.custom-card .card-footer {
  background-color: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Products Section
   ------------------------------------------------------------------------- */
.products-section {
  padding: 4rem 0;
  background-color: var(--akm-light-gray);
}

.product-card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  transition: all 0.15s ease-in-out;
  background: white;
  box-shadow: var(--bs-box-shadow);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg);
}

.product-card .product-image-container {
  overflow: hidden;
  height: 200px;
  position: relative;
}

.product-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-in-out;
}

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

.product-card .product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--akm-red);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card .product-info {
  padding: 1.5rem;
}

.product-card .product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.5rem;
}

.product-card .product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--akm-green);
  margin-bottom: 0.75rem;
}

.product-card .product-description {
  font-size: 0.875rem;
  color: var(--akm-gray);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Features Section
   ------------------------------------------------------------------------- */
.features-section {
  padding: 4rem 0;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  transition: transform 0.15s ease-in-out;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--bs-box-shadow);
}

.feature-item .feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 1rem;
}

.feature-item .feature-description {
  color: var(--akm-gray);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Testimonials Section
   ------------------------------------------------------------------------- */
.testimonials-section {
  padding: 4rem 0;
  background-color: var(--akm-light-gray);
}

.testimonial-card {
  background: white;
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--bs-box-shadow);
  text-align: center;
  height: 100%;
}

.testimonial-card .testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid white;
  box-shadow: var(--bs-box-shadow);
}

.testimonial-card .testimonial-content {
  font-style: italic;
  color: var(--akm-gray);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-author {
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.25rem;
}

.testimonial-card .testimonial-role {
  color: var(--akm-secondary);
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Contact Section
   ------------------------------------------------------------------------- */
.contact-section {
  padding: 4rem 0;
}

.contact-form {
  background: white;
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--bs-box-shadow);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--bs-border-radius);
  padding: 0.75rem 1rem;
  transition: all 0.15s ease-in-out;
}

.contact-form .form-control:focus {
  border-color: var(--akm-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.15s ease-in-out;
  width: 100%;
}

.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Footer - Bootstrap 5 ile Modernleştirilmiş
   ------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--akm-dark-gray);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 0;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
  display: block;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.social-link:hover {
  background: var(--akm-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Swiper Carousel Özel Stilleri
   ------------------------------------------------------------------------- */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-carousel .swiper-slide {
  padding: 1rem;
}

/* -------------------------------------------------------------------------
   GLightbox Özel Stilleri
   ------------------------------------------------------------------------- */
.glightbox {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   Flatpickr Özel Stilleri
   ------------------------------------------------------------------------- */
.flatpickr-calendar {
  font-family: var(--bs-font-sans-serif);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-lg);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--akm-primary);
  border-color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Custom Buttons - Bootstrap 5 ile Uyumlu
   ------------------------------------------------------------------------- */
.btn-custom {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.15s ease-in-out;
  border: none;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient-primary {
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  border: none;
  color: white;
}

.btn-gradient-primary:hover {
  background: linear-gradient(45deg, var(--akm-blue), var(--akm-primary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-gradient-success {
  background: linear-gradient(45deg, var(--akm-green), #20c997);
  border: none;
  color: white;
}

.btn-gradient-success:hover {
  background: linear-gradient(45deg, #20c997, var(--akm-green));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Form Stilleri - Bootstrap 5 ile Uyumlu (AKM Özel Focus Stilleri)
   ------------------------------------------------------------------------- */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--akm-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-check-input:checked {
  background-color: var(--akm-primary);
  border-color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Custom Alert Stilleri - AKM Özel Alert Variants (Bootstrap 5 Üzerine)
   ------------------------------------------------------------------------- */
.alert-akm-primary {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--akm-primary);
  border-left: 4px solid var(--akm-primary);
  border-radius: var(--bs-border-radius);
  border: none;
  box-shadow: var(--bs-box-shadow);
  padding: 1rem 1.5rem;
}

.alert-akm-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--akm-green);
  border-left: 4px solid var(--akm-green);
  border-radius: var(--bs-border-radius);
  border: none;
  box-shadow: var(--bs-box-shadow);
  padding: 1rem 1.5rem;
}

.alert-akm-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--akm-red);
  border-left: 4px solid var(--akm-red);
  border-radius: var(--bs-border-radius);
  border: none;
  box-shadow: var(--bs-box-shadow);
  padding: 1rem 1.5rem;
}

.alert-akm-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--akm-orange);
  border-left: 4px solid var(--akm-orange);
  border-radius: var(--bs-border-radius);
  border: none;
  box-shadow: var(--bs-box-shadow);
  padding: 1rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Modal Stilleri - AKM Özel Modal Variants (Bootstrap 5 Üzerine)
   ------------------------------------------------------------------------- */
.modal-content {
  border: none;
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--bs-box-shadow-lg);
}

.modal-title {
  font-weight: 600;
  color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------------------- */
.text-gradient {
  background: linear-gradient(45deg, var(--akm-primary), var(--bs-info));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.rounded-custom {
  border-radius: var(--bs-border-radius-lg) !important;
}

.rounded-xl {
  border-radius: var(--bs-border-radius-xl) !important;
}

.rounded-2xl {
  border-radius: var(--bs-border-radius-2xl) !important;
}

.shadow-custom {
  box-shadow: var(--bs-box-shadow) !important;
}

.shadow-lg-custom {
  box-shadow: var(--bs-box-shadow-lg) !important;
}

.transition-custom {
  transition: all 0.15s ease-in-out !important;
}

.section-padding {
  padding: 4rem 0;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.backdrop-blur {
  backdrop-filter: blur(5px);
}

/* -------------------------------------------------------------------------
   Hover Efektleri
   ------------------------------------------------------------------------- */
.hover-lift {
  transition: transform 0.15s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform 0.15s ease-in-out;
}

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

.hover-shadow {
  transition: box-shadow 0.15s ease-in-out;
}

.hover-shadow:hover {
  box-shadow: var(--bs-box-shadow-lg);
}

/* -------------------------------------------------------------------------
   Loading Spinner
   ------------------------------------------------------------------------- */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------
   Animasyonlar
   ------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* -------------------------------------------------------------------------
   Renk Sınıfları
   ------------------------------------------------------------------------- */
.text-akm-primary { color: var(--akm-primary) !important; }
.text-akm-secondary { color: var(--akm-secondary) !important; }
.text-akm-success { color: var(--akm-green) !important; }
.text-akm-danger { color: var(--akm-red) !important; }
.text-akm-warning { color: var(--akm-orange) !important; }

.bg-akm-primary { background-color: var(--akm-primary) !important; }
.bg-akm-secondary { background-color: var(--akm-secondary) !important; }
.bg-akm-success { background-color: var(--akm-green) !important; }
.bg-akm-danger { background-color: var(--akm-red) !important; }
.bg-akm-warning { background-color: var(--akm-orange) !important; }

/* -------------------------------------------------------------------------
   Responsive Özelleştirmeler
   ------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .akmslider {
    height: 400px;
  }

  .akmslider .slide-content h2 {
    font-size: 2rem;
  }

  .akmslider .slide-content p {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .akmslider {
    height: 300px;
  }

  .akmslider .slide-content {
    padding: 1.5rem;
  }

  .akmslider .slide-content h2 {
    font-size: 1.5rem;
  }

  .akmslider .slide-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem !important;
  }

  .main-header .navbar-nav {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: var(--bs-border-radius-lg);
    margin-top: 0.5rem;
  }

  .feature-item,
  .testimonial-card,
  .product-card {
    margin-bottom: 2rem;
  }

  .section-padding {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .akmslider {
    height: 250px;
  }

  .akmslider .slide-content {
    padding: 1rem;
  }

  .akmslider .slide-content h2 {
    font-size: 1.25rem;
  }

  .akmslider .slide-content p {
    font-size: 0.875rem;
  }

  .cards-section .section-title,
  .features-section .section-title,
  .testimonials-section .section-title,
  .contact-section .section-title {
    font-size: 1.75rem !important;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-content {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
   Scrollbar Stilleri (Webkit tabanlı tarayıcılar için)
   ------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* -------------------------------------------------------------------------
   Selection Stilleri
   ------------------------------------------------------------------------- */
::selection {
  background-color: rgba(0, 123, 255, 0.2);
  color: var(--akm-primary);
}

::-moz-selection {
  background-color: rgba(0, 123, 255, 0.2);
  color: var(--akm-primary);
}

/* Breadcrumb Divider */
.breadcrumb {
    --bs-breadcrumb-divider: ' > ';
}

/* ==========================================================================
   Professional Newspaper Typography (NYT Style)
   ========================================================================== */

/* Section / Category Labels - Subtle & Modern */
.nyt-news-heading {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #121212 !important;
    border-top: 2px solid #000 !important; /* NYT's distinct heavy section line */
    border-bottom: none !important;
    padding-top: 0.65rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0 !important;
    display: block;
    width: 100%;
    transition: all 0.2s ease;
}

.nyt-news-heading a {
    color: inherit !important;
    text-decoration: none !important;
}

.nyt-news-heading a:hover {
    opacity: 0.7;
}

/* Category Column - Modern Grid with Dividers (Fine Ink Grid) */
.category-column {
    border-right: 1px solid #eeeeee !important;
    border-bottom: 1px solid #eeeeee !important;
    background-color: #ffffff !important;
    transition: background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-column:hover {
    background-color: #fafafa !important;
}

/* 3-column behavior alignment */
@media (min-width: 992px) {
    .category-column:nth-child(3n) {
        border-right: none !important; /* Clean outer edge */
    }
}

/* Ensure visual hierarchy */
@media (max-width: 768px) {
    .nyt-news-heading {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
        padding-top: 0.5rem !important;
    }
    .category-column {
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
    }
}

/* Article Headlines & Content - Premium Typography */
.nyt-article-title {
    font-family: 'Literata', serif !important;
    font-size: 1.32rem !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    margin-bottom: 0.65rem !important;
    transition: color 0.2s;
}

.nyt-article-title a {
    color: #121212 !important;
    text-decoration: none !important;
}

.nyt-article-title a:hover {
    color: #333 !important;
}

.nyt-article-summary {
    font-family: var(--bs-font-sans-serif);
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
    color: #374151 !important;
    margin-top: 0.85rem !important;
}

.nyt-article-meta {
    color: #64748b !important;
    letter-spacing: 0.05em !important;
}