/* ============================================================
   Aliyo Elektrik — Ana Stylesheet (modüler)
   Referans görsel: 941x1672 Aliyo Elektrik ana sayfa tasarımı
   Renk sistemi plan.md 8. maddesindeki tokenlarla birebir.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #03132f;
  --navy-900: #061b3e;
  --navy-800: #0b2856;
  --blue-700: #0847c9;
  --blue-600: #075be8;
  --blue-500: #1474ff;
  --blue-100: #eaf2ff;
  --yellow-500: #ffc400;
  --yellow-400: #ffd429;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --text-dark: #0b1633;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 22, 51, .06);
  --shadow-md: 0 10px 30px rgba(11, 22, 51, .1);
  --shadow-lg: 0 24px 60px rgba(11, 22, 51, .16);
  --container: 1180px;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy-900); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 2px; }

/* ---------- 3. Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 2px solid transparent; line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(7, 91, 232, .3); }
.btn-blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(255, 196, 0, .35); }
.btn-yellow:hover { background: var(--yellow-400); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(3, 19, 47, 0.45);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35);
}


/* ---------- 4. Top Bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--yellow-400); }
.topbar-left, .topbar-center, .topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-icon { width: 14px; height: 14px; color: var(--yellow-500); flex-shrink: 0; }
.topbar-socials { display: flex; gap: 6px; margin-left: 12px; }
.topbar-socials a {
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-600); color: #fff; border-radius: 50%;
  transition: all .2s ease;
}
.topbar-socials a svg { width: 14px; height: 14px; display: block; }
.topbar-socials a:hover { background: var(--yellow-500); color: var(--navy-950); transform: translateY(-1px); }


/* ---------- 5. Header / Nav ---------- */
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-400));
  color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(255, 196, 0, .4);
}
.logo-icon svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--navy-900); letter-spacing: -.3px; }
.logo-text small { font-size: 11.5px; color: var(--gray-500); letter-spacing: .2px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: rgba(255, 255, 255, .6); }

.main-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--navy-900); padding: 30px 14px; position: relative;
  transition: color .18s ease;
}
.nav-item > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--blue-600); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-item:hover > a, .nav-item.is-active > a { color: var(--blue-600); }
.nav-item:hover > a::after, .nav-item.is-active > a::after { transform: scaleX(1); }
.nav-caret { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .2s ease; z-index: 120;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: var(--navy-900);
  transition: background .15s ease, color .15s ease;
}
.dropdown a:hover { background: var(--blue-100); color: var(--blue-600); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta {
  padding: 10px 24px;
  border-radius: 100px !important;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--gray-100); }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: all .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; min-height: 560px; overflow: hidden; }
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-size: cover; background-position: center right;
  opacity: 0; transition: opacity .7s ease; visibility: hidden;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 19, 47, .96) 0%, rgba(3, 19, 47, .82) 45%, rgba(6, 27, 62, .45) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 90px 110px; width: 100%; }
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 1.5px; color: var(--yellow-400); text-transform: uppercase;
  background: rgba(255, 196, 0, .12); border: 1px solid rgba(255, 196, 0, .35);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.5px; line-height: 1.12; }
.hero-line-1 { display: block; color: #fff; }
.hero-line-2 { display: block; color: var(--yellow-500); display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-line-2.is-blue { color: var(--blue-500); }
.hero-bolt { width: 34px; height: 34px; }
.hero-desc { margin-top: 20px; font-size: 16.5px; color: rgba(255, 255, 255, .85); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--yellow-500); color: var(--navy-950); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 100px; background: rgba(255, 255, 255, .4); transition: all .25s ease; }
.hero-dot.is-active { background: var(--yellow-500); width: 26px; }

/* ---------- 7. Güven Kartları (hero üzerine binen) ---------- */
.trust-section { position: relative; z-index: 10; margin-top: -62px; }
.trust-cards {
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-card {
  padding: 30px 24px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.trust-card + .trust-card::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--gray-200);
}
.trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  border: 1.5px solid var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-card-body { display: flex; flex-direction: column; }
.trust-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--navy-900); }
.trust-card p { font-size: 13px; color: var(--gray-500); line-height: 1.35; }


