/* Home / Dosyalar / Cezalar — Cleopatra shell extensions */

/* —— Home —— */
.home-hero-card {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  animation: cleo-in 0.5s ease both;
}

@media (min-width: 900px) {
  .home-hero-card {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
  }
}

.home-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-brand-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-logo {
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: #111827;
  padding: 0.55rem;
  object-fit: contain;
}

.home-brand h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.home-role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cleo-muted);
  letter-spacing: -0.01em;
}

.home-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--cleo-border);
  background: #f9fafb;
  color: #374151;
  transition: background 0.15s, border-color 0.15s;
}

.home-social a:hover {
  border-color: #d1d5db;
  background: #fff;
}

.home-social a svg {
  width: 0.95rem;
  height: 0.95rem;
}

.home-social .s-wa { color: #15803d; }
.home-social .s-ig { color: #be185d; }
.home-social .s-li { color: #1d4ed8; }
.home-social .s-fb { color: #1d4ed8; }
.home-social .s-x { color: #111827; }
.home-social .s-gh { color: #111827; }

.home-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #f9fafb;
  border-top: 1px solid var(--cleo-border);
}

@media (min-width: 900px) {
  .home-side {
    border-top: none;
    border-left: 1px solid var(--cleo-border);
  }
}

.home-side h2 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cleo-muted);
}

.home-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.home-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  background: #fff;
  border: 1px solid var(--cleo-border);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cleo-fg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-side-list a:hover {
  border-color: #d1d5db;
  box-shadow: var(--cleo-shadow);
}

.home-side-list span {
  font-size: 0.75rem;
  color: var(--cleo-muted);
  font-weight: 500;
}

.home-quick {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .home-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-quick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-quick-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  animation: cleo-in 0.45s ease both;
}

.home-quick-card:nth-child(1) { animation-delay: 0.05s; }
.home-quick-card:nth-child(2) { animation-delay: 0.1s; }
.home-quick-card:nth-child(3) { animation-delay: 0.15s; }
.home-quick-card:nth-child(4) { animation-delay: 0.2s; }

.home-quick-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
  transform: translateY(-2px);
}

.home-quick-card h2 {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-quick-card p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
  flex: 1;
}

.home-quick-card .go {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cleo-accent);
}

.home-services {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .home-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .home-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-service {
  display: block;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.home-service:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.home-service strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.home-service span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--cleo-muted);
  line-height: 1.4;
}

.home-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.home-contact h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-contact p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.45;
  max-width: 28rem;
}

.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.home-contact-actions .tel {
  background: #fff;
  color: #111827;
}

.home-contact-actions .wa {
  background: #16a34a;
  color: #fff;
}

