:root {
  /* Light tema */
  --bg-body: #f4f6f8;
  --bg-elevated: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.96);
  --bg-hero: radial-gradient(circle at top left, #e0f2fe 0, #f4f6f8 40%, #ffffff 100%);
  --color-primary: #00263d;      /* logo koyu mavisine yakın */
  --color-primary-soft: #004266;
  --color-accent: #06b6d4;       /* logo DE turkuazı */
  --color-text: #4b5563;
  --color-heading: #0f172a;
  --color-border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.22);
  --radius-card: 16px;
  --radius-pill: 999px;
}

[data-theme="dark"] {
  /* Dark tema */
  --bg-body: #020617;
  --bg-elevated: #020617;
  --bg-header: rgba(15, 23, 42, 0.96);
  --bg-hero: radial-gradient(circle at top left, #0b1120 0, #020617 60%, #020617 100%);
  --color-primary: #06b6d4;
  --color-primary-soft: #0ea5e9;
  --color-accent: #38bdf8;
  --color-text: #cbd5f5;
  --color-heading: #e5e7eb;
  --color-border: #1f2937;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.8);
}

/* GLOBAL RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-body);
  color: var(--color-text);
  line-height: 1.6;
}

/* Basic layout */

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: var(--bg-elevated);
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 0.9rem;
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-header h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
  opacity: 0.85;
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 15, 36, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #e5f2ff;
}

.brand-sub {
  font-size: 0.78rem;
  opacity: 0.72;
  color: #e5e7eb;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

nav.main-nav a:hover {
  color: var(--color-primary-soft);
  transform: translateY(-1px);
}

nav.main-nav a.active {
  color: #f9fafb;
  position: relative;
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  margin-inline: auto;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--color-accent),
    var(--color-primary-soft)
  );
}

/* Lang & theme controls */

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

.lang-switch {
  display: inline-flex;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.55);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.75);
}

.lang-switch a {
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  text-decoration: none;
  color: #cbd5f5;
}

.lang-switch a.active {
  background: var(--color-primary);
  color: #fff;
}

/* Tema butonu (istersen hala kullanabilirsin) */

.theme-toggle {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  display: block;
  margin: 4px 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-soft)
  );
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-outline:hover {
  border-color: var(--color-primary-soft);
  color: var(--color-primary-soft);
  background: rgba(15, 23, 42, 0.6);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.83rem;
}

/* HERO ANİMASYONU */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */




.hero {
  min-height: 100vh;              /* Tam ekran yüksekliği */
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0;                     /* İç padding kaldırıldı */
  background: url("../assets/7.jpg") center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 10, 30, 0.90),
    rgba(0, 10, 30, 0.35),
    rgba(0, 10, 30, 0.85)
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 6rem 1.5rem;

  display: flex;
  flex-direction: column; 
  justify-content: flex-start;

}



.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  color: #f9fafb;
  text-shadow: 0 6px 28px rgba(0,0,0,0.55);
}

.hero p {
  max-width: 540px;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  opacity: 0.9;
   text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
    opacity: .92;

}
.hero-content {
  backdrop-filter: blur(3px);
}

.hero-list li {
  margin-bottom: 0.2rem;
}

.hero-list li::before {
  content: "•";
  color: var(--color-accent);
  margin-right: 0.3rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: #f9fafb;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.hero-card.secondary {
  background: linear-gradient(135deg, #020617, #0b1120);
  color: #e5e7eb;
  border-color: rgba(30, 64, 175, 0.6);
}

/* GRID & CARDS */

.grid {
  display: grid;
  gap: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.modules-gridd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .features-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }
}



.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  padding: 1.8rem;
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px);
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

* {
  transition: 0.25s ease;
}
.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-heading);
}

/* Lists inside cards */

.card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
}
.card .icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  opacity: 0.85;
}

/* Simple content */

.page-header {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 0.4rem;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0;
  max-width: 640px;
  opacity: 0.85;
}

/* Forms */

.form-card {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--color-heading);
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.02);
  color: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: var(--color-primary-soft);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2);
  background: var(--bg-elevated);
}

.error-message {
  font-size: 0.78rem;
  color: #f97373;
  min-height: 1rem;
}

.input-error {
  border-color: #f97373;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #0b1625, #01040a);
  color: #9ca3af;
  padding: 1.8rem 0;
  font-size: 0.85rem;
  margin-top: 3.5rem;
}

.site-footer p {
  margin: 0.1rem 0;
}

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

/* CONTACT INFO */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

/* RESPONSIVE */

@media (max-width: 960px) {
 

  .hero-visual {
    order: -1;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 85vh;   /* Mobilde biraz daha kısa */
  }
}

@media (max-width: 780px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav.main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--bg-header);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  nav.main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 1.5rem 1.2rem;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .section,
  .section-alt {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ===== MODULES PAGE ===== */

.modules-header h1 {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.modules-header p {
  max-width: 720px;
  opacity: 0.9;
}

.modules-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.modules-stat {
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
  font-size: 0.8rem;
  display: inline-flex;
  flex-direction: column;
}

.modules-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 600;
  font-size: 0.7rem;
  opacity: 0.75;
}

.modules-stat-value {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Search + filter bar */

.modules-toolbar {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.modules-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.75);
  min-width: 260px;
}

.modules-search i {
  font-size: 1rem;
  color: #9ca3af;
}

.modules-search input {
  border: none;
  outline: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.85rem;
  padding: 0;
}

.modules-search input::placeholder {
  color: #9ca3af;
}

.modules-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* chips */

.chip {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.78rem;
  padding: 0.32rem 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  border-color: var(--color-primary-soft);
  background: rgba(15,23,42,0.75);
  transform: translateY(-1px);
}

.chip.is-active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  border-color: transparent;
  color: #fff;
}

/* groups */

.modules-section {
  padding-top: 3rem;
}

.modules-group {
  margin-bottom: 3.5rem;
}

.modules-group-title {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--color-heading);
}

.modules-group-sub {
  margin: 0 0 1.8rem;
  max-width: 640px;
  opacity: 0.85;
}

/* module card tweaks */

.module-card {
  position: relative;
  overflow: hidden;
}

.module-badge {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.6);
  color: #e5e7eb;
}

.module-card .icon {
  margin-bottom: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
  .modules-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .modules-search {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .modules-group {
    margin-bottom: 2.5rem;
  }

  .modules-header h1 {
    font-size: 2rem;
  }
}

