/* ============================================================
   ERAY NAKLİYAT — LAYOUT v3.0 | FontAwesome + Mobil 100%
   eray-layout.css | 2026-05-30
   ============================================================ */

/* ── Değişkenler ── */
:root {
  --primary:       #1A5C96;
  --primary-dark:  #0f3d6b;
  --primary-light: #2176c2;
  --accent:        #05B3D7;
  --accent-dark:   #0490ae;
  --white:         #ffffff;
  --text-dark:     #0C385F;
  --text-body:     #333333;
  --text-muted:    #6c757d;
  --bg-light:      #F5F7F9;
  --shadow-sm:     0 2px 12px rgba(26,92,150,.10);
  --shadow-md:     0 6px 28px rgba(26,92,150,.16);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    .25s ease;
  /* Header yükseklikleri */
  --header-h:      68px;
  --header-h-mob:  58px;
}

/* ── Global reset ── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* ── Body scroll kilidi ── */
body.menu-open { overflow: hidden; }

/* ── FA ikon yardımcısı ── */
.fa-icon { display: inline-flex; align-items: center; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,92,150,.10);
  box-shadow: 0 1px 8px rgba(26,92,150,.08);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,92,150,.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--header-h);
  gap: .5rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo img {
  height: 46px;
  width: auto;
  transition: opacity .2s;
}
.header-logo:hover img { opacity: .85; }

/* Masaüstü nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: #444;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.header-nav a i { font-size: .8rem; color: var(--primary); }
.header-nav a:hover,
.header-nav a.active {
  background: rgba(26,92,150,.08);
  color: var(--primary);
}
.header-nav a.active { font-weight: 600; }

/* Masaüstü CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.btn-header-call,
.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none !important;
}
.btn-header-call {
  background: var(--primary);
  color: #fff !important;
}
.btn-header-call:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,92,150,.35);
}
.btn-header-wa {
  background: #25D366;
  color: #fff !important;
}
.btn-header-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
}

/* ── Hamburger Butonu ── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid rgba(26,92,150,.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger-btn:hover,
.hamburger-btn:focus-visible {
  background: rgba(26,92,150,.07);
  border-color: rgba(26,92,150,.3);
  outline: none;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  pointer-events: none;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobil menü overlay ── */
.mobile-menu {
  display: block;
  position: fixed;
  top: var(--header-h-mob);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1040;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  padding: 1.25rem 1rem 5rem;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

/* Mobil menü nav linkleri */
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1.25rem;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid transparent;
  transition: all .2s;
  min-height: 52px; /* dokunma alanı */
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  background: rgba(26,92,150,.07);
  border-color: rgba(26,92,150,.12);
  color: var(--primary);
}
.mobile-menu nav a i {
  width: 24px;
  text-align: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.mobile-menu-divider {
  height: 1px;
  background: #eee;
  margin: 1rem 0;
}

/* Mobil menü CTA butonları */
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 52px;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-cta .btn-call-mobile {
  background: var(--primary);
  color: #fff;
}
.mobile-cta .btn-call-mobile:hover { background: var(--primary-dark); }
.mobile-cta .btn-wa-mobile {
  background: #25D366;
  color: #fff;
}
.mobile-cta .btn-wa-mobile:hover { background: #1da851; }

/* ── Responsive breakpoint ── */
@media (max-width: 991px) {
  .hamburger-btn { display: flex; }
  .header-nav    { display: none; }
  .header-cta    { display: none; }
  .header-inner  { height: var(--header-h-mob); }
  .header-logo img { height: 40px; }
}

/* ============================================================
   SAĞ TARAF SABIT BUTON GRUBU
   Tüm floating butonlar sağ altta, tek sütun halinde
   ============================================================ */

/* ── WhatsApp sabit butonu ── */
.whatsapp-float {
  position: fixed;
  bottom: 160px;
  right: 18px;
  z-index: 1030;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, opacity .3s;
  animation: waBounce 3s ease-in-out infinite;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.7);
  animation: none;
}
.whatsapp-float i { font-size: 1.5rem; color: #fff; }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ── Telefon zil butonu ── */
.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 100px;
  right: 18px;
  z-index: 1030;
}
/* Eski sol konumlandırmayı eziyoruz */
.hotline-phone-ring-wrap .hotline-phone-ring {
  width: 52px;
  height: 52px;
  position: relative;
}
.hotline-phone-ring-wrap .hotline-phone-ring-circle,
.hotline-phone-ring-wrap .hotline-phone-ring-circle-fill {
  width: 52px;
  height: 52px;
  position: absolute;
  border-radius: 50%;
  animation: phoneRingPulse 1.8s ease-out infinite;
  top: 0; left: 0;
}
.hotline-phone-ring-wrap .hotline-phone-ring-circle {
  background: rgba(26,92,150,.25);
  animation-delay: 0s;
}
.hotline-phone-ring-wrap .hotline-phone-ring-circle-fill {
  background: rgba(26,92,150,.15);
  animation-delay: .35s;
}
@keyframes phoneRingPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hotline-phone-ring-wrap .hotline-phone-ring-img-circle {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(26,92,150,.5);
}
.hotline-phone-ring-wrap .hotline-phone-ring-img-circle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  margin: auto;
}
.hotline-phone-ring-wrap .hotline-phone-ring-img-circle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: unset;
}
/* Hotline bar (numara etiketi) – sağda gösteri */
.hotline-bar {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(26,92,150,.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.hotline-phone-ring-wrap:hover .hotline-bar { opacity: 1; }
.hotline-bar a { color: #fff; text-decoration: none; }

/* ── Yukarı çık butonu ── */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 18px;
  z-index: 1030;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(26,92,150,.4);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-size: .95rem;
  min-height: unset;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26,92,150,.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(160deg, #0C385F 0%, #0f2d4a 60%, #071e33 100%);
  color: rgba(255,255,255,.82);
  margin-top: 0;
}

/* CTA şeridi */
.footer-cta-strip {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-dark) 100%);
  padding: 1.5rem 1rem;
}
.footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-cta-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.footer-cta-text span {
  font-size: .85rem;
  font-weight: 400;
  opacity: .85;
  display: block;
  margin-top: .15rem;
}
.btn-footer-call {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  color: var(--primary) !important;
  text-decoration: none !important;
  padding: .65rem 1.35rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
  touch-action: manipulation;
}
.btn-footer-call:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* Grid */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin: 0 0 1rem;
}

