/* ============================================================
   CV DİJİTAL — PREMIUM TEMA VE KONTRAST ONARIMI
   Canlı dosyadaki çakışan renk kurallarının üzerinde çalışır.
   ============================================================ */

:root {
  --cv-bg: #070b14;
  --cv-bg-secondary: #0c1220;
  --cv-bg-elevated: #111827;
  --cv-surface: #ffffff;
  --cv-surface-soft: #f5f7fa;
  --cv-text: #101522;
  --cv-text-muted: #667085;
  --cv-dark-text: #f7f9fc;
  --cv-dark-muted: #aab5c8;
  --cv-border: #e4e8ef;
  --cv-dark-border: rgba(255, 255, 255, 0.1);
  --cv-cyan: #65e5ff;
  --cv-violet: #8068ff;
  --cv-shadow: 0 24px 70px rgba(11, 18, 35, 0.13);
}

/* Temel sayfa */
html {
  color-scheme: light;
  min-width: 320px;
  background: var(--cv-surface);
}

body {
  min-width: 320px;
  margin: 0 !important;
  color: var(--cv-text) !important;
  background: var(--cv-surface) !important;
  opacity: 1 !important;
  filter: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#root,
main {
  width: 100%;
  min-height: 100%;
  color: var(--cv-text);
  background: var(--cv-surface);
}

body,
body * {
  text-shadow: none;
}

main,
section,
header,
footer,
.container {
  opacity: 1 !important;
}

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */

.header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1000 !important;

  height: 78px !important;

  color: #ffffff !important;
  background: rgba(7, 11, 20, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
  box-shadow: 0 8px 30px rgba(3, 7, 15, 0.13) !important;

  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;

  opacity: 1 !important;
  filter: none !important;
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.97) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.header-inner {
  height: 78px !important;
}

.header .logo,
.header .logo span,
.header .logo a {
  color: #ffffff !important;
  opacity: 1 !important;
}

.header .logo b {
  color: #8894a8 !important;
}

.header .logo-mark {
  display: block !important;
  position: relative !important;

  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;

  background: #0d1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 10px !important;

  opacity: 1 !important;
}

.header .logo-mark::before {
  content: "" !important;
  position: absolute !important;
  inset: 8px 7px !important;

  display: block !important;

  border: 3px solid var(--cv-cyan) !important;
  border-right: 0 !important;
  border-radius: 5px 0 0 5px !important;
}

.header .logo-mark i {
  position: absolute !important;
  top: 15px !important;
  right: 7px !important;

  display: block !important;

  width: 12px !important;
  height: 5px !important;

  background: var(--cv-violet) !important;
  border-radius: 2px !important;
}

.desktop-nav,
.desktop-nav a,
.nav-drop > a {
  color: #e8edf6 !important;
  opacity: 1 !important;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-drop > a:hover {
  color: #ffffff !important;
}

.desktop-cta {
  color: #101522 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.drop-panel {
  color: var(--cv-text) !important;
  background: #ffffff !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: var(--cv-shadow) !important;
}

.drop-panel a,
.drop-panel b {
  color: var(--cv-text) !important;
}

.drop-panel small {
  color: #7d899c !important;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.hero {
  position: relative !important;
  min-height: 790px !important;

  padding-top: 155px !important;
  padding-bottom: 85px !important;

  color: #ffffff !important;
  background:
    radial-gradient(
      circle at 84% 15%,
      rgba(128, 104, 255, 0.17),
      transparent 36%
    ),
    radial-gradient(
      circle at 25% 100%,
      rgba(101, 229, 255, 0.08),
      transparent 35%
    ),
    var(--cv-bg) !important;

  opacity: 1 !important;
  filter: none !important;
  overflow: hidden !important;
}

.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  display: block !important;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ) !important;

  background-size: 55px 55px !important;
  pointer-events: none !important;
}

.hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  display: block !important;

  background:
    linear-gradient(
      90deg,
      rgba(7, 11, 20, 0.18),
      transparent 55%
    ) !important;

  pointer-events: none !important;
}