/* ---------- 8. Bölüm başlıkları ---------- */
.section { padding-block: 84px; }
.section-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue-600);
  background: var(--blue-100); padding: 6px 14px; border-radius: 100px; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.4px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-title { margin-bottom: 10px; }
.section-center { text-align: center; margin-top: 40px; }
.text-blue { color: var(--blue-600); }

/* ---------- 9. Hakkımızda ---------- */
.about-section { background: var(--gray-50); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-content .section-title { margin-bottom: 18px; }
.about-desc { color: var(--gray-500); margin-bottom: 24px; font-size: 15.5px; }
.check-list { display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-900); font-size: 15.5px; }
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { width: 12px !important; height: 12px !important; color: var(--blue-600) !important; }


.about-visual { position: relative; }
.about-visual > img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.experience-card {
  position: absolute; left: -28px; bottom: -26px;
  background: var(--navy-950);
  border: 2px solid var(--yellow-500);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px 24px; display: flex; flex-direction: column; gap: 8px;
}
.experience-stars {
  display: flex; gap: 2px; color: var(--yellow-500);
}
.experience-stars svg {
  width: 14px; height: 14px;
}
.experience-card-inner {
  display: flex; align-items: center; gap: 12px;
}
.experience-card strong { font-family: var(--font-head); font-size: 38px; font-weight: 900; color: var(--yellow-500); line-height: 1; }
.experience-card span { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.experience-card span small { color: var(--yellow-400); display: block; font-size: 11px; margin-top: 2px; }

/* ---------- 10. Hizmetler ---------- */
.services-section { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 24px 22px; transition: all .22s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.service-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: transparent; color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--navy-900); }
.service-body { display: flex; flex-direction: column; gap: 6px; }
.service-body strong { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; color: var(--navy-900); }
.service-body small { font-size: 12.8px; color: var(--gray-500); line-height: 1.45; }
.service-arrow {
  position: absolute; right: 14px; bottom: 14px; width: 14px; height: 14px;
  color: var(--gray-500); transition: color .2s ease, transform .2s ease;
}
.service-card:hover .service-arrow { color: var(--blue-600); transform: translateX(2px); }



/* ---------- 11. Acil CTA Bandı ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--blue-700) 100%);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 116, 255, .5), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 196, 0, .25), transparent 40%);
}
.cta-band-inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 34px; }
.cta-alert { width: 56px; height: 56px; color: #ff4d4d; filter: drop-shadow(0 0 12px rgba(255, 77, 77, .6)); }
.cta-band-center h3 { color: #fff; font-size: 24px; font-weight: 800; }
.cta-band-center p { color: rgba(255, 255, 255, .8); margin-top: 4px; }
.cta-call {
  display: flex; align-items: center; gap: 14px;
  background: var(--yellow-500); color: var(--navy-950);
  border-radius: var(--radius-md); padding: 14px 24px;
  box-shadow: 0 10px 30px rgba(255, 196, 0, .35);
  transition: transform .2s ease;
}
.cta-call:hover { transform: scale(1.04); }
.cta-call svg { width: 30px; height: 30px; }
.cta-call span { display: flex; flex-direction: column; line-height: 1.2; }
.cta-call small { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.cta-call strong { font-family: var(--font-head); font-size: 19px; font-weight: 800; }

/* ---------- 12. Neden Biz ---------- */
.why-section { background: var(--gray-50); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 32px 24px; text-align: center; transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 28px;
  border-top: 2px dotted var(--gray-500);
  transform: translateY(-50%);
  z-index: 5;
}
.process-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--gray-500);
  border-top: 2px solid var(--gray-500);
  transform: translateY(-50%) rotate(45deg);
  z-index: 6;
}
.process-icon {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(7, 91, 232, .35);
}
.process-icon svg { width: 32px; height: 32px; }
.process-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-card p { font-size: 13.5px; color: var(--gray-500); }

