:root {
  --brand: #c8102e;
  --brand-strong: #aa0f29;
  --brand-soft: rgba(200, 16, 46, 0.08);
  --text-dark: #0f172a;
  --text-muted: #6c757d;
  --card-border: #e5e7eb;
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body {
  font-family: 'Urbanist', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fdfdfd;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

.logo-img {
  height: 48px;
  width: auto;
}

.topbar {
  background: #f8f9fa;
  font-size: 0.95rem;
}

.navbar {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 14px;
  position: relative;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--brand);
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
}

/* Dropdown başlıkları aktifken de alt çizgi göster */
.navbar .nav-link.dropdown-toggle.active::after {
  bottom: -6px;
  height: 2px;
  opacity: 1;
}

.dropdown-menu {
  border-radius: 12px;
  border-color: var(--card-border);
  box-shadow: var(--card-shadow);
}

.navbar .dropdown-toggle::after {
  display: none;
}

.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 4px;
}

.nav-search .form-control {
  min-width: 220px;
  border-radius: 999px;
}

.nav-search .btn {
  border-radius: 999px;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1100;
}

.btn-floating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-floating i {
  font-size: 1.1rem;
}

.btn-floating.call {
  background: #c8102e;
}

.btn-floating.whatsapp {
  background: #25d366;
}

.btn-floating.map {
  background: #0ea5e9;
}

.btn-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  color: #fff;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 6px;
  z-index: 20;
  display: none;
  max-height: 260px;
  overflow-y: auto;
}

.search-suggestions.is-open {
  display: block;
}

.search-suggestion {
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.15s ease;
}

.search-suggestion:hover,
.search-suggestion:focus {
  background: var(--brand-soft);
  color: var(--text-dark);
}

.search-suggestion .suggest-title {
  flex: 1;
}

.search-suggestion .suggest-code {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.search-suggestion.view-all {
  text-decoration: none;
  justify-content: center;
  border: 1px dashed rgba(200, 16, 46, 0.4);
}

.hero {
  position: relative;
  overflow: hidden;
  --hero-bg-1: url('../img/emr-oto-elektronik-hero-banner-1.png');
  --hero-bg-2: url('../img/emr-oto-elektronik-hero-banner-2.png');
  --hero-bg-3: url('../img/emr-oto-elektronik-hero-banner-3.png');
  --hero-bg-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16));
  background: var(--hero-bg-overlay), var(--hero-bg-1);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hero-bg-overlay), var(--hero-bg-1);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: heroCycle 24s linear infinite;
  filter: blur(0.9px);
  transform: scale(1.01);
  z-index: 0;
}

.hero-split {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
}

.hero-left {
  padding-right: 24px;
}

@keyframes heroCycle {
  0% { background-image: var(--hero-bg-overlay), var(--hero-bg-1); }
  32% { background-image: var(--hero-bg-overlay), var(--hero-bg-1); }
  33% { background-image: var(--hero-bg-overlay), var(--hero-bg-2); }
  65% { background-image: var(--hero-bg-overlay), var(--hero-bg-2); }
  66% { background-image: var(--hero-bg-overlay), var(--hero-bg-3); }
  100% { background-image: var(--hero-bg-overlay), var(--hero-bg-3); }
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-actions .btn {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.15);
}

.hero-actions .btn.btn-outline-danger {
  box-shadow: none;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.25));
}

.product-carousel-wrapper {
  padding: 0;
}

.product-carousel-wrapper .carousel-inner {
  overflow: hidden;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: visible;
}

.pagination .page-link {
  color: var(--brand);
  border-color: rgba(200, 16, 46, 0.2);
}

.pagination .page-link:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.pagination .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: var(--text-muted);
  background: #f8f9fa;
  border-color: rgba(200, 16, 46, 0.1);
}

.filter-card {
  border: 1px solid var(--brand);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: #fff;
  overflow: hidden;
}

.filter-card .list-group-item {
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-weight: 500;
}

.filter-card .list-group-item.active {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-color: var(--brand);
}

.filter-card .list-group-item:hover {
  background: rgba(200, 16, 46, 0.1);
  color: var(--brand);
}

