/* ==========================================================
   KEMAL TOKMAK
   DOCUMENTATION CENTER V2
========================================================== */

/* ===========================
   RESET
=========================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  background: #08111f;

  color: #ffffff;

  overflow-x: hidden;

  line-height: 1.7;
}

/* ===========================
   ROOT
=========================== */

:root {
  --primary: #3b82f6;

  --primary-dark: #2563eb;

  --secondary: #60a5fa;

  --dark: #08111f;

  --dark-light: #101b2f;

  --card: #111d32;

  --border: #23324f;

  --text: #b8c3d9;

  --white: #ffffff;

  --radius: 22px;

  --shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ===========================
   LINKS
=========================== */

a {
  text-decoration: none;

  color: inherit;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ===========================
   CONTAINER
=========================== */

.container {
  width: 92%;

  max-width: 1320px;

  margin: auto;
}

/* ===========================
   PAGE LOADER
=========================== */

.page-loader {
  position: fixed;

  inset: 0;

  background: #08111f;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 99999;
}

.loader {
  width: 55px;

  height: 55px;

  border: 4px solid rgba(255, 255, 255, 0.08);

  border-top: 4px solid var(--primary);

  border-radius: 50%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================
   BACKGROUND
=========================== */

.background-grid {
  position: fixed;

  inset: 0;

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

  background-size: 60px 60px;

  opacity: 0.25;

  pointer-events: none;

  z-index: -2;
}

.background-glow {
  position: fixed;

  width: 700px;

  height: 700px;

  border-radius: 50%;

  filter: blur(150px);

  opacity: 0.15;

  z-index: -1;
}

.glow-one {
  top: -250px;

  left: -250px;

  background: #3b82f6;
}

.glow-two {
  right: -250px;

  bottom: -250px;

  background: #2563eb;
}

/* ===========================
   WRAPPER
=========================== */

.docs-wrapper {
  position: relative;
}
/* ==========================================================
   HEADER
========================================================== */

.docs-header {
  position: fixed;

  top: 20px;

  left: 0;

  width: 100%;

  z-index: 9999;

  transition: 0.35s ease;
}

.docs-header.scrolled {
  top: 0;
}

.docs-header .container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 16px 30px;

  border-radius: 20px;

  background: rgba(12, 20, 35, 0.7);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   LOGO
========================================================== */

.docs-logo {
  font-size: 28px;

  font-weight: 700;

  color: #fff;

  letter-spacing: 0.5px;

  transition: 0.3s;
}

.docs-logo span {
  color: var(--primary);
}

.docs-logo:hover {
  transform: scale(1.03);
}

/* ==========================================================
   NAVIGATION
========================================================== */

.docs-nav {
  display: flex;

  align-items: center;
}

.docs-nav ul {
  display: flex;

  align-items: center;

  gap: 12px;
}

.docs-nav li {
  position: relative;
}

.docs-nav a {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 12px 18px;

  border-radius: 12px;

  color: var(--text);

  font-size: 15px;

  font-weight: 500;

  transition: 0.3s;
}

.docs-nav a i {
  font-size: 15px;
}

/* Hover */

.docs-nav a:hover {
  color: #fff;

  background: rgba(59, 130, 246, 0.15);
}

/* Active */

.docs-nav a.active {
  background: var(--primary);

  color: #fff;

  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

/* ==========================================================
   RIGHT BUTTONS
========================================================== */

.docs-actions {
  display: flex;

  align-items: center;

  gap: 12px;
}

.docs-actions button {
  width: 46px;

  height: 46px;

  border: none;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);

  color: #fff;

  cursor: pointer;

  transition: 0.3s;

  font-size: 18px;
}

.docs-actions button:hover {
  background: var(--primary);

  transform: translateY(-3px);
}

/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.menu-btn {
  display: none;
}

/* ==========================================================
   HEADER ANIMATION
========================================================== */

.docs-header .container {
  animation: headerDown 0.7s ease;
}

@keyframes headerDown {
  from {
    opacity: 0;

    transform: translateY(-40px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}
/* ==========================================================
   HERO
========================================================== */

.docs-hero {
  position: relative;

  padding: 180px 0 120px;

  overflow: hidden;
}

.docs-hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(96, 165, 250, 0.12),
      transparent 35%
    ),
    radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.1), transparent 45%);

  pointer-events: none;
}

.hero-content {
  position: relative;

  z-index: 2;

  max-width: 900px;

  margin: auto;

  text-align: center;
}

/* ==========================================
   BADGE
========================================== */

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 24px;

  border-radius: 50px;

  background: rgba(59, 130, 246, 0.12);

  border: 1px solid rgba(59, 130, 246, 0.25);

  color: #7db8ff;

  font-size: 0.9rem;

  font-weight: 600;

  letter-spacing: 0.5px;

  margin-bottom: 30px;
}