/* ---------- 13. Projeler ---------- */
.projects-section { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.project-card {
  background: transparent; border: none; border-radius: var(--radius-md);
  overflow: hidden; transition: transform .22s ease; display: block;
}
.project-card:hover { transform: translateY(-6px); }
.project-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); }
.project-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-body { padding: 12px 0 0 0; display: flex; flex-direction: column; gap: 4px; }
.project-body strong { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.project-body small { font-size: 12.5px; color: var(--gray-500); }



/* ---------- 14. Yorumlar ---------- */
.testimonials-section { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm); transition: transform .22s ease;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 3px; color: var(--yellow-500); }
.testimonial-stars svg { width: 20px; height: 20px; }
.testimonial-text { font-size: 14.5px; color: var(--gray-700); font-style: italic; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue-100); }
.testimonial-author span { display: flex; flex-direction: column; line-height: 1.25; }
.testimonial-author strong { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy-900); }
.testimonial-author small { font-size: 12.5px; color: var(--gray-500); }

/* ---------- 15. SSS ---------- */
.faq-section { background: #fff; }
.faq-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.faq-col { display: flex; flex-direction: column; }
.faq-item { border: none; border-bottom: 1px solid var(--gray-200); border-radius: 0; background: transparent; overflow: hidden; transition: border-color .2s ease; }
.faq-item.is-open { border-bottom-color: var(--blue-500); box-shadow: none; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  color: var(--navy-900); text-align: left;
}
.faq-plus { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; }
.faq-plus line { transform-origin: center; transition: transform 0.25s ease, opacity 0.25s ease; }
.faq-item.is-open .faq-plus line:first-child { transform: scaleY(0); opacity: 0; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 14.5px; color: var(--gray-700); }
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer { padding: 0; }
.faq-item.is-open .faq-answer { padding: 0 0 18px 0; }

/* ---------- 16. Footer CTA ---------- */
.footer-cta { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: #fff; overflow: hidden; position: relative; }
.footer-cta-inner { display: grid; grid-template-columns: 1.2fr 1fr 300px; gap: 40px; align-items: center; padding-block: 64px 0; }
.footer-cta-left h2 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.footer-cta-left p { color: rgba(255, 255, 255, .75); }
.footer-cta-mid ul { display: grid; gap: 14px; font-size: 14.5px; }
.footer-cta-mid li { display: flex; align-items: center; gap: 12px; }
.cta-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 196, 0, 0.1); color: var(--yellow-500);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-icon svg { width: 16px; height: 16px; }
.footer-cta-mid a { color: #fff; }
.footer-cta-mid a:hover { color: var(--yellow-400); }
.footer-cta-right { display: flex; align-items: flex-end; }
.footer-cta-right img { width: 300px; height: auto; object-fit: contain; border-radius: 0; box-shadow: none; display: block; margin-bottom: 0; }



/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 36px; padding-block: 64px 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .8);
  transition: all .2s ease;
}
.footer-socials a:hover { background: var(--yellow-500); color: var(--navy-950); }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--yellow-500); border-radius: 3px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); transition: color .18s ease, padding-left .18s ease; }
.footer-links a:hover { color: var(--yellow-400); padding-left: 5px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--yellow-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--yellow-400); }

