/* ===========================
   KURUMSAL SITE — STYLE.CSS
   =========================== */

:root {
  --primary:       #0d47e8;
  --primary-dark:  #0a35b8;
  --primary-light: #4d78f5;
  --accent:        #f59e0b;
  --dark:          #0b0c1a;
  --dark-2:        #12142a;
  --dark-3:        #1c1f3a;
  --text:          #e2e6f3;
  --text-muted:    #8892b0;
  --border:        rgba(255,255,255,0.08);
  --glass:         rgba(255,255,255,0.04);
  --glass-strong:  rgba(255,255,255,0.09);
  --radius:        14px;
  --radius-lg:     24px;
  --shadow:        0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.6);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TOPBAR ---- */
.topbar {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--primary-light); }
.topbar-right { display: flex; gap: 12px; }
.topbar-right a {
  width: 28px; height: 28px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
}
.topbar-right a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,12,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(11,12,26,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
.logo-text {
  font-size: 19px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.main-nav ul { display: flex; gap: 6px; }
.main-nav ul li a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #fff;
  background: var(--glass-strong);
  border-color: var(--border);
}

/* Hamburger */
.hamburger {
  display: none;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== SLIDER ===== */
.slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark-2);
  /* --header-h JS tarafından dinamik olarak hesaplanır */
  height: calc(100vh - var(--header-h, 108px));
  min-height: 500px;
  max-height: 1080px;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }

/* Video Slider */
.slide-video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.slide-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

/* Video mute toggle butonu */
.slide-mute-btn {
  position: absolute;
  bottom: 80px; right: 24px;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  opacity: 0;
}
.slide-mute-btn.visible { opacity: 1; }
.slide-mute-btn:hover { background: var(--primary); border-color: var(--primary); }

.slide-overlay {
  position: absolute; inset: 0;
  /* background: admin panelinden inline style olarak uygulanır */
  z-index: 1;
  pointer-events: none;
}
.slide-content {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.slide-content .container { max-width: 800px; }
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,71,232,0.2);
  border: 1px solid rgba(13,71,232,0.5);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.2s ease, transform 0.6s 0.2s ease;
}
.slide.active .slide-badge { opacity: 1; transform: translateY(0); }

.slide-title {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s 0.4s ease, transform 0.6s 0.4s ease;
}
.slide.active .slide-title { opacity: 1; transform: translateY(0); }
.slide-title span { color: var(--accent); }

.slide-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.6s ease, transform 0.6s 0.6s ease;
}
.slide.active .slide-subtitle { opacity: 1; transform: translateY(0); }

.slide-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s 0.8s ease, transform 0.6s 0.8s ease;
}
.slide.active .slide-btns { opacity: 1; transform: translateY(0); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  border: 2px solid var(--primary);
  cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,71,232,0.5); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
  z-index: 10;
}
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer; border: none;
  transition: var(--transition);
}
.dot.active { width: 28px; border-radius: 4px; background: var(--primary-light); }

.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  background: rgba(13,71,232,0.15);
  border: 1px solid rgba(13,71,232,0.4);
  color: var(--primary-light);
  padding: 5px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span { color: var(--primary-light); }
.section-desc { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* stats-section kaldırıldı */

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-wrap img {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: var(--radius-lg);
  filter: brightness(0.85);
}
.about-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--primary);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
}
.about-img-badge strong { display: block; font-size: 32px; font-weight: 900; }
.about-img-badge span { font-size: 12px; font-weight: 500; opacity: 0.9; }
.about-text h2 { font-size: 38px; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.about-text h2 span { color: var(--primary-light); }
.about-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; font-weight: 500;
}
.about-feature i { color: var(--primary-light); }

/* ===== SERVICES ===== */
.services-section { background: var(--dark-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,71,232,0.08) 0%, transparent 100%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(13,71,232,0.4); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(13,71,232,0.4);
}
.service-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-desc { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-light); font-size: 13px; font-weight: 600;
  margin-top: 18px; transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  display: flex; gap: 20px;
  padding: 28px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
}
.why-card:hover { background: var(--glass-strong); border-color: rgba(13,71,232,0.3); }
.why-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(13,71,232,0.15); border: 1px solid rgba(13,71,232,0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary-light);
}
.why-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-content p { color: var(--text-muted); font-size: 14px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a1950 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77,120,245,0.15) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-size: 42px; font-weight: 900; margin-bottom: 16px; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark-2); border-top: 1px solid var(--border); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo img { height: 44px; margin-bottom: 16px; }
.footer-brand {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 16px;
}
.footer-about { color: var(--text-muted); font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-title { font-size: 15px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted); font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.footer-links a i { font-size: 10px; color: var(--primary-light); }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li {
  display: flex; gap: 10px; align-items: center;
  color: var(--text-muted); font-size: 14px; margin-bottom: 8px;
}
.footer-contact i { color: var(--primary-light); width: 16px; text-align: center; }
.footer-contact a { color: var(--text-muted); transition: var(--transition); }
.footer-contact a:hover { color: var(--primary-light); }
.footer-contact li strong { white-space: nowrap; margin-right: 4px; }
/* .footer-hours — no extra styles needed */
.footer-hours li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
.footer-hours li span:last-child { color: var(--primary-light); font-weight: 500; }
.footer-bottom {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 20px 0; text-align: center;
  color: var(--text-muted); font-size: 13px;
}

/* ===== PAGE CONTENT ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 12px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: 14px; }
.breadcrumb a { color: var(--primary-light); }
.breadcrumb span { color: var(--border); }
.page-content-area { padding: 70px 0; }
.page-content-area .prose {
  max-width: 780px; margin: 0 auto;
  color: var(--text-muted); font-size: 16px; line-height: 1.9;
}
.page-content-area .prose h2 { color: #fff; font-size: 28px; margin: 32px 0 14px; }
.page-content-area .prose h3 { color: #fff; font-size: 22px; margin: 24px 0 10px; }
.page-content-area .prose p { margin-bottom: 16px; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  cursor: pointer; border: none;
  opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 999;
  box-shadow: 0 4px 16px rgba(13,71,232,0.5);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 30px;
  text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(13,71,232,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.service-icon {
  width: 70px; height: 70px; margin: 0 auto 24px;
  background: rgba(13,71,232,0.1); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; transform: scale(1.05) rotate(5deg); }
.service-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== WHY US ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--dark-2); padding: 30px;
  border-radius: 16px; border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { background: var(--dark-3); border-color: rgba(13,71,232,0.3); }
.why-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; box-shadow: 0 6px 16px rgba(13,71,232,0.3);
}
.why-content h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(11,12,26,0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul li a { display: block; }
  /* Slider mobilde topbar gizlendiğinden sadece header kalır (~70px) */
  .slider-section { height: calc(100vh - 70px); min-height: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner h2 { font-size: 30px; }
}

@media (max-width: 480px) {
  .slider-section { height: calc(100svh - 70px); min-height: 360px; }
  .about-features { grid-template-columns: 1fr; }
}