.hero-badge i {
  color: var(--primary);
}

/* ==========================================
   TITLE
========================================== */

.hero-content h1 {
  font-size: 4rem;

  font-weight: 800;

  line-height: 1.2;

  margin-bottom: 25px;

  color: #fff;
}

.hero-content h1 span {
  color: var(--primary);

  display: block;
}

/* ==========================================
   DESCRIPTION
========================================== */

.hero-content p {
  max-width: 760px;

  margin: 0 auto 50px;

  font-size: 1.15rem;

  color: var(--text);

  line-height: 1.9;
}

/* ==========================================
   SEARCH
========================================== */

.hero-search {
  margin-bottom: 70px;
}

.search-box {
  display: flex;

  align-items: center;

  background: #111d32;

  border: 1px solid var(--border);

  border-radius: 18px;

  overflow: hidden;

  max-width: 760px;

  margin: auto;

  box-shadow: var(--shadow);
}

.search-box i {
  padding: 0 24px;

  font-size: 18px;

  color: #7db8ff;
}

.search-box input {
  flex: 1;

  height: 70px;

  border: none;

  background: transparent;

  color: #fff;

  font-size: 16px;

  outline: none;
}

.search-box input::placeholder {
  color: #7f8ba3;
}

.search-box button {
  border: none;

  background: var(--primary);

  color: #fff;

  padding: 0 38px;

  height: 70px;

  cursor: pointer;

  font-size: 16px;

  font-weight: 600;

  transition: 0.35s;
}

.search-box button:hover {
  background: var(--primary-dark);
}

/* ==========================================
   STATS
========================================== */

.hero-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

  margin-top: 20px;
}

.stat-card {
  background: #111d32;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 30px;

  transition: 0.35s;
}

.stat-card:hover {
  transform: translateY(-8px);

  border-color: var(--primary);
}

.stat-card h3 {
  color: #fff;

  font-size: 2rem;

  margin-bottom: 10px;
}

.stat-card span {
  color: var(--text);

  font-size: 0.95rem;
}
/* ==========================================================
   SECTION HEADER
========================================================== */

.section-header {
  text-align: center;

  margin-bottom: 70px;
}

.section-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 22px;

  border-radius: 50px;

  background: rgba(59, 130, 246, 0.1);

  border: 1px solid rgba(59, 130, 246, 0.2);

  color: var(--primary);

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.8rem;

  font-weight: 700;

  color: #fff;

  margin-bottom: 18px;
}

.section-header p {
  max-width: 760px;

  margin: auto;

  color: var(--text);

  line-height: 1.8;
}

/* ==========================================================
   CATEGORY
========================================================== */

.docs-categories {
  padding: 110px 0;
}

.category-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

/* ==========================================================
   CARD
========================================================== */

.category-card {
  background: rgba(17, 29, 50, 0.95);

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 35px;

  text-align: center;

  transition: 0.35s;

  position: relative;

  overflow: hidden;
}

.category-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 4px;

  background: var(--primary);

  transition: 0.4s;
}

