/* ============================================================
   ENDKON.DE — Modern Industrial Stylesheet
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --brand-primary: #0a4d8c;      /* Industrial blue */
  --brand-primary-dark: #073966;
  --brand-primary-light: #1565b5;
  --brand-accent: #f57c00;       /* Industrial orange */
  --brand-accent-dark: #c8620a;
  --brand-accent-light: #ff9836;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fc;
  --color-bg-alt: #eef3f9;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-soft: #4a5668;
  --color-text-muted: #7a8699;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* Feedback */
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-warning: #f59e0b;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, .10), 0 8px 10px -6px rgba(15, 23, 42, .06);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, .18);

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --container: 1200px;
  --gap: 24px;

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Transitions */
  --t-fast: 150ms;
  --t-mid: 250ms;
  --t-slow: 400ms;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Header */
  --header-h: 76px;
}

/* ---------- BASE RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
p  { margin: 0 0 1rem; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-soft { background: var(--color-bg-soft); }
.section-alt  { background: var(--color-bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
  max-width: 700px;
  margin-inline: auto;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-soft); font-size: 1.1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 124, 0, .12);
  color: var(--brand-accent-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand-accent);
  border-radius: 50%;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--t-mid) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  font-size: 1rem;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover {
  background: var(--brand-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--brand-primary);
}

.btn-arrow svg { transition: transform var(--t-mid) var(--ease); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--t-mid) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  color: var(--brand-primary);
}
.brand-logo {
  width: 42px; height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-size: .65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--color-text-soft);
  transition: all var(--t-fast) var(--ease);
}
.nav-link:hover, .nav-link.active {
  background: var(--color-bg-alt);
  color: var(--brand-primary);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language selector */
.lang-selector { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.lang-btn:hover { border-color: var(--brand-primary); }
.lang-btn .chev {
  transition: transform var(--t-fast) var(--ease);
  width: 16px; height: 16px;
}
.lang-selector.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t-fast) var(--ease);
  z-index: 50;
}
.lang-selector.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: left;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease);
}
.lang-option:hover { background: var(--color-bg-soft); }
.lang-option.active { background: var(--color-bg-alt); color: var(--brand-primary); font-weight: 700; }
.lang-option .flag { font-size: 1.1rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover { background: var(--color-bg-alt); }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 100px;
  background:
    radial-gradient(ellipse at top left, rgba(10, 77, 140, .08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(245, 124, 0, .08), transparent 50%),
    var(--color-bg);
  overflow: hidden;
}

/* ===== HERO CATALOG (Smart Poultry Automation — Katalog Kapak Mantığı) ===== */
.hero-catalog {
  padding: calc(var(--header-h) + 90px) 0 0;
  min-height: 100vh;
  background: #0a1929;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-catalog::before { display: none; }

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92) saturate(1.08);
  z-index: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8, 25, 48, 0.20) 0%,
      rgba(8, 25, 48, 0.10) 30%,
      rgba(8, 25, 48, 0.45) 100%
    ),
    radial-gradient(ellipse at center top, rgba(10, 77, 140, 0.15), transparent 70%);
  z-index: 1;
}

.hero-catalog-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-content-center {
  position: relative;
  color: #fff;
  margin-bottom: 60px;
  padding: 30px 30px 40px;
}
.hero-content-center::before {
  content: '';
  position: absolute;
  inset: -10% -10% -10% -10%;
  background: radial-gradient(ellipse at center,
    rgba(8, 25, 48, 0.55) 0%,
    rgba(8, 25, 48, 0.30) 40%,
    rgba(8, 25, 48, 0) 80%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.badge-light {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.hero-title-xl {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.65),
    0 8px 32px rgba(0, 0, 0, 0.50);
}

.hero p.hero-subtitle-lg,
.hero-catalog .hero-subtitle-lg,
.hero-subtitle-lg {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: #ffffff;
  opacity: 1;
  margin: 0 auto 36px;
  max-width: 760px;
  line-height: 1.5;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.75),
    0 6px 20px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.005em;
}

.hero-content-center .hero-cta {
  justify-content: center;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
  transform: translateY(-1px);
}

/* 4 Özellik Kartları (katalog kapakta olan) */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 980px;
  padding: 36px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
}

.hero-feature-icon {
  width: 56px;
  height: 56px;
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, color 0.3s ease;
}
.hero-feature:hover .hero-feature-icon {
  transform: translateY(-4px) scale(1.08);
  color: var(--brand-accent-light);
}

.hero-feature-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

@media (max-width: 720px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 400px) {
  .hero-features { grid-template-columns: 1fr; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 77, 140, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 77, 140, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-text-soft);
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin-inline: auto;
}
.hero-visual svg { width: 100%; height: 100%; }

