/* ============================================================
   MEGAPOL GROUP - ORTAK STILLER (site.css)
   Anasayfa, Hakkimizda, Iletisim ve KVKK sayfalarinin tamaminda kullanilir.
   OTOMATIK URETILDI - kaynak: sayfa ici <style> bloklari
   ============================================================ */


/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p { font-size: 1rem; font-weight: 400; }

header#header {
    margin-top: 20px;
}	
	
.header.scrolled {
    margin-top: 0px !important;
}

.header.scrolled nav {
    margin-top: 12px !important;
}	
	
/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(4,26,114,0.92);
  box-shadow: 0 1px 20px rgba(0,0,0,0.15);
  height: 80px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 110px;
  margin-top: 16px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: #fff;
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(10,12,30,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-contact-item svg { opacity: 0.4; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 32px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.06);
}	

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Mobil menudeki dil degistirici: diger baglantilardan ayirt edilsin */
.mobile-nav a.mobile-nav-lang {
  font-size: 1rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 18px;
  margin-top: 8px;
}
