/* ==========================================================================
   QTATIL — "YAKINDA HİZMETİNİZDE" KURUMSAL STATİK STİL DOSYASI
   Güzel Hosting cPanel public_html uyumlu • Saf CSS • Sıfır Bağımlılık
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Kurumsal Renk Paleti */
  --color-brand-red: #E31E24;
  --color-brand-red-hover: #C51319;
  --color-brand-red-tint: rgba(227, 30, 36, 0.06);
  --color-brand-red-tint-hover: rgba(227, 30, 36, 0.12);

  /* Nötrler & Zeminler */
  --color-bg-body: #FAFCFF;
  --color-bg-card: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-bg-muted: #F1F5F9;

  /* Tipografi */
  --color-text-primary: #0F172A;     /* Derin antrasit/lacivert */
  --color-text-secondary: #334155;   /* Kurumsal gövde metni */
  --color-text-muted: #64748B;       /* İkincil etiketler & tarihler */
  --color-text-subtle: #94A3B8;      /* Sayısal sayaçlar */

  /* Çizgi & Ayrım */
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;
  --color-border-strong: #CBD5E1;

  /* Radius & Gölgeler */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.03), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(227, 30, 36, 0.04);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sayfa Arka Plan İnce Mimari Izgara Dokusu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Ana Sayfa Kapsayıcısı */
.page-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 32px 32px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   ÜST BÖLÜM (HEADER)
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.88;
}

/* Logo Alanı: Doğrudan assets/qtatil-logo.svg dosyasını gösterir */
.brand-logo {
  width: 220px;
  height: auto;
  max-width: 100%;
  display: block;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-subtle);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status-dot-pulse {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.status-dot-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #10B981;
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot-pulse::after {
  content: "";
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* ==========================================================================
   ANA GÖVDE & HERO ALANI
   ========================================================================== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 56px 0 48px 0;
  gap: 64px;
}

.hero-block {
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-red);
  margin-bottom: 20px;
}

.hero-tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--color-brand-red);
}

.hero-headline {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.hero-highlight-sub {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-brand-red);
  margin-bottom: 28px;
}

.hero-highlight-sub .accent-dot {
  color: var(--color-text-primary);
}

.hero-description {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 720px;
  font-weight: 400;
}

/* ==========================================================================
   HİZMET ALANLARI GRİDİ (01, 02, 03, 04)
   ========================================================================== */
.services-section {
  width: 100%;
}

.services-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  gap: 16px;
}

.services-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.services-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-red);
  font-feature-settings: "tnum";
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

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

.service-card:hover::before {
  background-color: var(--color-brand-red);
}

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-num {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-brand-red);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

.service-badge-pill {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: background-color 0.2s ease;
}

.service-card:hover .service-badge-pill {
  background-color: var(--color-brand-red);
}

.service-title {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   İLETİŞİM BÖLÜMÜ (KURUMSAL VE SADE)
   ========================================================================== */
.contact-section {
  width: 100%;
}

.contact-bar {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.contact-intro {
  flex: 1;
  max-width: 480px;
}

.contact-label-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  display: block;
}

.contact-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-channels {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 220px;
}

.channel-link:hover {
  background-color: #FFFFFF;
  border-color: rgba(227, 30, 36, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(227, 30, 36, 0.08);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--color-brand-red-tint);
  color: var(--color-brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.channel-link:hover .channel-icon {
  background-color: var(--color-brand-red);
  color: #FFFFFF;
}

.channel-icon svg {
  width: 18px;
  height: 18px;
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-type {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  line-height: 1.2;
  margin-bottom: 2px;
}

.channel-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.channel-link:hover .channel-value {
  color: var(--color-brand-red);
}

/* ==========================================================================
   ALT BİLGİ (FOOTER)
   ========================================================================== */
.site-footer {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy-main {
  font-weight: 600;
  color: var(--color-text-secondary);
}

.footer-rights {
  color: var(--color-text-muted);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   DUYARLILIK & RESPONSIVE AYARLARI
   ========================================================================== */

/* Tablet & Küçük Ekranlar (<= 1024px) */
@media (max-width: 1024px) {
  .page-container {
    padding: 32px 24px 28px 24px;
  }

  .main-wrapper {
    gap: 48px;
    padding: 40px 0 36px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contact-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }

  .contact-intro {
    max-width: 100%;
  }

  .contact-channels {
    width: 100%;
  }

  .channel-link {
    flex: 1;
    min-width: 200px;
  }
}

/* Mobil Cihazlar (<= 640px) */
@media (max-width: 640px) {
  .page-container {
    padding: 24px 16px 20px 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    gap: 14px;
  }

  .brand-logo {
    width: 175px;
    height: auto;
    max-width: 100%;
  }

  .header-status {
    padding: 4px 12px;
    font-size: 0.75rem;
  }

  .main-wrapper {
    gap: 40px;
    padding: 28px 0 28px 0;
  }

  .hero-tag {
    font-size: 0.6875rem;
    margin-bottom: 14px;
  }

  .hero-headline {
    font-size: 1.875rem;
    line-height: 1.18;
  }

  .hero-highlight-sub {
    font-size: 1.625rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .services-header-row {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 20px 18px;
  }

  .service-top-row {
    margin-bottom: 16px;
  }

  .service-title {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }

  .service-desc {
    font-size: 0.875rem;
  }

  .contact-bar {
    padding: 20px 16px;
    gap: 20px;
  }

  .contact-heading {
    font-size: 1.0625rem;
  }

  .contact-channels {
    flex-direction: column;
    gap: 10px;
  }

  .channel-link {
    width: 100%;
    min-width: 100%;
    padding: 12px 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
    gap: 8px;
    font-size: 0.75rem;
  }
}

/* Erişilebilirlik Odaklanma Çerçevesi */
a:focus-visible {
  outline: 2px solid var(--color-brand-red);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