.filter-card h6 {
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-scroll {
  overflow-y: auto;
  max-height: 500px;
  padding-right: 6px;
}

@media (max-width: 767.98px) {
  .filter-scroll {
    max-height: 500px;
  }

  .product-sort-form {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .product-sort-form .input-group {
    width: 80%;
    max-width: 320px;
  }
}

.filter-search {
  border-color: rgba(200, 16, 46, 0.3);
}

.product-sort-select {
  min-width: 210px;
  border-color: rgba(200, 16, 46, 0.3);
}

.input-group-text {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(200, 16, 46, 0.3);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-backdrop img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.product-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--card-border);
  color: var(--brand);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  top: 12px;
  transform: translateY(0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.product-carousel-wrapper .carousel-control-prev {
  left: 0;
  top: 50%;
}

.product-carousel-wrapper .carousel-control-next {
  right: 0;
  top: 50%;
}

.product-nav:hover {
  background: var(--brand);
  color: #fff;
}

.product-nav span {
  font-size: 26px;
  line-height: 1;
}

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

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-link:hover {
  color: inherit;
}

.product-card-link .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-detail-section .product-media,
.product-detail-section .product-info-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.product-detail-section .product-media {
  padding: 16px;
  min-height: 420px;
  align-self: flex-start;
}

.product-media-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
}

.product-main-img {
  position: relative;
  flex: 1;
  width: 100%;
  aspect-ratio: 3 / 4 !important;
  min-height: 420px;
  max-height: 640px;
  background: linear-gradient(135deg, #fff, #f5f7fb);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.product-main-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

@media (max-width: 767.98px) {
  .product-main-img {
    aspect-ratio: 3 / 4;
    min-height: 320px;
    max-height: none;
  }
}

.product-media-meta {
  margin-top: 12px;
}

.product-main-zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.product-main-img:hover .product-main-zoom,
.product-main-img:focus-visible .product-main-zoom {
  opacity: 1;
  transform: scale(1);
}

.product-thumbs {
  display: flex;
  gap: 10px;
}

.product-thumbs-vertical {
  flex-direction: column;
  width: 78px;
  flex-shrink: 0;
}

.product-thumb {
  border: 1px solid var(--card-border);
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  width: 72px;
  aspect-ratio: 3 / 4 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px;
}

.product-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.12);
}

/* Ürün kartları (benzer ürünler vb.) için 3:4 oran */
.product-tile .product-thumb {
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  max-height: none !important;
}

.product-tile .product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.card-img-top {
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
}

@media (max-width: 991.98px) {
  .product-lightbox-nav {
    display: none !important;
  }

  .product-lightbox-dialog {
    max-width: 100vw;
    padding: 0 12px;
  }

  .product-lightbox-body img {
    max-width: 92vw;
    max-height: 80vh;
  }

  .product-media-inner {
    flex-direction: column;
  }
  .product-thumbs-vertical {
    order: 2;
    flex-direction: row;
    width: auto;
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .product-thumb {
    width: 64px;
  }
  .product-main-img {
    order: 1;
  }
}

.product-info-card {
  padding: 24px;
}

.product-title-lg {
  font-size: 1.6rem;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .product-title-lg {
    font-size: 1.9rem;
  }
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 16px;
}

.product-meta-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fb;
  border: 1px solid #edf0f4;
}

.product-meta-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-meta-value {
  font-weight: 700;
  color: var(--text-dark);
}

.product-description-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fdfdfd;
  border: 1px solid #edf0f4;
}

.product-price-cta {
  border-top: 1px solid #edf0f4;
}

body.lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.product-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-lightbox-body {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.product-lightbox-body img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.product-lightbox-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.product-lightbox-nav {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  color: var(--text-dark);
}

.product-lightbox-nav:hover {
  background: #fff;
}

.product-row {
  align-items: stretch;
}

.product-tile {
  border: 2px solid var(--brand);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.product-tile .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-tile .product-footer {
  margin-top: auto;
}

.product-tile .product-thumb {
  aspect-ratio: 3 / 4 !important;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff, #f5f7fb);
  overflow: hidden;
}

.product-tile .product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.card-img-top {
  width: 100%;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  cursor: pointer;
}

.product-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-title {
  line-height: 1.3;
}

.product-code,
.product-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-code {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer .btn {
  font-weight: 700;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-icon-card {
  border: 2px solid var(--brand);
  border-radius: 14px;
  padding: 18px 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.services-grid {
  margin-top: 8px;
}

.bordered {
  border: 2px solid #c50f2e;
}

.band {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.12), rgba(200, 16, 46, 0.05));
  padding: 32px;
  border: 1px solid rgba(200, 16, 46, 0.12);
}

.band-hero {
  box-shadow: var(--card-shadow);
  text-align: center;
  background: linear-gradient(135deg, #c8102e, #a30f27);
  border: none;
  color: #fff;
}

.band-visual img {
  width: 100%;
  height: auto;
}

.feature-card {
  border: 1px dashed rgba(200, 16, 46, 0.35);
  border-radius: 12px;
  padding: 14px 10px;
  background: #fff;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.badge-soft {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.badge-outline {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: var(--brand);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-panel {
  border-radius: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ffffff, #f8f9fb);
  border: 1px solid #e9ecef;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.cta-panel .btn {
  min-width: 120px;
}

.service-info-card {
  border-radius: 16px;
  background: #fff;
}

.service-info-card .card-body {
  padding: 24px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(200, 16, 46, 0.2);
}

.bullet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
  flex-shrink: 0;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  font-weight: 700;
  color: var(--text-dark);
}

.service-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8f9fb;
}

.service-step .step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--brand-soft);
  flex-shrink: 0;
}

.service-hero-card {
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.service-hero-text h3 {
  font-size: 1.5rem;
}

.service-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.service-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px dashed rgba(200, 16, 46, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
}

.service-meta-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e9ecef;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-card {
    padding: 22px;
  }
}

@media (max-width: 767.98px) {
  .service-hero-text h3 {
    font-size: 1.3rem;
  }

  .service-point {
    grid-template-columns: auto 1fr;
  }
}

.timeline-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.pill-cta {
  border-radius: 999px;
  padding-inline: 22px;
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.18);
}

