/* Atapen — tema + özel stiller */

:root,
[data-theme='light'] {
  --brand-red: #d31111;
  --brand-red-bright: #e81818;
  --brand-red-deep: #8b0a0a;
  --bg: #f5f5f5;
  --bg-elevated: #ffffff;
  --bg-muted: #ebebeb;
  --bg-hero-veil: linear-gradient(
    180deg,
    rgba(245, 245, 245, 0.72) 0%,
    rgba(245, 245, 245, 0.35) 40%,
    rgba(245, 245, 245, 0.95) 100%
  ),
  linear-gradient(90deg, rgba(245, 245, 245, 0.85) 0%, transparent 55%),
  radial-gradient(ellipse 80% 60% at 70% 40%, rgba(211, 17, 17, 0.12) 0%, transparent 70%);
  --text: #121212;
  --text-muted: #5c5c5c;
  --text-soft: #3a3a3a;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.16);
  --header-bg: rgba(245, 245, 245, 0.9);
  --header-border: rgba(0, 0, 0, 0.08);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  --input-bg: rgba(0, 0, 0, 0.03);
  --input-border: rgba(0, 0, 0, 0.12);
  --ghost-color: #3a3a3a;
  --ghost-border: rgba(0, 0, 0, 0.2);
  --mobile-menu-bg: rgba(245, 245, 245, 0.98);
  --shape-a: rgba(211, 17, 17, 0.18);
  --shape-b: rgba(139, 10, 10, 0.14);
  --shape-c: rgba(211, 17, 17, 0.1);
  --cta-veil: linear-gradient(90deg, rgba(245, 245, 245, 0.95) 0%, rgba(245, 245, 245, 0.85) 50%, rgba(211, 17, 17, 0.2) 100%);
  --shadow-header: 0 8px 28px rgba(0, 0, 0, 0.08);
  --glow: 0 0 36px rgba(211, 17, 17, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #070707;
  --bg-elevated: #0e0e0e;
  --bg-muted: #121212;
  --bg-hero-veil: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0.55) 0%,
    rgba(7, 7, 7, 0.35) 35%,
    rgba(7, 7, 7, 0.92) 100%
  ),
  linear-gradient(90deg, rgba(7, 7, 7, 0.75) 0%, transparent 55%),
  radial-gradient(ellipse 80% 60% at 70% 40%, rgba(211, 17, 17, 0.22) 0%, transparent 70%);
  --text: #ffffff;
  --text-muted: #8a8a8a;
  --text-soft: #c8c8c8;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(7, 7, 7, 0.88);
  --header-border: rgba(255, 255, 255, 0.06);
  --card-bg: rgba(0, 0, 0, 0.55);
  --card-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.12);
  --ghost-color: #c8c8c8;
  --ghost-border: rgba(255, 255, 255, 0.2);
  --mobile-menu-bg: rgba(7, 7, 7, 0.98);
  --shape-a: rgba(211, 17, 17, 0.35);
  --shape-b: rgba(139, 10, 10, 0.4);
  --shape-c: rgba(255, 26, 26, 0.2);
  --cta-veil: linear-gradient(90deg, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.85) 45%, rgba(211, 17, 17, 0.35) 100%);
  --shadow-header: 0 8px 32px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(211, 17, 17, 0.35);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Theme-aware utility helpers */
.bg-page { background-color: var(--bg); }
.bg-elevated { background-color: var(--bg-elevated); }
.bg-muted { background-color: var(--bg-muted); }
.text-main { color: var(--text); }
.text-muted { color: var(--text-muted); }
.text-soft { color: var(--text-soft); }
.border-theme { border-color: var(--border); }

/* Header */
[data-header].is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--shadow-header);
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--brand-red);
  background: rgba(211, 17, 17, 0.08);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme='light'] .theme-toggle .icon-moon { display: block; }
[data-theme='dark'] .theme-toggle .icon-sun { display: block; }

/* Dropdown / Mega menü */
.nav-dropdown {
  position: static;
}

.nav-dropdown > .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > .nav-link::before {
  display: none;
}

.mega-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .mega-chevron,
.nav-dropdown:focus-within .mega-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 70;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-inner {
  width: 100%;
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.35rem;
}

@media (min-width: 1024px) {
  .mega-menu-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mega-item:hover,
.mega-item.is-active {
  background: rgba(211, 17, 17, 0.08);
}

.mega-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-red-bright), var(--brand-red-deep));
  color: #fff;
}

.mega-item-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.mega-item-desc {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mega-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mega-menu-footer {
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.mega-menu-footer a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-red);
}

.mega-menu-footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sabit iletişim butonları (sağ) */
.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.float-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 3.35rem;
  min-width: 3.35rem;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  text-decoration: none;
  transition: min-width 0.35s var(--ease-out), padding 0.35s var(--ease-out), transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.float-btn-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 3.35rem;
  height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: floatBob 2.5s ease-in-out infinite;
}

.float-btn-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  transition: max-width 0.35s var(--ease-out), opacity 0.25s ease, padding 0.35s var(--ease-out);
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.float-btn:hover .float-btn-label,
.float-btn:focus-visible .float-btn-label {
  max-width: 14rem;
  opacity: 1;
  padding-left: 1rem;
  padding-right: 0.35rem;
}

.float-btn-wa {
  background: #25d366;
}

.float-btn-tel {
  background: linear-gradient(145deg, var(--brand-red-bright), var(--brand-red-deep));
}

.float-btn-tel .float-btn-icon {
  animation-delay: 0.35s;
}

.float-btn:hover .float-btn-icon,
.float-btn:focus-visible .float-btn-icon {
  animation-play-state: paused;
}

.float-btn-wa::before,
.float-btn-tel::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: floatRing 2.4s ease-out infinite;
}

