:root {
  --red: #e31e2d;
  --red-dark: #b3131f;
  --black: #1a1a1a;
  --gray-900: #222;
  --gray-600: #555;
  --gray-100: #f5f5f5;
  --gray-200: #eaeaea;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: #fff;
}

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

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.navbar .logo img {
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--red);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2b2b2b 55%, var(--red-dark) 100%);
  color: #fff;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(227,30,45,0.18) 0px,
      rgba(227,30,45,0.18) 14px,
      transparent 14px,
      transparent 46px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 20px;
  line-height: 1.25;
}

.hero p {
  font-size: 17px;
  color: #eee;
  margin: 0;
}

/* Sections */
section {
  padding: 72px 24px;
  scroll-margin-top: 84px;
}

section .container {
  max-width: 900px;
}

.section-label {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

h2 {
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--black);
}

h3.subtitle {
  font-size: 19px;
  color: var(--red-dark);
  font-weight: 600;
  margin: 0 0 24px;
}

#hakkimizda {
  background: var(--gray-100);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.card {
  background: #fff;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.card h4 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
}

/* Bilgi Toplumu Hizmetleri */
.bth-intro {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.iframe-wrap {
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  min-height: 480px;
}

.iframe-wrap iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

.iframe-fallback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray-600);
}

.iframe-fallback a {
  color: var(--red-dark);
  font-weight: 600;
  text-decoration: none;
}

.iframe-fallback a:hover {
  text-decoration: underline;
}

/* İletişim */
#iletisim {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-list .icon {
  color: #fff;
  background: var(--red);
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-list .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--black);
}

.contact-list a:hover {
  color: var(--red-dark);
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

/* Footer */
footer {
  background: var(--black);
  color: #ccc;
  padding: 28px 24px;
  text-align: center;
  font-size: 14px;
}

footer strong {
  color: #fff;
}

/* Responsive */
@media (max-width: 820px) {
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 3px solid var(--red);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .hero {
    padding: 64px 20px;
  }

  section {
    padding: 56px 20px;
  }
}