.modern-contact,
.contact-card {
  border-radius: 16px;
  border: 2px solid var(--brand);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-soft);
}

.contact-list li {
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 12px;
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.captcha-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  letter-spacing: 8px;
  font-weight: 700;
  min-width: 160px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.map-embed iframe {
  border-radius: 12px;
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  height: 100%;
}

.map-embed {
  background: transparent;
  border-radius: 14px;
  border: 2px solid var(--brand) !important;
  box-shadow: none;
  padding: 0;
  height: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.footer-col h6 {
  letter-spacing: 0.3px;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-color: var(--card-border) !important;
}

.tm-mark {
  font-size: 0.7em;
  vertical-align: super;
}

.shadow-soft {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--card-border);
}

.admin-nav .nav-link.active,
.admin-nav .nav-link:hover {
  color: var(--brand);
  font-weight: 700;
}

.auto-dismiss {
  animation: fadeOut 8s ease forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    box-shadow: none;
  }

  .nav-search .form-control {
    min-width: 0;
    width: 100%;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .btn-floating {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .btn-floating span {
    display: none;
  }

  .hero {
    text-align: center;
  }

  .hero-left {
    padding-right: 0;
    padding: 20px;
  }

  .hero-actions {
    justify-content: center;
  }

  .product-thumb {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .card-img-top {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .product-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .product-thumb {
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 0;
  }

  .card-img-top {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .product-card-title {
    font-size: 0.98rem;
  }

  .product-carousel-wrapper {
    padding: 6px 0;
  }

  .cta-panel {
    padding: 18px;
  }

  .cta-panel .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-tagline {
    display: inline-flex;
    font-size: 0.9rem;
  }

  /* Hizmet sayfaları mobil: görsel üstte, metin altta */
  .service-hero-row {
    flex-direction: column-reverse;
  }

  .service-hero-row > [class*="col-lg-4"],
  .service-hero-row > [class*="col-lg-5"] {
    order: -1;
    width: 100%;
  }

  .service-hero-row .product-main-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
  }

  .service-hero-row .badge-outline {
    margin-bottom: 10px;
  }

  .topbar {
    display: none;
  }

  .product-carousel-wrapper .carousel-control-prev,
  .product-carousel-wrapper .carousel-control-next {
    top: -5%;
  }

  footer .footer-col {
    text-align: center !important;
    align-items: center;
  }

  footer .footer-col .d-flex {
    justify-content: center;
  }

  footer .footer-col:nth-of-type(1),
  footer .footer-col:nth-of-type(4) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  footer .footer-col:nth-of-type(2),
  footer .footer-col:nth-of-type(3) {
    flex: 0 0 50%;
    max-width: 50%;
  }

  footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}

/* --- Admin panel tasarımı --- */
.admin-body {
  background: radial-gradient(circle at 15% 20%, rgba(200, 16, 46, 0.08), #fff),
    radial-gradient(circle at 85% 10%, rgba(200, 16, 46, 0.05), #fff),
    #fdfdfd;
  min-height: 100vh;
}

.admin-shell {
  position: relative;
  max-width: 1400px;
  margin: 28px auto 64px;
  padding: 0 24px;
}

.admin-login-shell {
  position: relative;
  max-width: 520px;
  margin: 70px auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-ambient {
  position: absolute;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}

.admin-ambient.one {
  width: 220px;
  height: 220px;
  background: rgba(200, 16, 46, 0.18);
  top: 0;
  left: 18%;
}

.admin-ambient.two {
  width: 260px;
  height: 260px;
  background: rgba(200, 16, 46, 0.12);
  top: 160px;
  right: 10%;
}

.admin-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eceef3;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.admin-title {
  margin: 0;
  font-size: 1.6rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
}

.menu-toggle {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.pill.accent {
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand);
  border-color: rgba(200, 16, 46, 0.16);
}

.pill.muted {
  background: #f7f8fb;
  color: var(--text-dark);
  border-color: #eceef3;
}

.pill.ghost {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-dark);
  border-color: rgba(15, 23, 42, 0.05);
}

.pill.subtle {
  background: #fff;
  color: var(--text-muted);
  border-color: #eceef3;
  box-shadow: none;
}

.admin-btn {
  border: 1px solid #eceef3;
  background: #fff;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.admin-btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  border-color: rgba(200, 16, 46, 0.6);
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.24);
}

.admin-btn.ghost {
  background: rgba(15, 23, 42, 0.04);
}

.admin-btn.subtle {
  background: #fff;
}

.admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.admin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eceef3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 16px 0 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eceef3;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: visible;
}

.ribbon-item {
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.ribbon-dropdown {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  flex-direction: column;
}

.ribbon-submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #eceef3;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--card-shadow);
  margin-top: 8px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  z-index: 2000;
}

.ribbon-submenu.is-open {
  display: flex;
}

.ribbon-subitem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #eceef3;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
}

.ribbon-subitem:hover {
  color: var(--brand);
  border-color: rgba(200, 16, 46, 0.2);
}

.ribbon-item.active,
.ribbon-item:hover,
.ribbon-item:focus {
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand);
  outline: none;
}

.admin-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eceef3;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
  margin-bottom: 14px;
}

.admin-card.soft {
  background: rgba(255, 255, 255, 0.88);
}

.login-hero {
  min-height: 420px;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-panel.compact {
  padding: 24px;
}

.login-form .form-block {
  margin-bottom: 12px;
}

.login-form .admin-btn {
  justify-content: center;
}

.admin-card h3 {
  margin: 0;
}

.metric-card .metric-value {
  line-height: 1.2;
}

.small-pill {
  padding: 6px 10px;
  font-size: 0.85rem;
}

.hero {
  padding: 22px;
}

.hero-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.hero-health {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  padding: 12px;
  background: rgba(200, 16, 46, 0.04);
  border: 1px solid rgba(200, 16, 46, 0.12);
  border-radius: 14px;
}

.hero-health strong {
  font-size: 1.3rem;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
}

.metric-sub {
  margin: 0;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: #eceef3;
  margin-bottom: 20px;
}

.timeline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eceef3;
}

.timeline-point.active {
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.12);
}