.hero-grid,
.hero-copy,
.hero-visual {
  position: relative !important;
  z-index: 2 !important;

  opacity: 1 !important;
  filter: none !important;
}

.hero .eyebrow {
  color: #aeb9ce !important;
  opacity: 1 !important;
}

.hero h1 {
  color: #ffffff !important;
  opacity: 1 !important;
}

.hero h1 span {
  display: inline-block;

  background:
    linear-gradient(
      100deg,
      #ffffff 4%,
      #6ee7ff 48%,
      #957dff 90%
    ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;

  color: transparent !important;
  -webkit-text-fill-color: transparent !important;

  opacity: 1 !important;
}

.hero-copy > p {
  color: #aeb9ce !important;
  opacity: 1 !important;
}

.hero .text-link {
  color: #ffffff !important;
  opacity: 1 !important;
}

.hero-trust span {
  color: #96a2b6 !important;
  opacity: 1 !important;
}

.hero-trust svg {
  color: var(--cv-cyan) !important;
}

.hero .btn {
  color: #ffffff !important;
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 13px 35px rgba(0, 0, 0, 0.25) !important;
}

/* Performans paneli */
.hero-visual {
  color: #ffffff !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.035)
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.36) !important;

  -webkit-backdrop-filter: blur(15px) !important;
  backdrop-filter: blur(15px) !important;

  opacity: 1 !important;
}

.hero-visual *,
.dash-top,
.chart-head,
.metric-row strong,
.dash-bottom b {
  opacity: 1 !important;
}

.dash-top,
.chart-head {
  color: #d9dfeb !important;
}

.dash-top small,
.chart-head small,
.metric-row small,
.metric-row em,
.dash-bottom small {
  color: #8d99ad !important;
}

.metric-row strong {
  color: #ffffff !important;
}

.chart-card {
  color: #ffffff !important;
  background: rgba(7, 11, 20, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}

.dash-bottom > div {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.floating-chip {
  color: #101522 !important;
  background: #ffffff !important;
}

/* ------------------------------------------------------------
   LIGHT SECTIONS
   ------------------------------------------------------------ */

.section:not(.dark-section),
.services-section,
.process,
.faq-section {
  color: var(--cv-text) !important;
  background: #ffffff !important;
}

.soft-section,
.project-section {
  color: var(--cv-text) !important;
  background: var(--cv-surface-soft) !important;
}

.section:not(.dark-section) h1,
.section:not(.dark-section) h2,
.section:not(.dark-section) h3,
.section:not(.dark-section) h4,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--cv-text) !important;
  opacity: 1 !important;
}

.section:not(.dark-section) p,
.page-hero p {
  color: var(--cv-text-muted) !important;
  opacity: 1 !important;
}

.section-title .eyebrow {
  color: #4e5b72 !important;
}

/* Hizmet kartları */
.service-card,
.project-card,
.blog-card,
.scope-card,
.benefit-card,
.value-card,
.contact-form,
.quote-form,
.faq-item {
  color: var(--cv-text) !important;
  background: #ffffff !important;
  border-color: var(--cv-border) !important;
  opacity: 1 !important;
  filter: none !important;
}

.service-card h3,
.project-card h3,
.blog-card h3,
.faq-item button {
  color: var(--cv-text) !important;
}

.service-card p,
.project-card p,
.blog-card p,
.faq-item p {
  color: var(--cv-text-muted) !important;
}

.service-card > span,
.service-card > span svg,
.text-link {
  color: var(--cv-text) !important;
}

/* ------------------------------------------------------------
   DARK SECTIONS
   ------------------------------------------------------------ */

.dark-section,
.cta-section,
.footer {
  color: #ffffff !important;
  background: var(--cv-bg) !important;
  opacity: 1 !important;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.footer h1,
.footer h2,
.footer h3,
.footer h4 {
  color: #ffffff !important;
}

.dark-section p,
.cta-section p,
.footer p {
  color: var(--cv-dark-muted) !important;
}

.dark-section .eyebrow,
.cta-section .eyebrow {
  color: #aeb9ce !important;
}

.feature-list b {
  color: #ffffff !important;
}

.feature-list p {
  color: #9ca8bc !important;
}

/* ------------------------------------------------------------
   İÇ SAYFA HERO ALANLARI
   ------------------------------------------------------------ */

.page-hero,
.service-hero,
.project-detail-hero,
.article header,
.legal-page {
  color: #ffffff !important;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(128, 104, 255, 0.18),
      transparent 37%
    ),
    var(--cv-bg) !important;

  opacity: 1 !important;
}

