/* Mobil menü ikonunun koyu üst menü çubuğunda her temada görünür kalması */
.menu-button,
html[data-theme="light"] .menu-button,
html[data-theme="dark"] .menu-button {
  color: #f3f4f4 !important;
  cursor: pointer;
}

/* Ghost butonlar için temel dolgu ve hizalama (inline style varsa onu korur) */
.btn-atelier-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* WebP <picture> sarmalayıcısının mevcut görsel yerleşimini (flex/grid/absolute) bozmaması */
.ars-picture {
  display: contents;
}

/* Semantik ekmek kırıntısı (Breadcrumb) */
.ars-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--text-muted-steel);
}
.ars-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WCAG 2.2 AA Odak Görünürlüğü ve Skip Link */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: #0b111b;
  color: #f8fafc;
  border: 2px solid #c5a059;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .menu-button,
  .product-menu-toggle,
  .theme-toggle,
  .nav > a,
  .btn-atelier-primary,
  .btn-atelier-gold,
  .btn-atelier-secondary {
    min-height: 44px;
  }
}

/* Ana Sayfa Ek Slogan & Alt Başlık Hiyerarşisi */
.atelier-hero-tagline {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent-champagne, #b68c3d);
  margin: -10px 0 14px;
}

.ars-hero-slogan {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-steel, #64748b);
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .atelier-hero-title {
    font-size: clamp(28px, 8.2vw, 38px) !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* Fotogrametri Karşılaştırma Tablosu & İş Akışı Rozetleri */
.ars-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ars-compare-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
}

.ars-compare-table th,
.ars-compare-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.ars-compare-table thead th {
  font-weight: 750;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(197, 160, 89, 0.55);
}

.ars-role-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(197, 160, 89, 0.16);
  border: 1px solid rgba(197, 160, 89, 0.45);
}

/* Çalışmalarımız Kategori Izgarası */
.ars-tech-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ars-tech-group-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Randevu & Teknik Destek Formları KVKK Onayı & Ek Kurallar */
.photo-appointment {
  scroll-margin-top: 100px;
}

.ars-kvkk-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.ars-kvkk-check input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #c5a059;
  cursor: pointer;
}

.ars-form-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid #c5a059;
  background: rgba(197, 160, 89, 0.08);
  font-size: 12.5px;
  line-height: 1.6;
}

.photo-form-result.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.photo-form-result.success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
  .photo-appointment-form button[type="submit"],
  .support-request-form button[type="submit"] {
    min-height: 44px;
    width: 100%;
  }
}

/* Header Kompakt Arama Butonu */
.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.38);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  min-height: 36px;
}

.header-search-btn:focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 2px;
}

/* Ana Sayfa & /arama Akıllı Arama Kutusu */
.ars-search-hub {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 32, 34, 0.92));
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #f8fafc;
}

.ars-search-hub-title {
  margin: 4px 0 6px;
  font-size: clamp(20px, 2.2vw, 26px);
  color: #ffffff;
}

.ars-search-hub-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
}

.ars-search-hub-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  position: relative;
}

.ars-search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.ars-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c5a059;
  font-size: 18px;
  pointer-events: none;
}

.ars-search-input-wrap input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 42px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.42);
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 15px;
}

.ars-search-input-wrap input[type="search"]::placeholder {
  color: #94a3b8;
}

.ars-search-input-wrap input[type="search"]:focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 2px;
}

.ars-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 60;
  border-radius: 12px;
  background: #111827;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.ars-suggest-item,
.ars-suggest-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: #f8fafc;
  text-decoration: none;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.ars-suggest-item:last-child {
  border-bottom: 0;
}

.ars-suggest-item:hover,
.ars-suggest-item.is-active {
  background: rgba(197, 160, 89, 0.18);
}

.ars-suggest-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.2);
  color: #f6d58e;
  white-space: nowrap;
}

.ars-search-results-grid {
  display: grid;
  gap: 14px;
}

.ars-search-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  align-items: center;
}

.ars-search-thumb {
  display: block;
  width: 148px;
  height: 110px;
}

.ars-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* 50 Soruluk SSS Merkezi & Ana Sayfa SSS Akordeonları */
.ars-faq-toolbar {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
}

.ars-faq-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ars-faq-search-form input[type="search"] {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.42);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 14.5px;
}

.ars-faq-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ars-faq-cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.ars-faq-cat-chip.is-active,
.ars-faq-cat-chip:hover {
  background: #c5a059;
  color: #0f172a;
  border-color: #c5a059;
}

.ars-faq-count {
  margin: 12px 0 0;
  font-size: 13px;
  color: #cbd5e1;
}

.ars-faq-group {
  margin-bottom: 34px;
}

.ars-faq-list {
  display: grid;
  gap: 10px;
}

.ars-home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ars-faq-item {
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: rgba(17, 24, 39, 0.94);
  color: #f8fafc;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.ars-faq-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.ars-faq-summary::-webkit-details-marker {
  display: none;
}

.ars-faq-num {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.2);
  color: #f6d58e;
  white-space: nowrap;
}

.ars-faq-q {
  margin: 0;
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.ars-faq-toggle-icon {
  font-size: 18px;
  font-weight: 700;
  color: #c5a059;
  flex-shrink: 0;
}

details[open] > .ars-faq-summary .ars-faq-toggle-icon {
  transform: rotate(45deg);
}

.ars-faq-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 14px;
  line-height: 1.7;
  color: #e2e8f0;
}

.ars-faq-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ars-faq-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ars-faq-permalink {
  font-size: 12px;
  color: #f6d58e;
  text-decoration: underline;
}

.ars-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13.5px;
}

.ars-compare-table th,
.ars-compare-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  text-align: left;
  vertical-align: top;
}

@media (max-width: 768px) {
  .ars-search-hub-form {
    flex-direction: column;
  }
  .ars-search-hub-form .btn-atelier-gold {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .ars-home-faq-grid {
    grid-template-columns: 1fr;
  }
  .ars-search-card {
    grid-template-columns: 1fr;
  }
  .ars-search-thumb {
    width: 100%;
    height: 160px;
  }
}
