/**
 * Theme Corporate v3 — Birleşik kurumsal görünüm (son katman)
 */

:root {
  --corp-navy: #0f172a;
  --corp-navy-mid: #1e293b;
  --corp-slate: #334155;
  --corp-bg: #f1f5f9;
  --corp-bg-alt: #f8fafc;
  --corp-white: #ffffff;
  --corp-border: #e2e8f0;
  --corp-text: #1e293b;
  --corp-muted: #64748b;
  --corp-accent: var(--brand, #ea580c);
  --corp-accent-soft: #fff7ed;
  --corp-radius: 14px;
  --corp-radius-lg: 20px;
  --corp-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --corp-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --header-h: clamp(64px, 10vw, 80px);
}

body.ui-premium.theme-corporate {
  background: var(--corp-bg);
  background-image: none;
  color: var(--corp-text);
}

body.theme-corporate #main-content {
  animation: none;
}

.theme-corporate .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--corp-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-corporate .site-header.scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.theme-corporate .top-bar {
  background: var(--corp-navy);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: none;
  font-size: 0.8125rem;
}

.theme-corporate .top-bar a,
.theme-corporate .top-bar-item {
  color: rgba(255, 255, 255, 0.9);
}

.theme-corporate .nav-wrap {
  padding: 0.75rem 0;
}

.theme-corporate .logo img {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
}

.theme-corporate .logo strong {
  color: var(--corp-navy);
  font-weight: 700;
}

.theme-corporate .logo small {
  color: var(--corp-muted);
}

.theme-corporate .main-nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--corp-slate);
}

.theme-corporate .main-nav a.active,
.theme-corporate .main-nav a:hover {
  color: var(--corp-accent);
  background: var(--corp-accent-soft);
}

.theme-corporate .hero {
  background: linear-gradient(145deg, var(--corp-navy) 0%, var(--corp-navy-mid) 45%, #1a1208 100%);
  min-height: clamp(480px, 82vh, 680px);
}

.theme-corporate .hero-content h1 {
  font-weight: 800;
  color: #fff;
}

.theme-corporate .hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
}

.theme-corporate .gradient {
  background: linear-gradient(135deg, #fdba74, #fb923c, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-corporate .section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.theme-corporate .section.bg-light,
.theme-corporate .bg-light {
  background: var(--corp-bg-alt);
}

.theme-corporate .section-label {
  color: var(--corp-accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.theme-corporate .feature-card,
.theme-corporate .product-card,
.theme-corporate .article-card,
.theme-corporate .showcase-card,
.theme-corporate .testimonial-card {
  background: var(--corp-white);
  border: 1px solid var(--corp-border);
  border-radius: var(--corp-radius-lg);
  box-shadow: var(--corp-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-corporate .feature-card:hover,
.theme-corporate .product-card:hover,
.theme-corporate .article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--corp-shadow-lg);
  border-color: rgba(234, 88, 12, 0.2);
}

.theme-corporate .trust-bar {
  background: var(--corp-white);
  border-top: 1px solid var(--corp-border);
  border-bottom: 1px solid var(--corp-border);
}

.theme-corporate .page-hero {
  background: linear-gradient(135deg, var(--corp-navy) 0%, var(--corp-navy-mid) 100%);
}

.theme-corporate .page-hero h1 {
  color: #fff;
  font-weight: 800;
}

.theme-corporate .page-hero p,
.theme-corporate .page-hero-meta {
  color: rgba(255, 255, 255, 0.75);
}

.theme-corporate .site-footer {
  background: var(--corp-navy);
  color: rgba(255, 255, 255, 0.85);
  border-top: 3px solid var(--corp-accent);
}

.theme-corporate .site-footer h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-corporate .site-footer a:hover {
  color: #fdba74;
}

.theme-corporate .cta-section {
  background: linear-gradient(135deg, var(--corp-navy) 0%, #1a1208 100%);
}

.theme-corporate .cta-box {
  background: var(--corp-white);
  border: 1px solid var(--corp-border);
  border-radius: var(--corp-radius-lg);
  box-shadow: var(--corp-shadow-lg);
}

.theme-corporate .blog-cat-filter {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.theme-corporate .blog-cat-filter::-webkit-scrollbar {
  display: none;
}

.theme-corporate .blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 520px;
  margin-top: 1.25rem;
}

.theme-corporate .blog-search input {
  flex: 1;
  min-width: 180px;
}

.show-desktop-only {
  display: flex;
}

@media (max-width: 991px) {
  .show-desktop-only {
    display: none !important;
  }

  .theme-corporate .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .theme-corporate .hero {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .theme-corporate .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .theme-corporate .split,
  .theme-corporate .footer-grid,
  .theme-corporate .local-seo-grid,
  .theme-corporate .product-detail-grid,
  .theme-corporate .contact-grid {
    grid-template-columns: 1fr;
  }

  .theme-corporate .logo small {
    display: none;
  }
}

@media (max-width: 767px) {
  .theme-corporate .features {
    grid-template-columns: 1fr;
  }

  .theme-corporate .hero-actions .btn,
  .theme-corporate .cta-actions .btn,
  .theme-corporate .cta-box-actions .btn {
    width: 100%;
  }
}

body.admin-body.theme-corporate-admin {
  background: var(--corp-bg);
}

body.theme-corporate-admin .admin-card {
  border-radius: var(--corp-radius-lg);
  border: 1px solid var(--corp-border);
  box-shadow: var(--corp-shadow);
}
