/* ==========================================================================
   Vebende 2027 - Ana Stil Sayfası (main.css)
   Pure CSS ve CSS Değişkenleri ile inşa edilmiştir.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('./variables.css');

/* Temel Sıfırlamalar ve Body */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--vb-font-sans);
  font-size: var(--vb-font-size-base);
  line-height: var(--vb-line-height-normal);
  color: var(--vb-text-primary);
  background-color: var(--vb-bg-main);
  transition: background-color var(--vb-transition-normal), color var(--vb-transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--vb-font-heading);
  font-weight: 700;
  line-height: var(--vb-line-height-tight);
  color: var(--vb-text-primary);
  margin-top: 0;
  margin-bottom: var(--vb-space-4);
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: var(--vb-font-size-4xl); }
h2, .h2 { font-size: var(--vb-font-size-3xl); }
h3, .h3 { font-size: var(--vb-font-size-2xl); }
h4, .h4 { font-size: var(--vb-font-size-xl); }
h5, .h5 { font-size: var(--vb-font-size-lg); }
h6, .h6 { font-size: var(--vb-font-size-base); }

@media (min-width: 992px) {
  h1, .h1 { font-size: var(--vb-font-size-5xl); }
  h2, .h2 { font-size: var(--vb-font-size-4xl); }
  h3, .h3 { font-size: var(--vb-font-size-3xl); }
}

p {
  margin-top: 0;
  margin-bottom: var(--vb-space-4);
  color: var(--vb-text-secondary);
}

a {
  color: var(--vb-text-link);
  text-decoration: none;
  transition: color var(--vb-transition-fast), transform var(--vb-transition-fast);
}

a:hover {
  color: var(--vb-brand-primary-hover);
}

/* Gradient Metin Efekti */
.text-gradient-primary {
  background: var(--vb-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: var(--vb-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navbar (Cam Efektli Modern Navigasyon)
   ========================================================================== */

.vb-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--vb-z-header);
  background-color: #ffffff;
  border-bottom: 1px solid var(--vb-border-color);
  transition: box-shadow var(--vb-transition-fast);
}

.vb-header.is-scrolled {
  box-shadow: var(--vb-shadow-md);
  background-color: #ffffff;
}

.vb-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--vb-space-3) 0;
}

.vb-brand {
  display: flex;
  align-items: center;
  gap: var(--vb-space-3);
  text-decoration: none;
  font-family: var(--vb-font-heading);
  font-weight: 800;
  font-size: var(--vb-font-size-xl);
  color: var(--vb-text-primary);
}

.vb-brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  transition: all var(--vb-transition-fast);
}

.vb-brand-logo:hover {
  filter: invert(28%) sepia(85%) saturate(1600%) hue-rotate(195deg) brightness(90%) contrast(100%);
  transform: scale(1.02);
}

.vb-footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all var(--vb-transition-fast);
}

.vb-footer-logo:hover {
  opacity: 0.85;
}

.vb-brand-badge {
  font-size: var(--vb-font-size-xs);
  padding: var(--vb-space-1) var(--vb-space-2);
  background: var(--vb-gradient-accent);
  color: var(--vb-text-inverse);
  border-radius: var(--vb-border-radius-pill);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.vb-nav-links {
  display: flex;
  align-items: center;
  gap: var(--vb-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.vb-nav-link {
  font-weight: 600;
  font-size: var(--vb-font-size-sm);
  color: var(--vb-text-secondary);
  padding: var(--vb-space-2) var(--vb-space-3);
  border-radius: var(--vb-border-radius-sm);
  transition: all var(--vb-transition-fast);
}

.vb-nav-link:hover,
.vb-nav-link.active {
  color: var(--vb-brand-primary);
  background-color: var(--vb-brand-primary-light);
}

.vb-header-actions {
  display: flex;
  align-items: center;
  gap: var(--vb-space-3);
}

/* Mobil Menü Açıkken Gövde Kaydırmasını Engelleme */
body.vb-mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Mobil Menü Butonu */
.vb-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--vb-border-color);
  color: var(--vb-text-primary);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--vb-border-radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--vb-transition-fast);
}

.vb-mobile-toggle:hover,
.vb-mobile-toggle:focus {
  background-color: var(--vb-brand-primary-light);
  color: var(--vb-brand-primary);
  border-color: var(--vb-brand-primary);
}

/* ==========================================================================
   Mobile-First Navigasyon Drawer Stilleri (< 992px)
   ========================================================================== */