/* Floating tech card */
.hero-floating {
  position: absolute;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .9rem;
  animation: floatY 4s ease-in-out infinite;
}
.hero-floating-1 { top: 10%; left: -10px; }
.hero-floating-2 { bottom: 15%; right: -10px; animation-delay: -2s; }
.hero-floating .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, .05); }
}

/* ---------- CATEGORIES GRID ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.cat-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--t-mid) var(--ease);
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { margin-bottom: 10px; color: var(--color-text); }
.cat-card p { color: var(--color-text-soft); margin: 0; font-size: .95rem; }

/* ---------- PRODUCTS GRID ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}
.prod-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-mid) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}
.prod-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.prod-img svg { width: 65%; height: 65%; opacity: .85; }
.prod-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.prod-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prod-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.prod-card p { color: var(--color-text-soft); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.prod-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: .9rem;
}
.prod-details:hover { color: var(--brand-accent); }
.prod-details svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.prod-details:hover svg { transform: translateX(3px); }

/* Filter tabs */
.prod-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.prod-filter {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.prod-filter:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.prod-filter.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* ---------- ABOUT / STATS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--t-mid) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-primary); }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  color: var(--color-text-soft);
  font-size: .9rem;
  font-weight: 500;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}
.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--t-mid) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 77, 140, .1), rgba(245, 124, 0, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}
.value-icon svg { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { font-size: .9rem; color: var(--color-text-soft); margin: 0; }

/* ---------- NEWS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.news-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--t-mid) var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-header {
  padding: 24px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff;
  position: relative;
}
.news-header h3 { font-size: 1.3rem; margin-bottom: 4px; }
.news-header time { font-size: .85rem; opacity: .9; font-weight: 500; }
.news-body { padding: 20px 24px; flex: 1; }
.news-body p { margin: 0; color: var(--color-text-soft); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item-content h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item-content p { margin: 0; font-weight: 600; }
.contact-item-content a { color: var(--brand-primary); }
.contact-item-content a:hover { color: var(--brand-accent); }
.contact-item-content small { color: var(--color-text-soft); font-size: .85rem; font-weight: 400; display: block; margin-top: 4px; }

.contact-form {
  background: var(--color-surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--t-fast) var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 77, 140, .12);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-weight: 500;
  font-size: .92rem;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(22, 163, 74, .1); color: var(--color-success); border: 1px solid rgba(22, 163, 74, .3); }
.form-msg.error { background: rgba(220, 38, 38, .1); color: var(--color-error); border: 1px solid rgba(220, 38, 38, .3); }

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   MERCAN 150 SHOWCASE (Katalog s.3-4 mantığı)
   ============================================================ */
.section-dark {
  background:
    radial-gradient(ellipse at top right, rgba(21, 101, 181, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(245, 124, 0, 0.12), transparent 60%),
    linear-gradient(180deg, #0a1929 0%, #0f243a 100%);
  color: #fff;
}
.section-dark .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.badge-accent {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark)) !important;
  color: #fff !important;
  border: none !important;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(21, 101, 181, 0.4) 0%, transparent 70%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-image::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.showcase-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
  transition: transform var(--t-slow) var(--ease);
}
.showcase-image:hover img { transform: translateY(-6px); }

.showcase-content { color: #fff; }
.showcase-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}
.accent-orange {
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.showcase-tagline {
  font-size: 1.3rem;
  color: var(--brand-accent-light);
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.showcase-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.97rem;
  line-height: 1.5;
}
.showcase-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-accent-light);
  margin-top: 2px;
}

.showcase-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* E.P.E.F Stats Band */
.epef-band {
  margin-top: 70px;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(8, 25, 48, 0.6), rgba(8, 25, 48, 0.85));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.epef-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(34, 211, 238, 0.04) 50%, transparent 100%);
  pointer-events: none;
}
.epef-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.epef-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
}
.epef-value {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.epef-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.epef-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.epef-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: rgba(34, 211, 238, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 211, 238, 0.15);
}
.epef-metric svg { width: 28px; height: 28px; color: #22d3ee; opacity: 0.85; }
.epef-metric strong {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.epef-metric span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .epef-band { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 520px) {
  .epef-metrics { grid-template-columns: 1fr; }
}

/* ============================================================
   SMART FARMING TECHNOLOGY (Katalog s.13)
   ============================================================ */
.section-tech {
  background:
    radial-gradient(ellipse at top left, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #051221 0%, #0a1929 100%);
  color: #fff;
}
.section-tech .badge { background: rgba(34, 211, 238, 0.15); color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.30); }
.text-light { color: #fff; }

.tech-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.tech-illust {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}
.tech-illust img { width: 100%; height: auto; display: block; }

.tech-features {
  display: grid;
  gap: 28px;
}
.tech-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tech-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
}
.tech-icon svg { width: 28px; height: 28px; }
.tech-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}
.tech-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.97rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   REMOTE ACCESS (Katalog s.14)
   ============================================================ */
.remote-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.remote-content h2 { margin: 18px 0 16px; }
.remote-content p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.remote-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.remote-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text);
}
.remote-perk svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-primary);
  background: var(--color-bg-alt);
  padding: 4px;
  border-radius: 6px;
}
.remote-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #fff;
}
.remote-visual img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .remote-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .remote-perks { grid-template-columns: 1fr; }
}

