/* mezzoritt — Dijital Okuryazarlık Eğitim Servisi */

:root {
  --accent: #63c8ca;
  --accent-dark: #4aadaf;
  --accent-light: #e8f7f7;
  --text: #1a2332;
  --text-muted: #5a6578;
  --bg: #fafbfc;
  --white: #ffffff;
  --border: #e2e6eb;
  --shadow: 0 2px 12px rgba(26, 35, 50, 0.08);
  --shadow-hover: 0 6px 24px rgba(26, 35, 50, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --header-h: 72px;
}

*, *::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;
}

img { max-width: 100%; display: block; }

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo svg { flex-shrink: 0; }

.logo:hover { color: var(--text); }

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

.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

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

.mobile-nav ul { list-style: none; }

.mobile-nav li { border-bottom: 1px solid var(--border); }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-weight: 500;
}

.mobile-nav .legal-links {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
}

.mobile-nav .legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

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

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

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

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Hero */
.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(99, 200, 202, 0.15) 0%, transparent 60%),
    linear-gradient(160deg, #f0fafa 0%, var(--bg) 50%, #f5f7fa 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(99, 200, 202, 0.06) 10px,
    rgba(99, 200, 202, 0.06) 20px
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.hero-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-dark);
}

.hero-stat span { font-size: 0.8rem; color: var(--text-muted); }

/* Sections */
section { padding: 72px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p { color: var(--text-muted); }

.section-alt { background: var(--white); }

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-dark);
}

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

.card p { color: var(--text-muted); font-size: 0.925rem; }

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-item h3 { font-size: 1rem; margin-bottom: 8px; }
.step-item p { font-size: 0.9rem; color: var(--text-muted); }

/* Benefits */
.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.benefit-list { list-style: none; }

.benefit-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-list li:last-child { border-bottom: none; }

.benefit-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.benefit-visual {
  background:
    linear-gradient(135deg, var(--accent-light) 0%, #d4eef0 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.benefit-visual svg { opacity: 0.7; }

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

.review-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }

.review-card blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.avatar-a { background: linear-gradient(135deg, #63c8ca, #4aadaf); }
.avatar-b { background: linear-gradient(135deg, #5b9bd5, #3d7ab5); }
.avatar-c { background: linear-gradient(135deg, #e07c5a, #c45d3a); }
.avatar-d { background: linear-gradient(135deg, #8bc34a, #689f38); }
.avatar-e { background: linear-gradient(135deg, #9575cd, #7e57c2); }
.avatar-f { background: linear-gradient(135deg, #ffb74d, #f59e0b); }
.avatar-g { background: linear-gradient(135deg, #4db6ac, #00897b); }
.avatar-h { background: linear-gradient(135deg, #7986cb, #5c6bc0); }

.review-author strong { display: block; font-size: 0.9rem; }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }

/* CTA */
.cta-section {
  background: var(--text);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-section h2 { font-size: 1.75rem; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

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

/* Pricing */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

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

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

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

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

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

/* Page hero (inner pages) */
.page-hero {
  padding: 48px 0 40px;
  background: linear-gradient(160deg, #f0fafa, var(--bg));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p { color: var(--text-muted); max-width: 640px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-dark); }

/* Content */
.content-section { padding: 56px 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; color: var(--text-muted); }
.prose ul, .prose ol { margin: 0 0 16px 24px; color: var(--text-muted); }
.prose li { margin-bottom: 6px; }

.content-wide { max-width: 900px; margin: 0 auto; }

/* Team */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.25s;
}

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

.team-avatar {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.team-card-body { padding: 20px; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { color: var(--accent-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.875rem; color: var(--text-muted); }

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

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

.location-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

.location-detail {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location-detail svg { flex-shrink: 0; color: var(--accent); }

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

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

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

.faq-question:hover { background: var(--bg); }

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
}

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

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

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

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

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

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

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item svg { color: var(--accent); flex-shrink: 0; }

.contact-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }

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

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-success {
  display: none;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 500;
}

.form-success.show { display: block; }

.map-placeholder {
  margin-top: 48px;
  background:
    linear-gradient(135deg, #e8ecef 25%, #dfe4e8 25%, #dfe4e8 50%, #e8ecef 50%, #e8ecef 75%, #dfe4e8 75%);
  background-size: 40px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Blog */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

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

.blog-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body { padding: 24px; }

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

.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }

/* Course detail */
.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.course-meta-item {
  background: var(--accent-light);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
}

.course-meta-item strong { display: block; font-size: 1.1rem; color: var(--accent-dark); }
.course-meta-item span { font-size: 0.8rem; color: var(--text-muted); }

.course-price-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.course-price-box .price-amount { margin: 8px 0 16px; }

/* Legal */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.legal-content ol { margin: 0 0 16px 24px; }
.legal-content ol ol { margin-top: 8px; }
.legal-content li { margin-bottom: 6px; }

.doc-id {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.stat-box {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.stat-box span { font-size: 0.85rem; color: var(--text-muted); }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.data-table th {
  background: var(--bg);
  font-weight: 600;
}

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

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: var(--accent); }

.hours-table { font-size: 0.9rem; }
.hours-table td { padding: 4px 0; }
.hours-table td:first-child { padding-right: 16px; color: rgba(255,255,255,0.55); }

/* Responsive */
@media (max-width: 960px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .benefit-row, .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
