/* ============================================
   Egemor — Camlama / Sineklik / Panjur
   Renk paleti: mor, gumus/gri, beyaz
   Fontlar: Quicksand (baslik) + Nunito (govde)
   ============================================ */

:root {
  --purple-deep: #5C3785;
  --purple: #8B4FB8;
  --purple-light: #C98FE0;
  --purple-soft-bg: #F5EDFA;
  --plum-dark: #2E2438;
  --plum-darker: #241C2E;
  --silver: #C9C5D1;
  --silver-mid: #B9B3C4;
  --ink: #2E2438;
  --ink-soft: #3A2E45;
  --text-muted: #5C5064;
  --text-faint: #8A7C94;
  --bg: #FFFDFB;
  --card-border: #ECE7F1;
  --whatsapp-green: #25D366;

  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container-x: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Yardimci siniflar ---------- */
.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}
.pill--light { background: var(--purple-soft-bg); color: var(--purple); margin-bottom: 16px; }
.pill--on-dark { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); margin-bottom: 20px; }
.pill--brand { background: var(--purple-soft-bg); color: var(--purple-deep); padding: 4px 10px; font-size: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border: none;
  white-space: nowrap;
}
.btn--primary { background: #fff; color: var(--purple-deep); }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn--call { background: var(--purple); color: #fff; padding: 12px 24px; }
.btn--whatsapp { background: #fff; color: var(--ink); border: 1.5px solid var(--card-border); padding: 11px 20px; }

.section-sub { text-align: center; color: var(--text-faint); font-size: 16px; margin: 10px 0 36px; }
.section-sub--left { text-align: left; max-width: 640px; margin: 10px 0 32px; }

/* ---------- Acilis animasyonu: panjur / jaluzi acilisi ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  background: var(--plum-darker);
  perspective: 1400px;
}
.intro-panel {
  flex: 1 1 12.5%;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* aluminyum panjur lameli tonu */
  background: linear-gradient(180deg, #EFEDE8 0%, #D9D4CC 45%, #B7B1A8 100%);
  box-shadow:
    inset 0 -2px 3px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.55);
  transform-origin: top center;
  transform: rotateX(0deg);
  opacity: 1;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease 0.2s;
}
.intro-panel::after {
  /* lameller arasi golge cizgisi */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(46, 36, 56, 0.35);
}
.intro-panel:first-child::before {
  /* ust cerceve vurgusu - marka rengi */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}
.intro-panel:nth-child(1) { transition-delay: 0s; }
.intro-panel:nth-child(2) { transition-delay: 0.055s; }
.intro-panel:nth-child(3) { transition-delay: 0.11s; }
.intro-panel:nth-child(4) { transition-delay: 0.165s; }
.intro-panel:nth-child(5) { transition-delay: 0.22s; }
.intro-panel:nth-child(6) { transition-delay: 0.275s; }
.intro-panel:nth-child(7) { transition-delay: 0.33s; }
.intro-panel:nth-child(8) { transition-delay: 0.385s; }
.intro-overlay--open .intro-panel { transform: rotateX(-100deg); opacity: 0; }
body.intro-active { overflow: hidden; height: 100%; }

/* ---------- Ust telefon seridi ---------- */
.call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--plum-dark);
  color: #fff;
  padding: 12px 24px;
  text-align: center;
}
.call-bar svg { color: var(--purple-light); flex-shrink: 0; }
.call-bar__text { font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.call-bar__sub { font-size: 13px; color: #B7A9C4; }

/* ---------- Navigasyon ---------- */
.site-header { position: relative; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--container-x);
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink); }
.nav__menu { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--text-muted); }
.nav__links a:hover { color: var(--purple); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  padding: 0;
}
.nav__toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 55%, var(--purple-light) 100%);
  padding: 64px var(--container-x) 72px;
}
.hero__noise {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 34px);
  pointer-events: none;
}
.hero__inner { position: relative; display: flex; align-items: center; gap: 64px; }
.hero__text { flex: 1; min-width: 0; }
.hero__text h1 { font-size: 50px; line-height: 1.16; color: #fff; margin-bottom: 20px; }
.hero__text p { font-size: 18px; line-height: 1.6; color: #EFE6F5; max-width: 480px; margin-bottom: 32px; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { flex: 1; min-width: 0; }
.hero__icons {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  height: 380px;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.hero__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.92);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Hizmetlerimiz ---------- */
.services { padding: 64px var(--container-x) 56px; }
.services h2, .works h2 { text-align: center; font-size: 32px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 12px 28px -20px rgba(75,45,110,0.35);
}
.service-card__head { display: flex; align-items: flex-start; gap: 14px; }
.service-card__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card h3 { font-size: 19px; color: var(--purple-deep); margin: 18px 0 10px; }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.service-card__brand {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--card-border);
  display: flex; align-items: center; gap: 8px;
}
.service-card__brand > span:first-child { font-size: 12px; color: var(--text-faint); font-weight: 700; font-family: var(--font-heading); }

/* ---------- Calismalarimiz ---------- */
.works { padding: 0 var(--container-x) 56px; }
.works h2 { text-align: left; margin-bottom: 10px; }
.works__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.work-placeholder {
  border-radius: 20px; background: #F9F7FB; border: 1px dashed #DCD4E6;
  height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #B0A6BE;
}
.work-placeholder span { font-size: 12px; font-family: var(--font-heading); font-weight: 600; }

/* ---------- Neden Egemor ---------- */
.trust { padding: 0 var(--container-x) 56px; }
.trust__grid {
  background: var(--plum-dark); border-radius: var(--radius-lg); padding: 48px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.trust__item svg { color: var(--purple-light); }
.trust__item h3 { font-size: 16px; color: #fff; margin: 14px 0 6px; }
.trust__item p { font-size: 14px; color: #B7A9C4; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { padding: 36px var(--container-x) 0; background: var(--plum-darker); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__row--top { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__row--bottom { padding: 22px 0 32px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: #fff; }
.footer__copy { font-size: 13px; color: var(--text-faint); }
.footer__contact { display: flex; align-items: center; gap: 22px; color: #D8CCE0; font-size: 14px; }
.footer__contact a { display: flex; align-items: center; gap: 6px; }
.footer__contact a:first-child { font-weight: 700; color: #fff; }
.footer__contact svg:first-child { color: var(--purple-light); }
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
}
.footer__location { display: flex; align-items: center; gap: 10px; color: #B7A9C4; font-size: 14px; }
.footer__directions { display: flex; align-items: center; gap: 6px; color: var(--purple-light); font-weight: 700; font-size: 14px; }

/* ---------- Erisilebilirlik: hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro-panel { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  :root { --container-x: 24px; }
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .site-header.nav--open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 20px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 24px; border-bottom: 1px solid var(--card-border);
    z-index: 50; margin: 0;
  }
  .site-header.nav--open .nav__links { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-header.nav--open .nav__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__inner { flex-direction: column; }
  .hero__text p { max-width: none; }
  .hero__icons { height: 220px; }
  .services__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-bar { flex-direction: column; gap: 2px; padding: 10px 16px; }
  .call-bar__sub { display: none; }
}

@media (max-width: 560px) {
  .hero__text h1 { font-size: 34px; }
  .works__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
