/* ============ EsnafWeb ============ */
:root {
  --ink: #16131f;
  --ink-soft: #4a4556;
  --paper: #faf7f2;
  --paper-alt: #f1ece3;
  --white: #ffffff;
  --accent: #ff5c1f;
  --accent-dark: #e04a12;
  --wa: #25d366;
  --wa-dark: #1eb857;
  --dark: #16131f;
  --dark-2: #211c2e;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(22, 19, 31, .10);
  --shadow-lg: 0 24px 70px rgba(22, 19, 31, .18);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.accent { color: var(--accent); }

.section { padding: 96px 0; scroll-margin-top: 72px; }
.section-alt { background: var(--paper-alt); }
.section-kicker {
  font-weight: 700; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 12px;
}
.section-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 44px; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; font-weight: 700; font-family: var(--font-body);
  border-radius: 999px; padding: 13px 26px; font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 12px 32px rgba(37, 211, 102, .45); }
.btn-primary { background: linear-gradient(135deg, #ff5c1f 0%, #ff8046 100%); color: #fff; box-shadow: 0 10px 28px rgba(255, 92, 31, .38); }
.btn-primary:hover { background: linear-gradient(135deg, #e04a12 0%, #ff5c1f 100%); box-shadow: 0 16px 36px rgba(255, 92, 31, .5); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-xl { padding: 20px 40px; font-size: 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 19, 31, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff;
}
.logo span { color: var(--accent); }
.logo em { font-style: normal; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.4); }
.main-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.main-nav a { color: rgba(255,255,255,.75); font-weight: 500; font-size: .95rem; transition: color .15s; }
.main-nav a:hover { color: #fff; }
.main-nav .nav-cta { display: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s;
  pointer-events: none;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0);
  z-index: 95; pointer-events: none;
  transition: background .3s ease;
}
.nav-backdrop.open {
  background: rgba(15,12,22,.55);
  pointer-events: auto;
}
body.nav-open .wa-fab { opacity: 0; pointer-events: none; transform: scale(.8); transition: opacity .25s, transform .25s; }
body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, #2d2440 0%, var(--dark) 55%);
  color: #fff; padding: 110px 0 0;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none; }
.hero-glow-1 { width: 480px; height: 480px; background: #ff5c1f33; top: -120px; right: -80px; }
.hero-glow-2 { width: 380px; height: 380px; background: #6d3df533; bottom: 40px; left: -120px; }
.hero-inner { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block; font-weight: 600; font-size: .88rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px; color: rgba(255,255,255,.85);
}
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.72); max-width: 620px; margin: 24px 0 36px; }
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; padding-bottom: 70px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: .88rem; color: rgba(255,255,255,.55); }

/* Marquee */
.marquee { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; animation: scroll 30s linear infinite; }
.marquee-track span { color: rgba(255,255,255,.45); font-weight: 600; font-size: .95rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Portfolyo ---------- */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pf-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  content-visibility: auto;
  contain-intrinsic-size: 0 480px;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pf-browser { background: #ece8f1; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.pf-dots { display: flex; gap: 5px; }
.pf-dots i { width: 10px; height: 10px; border-radius: 50%; }
.pf-dots i:nth-child(1) { background: #ff5f57; }
.pf-dots i:nth-child(2) { background: #febc2e; }
.pf-dots i:nth-child(3) { background: #28c840; }
.pf-urlbar {
  flex: 1; background: #fff; border-radius: 8px; font-size: .78rem;
  padding: 5px 12px; color: var(--ink-soft); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.pf-urlbar::before { content: "🔒 "; font-size: .7rem; }

.pf-frame-wrap { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #dcd6e4; }
.pf-frame-wrap iframe {
  width: 1280px; height: 856px; border: 0;
  transform-origin: top left; position: absolute; top: 0; left: 0;
  pointer-events: none; background: #fff;
  will-change: transform; backface-visibility: hidden;
}
.pf-skeleton {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, #ece6f2 30%, #f6f2fa 50%, #ece6f2 70%);
  background-size: 200% 100%;
  animation: pf-shimmer 1.4s ease-in-out infinite;
  transition: opacity .35s ease;
}
.pf-skeleton.done { opacity: 0; pointer-events: none; }
@keyframes pf-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.pf-frame-wrap.interactive iframe { pointer-events: auto; }
.pf-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 12px; background: rgba(22,19,31,0); transition: background .2s;
}
.pf-frame-wrap:not(.interactive):hover .pf-overlay { background: rgba(22,19,31,.35); }
.pf-overlay .btn { opacity: 0; transform: translateY(6px); transition: all .2s; font-size: .9rem; padding: 10px 20px; }
.pf-frame-wrap:not(.interactive):hover .pf-overlay .btn { opacity: 1; transform: translateY(0); }
.btn-explore { background: var(--accent); color: #fff; }
.btn-explore:hover { background: var(--accent-dark); }
.btn-visit { background: #fff; color: var(--ink); }
.pf-exit {
  position: absolute; top: 10px; right: 10px; z-index: 5; display: none;
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  padding: 7px 14px; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.pf-frame-wrap.interactive .pf-exit { display: block; }
.pf-frame-wrap.interactive .pf-overlay { display: none; }
.pf-frame-wrap.has-live .pf-shot { display: none; }

.pf-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

.pf-static {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 20px;
}
.pf-static b { font-family: var(--font-head); font-size: 1.5rem; }
.pf-static span { font-size: .9rem; opacity: .8; }

.pf-info { padding: 22px 24px 24px; }
.pf-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pf-tag {
  font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--paper-alt); color: var(--ink-soft);
}
.pf-tag-live { background: #e7f8ee; color: #157347; }
.pf-info h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pf-info p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Sonuçlar / İstatistik ---------- */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stats-card { background: var(--white); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow); }
.stats-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.stats-head b { font-family: var(--font-head); font-size: 1.02rem; }
.stats-head span { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }
.stats-foot { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }
.stats-foot .up { color: #157347; font-weight: 800; }

.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  background: var(--paper); border-radius: 14px; padding: 20px 18px;
  border: 1px solid #efe8dc;
}
.tile b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 2rem; color: var(--accent); line-height: 1.1; margin-bottom: 4px;
}
.tile span { font-size: .84rem; color: var(--ink-soft); }

.query-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.query-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid #efe8dc; border-radius: 12px;
  padding: 12px 16px; flex-wrap: wrap;
}
.query-list li span { font-weight: 700; font-size: .95rem; }
.query-list li em { font-style: normal; font-size: .78rem; color: var(--ink-soft); }
.query-list li.hot { border-color: var(--accent); background: #fff3ec; }
.query-list li.hot em { color: var(--accent-dark); font-weight: 600; }

.stats-pills { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.stat-pill {
  background: var(--dark); color: #fff; border-radius: 999px;
  padding: 12px 22px; display: flex; align-items: baseline; gap: 9px;
}
.stat-pill b { color: var(--wa); font-family: var(--font-head); font-size: 1.12rem; }
.stat-pill span { font-size: .84rem; color: rgba(255,255,255,.75); }
.stats-note { margin-top: 18px; font-size: .78rem; color: var(--ink-soft); }

/* ---------- Sektörler ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sector-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 8px;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector-card i { font-style: normal; font-size: 1.9rem; }
.sector-card b { font-family: var(--font-head); font-size: 1.05rem; }
.sector-card span { font-size: .88rem; color: var(--ink-soft); }
.sector-cta { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 600; font-style: normal; font-size: .9rem; }
@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Neden ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); border-top: 4px solid var(--accent);
}
.why-card i { font-style: normal; font-size: 1.8rem; display: block; margin-bottom: 12px; }
.why-card b { font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: 8px; }
.why-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Hizmetler ---------- */
.services-badge {
  display: inline-block; padding: 8px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #ff5c1f 0%, #ff8046 100%);
  color: #fff; font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; margin-bottom: 16px; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(255, 92, 31, .35);
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.services-grid-included { grid-template-columns: repeat(3, 1fr); margin-top: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, box-shadow .2s;
  border-top: 3px solid transparent;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card i { font-style: normal; font-size: 2rem; line-height: 1; }
.service-card h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; }
.service-card p { font-size: .9rem; color: var(--ink-soft); }
.service-card.included {
  background: linear-gradient(180deg, #fff5ef 0%, #fff 100%);
  border-top: 3px solid var(--accent);
}
.service-card.included h3 { color: var(--accent-dark); }
@media (max-width: 900px) {
  .services-grid, .services-grid-included { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 520px) {
  .services-grid, .services-grid-included { grid-template-columns: 1fr; }
}

/* ---------- Süreç ---------- */
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 48px 0; }
.step { background: var(--dark-2); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step em {
  font-style: normal; font-family: var(--font-head); font-weight: 800;
  font-size: 2.6rem; color: var(--accent); display: block; margin-bottom: 10px;
}
.step b { font-family: var(--font-head); font-size: 1.12rem; display: block; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.65); font-size: .95rem; }

/* ---------- SSS ---------- */
.faq details {
  background: var(--white); border-radius: 14px; margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-head);
  padding: 20px 60px 20px 24px; list-style: none; position: relative; font-size: 1rem;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  font-size: 1.5rem; color: var(--accent); line-height: 1;
  transform: translateY(-50%); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final-cta { background: radial-gradient(900px 500px at 50% 120%, #2d2440 0%, var(--dark) 60%); color: #fff; padding: 120px 0; }
.final-cta .section-sub { color: rgba(255,255,255,.7); margin-top: 18px; }
.final-cta .btn-xl { margin-top: 16px; }
.contact-alt { margin-top: 22px; color: rgba(255,255,255,.6); }
.contact-alt b { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0d16; color: rgba(255,255,255,.6); padding: 56px 0 0; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-inner p { margin-top: 12px; max-width: 320px; }
.footer-links b { color: #fff; display: block; margin-bottom: 12px; font-family: var(--font-head); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 5px 0; color: rgba(255,255,255,.6); }
.footer-list a { color: rgba(255,255,255,.6); transition: color .15s; }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; text-align: center; font-size: .84rem; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
}

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .35s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .main-nav {
    display: flex; position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(180deg, #16131f 0%, #1b1528 100%);
    flex-direction: column; align-items: center;
    padding: 88px 28px 32px; gap: 6px; z-index: 100;
    text-align: center;
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a:first-child { margin-top: auto; }
  .main-nav .nav-cta { margin-bottom: auto; }
  .main-nav a {
    padding: 10px 22px; border-radius: 12px;
    color: rgba(255,255,255,.92); font-size: 1.15rem; font-weight: 600;
    letter-spacing: -.01em;
    transition: background .18s, color .18s;
  }
  .main-nav a:active { background: rgba(255,255,255,.08); color: #fff; }
  .main-nav .nav-cta {
    display: block; margin-top: 20px; padding: 14px 30px;
    background: linear-gradient(135deg, #ff5c1f 0%, #ff8046 100%);
    color: #fff; text-align: center; border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(255,92,31,.35);
  }
  .nav-toggle { display: flex; margin-left: auto; position: relative; z-index: 110; }
  .header-inner .btn { display: none; }
  /* Mobilde header blur'u pahalı — opak arka plan yeterli */
  .site-header { background: rgba(22,19,31,.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero { padding-top: 60px; }
  .hero-stats { gap: 26px; }
  .btn-xl { padding: 16px 26px; font-size: 1.05rem; }
  .btn-lg { padding: 15px 22px; font-size: 1rem; }
  .hero-cta .btn-lg { width: 100%; padding: 16px 20px; font-size: 1rem; letter-spacing: -.005em; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  h2 { margin-bottom: 10px; }
  .section-sub { font-size: 1rem; margin-bottom: 32px; }
  .services-badge { font-size: .72rem; padding: 7px 16px; letter-spacing: .1em; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; padding-bottom: 56px; }
  .hero-stats .stat { min-width: 0; }
  .hero-cta { gap: 12px; }
  .faq summary { font-size: .95rem; padding: 18px 54px 18px 20px; }
  .faq summary::after { right: 18px; font-size: 1.4rem; }
  .faq details p { padding: 0 20px 20px; font-size: .95rem; }
  .final-cta { padding: 84px 0; }
  .final-cta h2 { font-size: 1.85rem; }
  .contact-alt { font-size: .9rem; line-height: 1.7; }
}
@media (max-width: 420px) {
  .main-nav { width: 100%; max-width: 100%; padding-top: 76px; box-shadow: none; }
}
/* Touch feedback + safe area (iOS notch/home indicator) */
@media (hover: none) {
  .btn:active, .service-card:active, .sector-card:active, .why-card:active, .pf-card:active {
    transform: scale(.98); transition: transform .1s;
  }
  /* Dokunmatikte hover yok: portfolyo kart butonları hep görünür olsun */
  .pf-frame-wrap:not(.interactive) .pf-overlay { background: rgba(22,19,31,.28); }
  .pf-frame-wrap:not(.interactive) .pf-overlay .btn { opacity: 1; transform: none; }
}
* { -webkit-tap-highlight-color: transparent; }
.wa-fab { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: calc(22px + env(safe-area-inset-right, 0px)); }
body { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Klavye erişilebilirliği */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* ============================================================
   SEVGİLİYE ÖZEL HEDİYE SİTESİ — romantik, premium bölüm
   ============================================================ */
.gift-section {
  position: relative; overflow: hidden;
  padding: 104px 0 108px;
  background:
    radial-gradient(120% 80% at 50% -10%, #3a1526 0%, #24101c 55%, #1b0b15 100%);
  color: #fdeef1;
  scroll-margin-top: 72px;
}
.gift-glow {
  position: absolute; border-radius: 50%; filter: blur(70px);
  pointer-events: none; z-index: 0; opacity: .55;
}
.gift-glow-1 { width: 460px; height: 460px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(255,120,150,.45), transparent 70%); }
.gift-glow-2 { width: 520px; height: 520px; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(232,150,120,.38), transparent 70%); }

.gift-hearts { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.gift-hearts span {
  position: absolute; bottom: -30px; color: rgba(255,155,176,.35);
  font-size: 20px; animation: giftFloat 14s linear infinite;
}
.gift-hearts span:nth-child(1){ left: 8%;  font-size: 16px; animation-duration: 16s; animation-delay: 0s; }
.gift-hearts span:nth-child(2){ left: 24%; font-size: 24px; animation-duration: 19s; animation-delay: 4s; }
.gift-hearts span:nth-child(3){ left: 47%; font-size: 14px; animation-duration: 13s; animation-delay: 2s; }
.gift-hearts span:nth-child(4){ left: 63%; font-size: 22px; animation-duration: 21s; animation-delay: 6s; }
.gift-hearts span:nth-child(5){ left: 80%; font-size: 18px; animation-duration: 17s; animation-delay: 1s; }
.gift-hearts span:nth-child(6){ left: 92%; font-size: 15px; animation-duration: 15s; animation-delay: 5s; }
@keyframes giftFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  15%  { opacity: .5; }
  85%  { opacity: .5; }
  100% { transform: translateY(-118vh) scale(1.3); opacity: 0; }
}

.gift-section .container { position: relative; z-index: 1; }

.gift-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.gift-kicker {
  font-weight: 700; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .22em; color: #ff9bb0; margin-bottom: 18px;
}
.gift-title {
  font-family: var(--font-head); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.16;
  font-size: clamp(1.9rem, 4.4vw, 3rem); color: #fdeef1; margin-bottom: 20px;
}
.gift-title em {
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, #ff9bb0, #f5c6a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gift-sub { font-size: 1.1rem; line-height: 1.75; color: #e6c4cd; }
.gift-sub strong { color: #ffd9c2; font-weight: 600; }

/* ---- örnek: kalp şeklinde fotoğraf kolajı ---- */
.gift-collage-wrap { text-align: center; margin: 0 auto 64px; max-width: 460px; }
.gift-collage-label {
  font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: #ff9bb0; font-size: .8rem; margin-bottom: 20px;
}
.gift-heart {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px;
  width: 100%; max-width: 380px; margin: 0 auto;
}
.gift-heart i { aspect-ratio: 1; visibility: hidden; }
.gift-heart .ph {
  aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px rgba(20,6,14,.35);
  opacity: 0; transform: scale(.3) translateY(8px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.gift-heart .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,6,14,.28));
}
.gift-heart.in .ph { opacity: 1; transform: none; }
.gift-heart.in { animation: giftBeat 2.8s ease-in-out 1.6s infinite; }
/* romantik silüet sahneleri (gün batımı estetiği) — sky gradient + silüet */
.gift-heart .ph {
  background-repeat: no-repeat;
  background-position: center 94%, center;
  background-size: 74%, cover;
}
/* 1 · el ele çift */
.gift-heart .ph:nth-of-type(6n+1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%231c0a12'%3E%3Ccircle cx='36' cy='42' r='9'/%3E%3Cpath d='M26,100V66c0-13,20-13,20,0v34z'/%3E%3Ccircle cx='64' cy='40' r='9'/%3E%3Cpath d='M54,100V64c0-13,20-13,20,0v36z'/%3E%3Crect x='44' y='74' width='12' height='5'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #6b3550, #c98fa8);
}
/* 2 · kalp */
.gift-heart .ph:nth-of-type(6n+2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231c0a12' d='M50,80,27,57C17,46,25,29,41,33c5,1.3,8,5,9,8,1-3,4-6.7,9-8,16-4,24,13,14,24z'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #35304f, #a85b8e);
}
/* 3 · gül */
.gift-heart .ph:nth-of-type(6n+3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%231c0a12'%3E%3Crect x='48' y='44' width='4' height='50'/%3E%3Cpath d='M40,62c-11-3-10-17,0-19'/%3E%3Cpath d='M60,68c11-3,10-17,0-19'/%3E%3Cpath d='M50,18c-13,0-17,11-17,19,0,9,8,17,17,17s17-8,17-17c0-8-4-19-17-19zm0,11c5,0,9,4,9,8s-4,8-9,8-9-4-9-8,4-8,9-8z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #7a3b4d, #e0a68f);
}
/* 4 · başlarının üstünde kalp olan çift */
.gift-heart .ph:nth-of-type(6n+4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%231c0a12'%3E%3Cpath d='M50,32,43,25c-3-3,1-8,4-5,1,0.7,2,1.7,3,2.6,0.5-0.9,1.4-1.9,3-2.6,3-3,7,2,4,5z'/%3E%3Ccircle cx='37' cy='54' r='8'/%3E%3Cpath d='M28,100V74c0-12,18-12,18,0v26z'/%3E%3Ccircle cx='63' cy='54' r='8'/%3E%3Cpath d='M54,100V74c0-12,18-12,18,0v26z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #4a2338, #ff9bb0);
}
/* 5 · sarılan çift */
.gift-heart .ph:nth-of-type(6n+5) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%231c0a12'%3E%3Ccircle cx='44' cy='40' r='10'/%3E%3Ccircle cx='61' cy='44' r='8'/%3E%3Cpath d='M29,100V66c0-16,29-16,29,0v34z'/%3E%3Cpath d='M50,100V70c0-12,23-12,23,0v30z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #5a2b45, #d99a8f);
}
/* 6 · hediye kutusu */
.gift-heart .ph:nth-of-type(6n+6) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%231c0a12'%3E%3Crect x='30' y='52' width='40' height='36'/%3E%3Crect x='46' y='52' width='8' height='36'/%3E%3Cpath d='M50,52C46,42,32,42,34,52zm0,0C54,42,68,42,66,52z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #6b3550, #e0a68f);
}
@keyframes giftBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.035); }
  28% { transform: scale(1); }
  42% { transform: scale(1.055); }
  58% { transform: scale(1); }
}
.gift-collage-cap {
  color: #e6c4cd; font-size: .96rem; line-height: 1.65; margin-top: 22px;
}

/* ---- örnek telefon mockup'ları ---- */
.gift-showcase {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 26px; margin: 0 auto 66px; flex-wrap: wrap;
}
.gift-phone {
  width: 236px; margin: 0; position: relative;
  border-radius: 30px; padding: 12px;
  background: linear-gradient(155deg, #4a2233, #2a1420);
  box-shadow: 0 26px 60px rgba(20,6,14,.55), inset 0 0 0 1px rgba(255,180,195,.14);
}
.gift-phone-center { transform: translateY(-22px); }
.gift-phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 6px; border-radius: 99px; background: rgba(255,200,210,.25); z-index: 3;
}
.gift-screen {
  background: linear-gradient(180deg, #1e0e17 0%, #2a1220 100%);
  border-radius: 20px; height: 420px; overflow: hidden;
  padding: 30px 16px 18px; position: relative;
}
.gs-top {
  text-align: center; font-size: .72rem; color: #ff9bb0;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 14px;
}
.gs-photo {
  border-radius: 12px; height: 96px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 8px; position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.gs-photo span { filter: grayscale(.1) drop-shadow(0 2px 6px rgba(0,0,0,.3)); opacity: .9; }
.gs-photo-a { background: linear-gradient(135deg, #6b3550, #a85b6e 60%, #e0a68f); }
.gs-photo-b { background: linear-gradient(135deg, #35304f, #6b4a6e 55%, #c98fa8); }
.gs-cap { font-size: .74rem; line-height: 1.5; color: #e2bcc7; margin-bottom: 12px; }
.gs-cap b { color: #ffd9c2; font-weight: 600; }

/* mektup ekranı */
.gs-letter { background: linear-gradient(180deg, #241019 0%, #34161f 100%); }
.gs-letter-body {
  color: #f2d6dd; font-size: .82rem; line-height: 1.75; padding: 6px 4px;
}
.gs-letter-body p { margin-bottom: 11px; }
.gs-letter-body em { color: #ff9bb0; font-style: normal; font-weight: 600; }
.gs-hi { font-size: 1.02rem; font-weight: 700; color: #ff9bb0; }
.gs-sign { text-align: right; color: #e6b8c2; margin-top: 4px; }

/* sayaç ekranı */
.gs-counter { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gs-count-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 3rem; line-height: 1; margin-top: 22px; letter-spacing: -.02em;
  background: linear-gradient(120deg, #ff9bb0, #f5c6a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gs-count-label { font-size: .84rem; color: #e2bcc7; margin-top: 6px; }
.gs-divider { color: #ff9bb0; margin: 20px 0 16px; opacity: .7; font-size: 1.1rem; }
.gs-next { color: #ffd9c2; font-size: .88rem; font-weight: 500; margin-bottom: 12px; }
.gs-count-pills { display: flex; gap: 8px; }
.gs-count-pills span {
  width: 44px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,155,176,.12); border: 1px solid rgba(255,155,176,.28);
  border-radius: 10px; font-weight: 700; font-size: 1.1rem; color: #fff;
}
.gs-next-sub { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #c99aa8; margin-top: 8px; }

.gift-phone figcaption {
  text-align: center; margin-top: 16px; font-size: .82rem; font-weight: 600;
  color: #e6c4cd; letter-spacing: .02em;
}

/* ---- neler var ---- */
.gift-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 900px; margin: 0 auto 60px;
}
.gift-feat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,155,176,.16);
  border-radius: 16px; padding: 22px 20px; text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.gift-feat:hover { transform: translateY(-4px); border-color: rgba(255,155,176,.4); background: rgba(255,255,255,.06); }
.gift-feat i { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.gift-feat b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: #fff; margin-bottom: 6px; }
.gift-feat span { font-size: .9rem; line-height: 1.55; color: #d9aeb9; }

/* ---- hediye vurgusu ---- */
.gift-gift { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.gift-gift-lead {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; color: #ff9bb0; margin-bottom: 20px;
}
.gift-occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.gift-occasions span {
  background: rgba(255,155,176,.1); border: 1px solid rgba(255,155,176,.26);
  color: #ffdbe2; border-radius: 999px; padding: 9px 18px; font-size: .9rem; font-weight: 500;
}
.gift-gift-note { font-size: 1.04rem; line-height: 1.7; color: #e6c4cd; }
.gift-gift-note strong { color: #ffd9c2; font-weight: 600; }

/* ---- CTA ---- */
.gift-cta-wrap { text-align: center; }
.gift-btn {
  background: linear-gradient(135deg, #ff7d9b 0%, #ff9bb0 45%, #f5c6a8 100%);
  color: #3a1020; font-weight: 800; font-size: 1.06rem; padding: 16px 34px;
  box-shadow: 0 14px 38px rgba(255,125,155,.4);
}
.gift-btn:hover { box-shadow: 0 20px 46px rgba(255,125,155,.55); transform: translateY(-3px); }
.gift-btn-demo {
  background: transparent; color: #ffc4d0; border: 1.5px solid rgba(255,155,176,.5);
  font-weight: 700; font-size: 1.02rem; padding: 15px 30px; margin-right: 12px;
}
.gift-btn-demo:hover { border-color: #ff9bb0; color: #fff; transform: translateY(-3px); }
.gift-cta-note { display: block; margin-top: 16px; font-size: .92rem; color: #cfa1ae; }
@media (max-width: 480px) {
  .gift-btn-demo { margin-right: 0; margin-bottom: 12px; display: block; }
}

/* ---- nav linki ---- */
.nav-gift { color: #ff9bb0 !important; font-weight: 600; }
.nav-gift:hover { color: #ffc4d0 !important; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .gift-features { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}
@media (max-width: 760px) {
  .gift-section { padding: 76px 0 84px; }
  .gift-showcase {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding: 0 24px 14px; margin-left: -24px; margin-right: -24px;
    gap: 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .gift-phone { flex: 0 0 auto; scroll-snap-align: center; }
  .gift-phone-center { transform: none; }
}
@media (max-width: 480px) {
  .gift-features { grid-template-columns: 1fr; max-width: 360px; }
  .gift-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .gift-phone { width: 226px; }
  .gift-screen { height: 406px; }
  .gs-photo { height: 88px; }
  .gs-cap { margin-bottom: 11px; font-size: .72rem; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