/* ---------- 18. Sabit Butonlar ---------- */
.floating-buttons { position: fixed; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(11, 22, 51, .3); position: relative;
  transition: transform .2s ease;
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: var(--blue-600); left: 26px; animation: pulse-blue 2.4s infinite; }
.float-whatsapp { background: #25d366; right: 26px; animation: pulse-green 2.4s infinite; }
.floating-buttons { left: 26px; }
.float-whatsapp { position: fixed; right: 26px; }
.float-tip {
  position: absolute; left: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm); white-space: nowrap;
  opacity: 0; visibility: hidden; transition: all .2s ease; pointer-events: none;
}
.float-whatsapp .float-tip { left: auto; right: 66px; }
.float-btn:hover .float-tip { opacity: 1; visibility: visible; }

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(7, 91, 232, .45); }
  70% { box-shadow: 0 0 0 16px rgba(7, 91, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(7, 91, 232, 0); }
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- 19. Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Sayfa içi ortak (alt sayfalar) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff; padding-block: 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20, 116, 255, .35), transparent 65%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .65); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--yellow-400); }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: var(--yellow-400); }

/* Flash mesajlar */
.alert { padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 20px; font-size: 14.5px; font-weight: 500; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:nth-child(4), .footer-col:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; box-shadow: var(--shadow-lg); z-index: 200;
    transition: right .3s ease; padding: 80px 24px 24px; overflow-y: auto;
  }
  .main-nav.is-open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a { padding: 14px 10px; border-bottom: 1px solid var(--gray-100); }
  .nav-item > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 16px; display: none; }
  .nav-item.is-open .dropdown { display: block; }
  .nav-caret { margin-left: auto; }
  .hero-title { font-size: 38px; }
  .trust-cards { grid-template-columns: 1fr 1fr; }
  .trust-card:nth-child(3)::before { display: none; }
  .trust-card:nth-child(n+3)::before { top: 0; left: 24%; right: 24%; width: auto; height: 1px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .experience-card { left: 12px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-card::before, .process-card::after { display: none !important; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq-list-grid { grid-template-columns: 1fr; gap: 24px; }

  .cta-band-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-cta-right { display: none; }
}

@media (max-width: 768px) {
  .topbar-center { display: none; }
  .topbar-inner { justify-content: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 520px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 576px) {
  .topbar-right .topbar-hours { display: none; }
  .topbar-inner { min-height: 34px; }
  .header-inner { min-height: 68px; }
  .logo-text small { display: none; }
  .hero-title { font-size: 31px; }
  .hero-desc { font-size: 15px; }
  .hero-arrow { display: none; }
  .trust-cards { grid-template-columns: 1fr; margin-top: -40px; }
  .trust-card { padding: 22px 20px; }
  .trust-card + .trust-card::before { top: 0; left: 24%; right: 24%; width: auto; height: 1px; }
  .section { padding-block: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-call { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .experience-card { padding: 16px 18px; }
  .experience-card strong { font-size: 32px; }
  .float-tip { display: none; }
}

/* ---------- 22. Canlı Destek Widget ---------- */
.chat-widget { position: fixed; right: 26px; bottom: 96px; z-index: 85; }
.chat-launcher {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(11,22,51,.3);
  transition: transform .2s ease, background .2s ease;
}
.chat-launcher:hover { transform: scale(1.08); background: var(--blue-600); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-box {
  position: absolute; right: 0; bottom: 70px; width: 320px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right;
  transition: all .25s ease;
}
.chat-box.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-box-head {
  background: var(--navy-900); color: #fff; padding: 14px 16px; display: flex;
  align-items: center; justify-content: space-between; font-size: 14.5px;
}
.chat-box-head span { font-size: 12px; color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: 6px; }
.chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; }
.chat-messages { max-height: 260px; overflow-y: auto; padding: 14px; display: grid; gap: 8px; background: var(--gray-50); }
.chat-msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; word-wrap: break-word; }
.chat-msg.is-admin { justify-self: start; background: #fff; border: 1px solid var(--gray-200); border-bottom-left-radius: 3px; }
.chat-msg.is-mine { justify-self: end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 3px; }
.chat-form { padding: 10px; display: grid; gap: 8px; background: #fff; border-top: 1px solid var(--gray-200); }
.chat-form input[type="text"] { width: 100%; padding: 9px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 13.5px; }
.chat-form input:focus { outline: none; border-color: var(--blue-500); }
.chat-send-row { display: flex; gap: 8px; }
.chat-send-row input { flex: 1; }
.chat-send-row button {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; background: var(--yellow-500);
  color: var(--navy-950); display: flex; align-items: center; justify-content: center;
}
.chat-send-row button svg { width: 18px; height: 18px; }

/* ---------- 23. Popup / Bileşenler ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(3,19,47,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: popup-fade .25s ease;
}
@keyframes popup-fade { from { opacity: 0; } to { opacity: 1; } }
.popup-card {
  position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  max-width: 480px; width: 100%; padding: 30px; animation: popup-pop .3s ease;
}
@keyframes popup-pop { from { transform: translateY(18px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.popup-close {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-100); color: var(--gray-700); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.popup-close:hover { background: #fee2e2; color: #dc2626; }
.popup-img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.popup-title { font-size: 20px; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; }
.popup-content { font-size: 14.5px; color: var(--gray-700); line-height: 1.65; margin-bottom: 16px; }
.popup-content p { margin-bottom: 8px; }
.popup-content ul { list-style: disc; padding-left: 18px; margin-bottom: 8px; }
.popup-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-600); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 11px 22px;
  border-radius: var(--radius-sm); transition: background .2s ease, transform .2s ease;
}
.popup-btn:hover { background: var(--blue-700); transform: translateY(-2px); }
/* banner / toast pozisyonları */
.popup-card.popup-banner { max-width: 720px; border-radius: 0; }
.popup-card.popup-toast { max-width: 360px; border-radius: 14px; box-shadow: 0 16px 40px rgba(3,19,47,.25); }
.popup-card.popup-pos-bottom-left, .popup-card.popup-pos-bottom-right { position: fixed; bottom: 20px; }
.popup-card.popup-pos-bottom-left { left: 20px; }
.popup-card.popup-pos-bottom-right { right: 20px; }
.popup-card.popup-pos-top { position: fixed; top: 20px; }
body.popup-open { overflow: hidden; }
@media (max-width: 576px) {
  .popup-card.popup-pos-bottom-left, .popup-card.popup-pos-bottom-right, .popup-card.popup-pos-top { left: 12px; right: 12px; bottom: 12px; top: auto; }
  .chat-widget { right: 16px; bottom: 88px; }
}

/* ============================================================
   REFERANS GÖRSEL UYUM KATMANI — 03.08.2026
   941x1672 tam sayfa kompozisyonundaki oranlar esas alınmıştır.
   ============================================================ */
:root{--container:1180px}
body{font-size:14px;background:#fff}
.section{padding-block:34px}
.section-head{margin-bottom:18px}
.section-tag{font-size:10px;letter-spacing:1.4px;padding:0;background:transparent;margin-bottom:5px}
.section-title{font-size:26px}
.topbar-inner{min-height:27px}.topbar{font-size:10px}
.topbar-socials a{width:21px;height:21px}
.header-inner{min-height:53px}.logo-icon{width:36px;height:36px}.logo-text strong{font-size:18px}.logo-text small{font-size:9px}
.nav-item>a{font-size:12px;padding:19px 13px}.header-cta{padding:9px 22px;font-size:12px;border-radius:7px!important}
.hero{min-height:320px}.hero-inner{padding-block:48px 62px}.hero-content{max-width:520px}.hero-badge{background:none;border:0;padding:0;border-radius:0;font-size:10px;margin-bottom:10px}
.hero-title{font-size:37px;line-height:1.08}.hero-desc{font-size:13px;max-width:410px;margin-top:13px}.hero-actions{margin-top:17px}.btn{font-size:11px;padding:10px 17px}
.hero-overlay{background:linear-gradient(90deg,rgba(3,19,47,.93) 0%,rgba(3,19,47,.62) 43%,rgba(3,19,47,.05) 74%)}
.hero-arrow{width:34px;height:34px}.hero-prev{left:13px}.hero-next{right:13px}.hero-dots{bottom:26px}
.trust-cards{margin-top:-25px;border-radius:10px}.trust-card{padding:15px 19px;gap:11px}.trust-icon{width:44px;height:44px}.trust-icon svg{width:23px;height:23px}.trust-card h3{font-size:12px}.trust-card p{font-size:10px}
.about-grid{grid-template-columns:1fr 1.12fr;gap:42px}.about-content .section-title{font-size:25px;margin-bottom:10px}.about-desc{font-size:11px;margin-bottom:12px}.check-list{gap:6px;margin-bottom:13px}.check-list li{font-size:11px}.check-icon{width:15px;height:15px}
.about-visual>img{border-radius:12px;aspect-ratio:2/1}.experience-card{left:-12px;bottom:-8px;border:0;border-radius:9px;padding:10px 17px;flex-direction:row}.experience-stars{display:none}.experience-card strong{font-size:30px}.experience-card span{font-size:10px}
.services-grid{gap:8px}.service-card{padding:12px 13px;gap:10px;border-radius:7px;min-height:70px}.service-icon{width:27px;height:27px}.service-icon svg{width:25px;height:25px}.service-body{gap:3px}.service-body strong{font-size:11px}.service-body small{font-size:9px;line-height:1.3}.service-arrow{right:8px;bottom:8px;width:10px}
.cta-band{max-width:1180px;margin:0 auto;border-radius:10px}.cta-band-inner{padding-block:13px;gap:16px}.cta-siren-svg{width:50px;height:50px}.cta-band-center h3{font-size:19px}.cta-band-center p{font-size:11px}.cta-call{padding:8px 16px;border-radius:8px}.cta-call svg{width:24px}.cta-call small{font-size:9px}.cta-call strong{font-size:16px}
.why-section{background:#fff}.process-grid{gap:10px}.process-card{padding:13px 15px;text-align:left;border:1px solid var(--gray-200);border-radius:8px;box-shadow:none;display:grid;grid-template-columns:45px 1fr;column-gap:10px}.process-icon{width:42px;height:42px;margin:0;grid-row:1/3;background:transparent;color:var(--blue-600);box-shadow:none}.process-icon svg{width:37px;height:37px}.process-card h3{font-size:11px;margin:2px 0}.process-card p{font-size:9px}
.projects-grid{gap:10px}.project-thumb{border-radius:7px}.project-body{padding-top:7px;text-align:center}.project-body strong{font-size:11px}.project-body small{font-size:9px}.section-center{margin-top:12px}
.testimonials-section{background:#fff}.testimonials-grid{gap:14px}.testimonial-card{padding:14px 16px;border-radius:8px;gap:8px;box-shadow:none}.testimonial-stars svg{width:13px;height:13px}.testimonial-text{font-size:10px}.testimonial-author img{width:31px;height:31px}.testimonial-author strong{font-size:10px}.testimonial-author small{font-size:8px}
.faq-section{padding-top:20px;padding-bottom:14px}.faq-list-grid{gap:0 22px}.faq-item{border:1px solid var(--gray-200);border-radius:5px;margin-bottom:4px}.faq-question{padding:8px 12px;font-size:10px}.faq-answer{font-size:10px}.faq-item.is-open .faq-answer{padding:0 12px 8px}
.footer-cta-inner{grid-template-columns:1.1fr 1fr 230px;padding-block:20px 0;gap:25px}.footer-cta-left h2{font-size:21px}.footer-cta-left p{font-size:11px}.footer-cta-mid ul{gap:6px;font-size:10px}.cta-icon{width:23px;height:23px}.footer-cta-right img{width:230px}
.footer-top{padding-block:18px 12px;gap:20px}.site-footer{font-size:10px}.footer-desc{font-size:9px;line-height:1.45;margin-bottom:8px}.footer-col h4{font-size:10px;margin-bottom:7px;padding-bottom:5px}.footer-col h4::after{height:1px;width:20px}.footer-links{gap:2px}.footer-contact{gap:4px}.footer-socials a{width:23px;height:23px}.footer-bottom{padding-block:7px}.footer-bottom-inner{font-size:8px}
.reveal{opacity:1;transform:none}

/* Referans 941px genişliğinde masaüstü kompozisyonunu korur. */
@media (max-width: 1100px) and (min-width: 769px){
  .container{max-width:840px;padding-inline:14px}
  .nav-item>a{padding-inline:8px;font-size:10px}.logo-text strong{font-size:15px}.logo-text small{font-size:8px}.header-cta{padding-inline:14px}
  .hero{min-height:320px}.hero-inner{padding-left:52px}.hero-title{font-size:34px}
  .services-grid{grid-template-columns:repeat(4,1fr)}.projects-grid{grid-template-columns:repeat(5,1fr)}.footer-top{grid-template-columns:1.4fr 1fr 1fr 1.2fr 1fr}
  .about-grid{grid-template-columns:1fr 1.12fr}.process-grid{grid-template-columns:repeat(4,1fr)}.testimonials-grid{grid-template-columns:repeat(3,1fr)}.faq-list-grid{grid-template-columns:repeat(2,1fr)}
  .cta-band{max-width:812px}.topbar-socials{margin-left:4px}.topbar-inner{gap:7px}
}

@media (max-width:768px){
  .section{padding-block:48px}.hero{min-height:520px}.hero-inner{padding-block:80px 100px}.hero-title{font-size:34px}.hero-overlay{background:linear-gradient(90deg,rgba(3,19,47,.94),rgba(3,19,47,.7))}
  .trust-cards{margin-top:-35px}.about-visual>img{aspect-ratio:4/3}.cta-band{border-radius:0}.process-card{text-align:center;display:block}.process-icon{margin:0 auto 12px}.footer-cta-inner{padding-block:40px}.footer-top{padding-block:42px 30px}
}

/* ============================================================
   HERO / SLIDER ORAN DÜZELTMESİ — Referans karşılaştırması 03.08.2026
   Tam sayfa ekran görüntüsünde kısa kalan slider, referanstaki güçlü
   dikey kompozisyona yaklaştırıldı. Mevcut içerik ve işlevler korunur.
   ============================================================ */
@media (min-width: 769px) {
  .hero {
    min-height: 560px;
  }
  .hero-slides,
  .hero-slide {
    min-height: 560px;
  }
  .hero-slide {
    background-position: center right;
  }
  .hero-inner {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding-block: 74px 112px;
  }
  .hero-content {
    max-width: 610px;
  }
  .hero-badge {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .hero-title {
    font-size: clamp(43px, 4.15vw, 58px);
    line-height: 1.06;
  }
  .hero-bolt {
    width: 38px;
    height: 38px;
  }
  .hero-desc {
    max-width: 520px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 12px;
  }
  .hero-arrow {
    width: 42px;
    height: 42px;
  }
  .hero-dots {
    bottom: 75px;
    left: max(calc((100vw - var(--container)) / 2 + 12px), 72px);
    transform: none;
  }
  .trust-section {
    margin-top: -62px;
  }
  .trust-cards {
    margin-top: 0;
  }
  .trust-card {
    min-height: 94px;
    padding: 20px 22px;
  }
  .trust-icon {
    width: 50px;
    height: 50px;
  }
  .trust-card h3 {
    font-size: 14px;
  }
  .trust-card p {
    font-size: 11px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .hero,
  .hero-slides,
  .hero-slide,
  .hero-inner {
    min-height: 500px;
  }
  .hero-inner {
    padding-block: 65px 105px;
    padding-left: 52px;
  }
  .hero-content {
    max-width: 500px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-desc {
    max-width: 430px;
    font-size: 13px;
  }
  .hero-dots {
    bottom: 70px;
    left: 68px;
  }
}
