@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ========================================================
   1. COLOR PALETTES (3 MOD - ADMIN SEÇİMİ)
   ======================================================== */
:root, [data-palette="orange"] {
  --primary: #f58220;
  --primary-hover: #ff9b42;
  --primary-glow: rgba(245, 130, 32, 0.4);
  --primary-rgb: 245, 130, 32;
  --primary-contrast: #111111;
  --orange: var(--primary);
  --orange2: var(--primary-hover);
}

[data-palette="blue"] {
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --primary-rgb: 37, 99, 235;
  --primary-contrast: #ffffff;
  --orange: var(--primary);
  --orange2: var(--primary-hover);
}

[data-palette="green"] {
  --primary: #10b981;
  --primary-hover: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --primary-rgb: 16, 185, 129;
  --primary-contrast: #ffffff;
  --orange: var(--primary);
  --orange2: var(--primary-hover);
}

/* ========================================================
   2. THEME MODES (AÇIK MOD & KOYU MOD)
   ======================================================== */
/* NORMAL / AÇIK MOD (LIGHT MODE) */
:root, [data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --panel: #ffffff;
  --panel2: #f8fafc;
  --panel3: #e2e8f0;
  --text: #0f172a;
  --text-title: #0f172a;
  --text-muted: #64748b;
  --muted: #64748b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --card-bg: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-text: #0f172a;
  --topline-bg: #0f172a;
  --topline-text: #cbd5e1;
  --hero-shade: linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.88) 45%, rgba(248, 250, 252, 0.45) 80%, rgba(248, 250, 252, 0.2) 100%);
  --hero-text: #0f172a;
  --hero-lead: #334155;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-text: #0f172a;
  --footer-bg: #0b0f19;
  --footer-text: #94a3b8;
  --white: #ffffff;
  --max: 1240px;
}

/* KOYU MOD (DARK MODE) */
[data-theme="dark"] {
  --bg: #0a0e17;
  --bg-alt: #0f1522;
  --panel: #131b2a;
  --panel2: #192336;
  --panel3: #212d45;
  --text: #f8fafc;
  --text-title: #ffffff;
  --text-muted: #94a3b8;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --card-bg: #131b2a;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(10, 14, 23, 0.95);
  --header-text: #f8fafc;
  --topline-bg: #060910;
  --topline-text: #94a3b8;
  --hero-shade: linear-gradient(90deg, rgba(10, 14, 23, 0.96) 0%, rgba(10, 14, 23, 0.85) 45%, rgba(10, 14, 23, 0.4) 80%, rgba(10, 14, 23, 0.2) 100%);
  --hero-text: #ffffff;
  --hero-lead: #cbd5e1;
  --input-bg: #162032;
  --input-border: rgba(255, 255, 255, 0.15);
  --input-text: #ffffff;
  --footer-bg: #06080e;
  --footer-text: #94a3b8;
  --white: #ffffff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

/* TOPLINE */
.topline {
  background: var(--topline-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--topline-text);
  transition: background 0.3s ease;
}

.topline-inner, .topline-right, .topline-right span, .topline-right a {
  display: flex;
  align-items: center;
}

.topline-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
}

.topline-right {
  gap: 20px;
}

.topline-right span, .topline-right a {
  gap: 8px;
  transition: color 0.2s;
}

.topline-right a:hover {
  color: var(--primary);
}

.topline svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 9px;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

[data-theme="light"] .header .theme-toggle-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-icon-sun, .theme-icon-moon {
  font-size: 13px;
  display: inline-block;
}

/* HEADER & NAV */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, background 0.3s;
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .header.scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.brand-copy b {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--text-title);
}

.brand-copy small {
  font-size: 9px;
  letter-spacing: 0.21em;
  color: var(--text-muted);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
}

.nav-link {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-title);
}

.nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-contrast) !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s;
}

.nav-cta span, .button span, .text-link span, .card-link span {
  font-size: 16px;
  transition: transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.nav-cta:hover span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-title);
  margin: 5px;
  transition: 0.25s;
}

/* TYPOGRAPHY & COMMON */
.eyebrow, .kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
}

.eyebrow span {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: var(--primary);
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text-title);
}

h1 em, h2 em {
  font-style: normal;
  color: var(--primary);
}

.section-pad {
  padding: 95px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  white-space: nowrap;
}

.section-label i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  color: var(--text-title);
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.text-link:hover span, .card-link:hover span {
  transform: translate(3px, -2px);
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-3px);
}

