/**
 * BARBIE CNC - Düzen ve Yapı Stilleri (layout.css)
 */

/* ====================================================
   Üst Bilgi Çubuğu (Topbar) - Pembe & Koyu Grafit
==================================================== */
.site-topbar {
  background: linear-gradient(90deg, #13111C 0%, #1F1224 50%, #13111C 100%);
  border-bottom: 1px solid rgba(233, 75, 145, 0.32);
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 4px 0;
  gap: 12px;
  flex-wrap: nowrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #FCE8F1;
  background: rgba(233, 75, 145, 0.18);
  border: 1px solid rgba(233, 75, 145, 0.45);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FF3D9A;
  box-shadow: 0 0 8px #FF3D9A;
}

.topbar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.topbar-contact-item:hover {
  color: #FF7EB6;
}

.topbar-follow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 75, 145, 0.28);
  color: #FCE8F1;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.topbar-social-link:hover {
  background: linear-gradient(135deg, #FF4D9E 0%, #E94B91 100%);
  border-color: #FF7EB6;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 75, 145, 0.35);
}

.topbar-social-link.topbar-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.4);
  color: #86EFAC;
}

.topbar-social-link.topbar-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

/* Header Sosyal Medya İkon Butonları */
.header-social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: rgba(233, 75, 145, 0.12);
  border: 1px solid rgba(233, 75, 145, 0.35);
  color: #FCE8F1;
  transition: all var(--transition-fast);
}

.header-social-btn:hover {
  background: linear-gradient(135deg, #FF4D9E 0%, #E94B91 100%);
  border-color: #FF7EB6;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 75, 145, 0.4);
}

/* Mobil / Tablet Topbar Dil Seçici (TR / EN) */
.topbar-lang-selector {
  display: none;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 2px;
  border-radius: var(--radius-full);
  background: rgba(233, 75, 145, 0.14);
  border: 1px solid rgba(255, 77, 158, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.topbar-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #FCE8F1;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.topbar-lang-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 77, 158, 0.22);
}

.topbar-lang-btn.active {
  background: linear-gradient(135deg, #FF2A85 0%, #E94B91 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 42, 133, 0.45);
}

@media (max-width: 1024px) {
  .topbar-lang-selector {
    display: inline-flex;
  }
}

@media (max-width: 992px) {
  .topbar-follow-label,
  .topbar-social-link span,
  .hide-sm,
  .hide-mobile {
    display: none !important;
  }
  .topbar-inner {
    min-height: 34px;
    padding: 4px 0;
    justify-content: space-between;
  }
  .topbar-right {
    gap: 8px;
  }
  .topbar-socials {
    gap: 5px;
  }
  .topbar-social-link {
    padding: 0;
    width: 26px;
    height: 26px;
    justify-content: center;
  }
  .header-social-icons {
    display: none;
  }
}

@media (max-width: 390px) {
  .topbar-contact-item {
    font-size: 10.5px;
  }
  .topbar-right {
    gap: 6px;
  }
  .topbar-socials {
    gap: 4px;
  }
  .topbar-social-link {
    width: 24px;
    height: 24px;
  }
  .topbar-lang-selector {
    height: 24px;
  }
  .topbar-lang-btn {
    height: 18px;
    padding: 0 6px;
    font-size: 10px;
  }
}

/* Header / Navigasyon */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background-color: rgba(16, 17, 24, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 75, 145, 0.28);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  background-color: rgba(10, 14, 20, 0.95);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: var(--space-6);
}

/* Marka Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(233, 75, 145, 0.35));
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.03);
}

.header-founder-badge {
  display: none;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #FCE8F1;
  background: linear-gradient(90deg, rgba(233, 75, 145, 0.22), rgba(233, 75, 145, 0.10));
  border: 1px solid rgba(233, 75, 145, 0.48);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(233, 75, 145, 0.2);
}

@media (max-width: 992px) {
  .header-founder-badge {
    display: inline-flex;
  }
}

/* Masaüstü Menü */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Sağ Aksiyonlar */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Dil Seçici (Aktif TR / EN Geçişi) */
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 42, 133, 0.35);
  border-radius: var(--radius-xs);
  padding: 2px 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.lang-btn {
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: #FFFFFF;
  background-color: rgba(255, 42, 133, 0.2);
}

.lang-btn.active {
  background: linear-gradient(135deg, #FF2A85 0%, #E94B91 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(255, 42, 133, 0.35);
}

/* Mobil Hamburger Butonu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: all var(--transition-fast);
}

/* Mobil Menü Çekmecesi (Drawer) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 14, 20, 0.98);
  backdrop-filter: blur(20px);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all var(--transition-smooth);
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.mobile-nav-link .index {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-cyan);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-cyan);
}

/* Alt Sayfa Banner / Hero */
.page-hero {
  padding: var(--space-20) 0 var(--space-12) 0;
  background: radial-gradient(circle at 80% 20%, rgba(233, 75, 145, 0.10) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero .section-tag {
  margin-bottom: var(--space-4);
}

.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.page-hero-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer / Alt Bölüm */
.site-footer {
  background-color: #06090E;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-20);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr 1.6fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand .footer-logo {
  margin-bottom: var(--space-5);
}

.footer-brand .footer-logo img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 3px 12px rgba(233, 75, 145, 0.38));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-tech-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}

.footer-contact-item .icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Alt Çizgi & Telif */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-legal-links a:hover {
  color: var(--accent-pink);
}

/* Sosyal Medya İkon Butonları */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(233, 75, 145, 0.35);
}

.social-icon-btn.social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

