:root {
  --primary: #6e45e2;
  --secondary: #88d3ce;
  --accent: #ff7e5f;
  --dark: #1a1a1a;
  --light: #f9f9f9;
  --bg: #fff;
  --text: #222;
  --glass: rgba(255,255,255,0.7);
  --glass-dark: rgba(26,26,26,0.7);
  --shadow: 0 8px 32px 0 rgba(31,38,135,0.12);
  --border: 1px solid rgba(110,69,226,0.12);
}
[data-theme="dark"] {
  --bg: #1a1a1a;
  --text: #f9f9f9;
  --glass: rgba(26,26,26,0.7);
  --glass-dark: rgba(255,255,255,0.08);
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-size: 18px;
  line-height: 1.6;
  transition: background .4s, color .4s;
}
.smart-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: var(--shadow);
  transition: height .3s, box-shadow .3s, background .3s;
  will-change: transform, background;
}
.smart-header.shrink {
  height: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.smart-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo svg {height: 40px; width: 40px; transition: filter .3s;}
[data-theme="dark"] .logo svg {filter: brightness(1.2) drop-shadow(0 0 2px #fff2);}
.main-nav ul {
  display: flex; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width .3s;
  margin-top: 4px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.menu-toggle {
  background: none; border: none; font-size: 2rem; color: var(--text);
  display: none;
}
@media (max-width: 900px) {
  .main-nav ul {display: none;}
  .menu-toggle {display: block;}
}
/* Mobile Overlay Menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--glass-dark);
  backdrop-filter: blur(18px) saturate(1.2);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.active {opacity: 1; pointer-events: all;}
.mobile-menu ul {
  display: flex; flex-direction: column; gap: 32px;
  list-style: none; padding: 0; margin: 0;
  text-align: center;
}
.mobile-menu a {
  font-size: 2rem; color: var(--text); text-decoration: none;
}
/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100vw; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--light);
}
.hero-slider video, .hero-slider .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-slider .slide {
  background-size: cover; background-position: center;
  z-index: 1;
}
.hero-slider .slide .content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
  text-shadow: 0 2px 16px #0006;
  padding: 64px 24px;
}
.hero-slider .slide h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-button {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff; border: none; padding: 16px 48px;
  border-radius: 32px; font-size: 1.3rem; font-weight: 600;
  box-shadow: 0 4px 24px rgba(110,69,226,0.08);
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
  transition: background .2s, transform .2s;
}
.cta-button:hover {transform: scale(1.04);}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.hero-slider .progress-bar {
  position: absolute; bottom: 0; left: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 5s linear;
  z-index: 10;
}
/* Hizmetler Grid */
.services {
  padding: 64px 0 32px;
  background: var(--bg);
}
.services-title {
  font-size: 2.2rem; margin-bottom: 0.5em;
  text-align: center;
  position: relative;
}
.services-title::after {
  content: '';
  display: block;
  width: 80px; height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.service-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; margin-top: 48px;
}
.service-card {
  height: 300px;
  border-radius: 24px;
  background: var(--glass);
  box-shadow: var(--shadow);
  border: var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background-position .4s, box-shadow .3s;
  background-size: 200% 100%;
  background-position: 0 0;
}
.service-card:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 32px 0 rgba(110,69,226,0.18);
}
.service-card .lottie-icon, .service-card svg {
  width: 56px; height: 56px; margin-bottom: 18px;
}
/* Referanslar Masonry */
.references {
  padding: 56px 0;
  background: var(--light);
}
.references-tabs {display: flex; gap: 24px; justify-content: center; margin-bottom: 32px;}
.references-tabs button {
  background: none; border: none; color: var(--text); font-size: 1.1rem; padding: 8px 24px; border-radius: 24px; cursor: pointer; transition: background .2s;}
.references-tabs button.active, .references-tabs button:hover {background: var(--glass);}
.references-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.reference-card {
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--glass);
  box-shadow: 0 4px 24px rgba(110,69,226,0.10);
  transition: transform .2s;
}
.reference-card:hover {transform: scale(1.03);}
.reference-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.reference-card:hover img {transform: scale(1.08);}
.reference-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg,rgba(0,0,0,0.6),transparent);
  color: #fff; padding: 16px; opacity: 0; transition: opacity .3s;
}
.reference-card:hover .reference-caption {opacity: 1;}
/* Blog Zigzag */
.blog-preview {
  padding: 64px 0;
  background: var(--bg);
}
.blog-list {
  display: grid; gap: 48px;
}
@media (min-width: 900px) {
  .blog-list {grid-template-columns: 1fr 1fr;}
}
.blog-card {
  display: flex; gap: 32px; align-items: center;
  background: var(--glass);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(110,69,226,0.08);
  overflow: hidden;
  flex-direction: row;
}
.blog-card.reverse {flex-direction: row-reverse;}
.blog-card img {
  width: 180px; height: 120px; object-fit: cover;
  border-radius: 12px 0 0 12px;
}
.blog-card-content {padding: 24px 0;}
.read-time {
  display: flex; align-items: center; gap: 8px;
}
.read-progress {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--secondary);
  position: relative;
}
.read-progress span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 0.9rem;
}
/* Page Template */
.page-header {
  min-height: 40vh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  background: radial-gradient(circle, #f5f7fa, #c3cfe2);
  padding: 64px 32px 24px 32px;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}
.breadcrumb {
  margin-top: 16px; font-size: 1.1rem; color: var(--secondary);
  backdrop-filter: blur(4px);
}
.page-content {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 48px 32px;
  border-radius: 0 18px 18px 0;
  margin-top: -24px;
}
/* Footer */
.site-footer {
  background: var(--glass);
  box-shadow: 0 -2px 12px rgba(110,69,226,0.08);
  padding: 48px 0 0 0;
  border-top: 1px dashed rgba(255,255,255,0.2);
}
.footer-top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px;
  padding-bottom: 32px;
}
.footer-socials {
  display: flex; gap: 18px;
}
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  transition: background .2s, color .2s;
}
.footer-socials a:hover {
  background: var(--secondary);
  color: #fff;
}
.footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px;
}
.footer-newsletter {
  display: flex; gap: 8px; align-items: center;
}
.footer-newsletter input[type=email] {
  flex: 1; border: none; border-radius: 18px 0 0 18px;
  padding: 10px 16px; font-size: 1rem;
  background: var(--light);
  color: var(--text);
}
.footer-newsletter button {
  border: none; background: var(--primary); color: #fff;
  border-radius: 0 18px 18px 0; padding: 10px 18px; cursor: pointer;
  font-size: 1.2rem;
}
.footer-bottom {
  text-align: center; padding: 16px 0; font-size: 1rem; color: var(--text);
  border-top: 1px dashed rgba(255,255,255,0.2);
  margin-top: 32px;
}
/* Mikro-interaktivite & utility */
.gradient-text {
  background: linear-gradient(90deg,var(--primary),var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.scroll-indicator {
  position: fixed; right: 12px; top: 0; width: 6px; height: 100vh; z-index: 9999;
  background: linear-gradient(180deg,var(--primary),var(--accent));
  border-radius: 3px;
  opacity: 0.18;
  pointer-events: none;
}
.cursor-effect {
  position: fixed; pointer-events: none; z-index: 99999;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--primary);
  background: rgba(110,69,226,0.08);
  mix-blend-mode: multiply;
  transform: translate(-50%,-50%); transition: transform .1s;
}
/* Utility */
.container {max-width: 1200px; margin: 0 auto; padding: 0 24px;}
.full-width {width: 100vw; margin-left: calc(50% - 50vw);}

/* --- Arşiv ve Etiket Sonuç Listesi Modern Görünüm --- */
.archive-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.archive-post-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  padding: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.archive-thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eee;
  border-radius: 0;
}
.archive-thumb img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 0;
}
.archive-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.archive-post-title {
  font-size: 1.18rem;
  font-weight: bold;
  color: #c00;
  margin-bottom: 8px;
}
.archive-excerpt {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
}
.archive-divider {
  border: none;
  border-bottom: 1px solid #e3e3e3;
  margin: 0 0 16px 0;
}
@media (max-width: 600px) {
  .archive-post-item {
    flex-direction: column;
    gap: 8px;
  }
  .archive-thumb, .archive-thumb img {
    width: 100%;
    height: 160px;
  }
}

/* --- Arşiv ve Etiket Sayfaları İçin 70/30 Flex Düzeni --- */
.content-sidebar-container {
  display: flex;
  gap: 30px;
}
.main-content {
  flex: 0 0 70%;
  min-width: 0;
}
.sidebar-area {
  flex: 0 0 30%;
  min-width: 0;
}
@media (max-width: 800px) {
  .service-list, .footer-top {grid-template-columns: 1fr;}
  .blog-card, .blog-card.reverse {flex-direction: column;}
  .page-header {padding: 32px 12px 12px 12px;}
  .page-content {padding: 24px 8px;}
  .content-sidebar-container {flex-direction: column; gap: 0;}
  .main-content, .sidebar-area {flex: 1 1 100%; width: 100%; min-width: 0;}
}