/* ============================================
   AJANS ELEKTRONİK — Ana Stil Dosyası
   Renk paleti: koyu mavi/lacivert + beyaz,
   accent: turuncu (CTA) + yeşil (WhatsApp)
   ============================================ */

:root {
  --navy-900: #081631;
  --navy-800: #0a1f44;
  --navy-700: #12294f;
  --navy-600: #1b3a6b;
  --navy-100: #e8eef7;
  --white: #ffffff;
  --text: #22314a;
  --text-light: #5b6b85;
  /* Marka rengi: logodaki kırmızı */
  --orange: #e21c1c;
  --orange-dark: #b91212;
  --red-soft: #ff6161; /* koyu zeminlerde okunabilir açık kırmızı */
  --green: #25d366;
  --green-dark: #1eb356;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(8, 22, 49, 0.10);
  --shadow-lg: 0 12px 40px rgba(8, 22, 49, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* kayan yazı vb. geniş içeriklerin sayfayı yana kaydırmasını engeller */
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 760px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { background: var(--green-dark); }

.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(226, 28, 28, .35); }
.btn-accent:hover { background: var(--orange-dark); }

.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.btn-ghost { background: var(--navy-100); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
  background: var(--navy-900);
  color: #b8c6dd;
  font-size: .85rem;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-phones { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
/* Logo kırmızı/beyaz olduğu için header beyaz zeminde */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(8, 22, 49, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-800);
}
.logo-img { height: 44px; width: auto; }
.logo-text { font-size: 1.15rem; letter-spacing: .5px; font-weight: 700; }
.logo-text strong { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  color: var(--navy-700);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(226,28,28,.16) 0%, transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(37,211,102,.10) 0%, transparent 35%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.03) 40px);
}
.hero-inner {
  position: relative;
  padding: 80px 20px 70px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(226,28,28,.16);
  border: 1px solid rgba(255,97,97,.5);
  color: #ff9a9a;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  max-width: 850px;
  margin: 0 auto 18px;
}
.hero h1 .accent { color: var(--red-soft); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #c3d0e5;
  max-width: 680px;
  margin: 0 auto 34px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 70px);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--red-soft); }
