/* ============================================================
   MEGAPOL GROUP - ILETISIM
   site.css yuklendikten SONRA yuklenir.
   OTOMATIK URETILDI - kaynak: sayfa ici <style> bloklari
   ============================================================ */



:root {
  --brand: #041a72;
  --brand-light: #2a3f9e;
  --brand-dark: #141f52;
  --ink: #041A72;
  --ink-soft: #4a4a5a;
  --ink-muted: #8a8a9a;
  --surface: #ffffff;
  --surface-warm: #f7f7fa;
  --surface-cool: #eef0f5;
  --border: #e2e4ea;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --font: 'DM Sans', sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative; top: -1px;
}
.nav a.active { color: #fff; }
.nav a.active::after { width: 100% !important; }

/* ===== SECTIONS SHARED ===== */
section { padding: clamp(72px, 10vw, 128px) 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: all 0.35s var(--ease);
}
.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(30,47,119,0.25);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   PAGE HERO - Typographic, dark brand
   ================================================ */
.page-hero {
  position: relative;
  background: var(--ink);
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(60px, 9vh, 96px);
  overflow: hidden;
}

/* Decorative geometric lines */
.page-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-hero-deco::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.page-hero-deco::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,47,119,0.55) 0%, transparent 70%);
}

/* Giant watermark text */
.hero-watermark {
  position: absolute;
  bottom: -0.1em;
  left: -0.02em;
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
}

/* Right image panel */
.hero-image-panel {
  position: absolute;
  top: 0; right: 0;
  width: 62%;
  height: 100%;
  z-index: 1;
}
.hero-image-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-image-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, rgba(4,26,114,0.7) 35%, rgba(4,26,114,0.2) 100%);
  z-index: 1;
}
.hero-image-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--ink) 0%, transparent 100%);
  z-index: 1;
}

/* Hero content */
.page-hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-eyebrow-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-eyebrow-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.page-hero h1 {
  color: #fff;
  max-width: 680px;
  margin-bottom: 12px;
}
.page-hero h1 .thin {
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  display: block;
}
.page-hero-sub {
  margin-top: 28px;
  max-width: 460px;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: scrollFade 2.5s infinite;
}
.scroll-hint span {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, #fff, transparent);
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Left - info */
.contact-info .label { margin-bottom: 18px; display: inline-block; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info-lead {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 36px;
  max-width: 420px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card:hover {
  border-color: rgba(30,47,119,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4,26,114,0.08);
}
.contact-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contact-card-body { padding-top: 1px; }
.contact-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.contact-card-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.contact-card-value a { transition: color 0.3s var(--ease); }
.contact-card-value a:hover { color: var(--brand-light); }

/* Social row */
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all 0.3s var(--ease);
}
.contact-social a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* Right - form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 64px rgba(4,26,114,0.07);
}
.contact-form-wrap h3 {
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-form-wrap > p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field .req { color: #d6336c; font-weight: 700; margin-left: 2px; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-muted); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,47,119,0.1);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-kvkk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 24px;
}
.form-kvkk input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}
.form-kvkk label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.form-kvkk a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-kvkk a:hover { color: var(--brand-light); }

.contact-form-wrap .btn-primary { width: 100%; }

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(30,47,119,0.07);
  border: 1px solid rgba(30,47,119,0.18);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 500;
}
.form-success.show { display: block; }

/* Hata mesaji */
.form-error {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(193, 30, 30, 0.06);
  border: 1px solid rgba(193, 30, 30, 0.22);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #b91c1c;
  font-weight: 500;
}
.form-error.show { display: block; }

/* ================================================
   MAP SECTION
   ================================================ */
.map-section {
  position: relative;
  background: var(--surface-cool);
}
.map-frame {
  width: 100%;
  height: clamp(360px, 50vh, 520px);
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}
.footer-brand p {
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}
.footer-links-col h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.85rem;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}
.footer-links-col a:hover { color: rgba(255,255,255,0.85); }
.footer-contact {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-lead { max-width: none; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-image-panel { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-contact { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  section { padding: clamp(48px, 8vw, 80px) 0; }
  .contact-card { padding: 16px 18px; gap: 14px; }
}

/* Spam bal kupu: ekranda gorunmez ama ekran okuyucu/otomasyon icin DOM'da durur.
   display:none kullanilmaz - bazi botlar gizli alanlari boyle atlar. */
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
