/* Doktorhanem: responsive header + homepage hero, 23.10.2026 */
.edm-header{background:linear-gradient(105deg,#007f78,#009f91);box-shadow:none}
.edm-header-inner{gap:20px;padding:13px 0;min-height:74px}
.dh-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.dh-brand-mark{position:relative;display:block;width:66px;height:47px;overflow:hidden}
.dh-brand-mark img{position:absolute;max-width:none;width:112px;height:auto;left:-23px;top:0;filter:none}
.dh-brand-name{font-size:21px;line-height:1;font-weight:800;letter-spacing:.8px;color:#8cdeed;white-space:nowrap}
.edm-nav{margin-left:auto;gap:2px}
.edm-nav>a,.edm-nav-dropdown>a{display:block;padding:10px 14px;font-size:12px;font-weight:700;white-space:nowrap}
.edm-nav a.active{background:#28b18c}
.edm-header-right{gap:8px;flex-shrink:0}
.edm-header-cta,.edm-randevu-btn{padding:10px 16px;font-size:13px;line-height:1.6;border-radius:10px;white-space:nowrap}
.edm-header-cta i,.edm-randevu-btn i{font-size:19px;margin-right:4px}
.edm-randevu-btn{background:#00766e}
.edm-nav-dropdown:focus-within .edm-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dh-mobile-appointment{display:none}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #b5f6da;outline-offset:4px}
.dh-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#006b68,#009d90);color:#fff}
.dh-slide{position:relative;min-height:370px}
.dh-slide[hidden]{display:none}
.dh-hero-inner{position:relative;z-index:3;display:flex;align-items:center;min-height:370px}
.dh-hero-copy{width:49%;padding:48px 0 50px 36px}
.dh-hero-copy h1,.dh-hero-copy h2{font-size:clamp(35px,4.25vw,58px);letter-spacing:-1.8px;color:#fff;font-weight:800;line-height:1.07;margin:0 0 5px}
.dh-hero-copy strong{display:block;font-size:1.43em;font-weight:900;color:#baf8d6;letter-spacing:-3px}
.dh-hero-copy p{font-size:21px;line-height:1.35;max-width:440px;color:#d9efeb;margin:0 0 16px}
.dh-hero-actions{display:flex;gap:10px;margin-top:15px}
.dh-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:11px 24px;border-radius:11px;font-size:18px;font-weight:800;white-space:nowrap}
.dh-action i{font-size:30px}
.dh-action-call{background:#fff;color:#006b65}
.dh-action-wa{background:#1dcc5c;color:#fff}
.dh-action:hover{transform:translateY(-2px);filter:brightness(1.05)}
.dh-hero-photo{position:absolute;inset:0 0 0 41%;z-index:1;mask-image:linear-gradient(to right,transparent,#000 22%);-webkit-mask-image:linear-gradient(to right,transparent,#000 22%)}
.dh-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.dh-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,140,126,.18),transparent 70%)}
.dh-hero-decoration{position:absolute;inset:0;z-index:2;pointer-events:none}
.dh-orb{position:absolute;border-radius:50%;background:rgba(89,222,198,.17)}
.dh-orb-one{width:180px;height:180px;left:-65px;top:35%}
.dh-orb-two{width:105px;height:105px;left:20px;bottom:4%}
.dh-orb-three{width:190px;height:190px;right:-95px;top:25%}
.dh-house{position:absolute;width:230px;height:230px;color:#8de6b6;opacity:.19;left:43%;top:14%}
.dh-heart{position:absolute;left:44%;top:7%;font-size:63px;color:#45d1b2;opacity:.4;transform:rotate(-18deg)}
.dh-slider-controls{position:absolute;z-index:4;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px}
.dh-slider-dot{width:12px;height:12px;border:0;border-radius:50%;background:#ffffff70;padding:0;cursor:pointer;position:relative}
.dh-slider-dot:before{content:"";position:absolute;inset:-8px}
.dh-slider-dot.is-active{background:#fff}
.dh-slider-arrow{background:transparent;border:0;color:#fff;font:30px/1 sans-serif;cursor:pointer;padding:0 8px}

@media(min-width:1101px) and (max-width:1250px){.edm-header-inner{gap:12px}.dh-brand-name{font-size:18px}.dh-brand{gap:6px}.edm-nav>a,.edm-nav-dropdown>a{padding:10px}.edm-header-cta,.edm-randevu-btn{padding:10px 12px}}

@media(max-width:1100px){
  .edm-header .container{padding-left:20px;padding-right:20px}
  .edm-header-inner{min-height:86px;padding:16px 0;gap:14px}
  .edm-nav{display:none}.edm-header-cta,.edm-randevu-btn,.edm-mob-phone{display:none!important}
  .edm-burger.dh-menu-toggle{display:block;flex-shrink:0;margin:0;padding:6px 0;order:-1}
  .edm-burger span{width:24px;height:3px;margin:6px 0}
  .dh-brand{gap:8px;margin-right:auto}.dh-brand-name{font-size:20px}.dh-brand-mark{width:61px;height:48px}
  .dh-brand-mark img{width:108px;left:-23px}
  .edm-header-right{gap:20px}.dh-mobile-appointment{display:flex;background:none;border:0;color:white;align-items:center;justify-content:center;padding:4px;cursor:pointer;font-size:29px;min-width:36px;min-height:44px}
  
  /* Safari için alt boşluğu ve body arkasını sabitleyen kesin kodlar */
  html{
    background-color: #00c96c;
  }
  body{
    padding-bottom: 0 !important;
    background-color: #00c96c !important;
  }
  .edm-mobile-bar{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    border: 0;
    background: #00c96c;
    min-height: 66px;
    padding: 0 !important;
    /* Safari'nin alt çizgi boşluğunu yeşil alanın içine dahil eder */
    padding-bottom: env(safe-area-inset-bottom) !important;
    box-sizing: content-box;
  }
  .edm-mobile-bar a{
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    font-size: 19px;
    line-height: 1.1;
    padding: 18px 8px;
    color: #fff !important;
  }
  .edm-mobile-bar a.edm-mb-phone{background:#006399}
  .edm-mobile-bar a.edm-mb-wa{background:#00c96c}
  .edm-mobile-bar a.edm-mb-phone i{font-size:32px}
  .edm-mobile-bar a.edm-mb-wa i{font-size:40px}
  .edm-wa{display:none}
  
  .cookie-banner{bottom:calc(66px + 16px);padding:16px}
  #mobMenuPanel{width:min(340px,90vw)}
}

@media(min-width:701px) and (max-width:1100px){.dh-hero-copy{padding-left:0}.dh-hero-copy p{font-size:18px}.dh-action{font-size:14px;padding:10px 16px}.dh-action i{font-size:24px}}

@media(max-width:700px){
  .edm-header .container{padding-left:17px;padding-right:17px}.edm-header-inner{min-height:84px;gap:12px}
  .dh-brand-name{font-size:clamp(13px,3.5vw,22px);letter-spacing:.2px}.dh-brand-mark{width:49px;height:42px}.dh-brand-mark img{width:92px;left:-21px}
  .edm-header-right{gap:12px}.dh-mobile-appointment{font-size:27px;min-width:30px;padding:0}
  .dh-slide,.dh-hero-inner{min-height:0;height:140vw;max-height:1000px}
  .dh-hero-inner{align-items:flex-start;padding-left:26px;padding-right:26px;pointer-events:none}
  .dh-hero-copy{width:100%;padding:44px 0 0;pointer-events:auto}
  .dh-hero-copy h1,.dh-hero-copy h2{font-size:clamp(27px,8vw,56px);letter-spacing:-1.2px;max-width:100%;line-height:1.07}
  .dh-hero-copy strong{font-size:1.55em;letter-spacing:-2px}
  .dh-hero-copy p{font-size:clamp(17px,4.1vw,28px);line-height:1.28;max-width:89%;margin-top:10px}
  .dh-hero-photo{inset:29% 0 0;mask-image:linear-gradient(to bottom,transparent,#000 19%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 19%)}
  .dh-hero-photo img{object-position:52% 50%;object-fit:cover}
  .dh-hero-photo:after{background:linear-gradient(0deg,rgba(0,104,94,.15),transparent 45%)}
  .dh-hero-actions{display:none}
  .dh-house{width:39vw;height:39vw;left:auto;right:-5%;top:18%}.dh-heart{left:auto;right:26%;top:13%;font-size:48px}
  .dh-orb-one{width:150px;height:150px;top:34%;left:-100px}.dh-orb-two{width:70px;height:70px;left:66%;top:2%}.dh-orb-three{width:190px;height:190px;right:-100px;top:-3%}
  .dh-slider-controls{bottom:20px}.dh-slider-dot{width:12px;height:12px}
  .edm-mobile-bar a{font-size:clamp(15px,4.1vw,24px);gap:10px;min-height:66px}
}

@media(max-width:360px){.edm-header-inner{gap:8px}.edm-header-right{gap:8px}.dh-brand{gap:4px}.dh-brand-mark{width:40px}.dh-brand-mark img{left:-25px}.dh-mobile-appointment{font-size:24px;min-width:26px}.dh-hero-copy{padding-top:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Slider navbarın hemen altında boşluksuz başlasın */
.edm-header {
    margin-bottom: 0 !important;
}
.dh-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Masaüstü düzeltmesi; mobilin mevcut yerleşimi korunur. */
@media (min-width: 701px) {
    .dh-hero .dh-hero-inner { align-items: flex-start; }
    .dh-hero .dh-hero-copy { padding-top: 0; }
}

/* Masaüstü: referans tasarıma uygun genişlik ve üst boşluk */
@media (min-width: 1101px) {
    section.dh-hero > article.dh-slide,
    section.dh-hero .container.dh-hero-inner {
        min-height: 420px;
    }
    section.dh-hero .container.dh-hero-inner {
        max-width: 1280px;
        align-items: flex-start !important;
    }
    section.dh-hero .container.dh-hero-inner .dh-hero-copy {
        padding-top: 56px !important;
        padding-bottom: 56px;
    }
}