.float-btn-tel::before {
  box-shadow: 0 0 0 0 rgba(211, 17, 17, 0.4);
  animation-delay: 0.4s;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes floatRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* İletişim sayfası */
.contact-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .contact-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.contact-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 17, 17, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-chip-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.contact-chip-tel { background: linear-gradient(145deg, var(--brand-red-bright), var(--brand-red-deep)); }
.contact-chip-wa { background: #25d366; }
.contact-chip-mail { background: #1f2937; }
.contact-chip-map { background: #374151; }

.contact-chip-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-chip-value {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.contact-info-card {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.contact-form-shell {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
  .contact-form-shell {
    padding: 2rem;
  }
}

.contact-form-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-map {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 11;
  background: var(--bg-muted);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

@media (max-width: 1099px) {
  .float-contact {
    bottom: 4.5rem;
    right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-btn,
  .float-btn-icon,
  .float-btn-wa,
  .float-btn-tel,
  .float-btn-wa::before,
  .float-btn-tel::before {
    animation: none !important;
  }
  .float-btn:hover,
  .contact-chip:hover {
    transform: none;
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: Manrope, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red-bright) 0%, var(--brand-red) 55%, var(--brand-red-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), filter 0.35s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(211, 17, 17, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ghost-color);
  background: transparent;
  border: 1px solid var(--ghost-border);
  border-radius: 2px;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--brand-red);
  background: rgba(211, 17, 17, 0.08);
}

/* Hero */
.hero-overlay {
  background: var(--bg-hero-veil);
}

.hero-shapes-back .shape,
.hero-shapes-mid .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
}

.shape-a {
  width: 340px;
  height: 340px;
  top: 12%;
  right: 8%;
  background: var(--shape-a);
  animation: floatA 14s ease-in-out infinite;
}

.shape-b {
  width: 220px;
  height: 220px;
  bottom: 18%;
  left: 5%;
  background: var(--shape-b);
  animation: floatB 18s ease-in-out infinite;
}

.shape-c {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 40%;
  background: var(--shape-c);
  animation: floatC 11s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(24px, -36px) rotate(8deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 20px) rotate(-6deg); }
}

@keyframes floatC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, 22px); }
}

.scroll-down {
  animation: bounce 2.2s ease-in-out infinite;
  color: var(--text-muted);
}

.scroll-down:hover {
  color: var(--text);
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 6rem;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-veil);
}

/* Cards */
.service-card article,
.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card article:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 17, 17, 0.55);
  box-shadow: var(--glow);
}

/* Mobile menu */
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

[data-menu-toggle] {
  border: 1px solid var(--border);
  background: var(--input-bg);
}

[data-menu-toggle][aria-expanded='true'] .menu-icon {
  background: transparent;
}

[data-menu-toggle][aria-expanded='true'] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

[data-menu-toggle][aria-expanded='true'] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  background: var(--mobile-menu-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  color: var(--text-soft);
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-link:hover {
  color: var(--brand-red);
  transform: translateX(6px);
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: Manrope, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--brand-red);
  background: rgba(211, 17, 17, 0.05);
  box-shadow: 0 0 0 3px rgba(211, 17, 17, 0.15);
}

.form-input.is-invalid {
  border-color: #ff4d4d;
}

.form-status.is-ok {
  color: var(--brand-red);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5C5C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

[data-theme='dark'] select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brand-red);
}

.breadcrumb [aria-current='page'] {
  color: var(--text);
  font-weight: 600;
}

/* CTA band */
.cta-band-overlay {
  background: var(--cta-veil);
}

/* Feature list */
.feature-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-check::before {
  content: '';
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  background: var(--brand-red);
  border-radius: 1px;
}

.accent-frame {
  animation: pulseEdge 3.5s ease-in-out infinite;
}

@keyframes pulseEdge {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.reveal { opacity: 1; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shape-a, .shape-b, .shape-c, .scroll-down, .accent-frame {
    animation: none !important;
  }
  .btn-primary:hover,
  .service-card article:hover,
  .content-card:hover {
    transform: none;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

/* Tema bazlı logo — arka plan şeffaf, siyah kutu yok */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  background: transparent;
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo-img {
    height: 3.5rem;
  }
}

.logo-img.logo-footer {
  height: 3rem;
}

.logo-light { display: block; }
.logo-dark { display: none; }

[data-theme='dark'] .logo-light { display: none; }
[data-theme='dark'] .logo-dark { display: block; }

/* İçerik blokları */
.prose-atapen p + p {
  margin-top: 1rem;
}

.prose-atapen h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.prose-atapen h2:first-child {
  margin-top: 0;
}

.prose-atapen h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-atapen ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.prose-atapen li + li {
  margin-top: 0.35rem;
}

.prose-atapen strong {
  color: var(--text-soft);
  font-weight: 700;
}

.stat-value {
  font-family: Oswald, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-red);
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog — dikey sticky paylaşım */
.article-with-share {
  position: relative;
}

.share-rail {
  display: none;
}

@media (min-width: 1100px) {
  .share-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    position: sticky;
    top: 7rem;
    float: left;
    width: 3.25rem;
    margin-left: max(1rem, calc((100vw - 48rem) / 2 - 5.5rem));
    z-index: 20;
  }

  .article-with-share::after {
    content: '';
    display: table;
    clear: both;
  }
}

.share-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-soft);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.share-btn:hover {
  color: #fff;
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.share-copied {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-red);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobil: altta yatay sticky bar */
@media (max-width: 1099px) {
  .share-rail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 40;
    padding: 0.45rem 0.6rem;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-header);
  }

  .share-rail-label,
  .share-copied {
    display: none;
  }

  .share-btn {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
  }
}
