/* ===================================================
   BaynovaTech — main.css (Technoit Refined)
   Premium IT Design System
   =================================================== */

/* ── Google Fonts ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@700;800;900&display=swap');

/* ── CSS Değişkenleri (Design Tokens) ────────────── */
:root {
  --bn-navy:          #0B0D17;
  --bn-blue:          #0056E0;
  --bn-cyan:          #00C2E0; /* Daha koyu ve vakur bir turkuaz */
  --bn-magenta:       #BE123C; /* Daha tok bir magenta */
  --bn-blue-mid:      #1D4ED8;
  --bn-blue-light:    #3385FF;
  
  --bn-gradient:      linear-gradient(135deg, #0056E0 0%, #00C2E0 100%);
  --bn-gradient-magenta: linear-gradient(135deg, #0056E0 0%, #BE123C 100%);
  --bn-gradient-soft: linear-gradient(135deg, rgba(0,86,224,0.06) 0%, rgba(0,194,224,0.06) 100%);

  /* Yüzey & Metin */
  --bn-surface:       #FFFFFF;
  --bn-surface-2:     #F3F4F6;
  --bn-text:          #111827;
  --bn-text-light:    #374151; /* Daha koyu metin */
  --bn-muted:         #4B5563; /* Daha koyu yardımcı metin */
  --bn-border:        #E5E7EB;

  /* Tipografi */
  --font-body:        'Inter', system-ui, sans-serif;
  --font-heading:     'Outfit', system-ui, sans-serif;

  /* Gölgeler */
  --shadow-sm:        0 2px 4px rgba(0,0,0,0.05);
  --shadow-md:        0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg:        0 20px 50px rgba(0,0,0,0.1);
  --shadow-blue:      0 8px 32px rgba(0,97,255,0.25);
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--bn-text);
  background: var(--bn-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bn-navy);
}

a { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; }

/* ── Yardımcı Sınıflar ───────────────────────────── */
.text-gradient   { background: var(--bn-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-cyan       { color: var(--bn-cyan) !important; }
.text-navy       { color: var(--bn-navy) !important; }
.text-blue       { color: var(--bn-blue) !important; }
.bg-navy         { background-color: var(--bn-navy) !important; }
.bg-blue         { background-color: var(--bn-blue) !important; }
.bg-gradient     { background: var(--bn-gradient) !important; }
.bg-surface-2    { background-color: var(--bn-surface-2) !important; }
.fw-900          { font-weight: 900 !important; }

.section-badge {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bn-blue);
  background: var(--bn-gradient-soft);
  border: 1px solid rgba(0, 97, 255, 0.15);
  padding: 0.6em 1.4em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--bn-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title.light { color: #fff; }

.divider-cyan {
  width: 60px;
  height: 4px;
  background: var(--bn-gradient);
  border-radius: 100px;
  margin: 1.5rem auto;
}

/* ── NAVBAR ─────────────────────────────────────── */
.bn-navbar {
  background: transparent;
  padding: 1.25rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bn-navbar.scrolled {
  background: rgba(11, 13, 23, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.bn-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem !important;
  position: relative;
}

.bn-navbar .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 1.2rem; right: 1.2rem;
  height: 2px; background: var(--bn-cyan);
  transform: scaleX(0); transition: transform 0.3s;
}

.bn-navbar .nav-link:hover::after,
.bn-navbar .nav-link.active::after { transform: scaleX(1); }

.bn-navbar .nav-link:hover,
.bn-navbar .nav-link.active { color: var(--bn-cyan) !important; }

.btn-quote {
  background: var(--bn-gradient);
  color: var(--bn-navy) !important;
  font-weight: 800;
  padding: 0.7rem 1.8rem;
  border-radius: 100px;
  box-shadow: var(--shadow-blue);
}

/* ── HERO ────────────────────────────────────────── */
.bn-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 120px;
  background-color: var(--bn-navy);
  overflow: hidden;
  z-index: 1;
}

.bn-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(0, 97, 255, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(96, 239, 255, 0.1) 0%, transparent 45%),
    var(--bn-navy);
  z-index: -1;
}

.bn-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
}

.bn-hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: var(--bn-gradient);
  filter: blur(180px);
  opacity: 0.15;
  border-radius: 50%;
  top: -150px; right: -150px;
  animation: pulseGlow 12s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.1; }
  100% { transform: scale(1.4) translate(-100px, 100px); opacity: 0.25; }
}

