* {
  box-sizing: border-box;
}

:root {
  --primary: #1f3c88;
  --primary-dark: #162e66;
  --accent: #ff7a00;
  --bg-soft: #f5f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-soft);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}


.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-nav a {
  font-weight: 700;
  color: #334155;
  transition: .2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--primary);
}

/* HERO */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 84px;
  background:
    radial-gradient(circle at 15% 100%, rgba(0,170,255,.16), transparent 16%),
    radial-gradient(circle at 45% 100%, rgba(0,170,255,.16), transparent 16%),
    radial-gradient(circle at 75% 100%, rgba(0,170,255,.14), transparent 16%),
    linear-gradient(180deg, #0c1d68 0%, #081449 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.28) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.18;
}

.contact-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -20px;
  height: 120px;
  background:
    radial-gradient(circle at 8% 100%, rgba(0,170,255,.55) 0, rgba(0,170,255,0) 52px),
    radial-gradient(circle at 22% 100%, rgba(0,170,255,.45) 0, rgba(0,170,255,0) 45px),
    radial-gradient(circle at 38% 100%, rgba(0,170,255,.60) 0, rgba(0,170,255,0) 60px),
    radial-gradient(circle at 54% 100%, rgba(0,170,255,.42) 0, rgba(0,170,255,0) 42px),
    radial-gradient(circle at 70% 100%, rgba(0,170,255,.55) 0, rgba(0,170,255,0) 54px),
    radial-gradient(circle at 86% 100%, rgba(0,170,255,.48) 0, rgba(0,170,255,0) 48px);
  opacity: .8;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

.contact-hero-inner h1 {
  margin: 18px auto 0;
  max-width: 980px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 800;
}

.contact-hero-inner p {
  margin: 18px auto 0;
  max-width: 760px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

.hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.hero-breadcrumb a:hover {
  color: #fff;
}

/* PAGE */
.contact-page {
  padding: 54px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-action-card {
  position: relative;
  overflow: hidden;
  min-height: 182px;
  padding: 34px 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15,23,42,.06);
  transition: transform .28s ease, box-shadow .28s ease;
}

.contact-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15,23,42,.10);
}

.card-glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(30px);
  opacity: .18;
}

.card-blue {
  border: 1.5px solid #3656df;
}
.card-blue .card-glow {
  background: #3656df;
}

.card-red {
  border: 1.5px solid #d61d3a;
}
.card-red .card-glow {
  background: #d61d3a;
}

.contact-action-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.card-blue h3 { color: #112f9b; }
.card-red h3 { color: #d61d3a; }

.contact-action-card p {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.contact-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease, opacity .25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  opacity: .95;
}

.blue-btn { background: #112f9b; }
.red-btn { background: #d61d3a; }

/* RIGHT INFO BOX */
.contact-info-box {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 16px 36px rgba(15,23,42,.06);
}

.contact-box-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: #243041;
  letter-spacing: -.03em;
}

.contact-box-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #d61d3a;
  font-size: 15px;
}

.info-content h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #243041;
}

.info-content p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

/* İletişim öğelerini alt alta diz */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

/* Her satır: ikon solda, içerik sağda */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

/* Telefon / WhatsApp / E-posta tek tek blok gibi dursun */
.info-item + .info-item {
  padding-top: 4px;
}

/* İkon kutusu */
.info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #d61d3a;
  font-size: 15px;
  flex-shrink: 0;
}

/* Yazı alanı */
.info-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.info-content h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #243041;
}

.info-content p,
.info-content a {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  word-break: break-word;
}

/* Eğer içeride yatay grid/flex kaldıysa ezsin */
.info-list,
.info-list * {
  grid-template-columns: none;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #334155;
  font-size: 15px;
  transition: all .25s ease;
}

.socials a:hover {
  background: #112f9b;
  color: white;
  transform: translateY(-2px);
}


.map-box2 {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
  background: #fff;
}

.map-box2 iframe {
  display: block;
  width: 100%;
  height: 485px;
  filter: grayscale(.12) contrast(1.04);
}

/* MAP */
.map-box {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
  background: #fff;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 320px;
  filter: grayscale(.12) contrast(1.04);
}

.map-overlay-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  max-width: calc(100% - 36px);
  z-index: 3;
}

.map-overlay-content {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 16px 34px rgba(15,23,42,.12);
  transition: transform .28s ease;
}

.map-overlay-content h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.map-overlay-content p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 320px;
}

.map-overlay-content a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

.map-overlay-content a:hover {
  opacity: .8;
}

.map-pin-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.map-pin {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(214,29,58,.35);
  z-index: 2;
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.map-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(214,29,58,.35);
  transform: translate(-50%, -50%);
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
  0% { width: 22px; height: 22px; opacity: .55; }
  70% { width: 56px; height: 56px; opacity: 0; }
  100% { width: 56px; height: 56px; opacity: 0; }
}

.map-box:hover .map-overlay-content {
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .topbar-inner {
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

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

  .contact-box-head h2,
  .contact-action-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .top-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-hero {
    padding: 72px 0 70px;
  }

  .contact-hero-inner p {
    font-size: 16px;
  }

  .contact-info-box,
  .contact-action-card {
    padding: 24px 20px;
  }

  .map-box iframe {
    height: 280px;
  }

  .map-overlay-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .map-overlay-content p {
    max-width: none;
  }
}
