/* =====================================================
   Erol Havuz — Mobil Görünüm (Kapsamlı Override)
   ===================================================== */

/* ═══════════════════════════════════════════════════
   CUSTOM HAMBURGER BUTTON
═══════════════════════════════════════════════════ */
.eh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
  transition: opacity .2s;
  position: relative;
  z-index: 50;
}
.eh-hamburger:hover { opacity: .7; }
.eh-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0a3a5c;
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.eh-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.eh-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.eh-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (max-width:1199px) { .eh-hamburger { display: flex; } }
@media (min-width:1200px) { .eh-hamburger { display: none !important; } }

/* ═══════════════════════════════════════════════════
   SIDE DRAWER OVERLAY
═══════════════════════════════════════════════════ */
.eh-drawer-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.eh-drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════════════════
   SIDE DRAWER PANEL
═══════════════════════════════════════════════════ */
.eh-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 88vw;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  overflow-y: auto;
}
.eh-drawer.open { transform: translateX(0); }

.eh-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #edf1f5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  flex-shrink: 0;
}
.eh-drawer-logo { max-height: 38px; }
.eh-drawer-close {
  width: 36px; height: 36px;
  border: none;
  background: #f0f4f7;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #0a3a5c;
  flex-shrink: 0;
  transition: background .2s;
}
.eh-drawer-close:hover { background: #dde4ea; }

/* Nav list */
.eh-drawer-nav { flex: 1; padding: 6px 0; }
.eh-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.eh-drawer-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #0a3a5c;
  text-decoration: none;
  border-bottom: 1px solid #f0f3f6;
  transition: background .15s, color .15s;
  gap: 8px;
}
.eh-drawer-nav > ul > li > a:hover { background: #f0f7fa; color: #0aa3c2; }

/* Sub-menu */
.drawer-sub {
  display: none;
  background: #f7f9fb;
  padding: 4px 0;
}
.drawer-sub.open { display: block; }
.drawer-sub li a {
  display: block;
  padding: 10px 20px 10px 38px;
  font-size: 13.5px;
  color: #48637a;
  text-decoration: none;
  border-bottom: 1px solid #edf0f3;
  transition: color .15s, background .15s;
}
.drawer-sub li a:hover { color: #0aa3c2; background: #edf5f8; }

/* Sub-menu toggle arrow */
.eh-drawer-toggle {
  margin-left: auto;
  font-size: 11px;
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10,163,194,.1);
  color: #0aa3c2;
  flex-shrink: 0;
  transition: transform .25s, background .2s;
  cursor: pointer;
}
.eh-drawer-toggle.open { transform: rotate(180deg); background: rgba(10,163,194,.2); }

/* Drawer footer */
.eh-drawer-foot {
  padding: 18px 18px 22px;
  border-top: 1px solid #edf1f5;
  flex-shrink: 0;
}
.eh-drawer-appt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg,#e12454,#c91e48);
  color: #fff !important;
  text-align: center;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  margin-bottom: 14px;
  transition: transform .2s, box-shadow .2s;
}
.eh-drawer-appt:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(225,36,84,.35); }
.eh-drawer-langs {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.eh-drawer-langs a {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid #dde3e8;
  font-size: 13px;
  font-weight: 600;
  color: #48637a;
  text-decoration: none;
  transition: all .2s;
}
.eh-drawer-langs a.active,
.eh-drawer-langs a:hover { background: #0a3a5c; color: #fff; border-color: #0a3a5c; }

/* ═══════════════════════════════════════════════════
   TABLET + MOBİL (≤991px)
═══════════════════════════════════════════════════ */
@media (max-width:991px) {
  body { overflow-x: hidden; }
  .container { padding-left: 15px; padding-right: 15px; }
  section { padding-top: 60px !important; padding-bottom: 60px !important; }

  /* ── HEADER ── */
  /* Header slider'la üst üste gelsin */
  header { position: absolute !important; top: 15px; left: 0; right: 0; z-index: 999; background: transparent !important; }
  .top-bar4 { display: none !important; }
  .header-menu-area.menu-area4 {
    padding: 18px 15px 12px !important;
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  /* col-xl-8 zaten d-flex align-items-center — hamburger margin-left:auto ile sağa gider */
  /* .logo a img mobil boyutu admin settings'ten geliyor (#header-logo-img) */
  .header-button { display: none !important; }
  .header-right { display: none !important; }
  .header__menu.header__menu4 { display: none !important; }
  .eh-lang-mobile { display: none !important; }
  .mobile-menu { display: none !important; }
  /* Meanmenu tamamen gizle */
  .meanmenu-reveal { display: none !important; }
  .mean-container .mean-bar { display: none !important; }
  .mean-container .mean-nav { display: none !important; }

  /* ── HERO SLIDER ── */
  .hero-area, .hero-slider, .slider-active { overflow: hidden !important; max-width: 100vw !important; }
  .h4slider-bg { min-height: 420px !important; background-position: right center !important; background-size: cover !important; overflow: hidden !important; padding-top: 80px !important; }
  .hero-text { padding: 0 20px; }
  .hero-text h1, .h4hero-content h1 { font-size: 28px !important; line-height: 1.3 !important; }
  .hero-text h5, .h4hero-content h5 { font-size: 14px !important; }
  .hero-text p, .h4hero-content p { font-size: 14px !important; }
  .h4hero-content { margin-bottom: 20px !important; }
  .h4-span { display: none; }
  .btn-icon span { display: none !important; }
  .h4hero-btn .btn-icon, .slider-btn .btn-icon, .btn-icon {
    padding: 12px 24px !important;
    font-size: 13px !important;
  }
  .slider-active .slick-prev { left: 8px !important; }
  .slider-active .slick-next { right: 8px !important; }

  /* ── SECTION BAŞLIKLARI ── */
  .section-title h1 { font-size: 26px !important; line-height: 1.3 !important; }
  .section-title h5 { font-size: 13px !important; }
  .section-title { margin-bottom: 40px !important; }
  .section-back-icon { display: none !important; }
  .section-line { display: none !important; }

  /* ── HAKKINDA ── */
  .h4about-right { margin-top: 30px; }
  .h4about-right img { border-radius: 12px; width: 100%; }
  .about-overlap { display: none !important; }
  .h4author-ava { display: none; }

  /* ── HİZMETLER ── */
  .h4service-box { margin-bottom: 20px; }
  .eh-service-img { height: 180px !important; }
  .eh-service-icon { height: 180px !important; font-size: 50px !important; }
  .h4services-content { padding: 22px 18px !important; }
  .h4services-content h3 { font-size: 19px !important; }
  .h4services-content p { font-size: 14px !important; }
  .h4services-tag { font-size: 11px !important; padding: 5px 14px !important; }

  /* ── SAYAÇ ── */
  .h6fact-wrapper { padding-left: 0 !important; padding-right: 0 !important; }
  .h4facts-single { margin-bottom: 12px !important; padding: 18px 10px !important; }
  .h4facts-single .counter { font-size: 30px !important; }
  .h4facts-single h5 { font-size: 13px !important; }
  .h4facts-thumbbox { margin-top: 25px; }
  .h4facts-thumb img { width: 100%; border-radius: 12px; }

  /* ── CİHAZLAR ── */
  .eh-device-card { margin-bottom: 20px; }
  .eh-device-photo { height: 200px !important; }
  .eh-device-body { padding: 20px !important; }
  .eh-device-body h4 { font-size: 18px !important; }

  /* ── GALERİ ── */
  .eh-gallery-slider .slick-prev { left: 5px !important; }
  .eh-gallery-slider .slick-next { right: 5px !important; }
  .eh-gallery-slider .slick-arrow { width: 38px !important; height: 38px !important; font-size: 16px !important; }
  .eh-gallery-item img { height: 200px !important; object-fit: cover !important; }

  /* ── RANDEVU FORMU (ANASAYFA) ── */
  .appoinment.pos-rel { overflow: hidden; }
  .h4appoinment-thumb { display: none !important; }
  .col-xl-6.offset-xl-6 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .h4appoinment-wrapper {
    background: linear-gradient(135deg,#0a3a5c,#0c4872) !important;
    padding: 40px 20px !important;
    margin: 0 !important;
  }
  .h4appoinment-wrapper .about-title h5 { color: #7ecfe0 !important; }
  .h4appoinment-wrapper .about-title h1 { color: #fff !important; font-size: 24px !important; }
  .h4appoinment-input { margin-bottom: 18px !important; position: relative; }
  .h4appoinment-input input,
  .h4appoinment-input select {
    font-size: 15px !important;
    padding: 14px 14px 14px 46px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.1) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    color: #fff !important;
  }
  .h4appoinment-input input::placeholder { color: rgba(255,255,255,.6) !important; }
  .h4appoinment-input select option { color: #0a3a5c; background: #fff; }
  .h4input-icon {
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 15px !important;
    color: rgba(255,255,255,.7) !important;
    position: absolute !important;
  }
  .h4appoinment-button .btn-icon {
    width: 100%;
    justify-content: center;
  }
  .h4appoinment-form .row { margin: 0 -8px; }
  .h4appoinment-form .col-lg-6 { padding: 0 8px; }

  /* ── HASTA YORUMLARI ── */
  .h4testimonials { padding: 22px 18px !important; border-radius: 12px !important; }
  .h4testimonials-content p { font-size: 13px !important; line-height: 1.6 !important; }
  .h4testi-col { padding-left: 15px !important; }

  /* ── HOWİTWORKS (ADIMLAR) ── */
  .howit-box { margin-bottom: 30px; }
  .move-icon { display: none !important; }

  /* ── HİRİNG ── */
  .hire-right-img { height: 260px !important; margin-top: 25px; border-radius: 12px; }

  /* ── FOOTER ── */
  .footer-top { padding: 50px 0 30px !important; }
  .footer-widget { margin-bottom: 25px; }
  .footer-widget h3 { font-size: 18px !important; }
  .footer-bottom { padding: 15px 0 !important; }
  .footer-bottom p { font-size: 12px !important; }
  /* .footer-logo a img mobil boyutu admin settings'ten geliyor */
  .footer-emailing ul li { font-size: 13px; }

  /* ── BREADCRUMB / BANNER ── */
  .breadcrumb-area { padding: 60px 0 !important; }
  .breadcrumb-area h1 { font-size: 26px !important; }
  .breadcrumb-menu { font-size: 13px !important; }

  /* ── RANDEVU SAYFASI ── */
  .eh-booking { padding: 20px !important; margin-bottom: 16px !important; }
  .eh-booking h4 { font-size: 18px !important; }
  .cal-grid { gap: 4px !important; }
  .cal-day { font-size: 12px !important; }
  .slots { grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; }

  /* ── İLETİŞİM ── */
  .contact-area iframe { height: 250px !important; }

  /* ── GENEL BUTONLAR ── */
  .btn-icon { position: relative !important; padding: 12px 22px !important; font-size: 14px !important; }
  .btn-icon span { display: none !important; }

  /* Scroll-to-top mobilde gizle */
  #scrollUp { display: none !important; }

  /* ── WHATSAPP BUTONU ── */
  a[href*="wa.me"] {
    bottom: 70px !important;
    right: 15px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
  }

  /* ── ESTETİK CROSSLINK ── */
  .est-crosslink { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   KÜÇÜK EKRANLAR (≤575px)
═══════════════════════════════════════════════════ */
@media (max-width:575px) {
  .header-menu-area.menu-area4 { padding: 0 12px !important; }
  /* .logo a img 480px boyutu admin settings'ten geliyor */
  .eh-hamburger { width: 40px; height: 40px; }

  /* Hero */
  .h4slider-bg { min-height: 340px !important; }
  .hero-text h1, .h4hero-content h1 { font-size: 22px !important; }
  .hero-text p, .h4hero-content p { display: none !important; }

  /* Section başlıkları */
  .section-title h1 { font-size: 22px !important; }
  section { padding-top: 45px !important; padding-bottom: 45px !important; }

  /* Hizmetler */
  .eh-service-img { height: 160px !important; }
  .eh-service-icon { height: 160px !important; }
  .h4services-content { padding: 16px 14px !important; }
  .h4services-content h3 { font-size: 17px !important; }

  /* Counter */
  .h4facts-single .counter { font-size: 26px !important; }
  .h4facts-single { padding: 14px 8px !important; }
  .h4facts-thumbbox { display: none !important; }

  /* Galeri */
  .eh-gallery-item img { height: 160px !important; }

  /* Randevu sayfası */
  .slots { grid-template-columns: repeat(2,1fr) !important; }

  /* Footer */
  .footer-top { text-align: center !important; }
  .footer-area ul { padding-left: 0 !important; }
  .footer-emailing ul li { justify-content: center !important; }
  .h4footer-social ul { justify-content: center !important; }

  /* Butonlar */
  .btn-icon { position: relative !important; padding: 11px 18px !important; font-size: 13px !important; }
  .btn-icon span { display: none !important; }

  /* Randevu formu */
  .h4appoinment-wrapper .about-title h1 { font-size: 20px !important; }
}

/* ═══════════════════════════════════════════════════
   MOBİL SABIT RANDEVU BUTONU
═══════════════════════════════════════════════════ */
@media (max-width:991px) {
  .eh-mobile-cta {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 997;
    background: linear-gradient(135deg,#e12454,#c91e48);
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    box-shadow: 0 -4px 20px rgba(225,36,84,.3);
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .eh-mobile-cta i { font-size: 20px; }
  .eh-mobile-cta:hover { color: #fff; text-decoration: none; }
  body { padding-bottom: 60px; }
}
@media (min-width:992px) {
  .eh-mobile-cta { display: none !important; }
}