.bn-hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 2rem;
}

.bn-hero h1 span {
  background: var(--bn-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bn-hero .lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  max-width: 650px;
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.btn-primary-gradient {
  background: var(--bn-gradient);
  color: var(--bn-navy);
  font-weight: 800;
  padding: 1.25rem 3.2rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 97, 255, 0.4);
}

.btn-primary-gradient:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 97, 255, 0.5);
  color: var(--bn-navy);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 1.25rem 3.2rem;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.25);
  display: inline-flex;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--bn-navy);
}

/* ── SERVİSLER ───────────────────────────────────── */
.bn-services { background: #fff; padding: 140px 0; }

.bn-service-card {
  background: #fff;
  border-radius: 20px;
  padding: 70px 50px;
  border: 1px solid var(--bn-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.bn-service-card:hover {
  transform: translateY(-15px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.bn-service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 4px;
  background: var(--bn-gradient);
  transition: width 0.5s ease;
}

.bn-service-card:hover::after { width: 100%; }

.bn-service-icon {
  width: 85px; height: 85px;
  background: var(--bn-surface-2);
  color: var(--bn-blue);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bn-service-card:hover .bn-service-icon {
  background: var(--bn-gradient);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 10px 25px rgba(0, 97, 255, 0.25);
}

.bn-service-card h3 {
  font-size: 1.75rem;
  font-weight: 850;
  margin-bottom: 1.25rem;
  color: var(--bn-navy);
}

.bn-service-card p {
  color: var(--bn-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.bn-service-link {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--bn-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 0.6rem;
}

.bn-service-link i { transition: transform 0.3s; }
.bn-service-card:hover .bn-service-link i { transform: translateX(10px); }

/* ── COUNTER ────────────────────────────────────── */
.bn-counter {
  background: var(--bn-navy);
  padding: 120px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bn-counter-num {
  font-size: 5rem;
  font-weight: 900;
  background: var(--bn-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.bn-counter-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

/* ── CTA ─────────────────────────────────────────── */
.bn-cta {
  background: var(--bn-navy);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.bn-cta h2 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }

.btn-gradient-cta {
  background: var(--bn-gradient);
  color: var(--bn-navy);
  font-weight: 800;
  padding: 1.5rem 4rem;
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(96, 239, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.btn-gradient-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(96, 239, 255, 0.6);
  color: var(--bn-navy);
}

/* ── FOOTER ───────────────────────────────────────── */
.bn-footer {
  background: var(--bn-dark-surface);
  color: #94a3b8; /* Daha koyu, göz yormayan gri */
  padding: 100px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.bn-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--bn-gradient);
  opacity: 0.3;
}

.bn-footer h5 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.bn-footer h5::after {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 30px; height: 2px;
  background: var(--bn-cyan);
}

.footer-desc {
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.bn-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bn-footer ul li {
  margin-bottom: 1rem;
}

.bn-footer ul li a {
  color: #64748b; /* Linkler bir tık daha koyu */
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.bn-footer ul li a i {
  font-size: 0.8rem;
  color: var(--bn-cyan);
  transition: transform 0.3s;
}

.bn-footer ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.bn-footer ul li a:hover i {
  transform: translateX(3px);
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--bn-gradient);
  color: var(--bn-navy);
  transform: translateY(-3px);
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem !important;
}

.footer-contact li i {
  color: var(--bn-cyan);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact li a {
  padding: 0 !important;
  line-height: 1.4;
}

.footer-bottom {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--bn-cyan) !important;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991.98px) {
  .bn-hero { padding: 140px 0 80px; text-align: center; }
  .bn-hero .lead { margin-left: auto; margin-right: auto; }
  .bn-hero h1 { font-size: 3.5rem; }
  .bn-hero-actions { justify-content: center; }
}

/* ── ANIMASYONLAR ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── ÇEREZ ÇUBUĞU ────────────────────────────────── */
.bn-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(11, 13, 23, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bn-cookie-bar.visible { transform: translateY(0); }
