:root {
  --yellow: #ffd200;
  --blue: #003a8f;
  --dark: #222;
  --gray: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: var(--dark);
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  height: 45px;
  margin-right: auto;
}

.nav a {
  margin-left: 30px; /* Desktop için %50 artırılmış boşluk */
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
}

/* HEADER – teknoloji temalı arka plan */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 115, 230, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 204, 0, 0.15) 0%, transparent 45%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05) 75%, transparent 75%, transparent);
  background-size: auto, auto, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Header içeriğini öne al */
.header > * {
  position: relative;
  z-index: 1;
}

/* HERO */
.hero {
  background: linear-gradient(
    rgba(0,58,143,0.7),
    rgba(0,58,143,0.7)
  ), url("../images/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 90px 20px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-primary {
  background: var(--yellow);
  color: #000;
  padding: 14px 26px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* SERVICES */
.services {
  background: var(--gray);
  padding: 60px 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 25px;
  text-align: center;
  border-radius: 6px;
}

.service-card img {
  height: 50px;
  margin-bottom: 15px;
}

/* FOOTER */
.footer {
  background: var(--blue);
  color: #fff;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FOOTER CONTACT – hizalama ve görsel hiyerarşi */
.footer h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.footer p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* İletişim bloğunu toparla */
.footer-grid > div:first-child {
  max-width: 320px;
}

/* Adres satırı – daha açık ton */
.footer p:first-of-type {
  color: #b5b5b5;
  font-weight: 400;
}

/* Telefon satırı – bir tık daha güçlü */
.footer p:last-of-type {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0;
}

/* MOBILE HEADER FIX */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .nav a {
    margin-left: 0;
    font-size: 0.95rem;
  }
}

/* DESKTOP HEADER FINAL ALIGNMENT */
@media (min-width: 1024px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav {
    display: flex;
    align-items: center;
  }
}