.category-card:hover {
  transform: translateY(-12px);

  border-color: var(--primary);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.category-card:hover::before {
  left: 0;
}

/* ==========================================================
   ICON
========================================================== */

.category-icon {
  width: 85px;

  height: 85px;

  border-radius: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 25px;

  font-size: 36px;

  color: #fff;

  transition: 0.35s;
}

.category-card:hover .category-icon {
  transform: rotate(8deg) scale(1.1);
}

/* ==========================================================
   ICON COLORS
========================================================== */

.category-icon.docker {
  background: #2496ed;
}

.category-icon.linux {
  background: #f7df1e;

  color: #111;
}

.category-icon.nginx {
  background: #009639;
}

.category-icon.vmware {
  background: #607d8b;
}

.category-icon.cloud {
  background: #0ea5e9;
}

.category-icon.devops {
  background: #7c3aed;
}

/* ==========================================================
   TEXT
========================================================== */

.category-card h3 {
  font-size: 1.45rem;

  color: #fff;

  margin-bottom: 15px;
}

.category-card p {
  color: var(--text);

  line-height: 1.8;

  min-height: 80px;

  margin-bottom: 20px;
}

.category-card span {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 8px 18px;

  border-radius: 50px;

  background: rgba(59, 130, 246, 0.1);

  color: var(--primary);

  font-size: 14px;

  font-weight: 600;
}
/* ==========================================================
   DOCUMENT SECTIONS
========================================================== */

.docs-section {
  padding: 110px 0;
}

/* ==========================================================
   DOCUMENT GRID
========================================================== */

.document-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

/* ==========================================================
   DOCUMENT CARD
========================================================== */

.document-card {
  position: relative;

  display: flex;

  flex-direction: column;

  background: rgba(17, 29, 50, 0.96);

  border: 1px solid var(--border);

  border-radius: 22px;

  overflow: hidden;

  transition: 0.35s;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.document-card:hover {
  transform: translateY(-10px);

  border-color: var(--primary);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* ==========================================================
   TOP BAR
========================================================== */

.document-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: linear-gradient(90deg, var(--primary), var(--secondary));

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.35s;
}

.document-card:hover::before {
  transform: scaleX(1);
}

/* ==========================================================
   ICON
========================================================== */

.document-icon {
  width: 78px;

  height: 78px;

  margin: 30px auto 10px;

  border-radius: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 34px;

  color: #fff;

  transition: 0.35s;
}

.document-card:hover .document-icon {
  transform: rotate(8deg) scale(1.1);
}

/* ==========================================================
   ICON COLORS
========================================================== */

.document-icon.docker {
  background: #2496ed;
}

.document-icon.linux {
  background: #f7df1e;

  color: #111;
}

.document-icon.nginx {
  background: #009639;
}

.document-icon.vmware {
  background: #607d8b;
}

.document-icon.cloud {
  background: #0ea5e9;
}

.document-icon.devops {
  background: #7c3aed;
}

/* ==========================================================
   CONTENT
========================================================== */

.document-content {
  padding: 30px;

  display: flex;

  flex-direction: column;

  flex: 1;
}

/* ==========================================================
   CATEGORY
========================================================== */

.document-category {
  display: inline-flex;

  align-self: flex-start;

  padding: 8px 18px;

  border-radius: 40px;

  background: rgba(59, 130, 246, 0.1);

  color: var(--primary);

  font-size: 13px;

  font-weight: 600;

  margin-bottom: 20px;
}

/* ==========================================================
   TITLE
========================================================== */

.document-content h3 {
  color: #fff;

  font-size: 1.35rem;

  line-height: 1.4;

  margin-bottom: 15px;
}

/* ==========================================================
   DESCRIPTION
========================================================== */

.document-content p {
  color: var(--text);

  line-height: 1.8;

  margin-bottom: 25px;

  flex: 1;
}

/* ==========================================================
   FOOTER
========================================================== */

.document-footer {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.document-footer span {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #94a3b8;

  font-size: 14px;
}

.document-footer a {
  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--primary);

  font-weight: 600;

  transition: 0.3s;
}

.document-footer a:hover {
  gap: 14px;

  color: #60a5fa;
}
/* ==========================================================
   CTA
========================================================== */

.docs-cta {
  padding: 120px 0;
}

.cta-box {
  position: relative;

  overflow: hidden;

  text-align: center;

  padding: 80px;

  border-radius: 30px;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #fff;

  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.35);
}

.cta-box::before {
  content: "";

  position: absolute;

  width: 500px;

  height: 500px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  top: -250px;

  right: -200px;
}

.cta-box::after {
  content: "";

  position: absolute;

  width: 350px;

  height: 350px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);

  bottom: -180px;

  left: -120px;
}

.cta-box > * {
  position: relative;

  z-index: 2;
}

