/*
Theme Name: Raporlama Fabrikası
Theme URI: https://raporlamafabrikasi.com
Author: D Plus Anatolia
Author URI: https://dplusanatolia.com
Description: Raporlama Fabrikası Kurumsal Tema
Version: 1.0
License: Private
Text Domain: raporlama-fabrikasi
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --black:     #0a0a0a;
  --white:     #ffffff;
  --red:       #CC2200;
  --red-dark:  #991a00;
  --gray-100:  #f5f5f5;
  --gray-200:  #e0e0e0;
  --gray-400:  #aaaaaa;
  --gray-600:  #555555;
  --gray-800:  #222222;

  --font-display: 'Bebas Neue', sans-serif;
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --container: 1200px;
  --gutter:    clamp(1.5rem, 5vw, 4rem);
  --section:   clamp(5rem, 10vw, 9rem);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ─── TYPOGRAPHY ─── */
.display {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

h1, h2, h3, h4 { font-family: var(--font-head); }

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--gray-400);
}

p strong { color: var(--white); font-weight: 500; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.accent { color: var(--red); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 1.5px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1.5px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.site-logo span { color: var(--red); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--white); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.lang-toggle a {
  color: var(--gray-600);
  transition: color 0.2s;
  padding: 0.2rem 0.4rem;
}

.lang-toggle a.active { color: var(--white); }
.lang-toggle .sep { color: var(--gray-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(204,34,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(204,34,0,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
}

.hero-left { position: relative; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1.5px;
  background: var(--red);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-headline em {
  color: var(--red);
  font-style: normal;
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--gray-400);
  max-width: 36ch;
  line-height: 1.65;
  border-left: 2px solid var(--red);
  padding-left: 1.25rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 0.5rem;
}

.hero-statement {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.hero-statement + .hero-statement {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gray-400);
}

.hero-cta { margin-top: 1rem; display: flex; gap: 1rem; align-items: center; }

/* ─── METRICS ─── */
.metrics {
  padding: var(--section) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.metric-item {
  background: var(--black);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.metric-item:hover { background: rgba(255,255,255,0.02); }

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.metric-number span { color: var(--red); }

.metric-label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 28ch;
}

/* ─── THREE PILLARS ─── */
.pillars {
  padding: var(--section) 0;
}

.section-header {
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.pillar-item {
  background: var(--black);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.3s;
  cursor: default;
}

.pillar-item:hover { background: rgba(255,255,255,0.025); }

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.12em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.75;
  flex: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.03em;
  transition: gap 0.2s;
  margin-top: auto;
}

.pillar-link:hover { gap: 0.85rem; }
.pillar-link::after { content: '→'; }

/* ─── WHY RF ─── */
.why-rf {
  padding: var(--section) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-left h2 { margin-bottom: 1.5rem; }
.why-left p { margin-bottom: 1rem; }

.why-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.why-point:last-child { border-bottom: none; padding-bottom: 0; }

.why-point-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
  min-width: 2rem;
}

.why-point-text h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.why-point-text p { font-size: 0.9rem; }

/* ─── ECOSYSTEM ─── */
.ecosystem {
  padding: var(--section) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 4rem;
}

.eco-card {
  background: var(--black);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s;
  position: relative;
}

.eco-card:hover { background: rgba(255,255,255,0.02); }

.eco-card.coming-soon { opacity: 0.5; }

.eco-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid rgba(204,34,0,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 1px;
  align-self: flex-start;
}

.eco-badge.soon {
  color: var(--gray-600);
  border-color: rgba(255,255,255,0.1);
}

.eco-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
}

.eco-desc { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; }

.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.03em;
  transition: color 0.2s, gap 0.2s;
  margin-top: 0.5rem;
}

.eco-link:hover { color: var(--white); gap: 0.85rem; }
.eco-link::after { content: '↗'; }

/* ─── SERVICES PAGE ─── */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.services-list { padding: var(--section) 0; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}

.service-block:first-child { padding-top: 0; }

.service-left { position: sticky; top: 8rem; }

.service-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.service-title-en {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-content p { margin-bottom: 1.25rem; }
.service-content p:last-child { margin-bottom: 0; }

.service-highlight {
  border-left: 2px solid var(--red);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.service-highlight p {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  font-style: italic;
}

/* ─── ABOUT PAGE ─── */
.about-content {
  padding: var(--section) 0;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}

.about-block:last-child { border-bottom: none; }

.about-label {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--gray-600);
  position: sticky;
  top: 8rem;
}

.about-text p { margin-bottom: 1.25rem; }
.about-text p:last-child { margin-bottom: 0; }

.model-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 3rem;
}

.model-step {
  background: var(--black);
  padding: 2rem;
}

.model-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.model-step-title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.model-step-desc { font-size: 0.88rem; color: var(--gray-400); line-height: 1.7; }

/* ─── CONTACT PAGE ─── */
.contact-section {
  padding: var(--section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.2s;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-link:hover { color: var(--white); }

.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  min-width: 5rem;
}

/* ─── FORM ─── */
.rf-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 0.9rem 1.1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  padding: 1.5rem;
  border: 1px solid rgba(204,34,0,0.3);
  border-left: 3px solid var(--red);
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gray-200);
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.footer-brand span { color: var(--red); }

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.footer-credits p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  line-height: 1.6;
}

.footer-credits a { color: var(--gray-400); transition: color 0.2s; }
.footer-credits a:hover { color: var(--white); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-grid,
  .why-inner,
  .contact-grid,
  .service-block,
  .about-block { grid-template-columns: 1fr; gap: 2.5rem; }

  .service-left,
  .about-label { position: static; }

  .pillars-grid,
  .metrics-grid { grid-template-columns: 1fr; }

  .ecosystem-grid { grid-template-columns: 1fr; }

  .model-steps { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .site-nav { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-credits { text-align: center; }
}

/* ─── MOBILE HEADER ─── */
@media (max-width: 900px) {
  .header-desktop-only { display: none !important; }
  .site-nav { display: none !important; }
}

/* ─── SERVICE CARDS (hizmetler ana sayfa) ─── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 4rem;
}

.service-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.3s;
  text-decoration: none;
}

.service-card:hover { background: rgba(255,255,255,0.025); }

.service-card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.12em;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
}

.service-card-en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.75;
  flex: 1;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.03em;
  transition: gap 0.2s;
  margin-top: auto;
}

.service-card:hover .service-card-arrow { gap: 0.85rem; }
.service-card-arrow::after { content: '→'; }

@media (max-width: 900px) {
  .service-cards { grid-template-columns: 1fr; }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a, .breadcrumb span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gray-400); }
.breadcrumb .sep { color: var(--gray-800); }
.breadcrumb .current { color: var(--gray-400); }

/* ─── HERO CLAIM ─── */
.hero-claim {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .hero-claim { font-size: clamp(2rem, 7vw, 3rem); }
}