@media (max-width: 991.98px) {
  .vb-mobile-toggle {
    display: inline-flex;
  }
  
  .vb-nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: var(--vb-space-6) var(--vb-space-4);
    gap: var(--vb-space-2);
    display: none;
    overflow-y: auto;
    border-top: 1px solid var(--vb-border-color);
    box-shadow: var(--vb-shadow-xl);
    z-index: var(--vb-z-fixed);
    -webkit-overflow-scrolling: touch;
  }

  .vb-nav-links.is-open {
    display: flex;
    animation: mobileDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .vb-nav-link {
    font-size: var(--vb-font-size-lg);
    font-weight: 700;
    padding: var(--vb-space-4) var(--vb-space-4);
    border-radius: var(--vb-border-radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
  }

  .vb-nav-link:hover,
  .vb-nav-link.active {
    background-color: var(--vb-brand-primary-light);
    color: var(--vb-brand-primary);
    border-color: rgba(0, 114, 255, 0.15);
  }

  .vb-nav-link::after {
    content: '→';
    font-size: var(--vb-font-size-lg);
    opacity: 0.5;
  }

  .vb-hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .vb-hero-stats {
    gap: var(--vb-space-4);
  }

  .vb-stat-number {
    font-size: var(--vb-font-size-2xl);
  }
}

@keyframes mobileDrawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Footer (Kurumsal Zengin Footer - Kristal Netliğinde Okunabilir Tasarım)
   ========================================================================== */

.vb-footer {
  background: linear-gradient(180deg, #0b1523 0%, #060a12 100%);
  color: #cbd5e1;
  padding: var(--vb-space-16) 0 var(--vb-space-8);
  border-top: 2px solid rgba(0, 210, 255, 0.2);
  margin-top: var(--vb-space-20);
  position: relative;
}

.vb-footer-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
  color: #ffffff;
  padding: 6px 20px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--vb-border-radius-pill);
  margin-bottom: var(--vb-space-6);
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.3);
}

.vb-footer-title {
  color: #ffffff !important;
  font-family: var(--vb-font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--vb-space-4);
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.vb-footer p {
  color: #94a3b8 !important;
  font-size: 14px;
  line-height: 1.6;
}

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

.vb-footer-list li {
  margin-bottom: 10px;
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vb-footer-list li i {
  color: #00d2ff;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.vb-footer-list a {
  color: #e2e8f0 !important;
  text-decoration: none;
  transition: all var(--vb-transition-fast);
  line-height: 1.5;
}

.vb-footer-list a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
  padding-left: 3px;
}

.vb-footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.vb-footer-contact-item i {
  color: #ff9800;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.vb-footer-contact-item p {
  margin: 0;
  color: #cbd5e1 !important;
  font-size: 13.5px;
}

.vb-footer-contact-item a {
  color: #38bdf8 !important;
  text-decoration: none;
  font-weight: 500;
}

.vb-footer-contact-item a:hover {
  text-decoration: underline;
}

/* Sosyal Medya İkonları */
.vb-footer-social {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: var(--vb-space-4) 0 0 0;
}

.vb-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--vb-border-radius-md);
  color: #ffffff !important;
  font-size: 16px;
  transition: all var(--vb-transition-fast);
}

.vb-footer-social a:hover {
  background: var(--vb-brand-primary);
  border-color: var(--vb-brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

/* Bülten Kutusu */
.vb-newsletter-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--vb-border-radius-lg);
  padding: var(--vb-space-4);
  margin-top: var(--vb-space-2);
}

.vb-newsletter-input-group {
  display: flex;
  gap: 8px;
}

.vb-newsletter-input-group input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--vb-border-radius-md);
  font-size: 14px;
  outline: none;
}

.vb-newsletter-input-group input::placeholder {
  color: #94a3b8;
}

.vb-newsletter-input-group input:focus {
  border-color: #00d2ff;
  background: rgba(255, 255, 255, 0.12);
}

.vb-newsletter-input-group button {
  background: linear-gradient(135deg, #0a66c2 0%, #00d2ff 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--vb-border-radius-md);
  cursor: pointer;
  transition: all var(--vb-transition-fast);
}

.vb-newsletter-input-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

/* Alt Telif Çubuğu */
.vb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--vb-space-6);
  margin-top: var(--vb-space-12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--vb-space-4);
  font-size: 13px;
  color: #94a3b8;
}

.vb-footer-bottom p {
  color: #94a3b8 !important;
  margin: 0;
}

.vb-footer-sub-links {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vb-footer-sub-links a {
  color: #cbd5e1 !important;
  text-decoration: none;
}

.vb-footer-sub-links a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

/* ==========================================================================
   Mobile-First Dokunmatik & Hızlı İşlem İyileştirmeleri
   ========================================================================== */

@media (max-width: 767.98px) {
  body {
    padding-bottom: 60px; /* Sabit mobil alt bar alanı */
  }

  .vb-footer {
    padding-bottom: var(--vb-space-16);
  }

  .vb-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 58px;
    background: #ffffff;
    border-top: 1px solid var(--vb-border-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: var(--vb-z-fixed);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    padding: 0 var(--vb-space-2);
  }

  .vb-mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--vb-text-secondary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .vb-mobile-bar-btn i {
    font-size: 16px;
  }

  .vb-mobile-bar-btn.active,
  .vb-mobile-bar-btn:active {
    color: var(--vb-brand-primary);
  }

  .vb-mobile-bar-btn-lead {
    background: var(--vb-gradient-accent);
    color: #ffffff !important;
    border-radius: var(--vb-border-radius-pill);
    padding: 6px 12px;
    margin: 4px;
    font-weight: 700;
    flex: 1.3;
    flex-direction: row;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
  }

  .vb-mobile-bar-btn-lead i {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .vb-mobile-bottom-bar {
    display: none;
  }
}