.page-hero h1,
.service-hero h1,
.project-detail-hero h1,
.article header h1,
.legal-page h1 {
  color: #ffffff !important;
}

.page-hero h1 span,
.service-hero h1 span {
  background:
    linear-gradient(
      100deg,
      #ffffff,
      var(--cv-cyan),
      var(--cv-violet)
    ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;

  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.page-hero p,
.service-hero p,
.project-detail-hero p,
.article header p,
.legal-page > p {
  color: #aab5c8 !important;
}

/* ------------------------------------------------------------
   FORMLAR
   ------------------------------------------------------------ */

input,
select,
textarea {
  color: var(--cv-text) !important;
  background: #ffffff !important;
  border-color: #d9dee8 !important;
  opacity: 1 !important;
}

input::placeholder,
textarea::placeholder {
  color: #98a2b3 !important;
  opacity: 1 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cv-violet) !important;
  outline: 3px solid rgba(128, 104, 255, 0.12) !important;
}

label,
.form-head h2,
.contact-form h2,
.quote-form h2 {
  color: var(--cv-text) !important;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.footer .logo,
.footer .logo span {
  color: #ffffff !important;
}

.footer .logo b {
  color: #8793a8 !important;
}

.footer a,
.footer span {
  color: #aeb8ca !important;
}

.footer a:hover {
  color: #ffffff !important;
}

.footer h4 {
  color: #ffffff !important;
}

.footer-direct-phone {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.footer-direct-phone strong {
  color: #ffffff !important;
}

/* ------------------------------------------------------------
   WHATSAPP
   ------------------------------------------------------------ */

.whatsapp {
  z-index: 800 !important;

  color: #ffffff !important;
  background: #20c66b !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 14px 35px rgba(18, 142, 75, 0.3) !important;

  opacity: 1 !important;
  filter: none !important;
}

/* ------------------------------------------------------------
   MOBİL
   ------------------------------------------------------------ */

@media (max-width: 980px) {
  .header,
  .header.scrolled {
    height: 72px !important;

    color: #ffffff !important;
    background: rgba(7, 11, 20, 0.98) !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .header-inner {
    height: 72px !important;
  }

  .menu-btn {
    display: grid !important;
    place-items: center !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 13px !important;

    opacity: 1 !important;
  }

  .desktop-nav,
  .desktop-cta {
    display: none !important;
  }

  .hero {
    min-height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 75px !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 55px !important;
  }

  .hero-visual {
    transform: none !important;
  }

  .hero-glow {
    filter: blur(90px) !important;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
  }

  .header,
  .header.scrolled,
  .header-inner {
    height: 68px !important;
  }

  .header .logo {
    font-size: 18px !important;
  }

  .header .logo-mark {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .hero {
    padding-top: 105px !important;
    padding-bottom: 60px !important;
  }

  .hero h1 {
    color: #ffffff !important;
    font-size: clamp(39px, 12vw, 51px) !important;
    line-height: 1.03 !important;
  }

  .hero-copy > p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .hero-actions {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .hero-actions .text-link {
    min-height: 44px !important;
    justify-content: center !important;
  }

  .hero-trust {
    gap: 12px !important;
  }

  .hero-visual {
    padding: 17px !important;
    border-radius: 21px !important;
  }

  .metric-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .dash-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .floating-chip {
    right: 12px !important;
    bottom: 14px !important;
  }

  .service-grid,
  .project-grid,
  .blog-grid,
  .scope-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  input,
  select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
  }

  .whatsapp {
    right: 13px !important;
    bottom: 13px !important;

    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 0 !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;
  }

  .whatsapp span {
    display: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .service-card:hover,
  .project-card:hover,
  .blog-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
