/* ================================================================
   hasimatodiyeti.com — tema özelleştirmeleri (Stravise üzerine)
   Marka paleti: fonksiyonel tıp / sindirim sağlığı — sakin yeşil
   ================================================================ */

:root {
  --sd-primary: #a4574f;   /* terracotta (lipödem sıcak toprak) */
  --sd-accent: #c98a4b;    /* bakır-amber vurgu */
  --sd-dark: #2b1d1a;
  --sd-light: #f9f1ed;
}

/* Logo metni (özel logo yüklenene kadar ve metin-logo tercihinde) */
.site-logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--sd-dark);
  white-space: nowrap;
}

.site-logo-text::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sd-accent);
  margin-left: 4px;
}

.site-logo-text--light {
  color: #ffffff;
}

/* WhatsApp sabit buton */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* Footer iletişim listesi */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.footer-contact-list li {
  margin-bottom: 6px;
}

/* Yukarı dön butonu WhatsApp'la çakışmasın */
.backtotop-wrap {
  right: 92px !important;
}

/* Mobilde WhatsApp biraz küçülsün */
@media (max-width: 575px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    right: 16px;
    bottom: 16px;
  }

  .backtotop-wrap {
    right: 78px !important;
  }
}

/* Hero (above-the-fold) elemanları animasyona emanet edilmez — her koşulda görünür.
   (GSAP fade'i ilk ekranda gecikme/riske yol açıyor; LCP için de animasyonsuz doğru) */
.banner-section-4__area .fade-top,
.banner-section-4__dec,
.banner-section-4__btn {
  opacity: 1 !important;
  transform: none !important;
}

/* Hero başlık/alt başlık harf animasyonu (SplitText) da ilk ekranda riske edilmez */
.banner-section-4__title,
.banner-section-4__title *,
.banner-section-4__subtitle,
.banner-section-4__subtitle * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ============ İç sayfa içerik tipografisi (.sd-content) ============ */
.sd-content h1, .sd-content h2, .sd-content h3 {
  color: var(--sd-dark);
  margin: 1.6em 0 0.6em;
  line-height: 1.3;
}
.sd-content h1 { font-size: 34px; margin-top: 0; }
.sd-content h2 { font-size: 26px; }
.sd-content h3 { font-size: 21px; }
.sd-content p { margin-bottom: 1em; line-height: 1.8; }
.sd-content ul, .sd-content ol { margin: 0 0 1.2em 1.2em; line-height: 1.8; }
.sd-content li { margin-bottom: .4em; }
.sd-content img { max-width: 100%; border-radius: 12px; margin: .5em 0 1em; }
.sd-content a { color: var(--sd-primary); text-decoration: underline; }
.sd-content blockquote {
  border-left: 4px solid var(--sd-accent);
  background: var(--sd-light);
  padding: 1em 1.2em;
  border-radius: 0 10px 10px 0;
  margin: 1.2em 0;
}