.tag {
  padding: 6px 10px;
  border-radius: 10px;
  background: #f5f6fa;
  font-weight: 700;
  font-size: 0.92rem;
}

.tag.success {
  background: rgba(52, 199, 89, 0.12);
  color: #2d8653;
}

.admin-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 18px 0 8px;
}

.admin-grid.two-col {
  grid-template-columns: 1.2fr 0.8fr;
}

.admin-grid.three-col {
  grid-template-columns: 1.6fr 1fr 0.9fr;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.auth-forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 12px;
  margin-bottom: 12px;
}

.form-block label {
  margin-bottom: 6px;
}

.glassy {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.session-highlight {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(200, 16, 46, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid #eceef3;
}

.session-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bullet-list {
  padding-left: 0;
  margin: 0 0 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list.tight {
  gap: 6px;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.meter {
  width: 100%;
  height: 10px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.meter.slim {
  height: 8px;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  border-radius: 999px;
}

.meter.danger span {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.backup-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 6px;
  padding: 12px;
  border: 1px dashed #eceef3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.backup-info {
  flex: 1;
}

.backup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.backup-actions .admin-btn {
  white-space: nowrap;
  padding: 12px 16px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.shortcut-grid.vertical {
  display: flex;
  flex-direction: column;
}

.shortcut {
  border: 1px solid #eceef3;
  background: rgba(255, 255, 255, 0.94);
  padding: 12px;
  border-radius: 14px;
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.shortcut:hover {
  border-color: rgba(200, 16, 46, 0.2);
  color: var(--brand);
}

.sql-card .sql-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sql-chip {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #eceef3;
  background: #fff;
  font-weight: 700;
  color: var(--text-muted);
}

.sql-chip.active {
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand);
  border-color: rgba(200, 16, 46, 0.16);
}

.sql-editor {
  border-radius: 14px;
  border: 1px solid #eceef3;
  background: #0f172a;
  color: #e5e7eb;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sql-editor pre {
  margin: 0;
  font-family: 'Space Grotesk', 'SFMono-Regular', Menlo, monospace;
  font-size: 0.94rem;
  white-space: pre-wrap;
}

.sql-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sql-result {
  border: 1px solid #eceef3;
  border-radius: 14px;
  overflow: hidden;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f2f5;
}

.result-row.head {
  background: rgba(200, 16, 46, 0.06);
  font-weight: 700;
  color: var(--brand);
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #eceef3;
}

.table-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 10px;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feed-card .feed-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.feed-item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #eceef3;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.feed-item.success {
  border-color: rgba(52, 199, 89, 0.3);
}

.feed-item.info {
  border-color: rgba(59, 130, 246, 0.3);
}

.feed-item.warning {
  border-color: rgba(234, 179, 8, 0.3);
}

.feed-item.danger {
  border-color: rgba(239, 68, 68, 0.3);
}

.admin-footer {
  color: var(--text-muted);
}

@media (max-width: 1199.98px) {
  .admin-grid.two-col,
  .admin-grid.three-col,
  .admin-hero-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-shell {
    margin: 40px auto;
  }

  .admin-actions,
  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .admin-top {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 22px;
  }

  .admin-brand {
    width: auto;
    flex: 0 0 auto;
  }

  .admin-title {
    font-size: 1.35rem;
  }

  .admin-brand .eyebrow,
  .admin-brand .admin-title {
    display: none;
  }

  .admin-actions {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    flex: 1 1 auto;
  }

  .admin-actions .admin-btn {
    justify-content: center;
    gap: 6px;
    padding: 12px;
    min-width: 48px;
    height: 48px;
  }

  .admin-actions .admin-btn .btn-label {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .admin-login-shell {
    margin: 28px auto;
  }

  .hero-health {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .sql-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-row {
    grid-template-columns: 1fr;
  }

  .backup-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .backup-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .admin-ribbon {
    padding: 10px 12px;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-ribbon.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    position: relative;
    z-index: 2000;
  }

  .admin-ribbon::-webkit-scrollbar {
    height: 6px;
  }

  .admin-ribbon::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 999px;
  }

  .ribbon-item {
    border: 1px solid #eceef3;
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    width: 100%;
    justify-content: flex-start;
  }

  .ribbon-submenu {
    width: 100%;
    position: static;
    box-shadow: none;
    z-index: auto;
  }
}