.home-contact-actions .more {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* —— Shared FAQ —— */
.cleo-faq {
  display: grid;
  gap: 0.55rem;
}

.cleo-faq details {
  background: var(--cleo-card, #fff);
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: var(--cleo-radius, 0.875rem);
  box-shadow: var(--cleo-shadow);
  padding: 0.85rem 1rem;
}

.cleo-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  list-style: none;
}

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

.cleo-faq summary::after {
  content: "+";
  float: right;
  color: var(--cleo-muted, #6b7280);
  font-weight: 600;
}

.cleo-faq details[open] summary::after {
  content: "–";
}

.cleo-faq p {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

/* —— Dosyalar —— */
.file-stack {
  display: grid;
  gap: 1rem;
}

.file-card {
  overflow: hidden;
  animation: cleo-in 0.45s ease both;
}

.file-card:nth-child(2) { animation-delay: 0.08s; }
.file-card:nth-child(3) { animation-delay: 0.16s; }

.file-card-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .file-card-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .file-card-grid.reverse .file-card-media {
    order: 2;
  }
}

.file-card-media {
  background: #f3f4f6;
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.file-card-media img {
  width: 100%;
  max-height: 14rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.file-card-copy {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.file-card-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.file-card-copy p,
.file-card-copy li {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
}

.file-card-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.file-card-copy li {
  display: flex;
  gap: 0.4rem;
}

.file-card-copy li span {
  color: var(--cleo-teal);
  font-weight: 700;
}

.file-card-copy .note {
  font-size: 0.8rem;
  color: var(--cleo-muted);
}

.file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.cleo-pill.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.cleo-pill.gray {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #e5e7eb;
}

/* —— Cezalar chrome —— */
.ceza-toolbar {
  position: sticky;
  top: 57px;
  z-index: 40;
  background: rgba(244, 245, 247, 0.94);
  border-bottom: 1px solid var(--cleo-border);
  backdrop-filter: blur(10px);
}

.ceza-toolbar-inner {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 0.85rem 0;
}

.ceza-search-wrap {
  position: relative;
}

.ceza-search-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: #9ca3af;
  pointer-events: none;
}

.ceza-search-wrap input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--cleo-border);
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  box-shadow: var(--cleo-shadow);
}

.ceza-search-wrap input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#category-tabs {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

#category-tabs button,
.ceza-tab,
.tab-btn {
  flex-shrink: 0;
  border: 1px solid var(--cleo-border);
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: #4b5563;
  cursor: pointer;
}

#category-tabs button.is-active,
#category-tabs button.bg-amber-600,
.ceza-tab.is-active,
.tab-btn.bg-amber-600,
.tab-btn.is-active {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}

.page-warn {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--cleo-radius);
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.5;
}

/* JS-rendered cezalar utilities (from pages.css) */
.space-y-8 > * + * { margin-top: 2rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 999px; }
.border { border-width: 1px; border-style: solid; }
.border-slate-200 { border-color: #e5e7eb; }
.border-slate-100 { border-color: #f3f4f6; }
.border-slate-300 { border-color: #d1d5db; }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f9fafb; }
.bg-blue-900 { background: #111827; }
.bg-white\/10 { background: rgba(255, 255, 255, 0.1); }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.text-slate-900 { color: #111827; }
.text-slate-800 { color: #1f2937; }
.text-slate-700 { color: #374151; }
.text-slate-600 { color: #4b5563; }
.text-slate-500 { color: #6b7280; }
.text-slate-400 { color: #9ca3af; }
.text-slate-300 { color: #d1d5db; }
.text-amber-700 { color: #b45309; }
.text-blue-700 { color: #1d4ed8; }
.text-white { color: #fff; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-relaxed { line-height: 1.625; }
.whitespace-nowrap { white-space: nowrap; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }
.min-w-full { min-width: 100%; }
.w-28 { width: 7rem; }
.w-36 { width: 9rem; }
.h-2 { height: 0.5rem; }
.w-2 { width: 0.5rem; }
.shrink-0 { flex-shrink: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.divide-y > * + * { border-top: 1px solid #e5e7eb; }
.divide-slate-200 > * + * { border-top-color: #e5e7eb; }
.divide-slate-100 > * + * { border-top-color: #f3f4f6; }
.shadow-sm { box-shadow: var(--cleo-shadow); }
.hidden { display: none !important; }
.grid { display: grid; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-dashed { border-style: dashed; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, #fff, #f9fafb); }
.bg-gradient-to-r { background-image: linear-gradient(90deg, #111827, #1e3a8a); }
.from-blue-900 { }
.to-blue-800 { }
.from-white { }
.to-slate-50 { }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#content table {
  width: 100%;
  border-collapse: collapse;
}

#content thead {
  background: #111827;
  color: #fff;
}

#content th {
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#content td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-top: 1px solid #f3f4f6;
}

#content tbody tr:hover {
  background: #f9fafb;
}

#content section > .border-b,
#content .bg-gradient-to-r {
  background: linear-gradient(90deg, #111827, #1e3a8a) !important;
  color: #fff;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#content section {
  border-radius: var(--cleo-radius);
  box-shadow: var(--cleo-shadow);
}