.cta-box h2 {
  font-size: 2.5rem;

  margin-bottom: 20px;
}

.cta-box p {
  max-width: 720px;

  margin: auto;

  opacity: 0.92;

  line-height: 1.8;

  margin-bottom: 45px;
}

/* ==========================================================
   BUTTONS
========================================================== */

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 16px 34px;

  border-radius: 14px;

  font-weight: 600;

  transition: 0.35s;
}

.btn-primary {
  background: #fff;

  color: #2563eb;
}

.btn-primary:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);

  color: #fff;

  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: #fff;

  color: #2563eb;
}

/* ==========================================================
   FOOTER
========================================================== */

.docs-footer {
  padding: 70px 0 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  background: #08111f;
}

.footer-content {
  display: grid;

  grid-template-columns: 2fr 2fr 1fr;

  gap: 40px;

  align-items: start;
}

.footer-logo h3 {
  font-size: 2rem;

  color: #fff;

  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--primary);
}

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

/* ==========================================================
   LINKS
========================================================== */

.footer-links {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;
}

.footer-links a {
  color: var(--text);

  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;

  padding-left: 8px;
}

/* ==========================================================
   SOCIAL
========================================================== */

.footer-social {
  display: flex;

  justify-content: flex-end;

  gap: 15px;
}

.footer-social a {
  width: 48px;

  height: 48px;

  border-radius: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #111d32;

  color: #fff;

  transition: 0.35s;
}

.footer-social a:hover {
  background: var(--primary);

  transform: translateY(-5px);
}

/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-bottom {
  margin-top: 60px;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;

  color: #94a3b8;

  font-size: 14px;
}
/* ==========================================================
   PREMIUM EFFECTS
========================================================== */

/* Sayfa içi yumuşak geçişler */

section {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ==========================================
   CARD GLOW
========================================== */

.category-card,
.document-card {
  position: relative;
}

.category-card::after,
.document-card::after {
  content: "";

  position: absolute;

  inset: -1px;

  border-radius: 22px;

  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.25),
    transparent,
    rgba(96, 165, 250, 0.15)
  );

  opacity: 0;

  transition: 0.35s;

  pointer-events: none;
}

.category-card:hover::after,
.document-card:hover::after {
  opacity: 1;
}

/* ==========================================
   IMAGE SHINE EFFECT
========================================== */

.category-card::before,
.document-card::before {
  overflow: hidden;
}

.category-card:hover,
.document-card:hover {
  transition: 0.35s;
}

/* ==========================================
   BUTTON EFFECT
========================================== */

.btn-primary,
.btn-secondary {
  position: relative;

  overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 70%;

  height: 100%;

  background: rgba(255, 255, 255, 0.25);

  transform: skewX(-25deg);

  transition: 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  left: 150%;
}

/* ==========================================
   NAVBAR SHADOW
========================================== */

.docs-header.scrolled .container {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(59, 130, 246, 0.18);
}

/* ==========================================
   SEARCH EFFECT
========================================== */

.search-box {
  transition: 0.35s;
}

.search-box:focus-within {
  border-color: var(--primary);

  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 15px 45px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   HERO TITLE
========================================== */

.hero-content h1 {
  background: linear-gradient(90deg, #ffffff, #dbeafe, #60a5fa);

  -webkit-background-clip: text;

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

/* ==========================================
   ICON GLOW
========================================== */

.category-icon,
.document-icon {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.category-card:hover .category-icon,
.document-card:hover .document-icon {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.45);
}

/* ==========================================
   FOOTER
========================================== */

.footer-social a {
  position: relative;

  overflow: hidden;
}

.footer-social a::before {
  content: "";

  position: absolute;

  width: 120px;

  height: 120px;

  background: rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  left: -120px;

  top: -120px;

  transition: 0.6s;
}

.footer-social a:hover::before {
  left: 0;

  top: 0;
}

/* ==========================================
   CUSTOM SCROLLBAR
========================================== */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #08111f;
}

::-webkit-scrollbar-thumb {
  background: #2563eb;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* ==========================================
   TEXT SELECTION
========================================== */

::selection {
  background: #2563eb;

  color: #fff;
}
/* ==========================================================
   UTILITIES
========================================================== */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}

/* ==========================================================
   FADE ANIMATION
========================================================== */

.fade-up {
  opacity: 0;

  transform: translateY(40px);

  transition: 0.7s ease;
}

.fade-up.show {
  opacity: 1;

  transform: translateY(0);
}

/* ==========================================================
   BACK TO TOP
========================================================== */

#backToTop {
  position: fixed;

  right: 35px;

  bottom: 35px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 18px;

  background: var(--primary);

  color: #fff;

  cursor: pointer;

  font-size: 20px;

  z-index: 999;

  opacity: 0;

  visibility: hidden;

  transition: 0.35s;

  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

#backToTop.show {
  opacity: 1;

  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-6px);

  background: var(--primary-dark);
}

