/* Aydın Teknik — tek sayfa site */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0f2a5c;
  --navy-deep: #0a1f47;
  --blue: #1a8fd6;
  --blue-dark: #137cbd;
  --ink: #1d2b45;
  --text: #34425a;
  --muted: #5b6880;
  --line: #d5dde8;
  --soft: #eaf4fb;
  --white: #ffffff;
  --header-h: 104px;
  --gutter: 40px;
  --max: 1360px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

section[id] { scroll-margin-top: var(--header-h); }

.accent-bar {
  display: block;
  width: 64px; height: 5px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 22px;
}
.accent-bar--small { width: 46px; height: 4px; margin: 30px 0 16px; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 15px 34px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--blue-dark); }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(1.75rem, 2.6vw, 2.75rem); font-weight: 800; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(15, 42, 92, .08);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 390px; height: auto; }

.main-nav ul { display: flex; gap: clamp(24px, 3.4vw, 54px); }
.main-nav a {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; border-radius: var(--radius);
}
.nav-toggle-bars { display: grid; gap: 6px; width: 28px; margin: 0 auto; }
.nav-toggle-bars span { display: block; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(460px, 41.7vw, 820px);
  display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 30%;
  width: 70%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 31, 71, 1) 0%,
    rgba(10, 31, 71, 1) 30%,
    rgba(10, 31, 71, .82) 36%,
    rgba(10, 31, 71, .35) 46%,
    rgba(10, 31, 71, 0) 56%);
}
.hero-content { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 3.9vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 9.6em;
}
.hero p {
  color: var(--white);
  font-size: clamp(1.0625rem, 1.35vw, 1.5rem);
  line-height: 1.5;
  max-width: 24em;
  margin: 26px 0 34px;
}

/* Hakkımızda */
.about { padding: 40px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(15, 42, 92, .18);
}
.about-text h2 { max-width: 13em; }
.about-text p { font-size: clamp(1rem, 1.25vw, 1.3rem); margin-top: 22px; max-width: 36em; }
.about-text .about-highlight { margin-top: 0; color: var(--navy); font-weight: 700; }

/* Çözümlerimiz */
.solutions { background: var(--soft); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 42, 92, .08);
}
.solution-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 24px 28px 30px; }
.solution-card h3, .system-card h3 { font-size: clamp(1.125rem, 1.25vw, 1.375rem); font-weight: 700; }
.solution-card p, .system-card p { margin-top: 10px; color: var(--text); font-size: clamp(.9375rem, 1vw, 1.0625rem); }

/* Sistemler */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px clamp(24px, 3.4vw, 56px);
  margin-top: 36px;
}
.system-card img {
  width: 100%;
  aspect-ratio: 1672 / 800;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

/* Teknik destek bandı */
.support {
  position: relative;
  min-height: clamp(280px, 19.6vw, 400px);
  display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.support-img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 34%;
  width: 66%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.support-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 31, 71, 1) 0%,
    rgba(10, 31, 71, 1) 34%,
    rgba(10, 31, 71, .8) 40%,
    rgba(10, 31, 71, .3) 50%,
    rgba(10, 31, 71, 0) 60%);
}
.support-content { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; }
.support h2 { color: var(--white); font-size: clamp(1.75rem, 2.6vw, 2.75rem); font-weight: 800; max-width: 14em; }
.support p { color: var(--white); margin-top: 20px; max-width: 30em; font-size: clamp(1rem, 1.15vw, 1.25rem); }

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  margin-top: 36px;
}
.contact-info {
  font-style: normal;
  padding-right: clamp(24px, 4vw, 64px);
  border-right: 1px solid var(--line);
  display: grid; gap: 26px; align-content: start;
}
.contact-item {
  border-left: 4px solid var(--blue);
  padding-left: 16px;
  display: grid; gap: 2px;
}
.contact-label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.contact-item a, .contact-item span:not(.contact-label) {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-item a:hover { color: var(--blue); text-decoration: underline; }

.contact-form { padding-left: clamp(24px, 4vw, 64px); display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.form-row:has(textarea) { align-items: start; }
.form-row label { color: var(--navy); font-weight: 600; font-size: .9375rem; }
.form-row:has(textarea) label { padding-top: 10px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c4cfdd;
  border-radius: var(--radius);
  padding: 10px 12px;
  min-height: 44px;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(26, 143, 214, .25); outline-offset: 0; }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #c0392b; }
.form-actions { align-items: center; }
.form-actions .btn { grid-column: 2; justify-self: start; padding: 12px 48px; }
.form-actions .btn:disabled { opacity: .6; cursor: not-allowed; }
.form-actions .btn:disabled:hover { background: var(--blue); }
.form-status { grid-column: 2; font-size: .9375rem; color: var(--muted); }

/* Harita — tüm ekranlarda 450px */
.map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 132px;
  padding-top: 24px; padding-bottom: 24px;
}
.footer-logo {
  display: block;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-right: clamp(24px, 4vw, 64px);
}
.footer-logo img { width: 300px; }
.footer-nav {
  border-left: 1px solid rgba(255, 255, 255, .35);
  border-right: 1px solid rgba(255, 255, 255, .35);
  padding: 8px clamp(24px, 4vw, 64px);
}
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(24px, 3.4vw, 52px); }
.footer-nav a, .footer-credit a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-nav a:hover, .footer-credit a:hover { text-decoration: underline; }
.footer-credit { padding-left: clamp(24px, 4vw, 64px); font-weight: 500; white-space: nowrap; }

/* Geniş ekranlar */
@media (min-width: 1920px) {
  :root { --max: 1640px; --header-h: 116px; }
  .brand img { width: 440px; }
}

/* Tablet ve altı */
@media (max-width: 1100px) {
  :root { --header-h: 88px; --gutter: 32px; }
  .brand img { width: 300px; }
  .main-nav a { font-size: 1rem; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 22px; text-align: center; }
  .footer-logo { margin-right: 0; }
  .footer-nav { border: 0; padding: 0; }
  .footer-credit { padding-left: 0; }
}

@media (max-width: 900px) {
  .brand img { width: 230px; }
  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: .9375rem; }
  .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info { padding-right: 0; border-right: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .contact-form { padding-left: 0; }
}

/* Mobil */
@media (max-width: 767px) {
  :root { --header-h: 72px; --gutter: 16px; }
  .brand img { width: 190px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(15, 42, 92, .12);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { border-bottom: 0; }

  .section { padding: 52px 0; }
  .about { padding: 32px 0 48px; }
  .hero { min-height: 520px; align-items: flex-end; }
  .hero-img, .support-img { left: 0; width: 100%; }
  .hero-img { object-position: 72% 50%; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10, 31, 71, .25) 0%,
      rgba(10, 31, 71, .78) 42%,
      rgba(10, 31, 71, .96) 70%);
  }
  .hero-content { padding-top: 140px; padding-bottom: 40px; }
  .hero p { margin: 18px 0 26px; }
  .support { min-height: 380px; align-items: flex-end; }
  .support-overlay {
    background: linear-gradient(180deg,
      rgba(10, 31, 71, .2) 0%,
      rgba(10, 31, 71, .8) 45%,
      rgba(10, 31, 71, .96) 75%);
  }
  .support-content { padding-top: 120px; padding-bottom: 36px; }
  .footer-logo img { width: 220px; }
}

@media (max-width: 599px) {
  .solutions-grid, .systems-grid { grid-template-columns: 1fr; }
  .systems-grid { gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row:has(textarea) label { padding-top: 0; }
  .form-actions .btn, .form-status { grid-column: 1; }
  .form-actions .btn { width: 100%; }
  .footer-nav ul { gap: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
