/* ==========================================================================
   Built by Gfunk Digital 
   Gfunk Data | Cyber Security & Intelligence Stylesheet
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  
  /* Siber Mavi Renk Paleti (Data Teması) */
  --cyber: #00e5ff;
  --cyber-soft: #80f2ff;
  --cyber-dark: #008999;
  
  --cyan: #4cc9f0;
  --text: #e8e4dc;
  --muted: #9a9488;
  
  /* Çizgiler ve Gölgeler */
  --line: rgba(0, 229, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Rajdhani", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

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

a {
  color: var(--cyber);
  text-decoration: none;
}

a:hover {
  color: var(--cyber-soft);
}

/* Tüm özel başlık fontları Rajdhani - Zorlama yok */
.font-display {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  color: var(--cyber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 600; 
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: #f4efe4;
  letter-spacing: 0.05em;
}

.section-copy {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
}

.site-header {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--line);
}

.navbar-brand {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.65rem; 
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: lowercase; /* Logodaki gfunkdata hissiyatı için */
  color: #f7f1e6 !important;
}

.navbar-brand span {
  color: var(--cyber);
}

.navbar .nav-link {
  color: #cfc8ba !important;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Scrollspy Active, Hover States & Persistent Language Selector */
.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-link.lang-active,
.active-lang {
  color: var(--cyber) !important;
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300e5ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: #050505 url("../img/ui/hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.78) 45%, #0a0a0a 100%),
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.08), transparent 32%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8.5rem 0 5rem;
}

.hero h1 {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  max-width: 16ch;
  color: #f7f1e6;
}

.hero-kicker {
  color: var(--cyan);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.25rem 0 1.5rem;
  font-weight: 600;
}

.hero p {
  max-width: 42rem;
  color: #c6bfb2;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
}

/* Siber Buton */
.btn-gold {
  background: transparent;
  color: var(--cyber);
  border: 1px solid var(--cyber);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--cyber);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--cyber);
  border: 1px solid var(--cyber);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyber-soft);
  border-color: var(--cyber-soft);
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-muted {
  background: linear-gradient(180deg, #0a0a0a 0%, #101010 100%);
}

.philosophy-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.philosophy-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: grayscale(0.35) contrast(1.05);
}

.philosophy-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Çizgiler */
.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--cyber);
  margin: 1.25rem 0 1.5rem;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.5);
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.78);
}

.service-card .card-body {
  padding: 1.6rem 1.5rem 1.8rem;
}

.service-index {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.service-card h3 {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0.55rem 0 0.9rem;
  color: #f3eee4;
}

.protocols {
  background: #050505 url("../img/ui/protocols.jpg") center / cover no-repeat;
  position: relative;
}

.protocols::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
}

.protocols .container {
  position: relative;
  z-index: 1;
}

.protocol-card {
  background: rgba(16, 16, 16, 0.86);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
  height: 100%;
}

.protocol-card.featured {
  border-color: var(--cyber);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.protocol-card h3 {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #f7f1e6;
}

.badge-rec {
  display: inline-block;
  border: 1px solid var(--cyber);
  color: var(--cyber);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.9rem;
}

.protocol-card ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.protocol-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  line-height: 1.55;
  font-weight: 500;
}

.protocol-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

/* Contact Panel - Dış Çerçeve Tam Siber Mavi ve Neon Parlama */
.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--cyber);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
  padding: 2.5rem;
}

/* Form Kutuları - Orijinal Sade / Koyu Hatlarına Döndürüldü */
.form-control {
  background: #0c0c0c;
  border: 1px solid #1a2226;
  border-radius: 0;
  color: var(--text);
  padding: 0.9rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: #0c0c0c;
  color: var(--text);
  border-color: var(--cyber);
  box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.15);
}

.form-control::placeholder {
  color: #6f6a61;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .hero h1 {
    max-width: none;
  }

  .contact-panel {
    padding: 1.5rem;
  }
}

/* Tech Stack & Partners Grid */
.tech-stack-section {
  padding: 60px 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  background-color: #070707;
}

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

@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tech-item img {
  height: 36px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.tech-label {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  margin-top: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover Efekti: Siber Maviye Dönüş ve Parlama */
.tech-item:hover {
  border-color: var(--cyber);
  background: #121212;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

.tech-item:hover img {
  filter: grayscale(0%) brightness(1.1);
  opacity: 1;
}

.tech-item:hover .tech-label {
  color: var(--cyber);
}