/* ==========================================================
   LOADING STATE
========================================================== */

.page-loader.hide {
  opacity: 0;

  visibility: hidden;

  transition: 0.5s;
}

/* ==========================================================
   DARK MODE (Hazırlık)
========================================================== */

body.light-mode {
  background: #f7f9fc;

  color: #1f2937;
}

body.light-mode .document-card,
body.light-mode .category-card {
  background: #ffffff;

  color: #1f2937;

  border-color: #dbe4f0;
}

body.light-mode .document-content h3,
body.light-mode .section-header h2,
body.light-mode .docs-logo {
  color: #111827;
}

body.light-mode .document-content p,
body.light-mode .section-header p {
  color: #4b5563;
}

/* ==========================================================
   PRINT
========================================================== */

@media print {
  .docs-header,
  .docs-cta,
  .footer-social,
  #backToTop {
    display: none !important;
  }

  body {
    background: #ffffff;

    color: #000;
  }

  .document-card {
    break-inside: avoid;

    box-shadow: none;

    border: 1px solid #ddd;
  }
}

/* ==========================================================
   FINAL TOUCH
========================================================== */

section {
  scroll-margin-top: 120px;
}

button {
  font-family: "Poppins", sans-serif;
}

input {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-padding-top: 120px;
}
/* ==========================================================
   RESPONSIVE
   TABLET (992px)
========================================================== */

@media (max-width: 992px) {
  .docs-header .container {
    padding: 15px 20px;
  }

  .docs-nav {
    display: none;
  }

  .menu-btn {
    display: flex !important;

    align-items: center;

    justify-content: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 35px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ==========================================================
   MOBILE (768px)
========================================================== */

@media (max-width: 768px) {
  .docs-hero {
    padding: 140px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 12px;

    padding: 8px 16px;
  }

  .search-box {
    flex-direction: column;

    border-radius: 18px;
  }

  .search-box i {
    display: none;
  }

  .search-box input {
    width: 100%;

    height: 60px;

    padding: 0 20px;
  }

  .search-box button {
    width: 100%;

    height: 58px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

  .cta-box {
    padding: 45px 25px;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;

    justify-content: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ==========================================================
   SMALL MOBILE (576px)
========================================================== */

@media (max-width: 576px) {
  .container {
    width: 94%;
  }

  .docs-header {
    top: 10px;
  }

  .docs-header .container {
    padding: 12px 16px;

    border-radius: 16px;
  }

  .docs-logo {
    font-size: 22px;
  }

  .docs-actions button {
    width: 42px;

    height: 42px;
  }

  .hero-content h1 {
    font-size: 1.9rem;

    line-height: 1.35;
  }

  .section-header {
    margin-bottom: 45px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .category-card,
  .document-card {
    border-radius: 18px;
  }

  .category-card {
    padding: 28px;
  }

  .document-content {
    padding: 22px;
  }

  .document-content h3 {
    font-size: 1.2rem;
  }

  .cta-box {
    border-radius: 20px;

    padding: 35px 20px;
  }

  .cta-box h2 {
    font-size: 1.7rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  #backToTop {
    width: 48px;

    height: 48px;

    right: 20px;

    bottom: 20px;
  }
}

/* ==========================================================
   LARGE SCREEN (1400px+)
========================================================== */

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* ==========================================================
   LANDSCAPE PHONE
========================================================== */

@media (max-height: 600px) and (orientation: landscape) {
  .docs-hero {
    padding: 120px 0 70px;
  }
}
/* ==========================================================
   READING PROGRESS
========================================================== */

#readingProgress {
  position: fixed;

  top: 0;

  left: 0;

  height: 4px;

  width: 0;

  background: linear-gradient(90deg, #2563eb, #60a5fa);

  z-index: 99999;
}

/* ==========================================================
   ACTIVE CATEGORY
========================================================== */

.category-card.selected {
  border-color: #3b82f6;

  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
}

/* ==========================================================
   WINDOW FOCUS
========================================================== */

.window-focus {
  animation: windowFlash 0.3s ease;
}

@keyframes windowFlash {
  from {
    opacity: 0.96;
  }

  to {
    opacity: 1;
  }
}
/* ==========================================================
   MOUSE GLOW
========================================================== */

.document-card {
  overflow: hidden;
}

.document-card::after {
  content: "";

  position: absolute;

  left: var(--mouse-x);

  top: var(--mouse-y);

  width: 220px;

  height: 220px;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.18),
    transparent 70%
  );

  opacity: 0;

  transition: 0.25s;

  pointer-events: none;
}

.document-card:hover::after {
  opacity: 1;
}
/* ==========================================================
   RIPPLE EFFECT
========================================================== */

.btn-primary,
.btn-secondary {
  position: relative;

  overflow: hidden;
}

.ripple {
  position: absolute;

  border-radius: 50%;

  transform: scale(0);

  background: rgba(255, 255, 255, 0.45);

  animation: rippleAnimation 0.6s linear;

  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);

    opacity: 0;
  }
}

/* ==========================================================
   TOAST
========================================================== */

#toast {
  position: fixed;

  bottom: 30px;

  left: 50%;

  transform: translateX(-50%) translateY(100px);

  background: #111d32;

  color: #fff;

  padding: 14px 22px;

  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

  opacity: 0;

  transition: 0.35s;

  z-index: 99999;
}

#toast.show {
  opacity: 1;

  transform: translateX(-50%) translateY(0);
}
/* ==========================================================
   FINAL HELPERS
========================================================== */

