/*
 * KATKI.NET PROJESİDİR — YASAL SÜREÇ VSVS
 * Tüm hakları saklıdır.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --katki-navy: #0F172A;
  --katki-blue: #2563EB;
  --katki-blue-light: #3B82F6;
  --katki-blue-dark: #1D4ED8;
  --katki-slate: #1E293B;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #F8FAFC;
  color: var(--katki-navy);
  letter-spacing: -0.01em;
  margin: 0;
}

.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-pattern {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzNCODJGNiIgc3Ryb2tlLXdpZHRoPSIwLjUiIG9wYWNpdHk9IjAuMTUiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--katki-blue);
}

/* Mega menu */
.mega-menu-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}
.nav-item:hover .mega-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-katki,
.btn-brand {
  background: var(--katki-blue);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
.btn-katki:hover,
.btn-brand:hover {
  background: var(--katki-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25);
}

.btn-katki-outline {
  background: transparent;
  color: white;
  border: 2px solid var(--katki-blue-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-katki-outline:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--katki-blue-light);
  transform: translateY(-1px);
}

/* Hero: resim + koyu overlay (siyah değil) */
.hero-dark {
  position: relative;
}
.hero-bg-image {
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.82) 50%, rgba(15, 23, 42, 0.9) 100%);
}

/* Domain section — beyaz */
.domain-input::placeholder {
  color: #94a3b8;
}

.domain-slider-wrap {
  position: relative;
  margin: 0 -1rem;
  overflow: hidden;
}
.domain-slider-track {
  display: flex;
  gap: 0.75rem;
  animation: slide-domain 25s linear infinite;
  width: max-content;
}
.domain-slider-track:hover {
  animation-play-state: paused;
}
.domain-slider-group {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
@keyframes slide-domain {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.domain-card {
  flex: 0 0 140px;
  min-width: 140px;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
}
.domain-card:hover {
  background: #f1f5f9;
  border-color: var(--katki-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.domain-card .ext {
  font-weight: 700;
  color: var(--katki-navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  padding-right: 1.75rem;
}
.domain-card .old {
  font-size: 0.7rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.domain-card .new {
  font-size: 1rem;
  font-weight: 700;
  color: var(--katki-blue);
}
.domain-card .badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 9px;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}
.domain-card .badge-green { background: #22c55e; color: white; }
.domain-card .badge-red { background: #ef4444; color: white; }

.feature-card {
  background: white;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: var(--katki-blue);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.08);
}

/* Services slider — kayan, kompakt */
.services-slider-section {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.services-slider-section h2 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--katki-navy);
  margin-bottom: 0.25rem;
}

.services-slider-section .subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.services-slider-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.services-slider-track {
  display: flex;
  gap: 1rem;
  animation: slide-services 28s linear infinite;
  width: max-content;
}

.services-slider-track:hover {
  animation-play-state: paused;
}

.services-slider-track .slide-group {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.service-slide-card {
  flex: 0 0 220px;
  min-width: 220px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 0.25s ease;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.service-slide-card:hover {
  border-color: var(--katki-blue);
  box-shadow: 0 12px 20px -8px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.service-slide-card .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--katki-blue) 0%, var(--katki-blue-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.service-slide-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--katki-navy);
  margin: 0 0 0.35rem 0;
}

.service-slide-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

@keyframes slide-services {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.services-slider-wrap::before,
.services-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.services-slider-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc 0%, transparent 100%);
}

.services-slider-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc 0%, transparent 100%);
}

footer a:hover,
.top-bar a:hover {
  color: var(--katki-blue-light) !important;
}

/* Footer İletişim — modern */
.footer-contact-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.footer-contact-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}
.footer-contact-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  background: white;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}
.footer-contact-phone,
.footer-contact-email {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-contact-phone:hover,
.footer-contact-email:hover {
  color: var(--katki-blue) !important;
}
.footer-contact-phone:hover i,
.footer-contact-email:hover i {
  transform: scale(1.05);
}
.footer-contact-phone i,
.footer-contact-email i {
  transition: transform 0.2s;
  width: 1rem;
  text-align: center;
}
.footer-contact-email {
  padding-top: 0.35rem;
  border-top: 1px dashed #e2e8f0;
  margin-top: 0.15rem;
}

.text-accent { color: var(--katki-blue) !important; }
.bg-accent { background-color: var(--katki-blue); }
.border-accent { border-color: var(--katki-blue); }

/* Mobil menü: sağdan sola kayar (panel sağda, sağdan sola girer) */
.mobile-menu {
  pointer-events: none;
}
.mobile-menu.is-open {
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-panel {
  transform: translateX(-100%);
  transform-origin: left center;
}
.mobile-menu-panel--closed {
  transform: translateX(-100%);
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}
body.menu-open {
  overflow: hidden;
}
.mobile-nav-accordion[aria-expanded="true"] + .mobile-nav-dropdown,
.mobile-nav-dropdown.is-open {
  display: block !important;
}
.mobile-nav-accordion[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Bildirimler Paneli - Basit açılır kapanır */
.notifications-panel {
  position: fixed;
  width: 100%;
  max-width: 384px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  z-index: 9999;
  display: none;
}
.notifications-panel.show {
  display: block;
}

/* Animated Counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[data-count] {
  animation: countUp 0.6s ease-out;
}

@media (max-width: 768px) {
  .services-slider-section h2 { font-size: 1.2rem; }
  .service-slide-card {
    flex: 0 0 200px;
    min-width: 200px;
    min-height: 120px;
    padding: 1rem;
  }
  .domain-card {
    flex: 0 0 120px;
    min-width: 120px;
    padding: 0.6rem 0.75rem;
  }
  .domain-card .ext { font-size: 0.85rem; }
  .domain-card .new { font-size: 0.9rem; }
  .notifications-panel {
    max-width: calc(100vw - 2rem);
    right: -1rem;
  }
}

/* Onay Modalı */
#confirm-modal {
  animation: fadeIn 0.2s ease-out;
}
#confirm-modal > div {
  animation: slideUp 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Başarı Ekranı - İşlem yapılmadığı sürece görünmez */
#success-screen {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#success-screen.show {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Toast Bildirim - Küçük ve Tatlı */
.toast-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10002;
  display: none !important;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  visibility: hidden;
}

.toast-notification.toast-show {
  display: flex !important;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.toast-content {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  padding: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 240px;
  max-width: 320px;
  animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: white;
}

.toast-icon-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.toast-icon-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast-icon-info {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.toast-message-wrapper {
  flex: 1;
  min-width: 0;
}

.toast-message {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  word-wrap: break-word;
}

.toast-close {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 0.625rem;
  padding: 0;
}

.toast-close:hover {
  color: #64748b;
  background: #f1f5f9;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(120%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 640px) {
  .toast-notification {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
  }
  
  .toast-content {
    min-width: auto;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
  }
  
  .toast-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.7rem;
  }
  
  .toast-message {
    font-size: 0.75rem;
  }
}

/* Filtre Butonları */
.filter-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: #e2e8f0;
  color: #475569;
  border-color: #cbd5e1;
}
.filter-btn.active {
  background: var(--katki-blue);
  color: white;
  border-color: var(--katki-blue);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}