/* Kolon 1 */
.footer-brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .35rem;
}
.footer-brand-sub {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-contact-list li a,
.footer-contact-list li span {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .85rem;
  line-height: 1.5;
  transition: color .2s;
}
.footer-contact-list li a:hover { color: var(--accent); }
.footer-contact-list .contact-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: .1rem;
  font-size: .9rem;
}

/* Link kolonları */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.68);
  font-size: .85rem;
  transition: color .2s, padding-left .2s;
  text-decoration: none;
}
.footer-links a i {
  font-size: .65rem;
  color: var(--accent);
  transition: transform .2s;
  width: 12px;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 3px;
}
.footer-links a:hover i { transform: translateX(2px); }

/* 7/24 badge */
.footer-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(5,179,215,.14);
  border: 1px solid rgba(5,179,215,.28);
  border-radius: 50px;
  padding: .3rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .9rem;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #3BD297;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.65); }
}

/* Bölge etiketleri */
.footer-service-areas { display: flex; flex-wrap: wrap; gap: .4rem; }
.area-tag {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .73rem;
  color: rgba(255,255,255,.6);
}

/* Footer alt */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1rem;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom-copy {
  font-size: .77rem;
  color: rgba(255,255,255,.38);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: .77rem;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   MOBİL FOOTER
   ============================================================ */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1rem 1.25rem;
  }
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
  }
  .footer-cta-text { font-size: .95rem; }
  .btn-footer-call { width: 100%; justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; gap: .75rem; }
}

/* ============================================================
   MOBİL GENEL İYİLEŞTİRMELER
   ============================================================ */

/* Minimum dokunma alanı – WCAG 2.5.5 */
button, a, [role="button"] { min-height: 44px; }

/* Viewport aşımını engelle */
html { overflow-x: hidden; }
body { overflow-x: hidden; width: 100%; }

/* Tablo taşması */
table { width: 100%; overflow-x: auto; display: block; }

/* Form alanları */
input, textarea, select {
  width: 100%;
  max-width: 100%;
  font-size: 16px; /* iOS zoom'unu önler */
  touch-action: manipulation;
}

/* Slider yükseklikleri */
@media (max-width: 768px) {
  .slider-overlay-wrapper,
  .slider-section { height: 230px !important; }

  .slider-overlay-wrapper h1,
  .slider-overlay-wrapper h2 { font-size: 1.2rem !important; line-height: 1.35 !important; }
  .slider-overlay-wrapper p   { font-size: .88rem !important; }

  /* Section başlıkları */
  section h2 { font-size: 1.4rem !important; }
  section h3 { font-size: 1.15rem !important; }

  /* Butonlar tam genişlik */
  .btn-lg { font-size: .9rem; padding: .7rem 1.1rem; }

  /* reCAPTCHA mobil ölçek */
  .g-recaptcha { transform: scale(.85); transform-origin: 0 0; }
  .g-recaptcha > div { overflow: hidden; }
}

@media (max-width: 576px) {
  /* Accordion */
  .accordion-button { font-size: .9rem !important; padding: .85rem 1rem !important; }
  .accordion-body   { font-size: .87rem !important; padding: .85rem 1rem !important; }

  /* Grid sütunlar tek kolona */
  .row-cols-2 > * { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* İOS momentum scroll */
.mobile-menu { -webkit-overflow-scrolling: touch; }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--bg-light, #F5F7F9);
  border-bottom: 1px solid rgba(26,92,150,.08);
  padding: .5rem 0;
  font-size: .8rem;
  color: var(--text-muted, #6c757d);
}
.breadcrumb-bar .container { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar .sep { opacity: .45; }
.breadcrumb-bar .current { color: var(--text-body, #333); font-weight: 500; }

/* ── Sayfa hero (iç sayfalar) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a6eb5 50%, var(--accent-dark) 100%);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle fill='%23fff' fill-opacity='0.04' cx='26' cy='26' r='26'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.page-hero h1 { color: #fff !important; font-size: 1.8rem; margin-bottom: .35rem; position: relative; }
.page-hero p  { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; position: relative; }
@media (max-width: 576px) {
  .page-hero { padding: 1.75rem 0 1.4rem; }
  .page-hero h1 { font-size: 1.35rem; }
}

/* ── Görsellik yardımcıları ── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Yorum kartları ── */
.review-card {
  background: #fff;
  border: 1px solid rgba(26,92,150,.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.review-stars { color: #f59e0b; font-size: .95rem; letter-spacing: 1px; }

/* ── Skip link (erişilebilirlik) ── */
.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 9999;
  background: var(--primary);
  color: #fff !important;
  padding: .5rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
  min-height: unset;
  width: auto;
  height: auto;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