/* İç sayfa form stilleri */
.sd-form label { display: block; font-weight: 600; color: var(--sd-dark); margin-bottom: 6px; }
.sd-form input, .sd-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ead8cf;
  border-radius: 10px;
  font: inherit;
  margin-bottom: 18px;
  background: #fff;
}
.sd-form input:focus, .sd-form textarea:focus {
  outline: 2px solid var(--sd-primary);
  border-color: transparent;
}
.sd-form .hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.sd-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.sd-alert.success { background: #f6e6dd; color: #1d5c3d; }
.sd-alert.error { background: #fdecec; color: #8f2020; }

/* SSS accordion (açık zemin) */
.sd-faq .accordion-item {
  border: 1px solid #eddcd3;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.sd-faq .accordion-button {
  font-weight: 600;
  color: var(--sd-dark);
  background: #fff;
  box-shadow: none;
}
.sd-faq .accordion-button:not(.collapsed) { background: var(--sd-light); color: var(--sd-primary); }
.sd-faq .accordion-body { color: #5a4a44; line-height: 1.75; }

/* Süreç adımları */
.sd-steps { counter-reset: sdstep; list-style: none; margin: 1em 0 0; padding: 0; }
.sd-steps li {
  position: relative;
  padding: 0 0 22px 56px;
  counter-increment: sdstep;
}
.sd-steps li::before {
  content: counter(sdstep, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sd-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.sd-steps li strong { display: block; color: var(--sd-dark); margin-bottom: 2px; }

/* Blog detay meta satırı */
.sd-post-meta { display: flex; gap: 14px; flex-wrap: wrap; color: #7a6a64; font-size: 15px; margin-bottom: 22px; }
.sd-post-meta .cat { color: var(--sd-primary); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }

/* Hero aksiyon grubu + hayalet (ghost) ikincil buton */
.sd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sd-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  color: #ffffff !important;
  font-weight: 600;
  transition: all .25s ease;
  backdrop-filter: blur(2px);
}
.sd-btn-ghost:hover { background: #25d366; border-color: #25d366; color: #fff !important; }

/* Hero fotoğrafı üstüne okunabilirlik overlay'i */
.banner-section-4__wrapper[data-background] { position: relative; background-size: cover; background-position: center; }
.banner-section-4__wrapper[data-background]::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18, 28, 24, 0.88) 0%, rgba(18, 28, 24, 0.72) 45%, rgba(18, 28, 24, 0.35) 100%);
}

/* Breadcrumb görseli karartma */
.sd-breadcrumb-bg { position: relative; background-size: cover; background-position: center 35%; }
.sd-breadcrumb-bg::before { content: ""; position: absolute; inset: 0; background: rgba(18, 28, 24, 0.82); }
.sd-breadcrumb-bg .container { position: relative; z-index: 1; }

/* Masaüstü header sıkılaştırma: buton tek satır, menü tek satıra sığar */
.rr-header__btn a { white-space: nowrap; }
@media (min-width: 992px) {
  .rr-header__menu__wrapper .main-menu nav > ul > li > a {
    font-size: 15px;
    letter-spacing: 0;
  }
  .rr-header__menu__wrapper .main-menu nav > ul { flex-wrap: nowrap; }
  .rr-header__menu__wrapper .main-menu nav > ul > li { white-space: nowrap; }
}

@media (min-width: 992px) {
  .rr-header__menu__wrapper .main-menu nav > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
  }
  .rr-header__menu__wrapper { max-width: none !important; }
}

/* ScrollSmoother devre dışı — wrapper'ların transform/fixed kalıntılarını nötrle */
#smooth-wrapper, #smooth-content {
  position: static !important;
  transform: none !important;
  height: auto !important;
  overflow: visible !important;
}


/* ============ Hashimoto marka boyaması: petrol mavisi ============ */
.rr-btn, .rr-btn_2 { background-color: #f3d5c8 !important; color: #2b1d1a !important; }
.rr-btn:hover, .rr-btn_2:hover { color: #2b1d1a !important; }
.heading-bg, .footer-section-4__area.heading-bg, .breadcrumb-section__area.heading-bg,
#rr-header-sticky.heading-bg { background-color: #2b1d1a !important; }
.sd-breadcrumb-bg::before { background: rgba(23, 38, 44, 0.84); }
.banner-section-5__area.heading-bg { background-color: #2b1d1a !important; }
.sd-btn-ghost--dark { border-color: rgba(255,255,255,.4); }
/* header-5 koyu zeminde menü linkleri beyaz */
.rr-header-5 .main-menu nav > ul > li > a { color: #fff; }

/* header-5 düzen incelikleri */
.rr-header-5 .rr-header__main { display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; }
.rr-header-5__right { display: flex; align-items: center; gap: 26px; }
.rr-header-5 .rr-header__btn a { white-space: nowrap; }
/* banner-5: fixed/sticky header altında başlık kesilmesin */
.banner-section-5__area { padding-top: 120px; }

/* 9) Hizmet detayı derinlik paketi (2026-07-16) */
.sd-scope__card { border: 1px solid rgba(25,41,41,.12); border-radius: 14px; padding: 1.75rem 1.75rem 1.5rem; height: 100%; }
.sd-scope__card h3 { font-size: 1.1rem; margin: 0 0 1rem; }
.sd-scope__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.sd-scope__card li { display: flex; align-items: start; gap: .6rem; font-size: .95rem; line-height: 1.5; }
.sd-scope__card--yes { background: rgba(184, 221, 117, .1); }
.sd-scope__card--yes i { color: #4c7a2e; margin-top: .2rem; }
.sd-scope__card--no { background: rgba(25,41,41,.03); }
.sd-scope__card--no i { color: rgba(25,41,41,.55); margin-top: .25rem; font-size: .8rem; }
.sd-scope__card--no li { color: rgba(25,41,41,.75); }

.sd-expert { display: flex; align-items: center; gap: 1.1rem; margin: 2.5rem 0; padding: 1.25rem 1.5rem; background: var(--sd-light); border-radius: 14px; }
.sd-expert img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sd-expert__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #4d5a56; margin-bottom: .15rem; }
.sd-expert__text h3 { margin: 0; font-size: 1.05rem; }
.sd-expert__text h3 a { color: inherit; text-decoration: none; }
.sd-expert__text h3 a:hover { text-decoration: underline; }
.sd-expert__text p { margin: .2rem 0 0; font-size: .88rem; color: rgba(25,41,41,.65); }

.sd-cta-band { margin-top: 2.5rem; text-align: center; background: var(--sd-light); border-radius: 14px; padding: 2.25rem 2rem; }
.sd-cta-band h3 { margin-top: 0; }
.sd-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.25rem; }
.sd-cta-band__link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: #14402c; text-decoration: none; }
.sd-cta-band__link:hover { text-decoration: underline; }

/* 10) Arama sayfası (/ara) — çekirdek arama rotası 20.09.2026'da temaya bağlandı */
.sd-search__form { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.sd-search__form input[type="search"] {
  flex: 1 1 260px; min-width: 0; padding: 14px 18px; font-size: 1rem;
  border: 1px solid rgba(43, 29, 26, .18); border-radius: 12px; background: #fff; color: var(--sd-dark);
}
.sd-search__form input[type="search"]:focus { outline: 2px solid var(--sd-primary); outline-offset: 1px; border-color: transparent; }
.sd-search__pop { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.sd-search__pop-l { font-size: .85rem; color: rgba(43, 29, 26, .6); }
.sd-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .85rem; text-decoration: none;
  background: var(--sd-light); color: var(--sd-dark); border: 1px solid transparent;
}
.sd-tag:hover { border-color: var(--sd-primary); color: var(--sd-primary); }
.sd-tag.is-active { background: var(--sd-primary); color: #fff; }
.sd-search__msg { font-size: 1.05rem; color: rgba(43, 29, 26, .75); margin: 1.5rem 0; }
.sd-search__count { font-size: .9rem; color: rgba(43, 29, 26, .6); margin-bottom: 1rem; }
.sd-search__facets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.sd-search__list { display: grid; gap: 1.25rem; }
.sd-sres { padding: 1.4rem 1.6rem; background: var(--sd-light); border-radius: 14px; }
.sd-sres__type { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--sd-primary); font-weight: 600; margin-bottom: .35rem; }
.sd-sres__t { font-size: 1.15rem; margin: 0 0 .4rem; }
.sd-sres__t a { color: var(--sd-dark); text-decoration: none; }
.sd-sres__t a:hover { color: var(--sd-primary); }
.sd-sres__x { font-size: .93rem; line-height: 1.6; color: rgba(43, 29, 26, .75); margin: 0 0 .6rem; }
.sd-sres mark { background: rgba(201, 138, 75, .28); color: inherit; padding: 0 2px; border-radius: 3px; }
.sd-sres__more { font-weight: 500; color: var(--sd-primary); text-decoration: none; font-size: .9rem; }
.sd-sres__more:hover { text-decoration: underline; }
@media (max-width: 575px) { .sd-sres { padding: 1.15rem 1.2rem; } .sd-search__form input[type="search"] { padding: 12px 15px; } }
.sd-contact__intro { font-size: 15px; line-height: 1.7; color: rgba(43, 29, 26, .78); margin: 0 0 1.5rem; }

/* 11) Mevzuat bandı (RG 33075) — künye + yasal notlar; panel boşsa hiç basılmaz */
.sd-foot__legalwrap { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0 .4rem; }
.sd-foot__legal { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.62); margin: 0 0 .35rem; }
.sd-foot__legal:last-child { margin-bottom: 0; }
.sd-post__byline { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(43,29,26,.12); font-size: 13px; color: rgba(43,29,26,.6); }
label.sd-form__consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0; font-size: 14px; line-height: 1.55; color: rgba(43,29,26,.8); font-weight: 400; cursor: pointer; }
label.sd-form__consent input { margin-top: .25rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--sd-primary); }
label.sd-form__consent a { color: var(--sd-primary); text-decoration: underline; }
.sd-form__err { color: #b3261e; font-size: 13px; margin: -.75rem 0 1rem; }