.button-orange {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

.button-orange:hover {
  background: var(--primary-hover);
}

.button-orange span {
  color: inherit;
}

.button-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.play-icon {
  color: var(--primary);
  font-size: 18px;
}

/* HERO SECTION */
.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
  filter: saturate(0.85);
  transform: scale(1.015);
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--hero-shade);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 74px 74px;
}

[data-theme="dark"] .hero-grid {
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 50px;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 80px);
  font-weight: 800;
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--hero-text);
}

.hero-lead {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--hero-lead);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 780px;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-note-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  font-family: 'Manrope', sans-serif;
  color: var(--primary);
  font-weight: 800;
}

.hero-note span:last-child {
  display: flex;
  flex-direction: column;
}

.hero-note b {
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-text);
}

.hero-note small {
  font-size: 10px;
  color: var(--text-muted);
}

.scroll-cue {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-cue span {
  height: 30px;
  width: 1px;
  background: var(--primary);
}

.hero-index {
  position: absolute;
  right: 35px;
  bottom: 45px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hero-index b {
  font-size: 18px;
  color: var(--primary);
}

.hero-index span {
  color: #777;
}

/* INNER PAGE HERO (PAGE HEADING) */
.page-hero {
  padding: 60px 0 45px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 20%, var(--primary-glow), transparent 55%), var(--bg-alt);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  height: 90px;
  width: 4px;
  background: var(--primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

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

.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  margin-bottom: 12px;
  font-weight: 800;
}

.page-hero p {
  max-width: 650px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* INTRO / VALUE STRIP */
.intro {
  background: var(--bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr 1fr;
  gap: 38px;
  align-items: start;
}

.intro-main .kicker, .section-heading .kicker, .references .kicker {
  margin: 0 0 14px;
}

.intro-main h2, .section-heading h2, .references h2, .cta-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 0;
  font-weight: 700;
}

.intro-copy {
  padding-top: 24px;
}

.intro-copy p, .references-copy {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-item {
  padding: 24px 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.value-item:first-child {
  padding-left: 0;
}

.value-item:last-child {
  border: 0;
}

.value-number {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.value-item div {
  display: flex;
  flex-direction: column;
}

.value-item b {
  font-size: 14px;
  color: var(--text-title);
}

.value-item small {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* SERVICES SECTION */
.services {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 45px;
}

.section-heading .section-label {
  margin-bottom: 20px;
}

.heading-link {
  margin-bottom: 6px;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

.service-image {
  display: block;
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #222;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 60%);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
  filter: saturate(0.9);
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-index {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 18px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
}

.image-arrow {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--primary-contrast);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.service-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-title);
}

.service-body > p:not(.card-kicker) {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-title);
}

/* PROJECTS / SHOWCASE */
.project-section {
  background: var(--bg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 15px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: #171717;
  isolation: isolate;
  display: block;
  box-shadow: var(--card-shadow);
}

.project-large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
  filter: saturate(0.85);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.project-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 5px 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 800;
  z-index: 2;
}

.project-title {
  position: absolute;
  bottom: 20px;
  left: 22px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  max-width: 80%;
}

.project-title small {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 700;
}

.project-title b {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.2s;
  font-size: 16px;
}

.project-card:hover .project-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
}

/* REFERENCES SECTION */
.references {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.references-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.references .section-label {
  margin-bottom: 24px;
}

.references h2 {
  margin-bottom: 18px;
}

.references-copy {
  max-width: 390px;
}

.reference-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.reference-logos img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: var(--panel);
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.25s, opacity 0.25s, border-color 0.25s;
}

.reference-logos img:hover {
  filter: none;
  opacity: 1;
  border-color: var(--primary);
}

.reference-name {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--card-shadow);
  padding: 10px;
  transition: border-color 0.2s;
}

.reference-name:hover {
  border-color: var(--primary);
}

.reference-name b {
  color: var(--text-title);
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}

/* BLOG SECTION (HOMEPAGE & DEDICATED) */
.blog-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.blog-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #202020;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: saturate(0.9);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  text-transform: uppercase;
  z-index: 2;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-title);
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-title);
  transition: color 0.2s;
}

.blog-footer-link:hover {
  color: var(--primary);
}

.blog-footer-link span {
  color: var(--primary);
  font-size: 16px;
  transition: transform 0.2s;
}

.blog-card:hover .blog-footer-link span {
  transform: translate(3px, -2px);
}

/* BLOG FILTER BAR */
.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-pill {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  background: var(--panel);
  color: var(--text-muted);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: 0.2s;
  cursor: pointer;
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

.blog-search-box {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 0 12px;
}

.blog-search-box input {
  background: transparent;
  border: 0;
  padding: 9px 10px;
  color: var(--text-title);
  font-size: 12px;
  outline: none;
  min-width: 220px;
}

.blog-search-box button {
  background: none;
  border: 0;
  color: var(--primary);
  cursor: pointer;
}

/* BLOG DETAIL PAGE */
.blog-article {
  max-width: 860px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 35px;
}

.article-header h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-title);
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 30px 0 40px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2, .article-content h3 {
  color: var(--text-title);
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content ul, .article-content ol {
  margin-bottom: 25px;
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-tags {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-badge {
  background: var(--panel2);
  color: var(--text-muted);
  padding: 5px 12px;
  font-size: 11px;
  border: 1px solid var(--line);
}

.tag-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.article-nav-box {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

/* ABOUT PAGE SPECIALIZED STYLES */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.logo-stage {
  position: relative;
  padding: 10px 10px 30px 0;
}

.logo-frame {
  position: relative;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  border-radius: 4px 60px 4px 4px;
}

.main-logo-display {
  width: 80%;
  max-width: 380px;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

.experience-badge {
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 220px;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--primary-contrast);
  border-radius: 18px 3px 18px 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.experience-badge strong {
  display: block;
  font-size: 38px;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
}

.experience-badge span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.features-list li i {
  color: var(--primary);
  font-weight: bold;
}

/* MISSION & VISION CARDS */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.mv-box {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 35px 30px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.mv-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.mv-icon {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 18px;
}

.mv-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-title);
}

.mv-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* CONTACT PAGE STYLES */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.c-info-card:hover {
  border-color: var(--primary);
}

.c-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid var(--primary);
  flex-shrink: 0;
  font-size: 20px;
}

.c-body h4 {
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text-title);
}

.c-body p, .c-body a {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.c-body a:hover {
  color: var(--primary);
}

.contact-form-box {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 35px 30px;
}

.contact-form-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-title);
}

.contact-form-box p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-title);
  margin-bottom: 7px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 12px 14px;
  color: var(--input-text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.alert-message {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  border-left: 3px solid;
}

.alert-success {
  background: rgba(40, 167, 69, 0.12);
  border-color: #28a745;
  color: #28a745;
}

[data-theme="dark"] .alert-success {
  color: #85e89d;
}

.alert-danger {
  background: rgba(220, 53, 69, 0.12);
  border-color: #dc3545;
  color: #dc3545;
}

[data-theme="dark"] .alert-danger {
  color: #ffa198;
}

/* GALLERY PAGE STYLES */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  height: 260px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-card:hover .gallery-card-info {
  opacity: 1;
}

.gallery-card-info span {
  color: var(--primary);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-card-info h4 {
  font-size: 15px;
  margin: 4px 0 0;
  color: #fff;
}

/* LIGHTBOX MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.modal-box img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: 0;
}

/* CTA BANNER */
.contact-cta {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 75px 0;
}

.cta-lines {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(135deg, transparent 48%, #111 49%, #111 50%, transparent 51%);
  background-size: 35px 35px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-inner .kicker {
  color: inherit;
  opacity: 0.8;
}

.cta-inner h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  color: inherit;
}

.cta-inner h2 em {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cta-inner p:not(.kicker) {
  font-size: 14px;
  color: inherit;
  opacity: 0.9;
  margin: 14px 0 0;
}

.button-light {
  background: #101010;
  color: #fff;
  border: 1px solid #101010;
  min-width: 190px;
}

.button-light span {
  color: var(--primary);
}

.button-light:hover {
  background: #222;
}

/* FOOTER */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 0.9fr;
  gap: 45px;
  padding-top: 70px;
  padding-bottom: 60px;
}

.footer-brand .brand-copy b {
  color: #ffffff !important;
}

.footer-brand p {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.8;
  margin-top: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  margin: 5px 0 13px;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}

.footer-col a, .footer-col p {
  font-size: 12px;
  color: #929292;
  line-height: 1.8;
  margin: 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-contact .button {
  color: #111;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #777;
  font-size: 11px;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* FLOATING CONTACT WIDGET (WHATSAPP - SADECE İKON, GENA ASİSTAN ÜSTÜNDE) */
.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 84px;
  z-index: 9990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  padding: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
}

.floating-contact svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.floating-contact:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 18px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   HEADER & MOBILE NAVIGATION ELEMENTS
   ========================================================================== */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-theme-btn {
  display: none;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.header-theme-btn:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-nav-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.mobile-nav-close:hover {
  background: var(--primary);
  color: #fff;
}

.nav-links-scroll {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 27px);
}

.mobile-nav-footer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.mobile-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav-contact-info {
  text-align: center;
  padding-top: 4px;
}

.mobile-nav-contact-info a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}

/* ANIMATIONS & RESPONSIVE */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  from { transform: scale(1.01); }
  to { transform: scale(1.06); }
}

/* ==========================================================================
   TABLET & DESKTOP ADJUSTMENTS (max-width: 1050px)
   ========================================================================== */
@media (max-width: 1050px) {
  .nav-links-scroll { gap: 14px; }
  .nav-link { font-size: 11px; }
  .nav-cta { padding: 9px 14px; gap: 8px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy b { font-size: 17px; }
  .intro-grid { grid-template-columns: 0.7fr 1.3fr; }
  .intro-copy { grid-column: 2; padding-top: 0; }
  .service-image { height: 210px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 30px; }
  .footer-contact { grid-column: 2 / 4; }
  .references-inner { gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MOBILE & TABLET COMPREHENSIVE RESPONSIVE (max-width: 780px)
   ========================================================================== */
@media (max-width: 780px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  
  /* Topline */
  .topline-inner { min-height: 34px; font-size: 11px; }
  .topline-right span { display: none; }
  .topline-right { gap: 12px; }
  .topline-right a { font-size: 11px; }

  /* Header */
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand-copy b { font-size: 16px; }
  .brand-copy small { font-size: 8px; }
  .header-theme-btn { display: inline-flex; }
  .menu-toggle { display: block; z-index: 50; }

  /* Mobile Drawer Nav */
  .mobile-nav-header { display: flex; flex-shrink: 0; }
  .mobile-nav-footer { display: flex; flex-shrink: 0; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 86vw);
    background: var(--panel);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--line);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  }
  [data-theme="dark"] .nav,
  [data-theme="dark"] .mobile-nav-header,
  [data-theme="dark"] .mobile-nav-footer {
    background: #0f1522 !important;
  }
  [data-theme="light"] .nav,
  [data-theme="light"] .mobile-nav-header,
  [data-theme="light"] .mobile-nav-footer {
    background: #ffffff !important;
  }
  .nav.open { transform: translateX(0); }
  .nav-links-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 20px;
    gap: 0;
  }
  .nav-link {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--text-title) !important;
    text-decoration: none;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
  }
  .nav-link.active::after { display: none; }
  .nav-cta {
    margin-top: 0;
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 13px;
  }

  /* Menü açıkken alttaki butonları gizle ki menü butonlarını örtmesin */
  body.menu-open .floating-contact,
  body.menu-open .gena-assistant-container {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  /* Hamburger transform */
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero Section */
  .hero { min-height: 580px; }
  .hero-content { padding-top: 40px; padding-bottom: 30px; }
  h1 { font-size: clamp(34px, 8.5vw, 56px); }
  .hero-lead { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
  .hero-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
  .hero-actions .button { width: 100%; justify-content: center; padding: 0 16px; min-height: 48px; }
  .hero-bottom { margin-top: 36px; padding-top: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-index { display: none; }

  /* Sections Pad */
  .section-pad { padding: 55px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-copy { grid-column: auto; max-width: 100%; padding-top: 0; }
  .intro-main h2, .section-heading h2, .references h2 { font-size: clamp(26px, 6.5vw, 38px); }

  /* Value Strip */
  .value-strip { margin-top: 35px; grid-template-columns: 1fr; }
  .value-item, .value-item:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }

  /* Services Grid */
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; gap: 10px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { border-radius: 10px; overflow: hidden; }
  .service-image { height: 210px; }
  .service-body { padding: 20px 18px; }
  .service-body h3 { font-size: 19px; }

  /* Project Grid */
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; gap: 12px; }
  .project-large { grid-column: auto; grid-row: auto; }

  /* References */
  .references-inner { grid-template-columns: 1fr; gap: 30px; }
  .reference-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reference-name { font-size: 11px; min-height: 60px; padding: 8px; }

  /* CTA */
  .contact-cta { padding: 45px 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .cta-inner h2 { font-size: clamp(28px, 6.5vw, 42px); }
  .cta-inner .button { width: 100%; max-width: 260px; justify-content: center; }

  /* Footer - Tamamen Esnek ve Temiz Dikey Dizin */
  .footer-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    padding-top: 45px !important;
    padding-bottom: 35px !important;
  }
  .footer-brand,
  .footer-col,
  .footer-contact {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-brand .brand {
    display: inline-flex;
    margin-bottom: 10px;
  }
  .footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: #94a3b8;
    margin-top: 10px;
  }
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 0.05em;
    font-weight: 700;
  }
  .footer-col a, .footer-col p {
    font-size: 13px;
    line-height: 1.9;
    color: #cbd5e1;
  }
  .footer-col a:hover {
    color: var(--primary);
  }
  .footer-contact {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-contact .button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin-top: 12px;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 20px 0 95px !important;
    font-size: 12px !important;
  }

  /* Blog & Gallery */
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Category pills horizontal touch scroll */
  .category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    width: 100%;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-pill { white-space: nowrap; flex-shrink: 0; }
  .blog-filters { flex-direction: column; gap: 14px; }
  .blog-search-box { width: 100%; }

  /* Form Elements - Prevent iOS Zoom */
  input, select, textarea { font-size: 16px !important; }
}

/* ==========================================================================
   SMALL PHONE OPTIMIZATIONS (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .wrap { width: calc(100% - 24px); }
  .topline { font-size: 10px; }
  .topline-right a { font-size: 11px; }
  .brand { gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy b { font-size: 15px; }
  .brand-copy small { font-size: 7.5px; }
  
  h1 { font-size: clamp(30px, 9vw, 46px); }
  .hero { min-height: 540px; }
  
  .service-image { height: 190px; }
  .service-body { padding: 18px 16px; }
  .service-body h3 { font-size: 18px; }

  .form-row { grid-template-columns: 1fr; }
  
  /* WhatsApp Floating Button */
  .floating-contact {
    right: 16px;
    bottom: 66px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
  }
  .floating-contact span { display: none; }
  .floating-contact svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   INTERACTIVE FARM & PROJECT SIMULATOR (WOW FEATURE)
   ========================================================================== */
.simulator-box {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-top: 25px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 35px;
  align-items: start;
}

.sim-step-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.sim-type-card {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  text-align: left;
}

.sim-type-card.active, .sim-type-card:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.sim-type-icon {
  font-size: 24px;
}

.sim-type-label strong {
  display: block;
  font-size: 13px;
  color: var(--text-title);
}

.sim-type-label small {
  font-size: 11px;
  color: var(--text-muted);
}

.sim-range-wrap {
  margin-bottom: 25px;
}

.sim-range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.sim-capacity-badge {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-title);
}

.sim-range-slider {
  width: 100%;
  height: 8px;
  background: var(--line);
  outline: none;
  border-radius: 4px;
  -webkit-appearance: none;
  cursor: pointer;
}

.sim-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  cursor: pointer;
  border: 2px solid #fff;
}

.sim-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sim-addon-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-title);
  font-weight: 600;
  transition: border-color 0.2s;
}