body.js-ready {
  scroll-behavior: smooth;
}

body.resized * {
  transition: none !important;
}
/* ==========================================================
   WEB SUNUCUSU DOKÜMAN SAYFASI
   docs/web-sunucusu.html
========================================================== */

.doc-page {
  padding-top: 110px;
}

/* HERO */

.doc-hero {
  padding: 80px 0 50px;
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.12),
      transparent 35%
    );
}

.doc-hero-content {
  max-width: 980px;
  margin: auto;
  text-align: center;
}

.doc-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  color: #94a3b8;
  font-size: 14px;
}

.doc-breadcrumb a {
  color: #60a5fa;
}

.doc-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 25px;
}

.doc-hero h1 {
  font-size: 3rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
}

.doc-hero p {
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto 30px;
}

.doc-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.doc-tags span {
  background: #111d32;
  border: 1px solid #23324f;
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.doc-actions-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.doc-download-btn,
.doc-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.doc-download-btn {
  background: #2563eb;
  color: #fff;
}

.doc-download-btn.secondary {
  background: #111d32;
  border: 1px solid #23324f;
}

.doc-start-btn {
  background: #fff;
  color: #2563eb;
}

.doc-download-btn:hover,
.doc-start-btn:hover {
  transform: translateY(-4px);
}

/* INFO CARDS */

.doc-info-section {
  padding: 35px 0 70px;
}

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

.doc-info-card {
  background: #111d32;
  border: 1px solid #23324f;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.doc-info-card i {
  font-size: 26px;
  color: #60a5fa;
}

.doc-info-card strong {
  display: block;
  color: #fff;
}

.doc-info-card span {
  color: #94a3b8;
  font-size: 14px;
}

/* LAYOUT */

.doc-layout {
  padding: 40px 0 90px;
}

.doc-wrapper {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
}

.doc-sidebar,
.doc-right-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-card,
.right-card {
  background: #111d32;
  border: 1px solid #23324f;
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-card h3,
.right-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.sidebar-card ul,
.right-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-card a,
.right-card a {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: 0.25s;
}

.sidebar-card a:hover,
.right-card a:hover,
.sidebar-card a.active,
.right-card a.active {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

/* CONTENT */

.doc-content {
  min-width: 0;
}

.doc-article {
  background: #0f1a2e;
  border: 1px solid #23324f;
  border-radius: 24px;
  padding: 42px;
}

.doc-section {
  padding: 30px 0 55px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 130px;
}

.doc-section:last-child {
  border-bottom: none;
}

.doc-section-label {
  display: inline-block;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.doc-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 18px;
}

.doc-section h3 {
  color: #e5e7eb;
  font-size: 1.35rem;
  margin: 32px 0 14px;
}

.doc-section p {
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 18px;
}

.doc-section code {
  color: #bfdbfe;
}

/* CODE BLOCK */

.code-block {
  position: relative;
  background: #07101f;
  border: 1px solid #1e3558;
  border-radius: 16px;
  margin: 20px 0;
  overflow: hidden;
}

.code-block pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
}

.code-block code {
  color: #e5e7eb;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #2563eb;
  color: #fff;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
}

/* BOXES */

.info-box,
.tip-box,
.warning-box,
.summary-box {
  padding: 20px;
  border-radius: 16px;
  margin: 24px 0;
}

.info-box {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tip-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.warning-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.summary-box {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.info-box strong,
.tip-box strong,
.warning-box strong,
.summary-box strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.summary-box ul,
.info-box ul {
  padding-left: 20px;
  color: #cbd5e1;
}

/* IMAGE PLACEHOLDER */

.image-placeholder {
  border: 2px dashed #334155;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  color: #94a3b8;
  margin: 26px 0;
}

.image-placeholder i {
  display: block;
  font-size: 42px;
  color: #60a5fa;
  margin-bottom: 12px;
}

/* RIGHT DOWNLOAD */

.download-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111827;
  border: 1px solid #23324f;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.download-button:hover {
  background: #2563eb;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: #111827;
  border: 1px solid #23324f;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

/* NAVIGATION */

.doc-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
}

.prev-doc,
.next-doc {
  background: #111d32;
  border: 1px solid #23324f;
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
}

.next-doc {
  background: #2563eb;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .doc-wrapper {
    grid-template-columns: 230px 1fr;
  }

  .doc-right-sidebar {
    display: none;
  }
}

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

  .doc-sidebar {
    position: relative;
    top: 0;
  }

  .doc-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-article {
    padding: 28px;
  }

  .doc-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .doc-info-grid {
    grid-template-columns: 1fr;
  }

  .doc-actions-bar,
  .doc-navigation {
    flex-direction: column;
  }

  .doc-download-btn,
  .doc-start-btn,
  .prev-doc,
  .next-doc {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .doc-article {
    padding: 22px;
  }

  .doc-section h2 {
    font-size: 1.6rem;
  }
}
/* JS HELPERS */

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

#backToTop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-5px);
}

.docs-header.scrolled .container {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

body.light-mode {
  background: #f8fafc;
  color: #0f172a;
}
.simple-doc-page {
  min-height: 100vh;
}

.simple-hero {
  padding: 150px 0 80px;
  text-align: center;
}

.simple-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 28px;
}

.simple-hero h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.simple-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.8;
}

.simple-content {
  padding: 40px 0 90px;
}

.info-card-large,
.content-section,
.highlight-box,
.simple-summary {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  padding: 42px;
  margin-bottom: 34px;
}

.info-icon {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: rgba(37, 99, 235, 0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 28px;
}

.info-card-large h2,
.content-section h2,
.highlight-box h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 20px;
}

.info-card-large p,
.content-section p,
.highlight-box p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 34px;
}

.simple-card {
  background: rgba(30, 41, 59, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 32px;
  transition: 0.3s ease;
}

.simple-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.7);
}

.simple-card i {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.simple-card h3 {
  color: #fff;
  font-size: 23px;
  margin-bottom: 14px;
}

.simple-card p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
}

.benefit-list i {
  color: #22c55e;
  margin-top: 6px;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(15, 23, 42, 0.9)
  );
  border-color: rgba(96, 165, 250, 0.35);
}

.simple-summary ul {
  margin-top: 18px;
  padding-left: 22px;
}

.simple-summary li {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .simple-hero h1 {
    font-size: 42px;
  }

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

  .info-card-large,
  .content-section,
  .highlight-box,
  .simple-summary {
    padding: 28px;
  }
}
