/* sevranthu — Teknik Destek Blog */
:root {
  --accent: #936cac;
  --accent-dark: #7a5690;
  --accent-light: #b894c8;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --bg: #fafafa;
  --bg-white: #ffffff;
  --border: #e4e4e4;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 8px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.logo span { color: var(--text); font-weight: 400; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(147, 108, 172, 0.1);
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

.mobile-nav {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
}

.mobile-nav.open { display: block; }

.mobile-nav ul { list-style: none; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f5f0f8 0%, #ede4f2 50%, #f8f5fa 100%);
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Sections */
section { padding: 64px 20px; }

.section-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.section-header { text-align: center; margin-bottom: 40px; }
.section-header .section-subtitle { margin: 0 auto; }

.bg-white { background: var(--bg-white); }
.bg-alt { background: #f3f0f5; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(147, 108, 172, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }

.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.step-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Reviews */
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review-stars { color: #d4a017; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-style: italic; color: var(--text-muted); margin-bottom: 12px; font-size: 0.92rem; }
.review-author { font-weight: 600; font-size: 0.88rem; }

/* Blog layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.post-list { display: flex; flex-direction: column; gap: 20px; }

.post-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s;
}

.post-item:hover { box-shadow: var(--shadow); }

.post-thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #e8dff0, #d4c4de);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumb svg { width: 36px; height: 36px; stroke: var(--accent); fill: none; stroke-width: 1.5; opacity: 0.6; }

.post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.post-meta .cat {
  color: var(--accent-dark);
  font-weight: 600;
}

.post-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.post-item h3 a { color: var(--text); }
.post-item h3 a:hover { color: var(--accent); }
.post-item p { font-size: 0.88rem; color: var(--text-muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.sidebar-block h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-block ul { list-style: none; }
.sidebar-block li { margin-bottom: 8px; }
.sidebar-block a { font-size: 0.9rem; color: var(--text-muted); }
.sidebar-block a:hover { color: var(--accent); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(147, 108, 172, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-dark);
}

.tag:hover { background: var(--accent); color: #fff; }

/* Article full */
.article-header {
  padding: 48px 20px 32px;
  background: linear-gradient(180deg, #f5f0f8, var(--bg));
  text-align: center;
}

.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 760px;
  margin: 0 auto 12px;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.article-body h2 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.article-body p { margin-bottom: 16px; color: var(--text-muted); }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; color: var(--text-muted); }
.article-body li { margin-bottom: 6px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.team-member {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.avatar-1 { background: #936cac; }
.avatar-2 { background: #6b8f71; }
.avatar-3 { background: #7a8ba8; }
.avatar-4 { background: #a87b6b; }
.avatar-5 { background: #8b7aa8; }
.avatar-6 { background: #6ba8a0; }

.team-member h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 0.88rem; color: var(--text-muted); }

/* Location cards */
.location-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.location-card h3 { margin-bottom: 8px; }
.location-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 6px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::after {
  content: 'Popüler';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; }

.price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0;
}

.price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item.open .faq-answer { display: block; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-info-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info-block h3 { margin-bottom: 16px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-detail svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 14px;
  border-radius: var(--radius);
  margin-top: 12px;
  text-align: center;
}

.map-placeholder {
  margin-top: 36px;
  background: #e8e4ec;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-placeholder svg { width: 48px; height: 48px; stroke: var(--accent); fill: none; stroke-width: 1.5; margin-right: 12px; opacity: 0.5; }

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.legal-content h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.legal-content ol { margin-left: 24px; }
.legal-content ul { margin-left: 24px; }

.legal-definitions {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.legal-definitions dt { font-weight: 600; margin-top: 10px; }
.legal-definitions dd { color: var(--text-muted); margin-left: 0; font-size: 0.92rem; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.cookie-table th {
  background: rgba(147, 108, 172, 0.08);
  font-weight: 600;
}

.doc-id {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* CTA */
.cta-section {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}

.cta-section h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent-dark);
}

.cta-section .btn-primary:hover { background: #f0e8f4; }

/* Page header */
.page-header {
  background: linear-gradient(180deg, #f5f0f8, var(--bg));
  padding: 48px 20px 36px;
  text-align: center;
}

.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 8px; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: #2a2433;
  color: #ccc;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aaa; font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent-light); }

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #3d3548;
  font-size: 0.82rem;
  color: #888;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-legal {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-legal a { color: #aaa; font-size: 0.85rem; }
.footer-legal a:hover { color: var(--accent-light); }

/* Categories page */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.category-card:hover { box-shadow: var(--shadow); }

.category-card h3 { margin-bottom: 8px; }
.category-card h3 a { color: var(--text); }
.category-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 10px; }
.category-count { font-size: 0.8rem; color: var(--accent); font-weight: 600; }

/* Pricing table */
.pricing-table-wrap { overflow-x: auto; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.pricing-table th {
  background: rgba(147, 108, 172, 0.08);
  font-weight: 600;
}

.pricing-table tr:last-child td { border-bottom: none; }

/* Responsive */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; }
  .post-thumb { width: 100%; height: 120px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 56px 20px; }
  section { padding: 48px 20px; }
}