/* RTL adjustments */
[dir="rtl"] .showcase-features svg,
[dir="rtl"] .remote-perk svg,
[dir="rtl"] .tech-item { transform: none; }

/* ============================================================
   ABOUT — ENDKON BUILDING BANNER (Katalog s.2)
   ============================================================ */
.building-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 21 / 9;
  background: #0a4d8c;
}
.building-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.building-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 40px;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 25, 48, 0.85) 100%);
  color: #fff;
}
.building-overlay h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 8px 0 4px;
  color: #fff;
  font-weight: 700;
}
.building-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}
.about-building-section { padding-top: 0; }

/* ============================================================
   MERCAN COMPARE TABLE (Katalog s.15)
   ============================================================ */
.compare-section {
  background: linear-gradient(180deg, #0a1929 0%, #0f243a 100%);
  color: #fff;
  padding: clamp(60px, 9vw, 100px) 0;
}
.compare-section .section-header { color: #fff; }
.compare-section h2 { color: #fff; }
.compare-section .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(34, 211, 238, 0.18);
}
.compare-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  color: #fff;
}
.compare-table thead th {
  background: rgba(34, 211, 238, 0.10);
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #22d3ee;
}
.compare-table thead th:first-child {
  text-align: left;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.compare-table tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(34, 211, 238, 0.04); }
.compare-check {
  display: inline-block;
  width: 22px;
  height: 22px;
  color: #22d3ee;
}
.compare-dash { color: rgba(255, 255, 255, 0.3); }
.compare-stars { color: var(--brand-accent-light); letter-spacing: 0.1em; }
.compare-stars .star-off { color: rgba(255, 255, 255, 0.2); }

/* ---------- CTA SECTION ---------- */
.cta-band {
  background:
    radial-gradient(circle at 10% 30%, rgba(245, 124, 0, .35), transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(10, 77, 140, .35), transparent 50%),
    linear-gradient(135deg, #073966, #0a4d8c);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 60px);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 600px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0c1828;
  color: #cbd5e1;
  padding: 60px 0 24px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text small { color: #94a3b8; }
.footer-brand p { color: #94a3b8; margin-top: 16px; max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #94a3b8;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--brand-accent-light); }

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 12px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
}
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form input:focus { border-color: var(--brand-accent); }
.newsletter-form button {
  background: var(--brand-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background var(--t-fast) var(--ease);
}
.newsletter-form button:hover { background: var(--brand-accent-dark); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #94a3b8; }
.footer-bottom-links a:hover { color: var(--brand-accent-light); }

/* ---------- WHATSAPP FLOATING ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: all var(--t-mid) var(--ease);
  animation: waBounce 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .5); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-4px); }
  20% { transform: translateY(0); }
}

/* ---------- 404 PAGE ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 20px 40px;
}
.error-page-inner { max-width: 500px; }
.error-page h1 {
  font-size: clamp(6rem, 15vw, 10rem);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  line-height: 1;
}
.error-page h2 { margin: 12px 0; }
.error-page p { color: var(--color-text-soft); margin-bottom: 24px; }

/* ---------- ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--t-mid) var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 16px; border-radius: var(--radius-md); }
  .brand-text small { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-floating { display: none; }
}

@media (max-width: 460px) {
  .lang-btn .lang-name { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- ARABIC / RTL ---------- */
[dir="rtl"] body { font-family: 'Inter', 'Tajawal', 'Segoe UI', sans-serif; }
[dir="rtl"] .brand-text { text-align: right; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .hero-floating-1 { left: auto; right: -10px; }
[dir="rtl"] .hero-floating-2 { right: auto; left: -10px; }
[dir="rtl"] .wa-float { right: auto; left: 24px; }
[dir="rtl"] .btn-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .prod-details svg { transform: scaleX(-1); }
[dir="rtl"] .prod-details:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .cat-card::before { transform-origin: right; }

@media (max-width: 760px) {
  [dir="rtl"] .wa-float { left: 16px; right: auto; }
}

/* ---------- ACCESSIBILITY / PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-primary); color: #fff; }