.hero-stats span { font-size: .85rem; color: #9fb0ca; }

/* ---------- Bölümler ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--navy-100); }
.section-dark { background: var(--navy-800); color: #fff; }

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy-800);
}
.section-dark h2 { color: #fff; }
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ---------- Parça sorgulama ---------- */
.query-box {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.query-box input {
  flex: 1;
  border: 2px solid var(--navy-100);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.query-box input:focus { border-color: var(--orange); }

.query-hint {
  text-align: center;
  margin-top: 18px;
  color: var(--text-light);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  background: #fff;
  border: 1px solid #ccd6e6;
  color: var(--navy-700);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: .2s;
}
.chip:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Ürün kartları ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { color: var(--navy-800); font-size: 1.12rem; margin-bottom: 12px; }
.card ul { list-style: none; flex: 1; }
.card li {
  font-size: .9rem;
  color: var(--text-light);
  padding: 6px 0 6px 20px;
  position: relative;
}
.card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.card li strong { color: var(--text); }
.card-cta { margin-top: 18px; align-self: flex-start; }
.card-text { font-size: .95rem; color: var(--text-light); flex: 1; }

.card-highlight {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border: none;
}
.card-highlight h3 { color: #fff; }
.card-highlight .card-text { color: #c3d0e5; }

/* ---------- BOM formu ---------- */
.bom-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bom-box input,
.bom-box textarea {
  border: 2px solid var(--navy-100);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}
.bom-box input:focus,
.bom-box textarea:focus { border-color: var(--green); }

/* ---------- Kamera Sistemleri (Ana Hizmet) ---------- */
.cam-section { background: var(--white); }
.cam-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.cam-inner > * { min-width: 0; }
.service-badge {
  display: inline-block;
  background: rgba(226, 28, 28, .08);
  border: 1px solid rgba(226, 28, 28, .35);
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.cam-section h2 {
  text-align: left;
  margin-bottom: 14px;
}
.cam-desc { color: var(--text-light); margin-bottom: 20px; }
.cam-desc strong { color: var(--orange); }
.cam-list { list-style: none; margin-bottom: 28px; }
.cam-list li { padding: 5px 0; color: var(--text); font-size: .95rem; }
.cam-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }

.cam-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cam-feature {
  background: var(--navy-100);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.cam-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cam-feature span { font-size: 2rem; display: block; margin-bottom: 8px; }
.cam-feature strong { color: var(--navy-800); display: block; margin-bottom: 4px; font-size: .95rem; }
.cam-feature p { font-size: .8rem; color: var(--text-light); }

/* ---------- LED Ekran Üretimi ---------- */
.led-section {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 60%, #1a1035 100%);
  color: #fff;
}
.led-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Grid çocukları içeriğinden dar kalabilsin — kayan yazının sütunu genişletmesini önler */
.led-inner > * { min-width: 0; }
.led-badge {
  display: inline-block;
  background: rgba(226, 28, 28, .16);
  border: 1px solid rgba(255, 97, 97, .5);
  color: #ff9a9a;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.led-section h2 {
  text-align: left;
  color: #fff;
  margin-bottom: 14px;
}
.led-desc {
  color: #c3d0e5;
  margin-bottom: 20px;
}
.led-desc strong { color: var(--red-soft); }
.led-list {
  list-style: none;
  margin-bottom: 28px;
}
.led-list li {
  padding: 5px 0;
  color: #dbe4f2;
  font-size: .95rem;
}
.led-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Animasyonlu kayan yazı önizlemesi */
.led-screen {
  background: #000;
  border: 6px solid #1c2740;
  border-radius: 10px;
  padding: 18px 0;
  overflow: hidden;
  max-width: 100%;
  box-shadow: 0 0 40px rgba(255, 60, 60, .25), inset 0 0 24px rgba(0, 0, 0, .9);
  position: relative;
}
.led-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.55) 2px 4px),
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(0,0,0,.55) 2px 4px);
  pointer-events: none;
}
.led-marquee {
  display: inline-block;
  white-space: nowrap;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: #ff3b3b;
  text-shadow: 0 0 8px rgba(255, 59, 59, .9), 0 0 20px rgba(255, 59, 59, .5);
  animation: marquee 14s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}
.led-visual-caption {
  text-align: center;
  margin-top: 14px;
  font-size: .85rem;
  color: #9fb0ca;
}

/* ---------- Neden Biz ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--navy-100);
}
.feature-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.feature h3 { color: var(--navy-800); font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--text-light); }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; }
.contact-item strong { display: block; margin-bottom: 2px; color: var(--red-soft); }
.contact-item p { color: #c3d0e5; }
.contact-item a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.contact-info .btn { align-self: flex-start; margin-top: 6px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 340px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: #9fb0ca;
  padding: 40px 0 28px;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand strong { color: #fff; letter-spacing: .5px; }
.footer-brand p { font-size: .85rem; }
.footer-logo-badge {
  background: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
}
.footer-logo { height: 38px; width: auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: #cfd9ea;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--orange); }
.footer-copy {
  font-size: .8rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
}

/* ---------- Sabit WhatsApp butonu ---------- */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .5);
  z-index: 90;
  transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp svg { width: 32px; height: 32px; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    display: none;
    box-shadow: 0 12px 24px rgba(8,22,49,.18);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--navy-100); }
  .nav-cta { margin-top: 14px; }
  .nav-toggle { display: flex; }

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

  .led-inner { grid-template-columns: 1fr; gap: 32px; }
  .led-marquee { font-size: 1.1rem; }

  .cam-inner { grid-template-columns: 1fr; gap: 32px; }

  .query-box { flex-direction: column; }
  .query-box .btn { width: 100%; }

  .hero-inner { padding: 56px 20px 50px; }
  .section { padding: 50px 0; }
}