.sim-addon-label:hover {
  border-color: var(--primary);
}

.sim-addon-label input {
  accent-color: var(--primary);
  width: 17px;
  height: 17px;
}

/* Right Result Panel */
.sim-result-card {
  background: linear-gradient(145deg, #131b26 0%, #0d1219 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 30px;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .sim-result-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.sim-result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.sim-result-header h4 {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
}

.sim-result-header span {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.sim-metric-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-metric-item small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.sim-metric-item strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-title);
}

.sim-grant-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid #10b981;
  padding: 12px 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-grant-badge span {
  font-size: 12px;
  color: #34d399;
  font-weight: 700;
}

.sim-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 900px) {
  .simulator-grid { grid-template-columns: 1fr; }
  .sim-type-grid { grid-template-columns: 1fr; }
  .sim-addons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .simulator-box {
    padding: 22px 16px;
    margin-top: 15px;
    border-radius: 14px;
  }
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sim-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sim-type-card {
    padding: 12px 14px;
  }
  .sim-type-icon {
    font-size: 22px;
  }
  .sim-addons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sim-addon-label {
    padding: 10px 12px;
    font-size: 11.5px;
  }
  .sim-result-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .sim-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sim-metric-item {
    padding: 10px 12px;
  }
  .sim-metric-item strong {
    font-size: 16px;
  }
  .sim-metric-item small {
    font-size: 10px;
  }
  .sim-capacity-badge {
    font-size: 20px;
  }
  .sim-step-title {
    font-size: 12px;
  }
}


