
/* === ChatGPT site polish overrides === */
/* Price buttons green */
a.ghost-btn[href="fiyat-al.html"],
a.ghost-btn[href="./fiyat-al.html"],
a.ghost-btn[href="../fiyat-al.html"],
a.ghost-btn[href*="/fiyat-al.html"]{
  background: linear-gradient(135deg,#22c55e 0%,#16a34a 100%) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 16px 32px rgba(34,197,94,.26) !important;
}
a.ghost-btn[href="fiyat-al.html"]:hover,
a.ghost-btn[href="./fiyat-al.html"]:hover,
a.ghost-btn[href="../fiyat-al.html"]:hover,
a.ghost-btn[href*="/fiyat-al.html"]:hover{
  box-shadow:0 20px 38px rgba(34,197,94,.34) !important;
}

/* Contact buttons green */
a.ghost-btn[href="iletisim.html"],
a.ghost-btn[href="./iletisim.html"],
a.ghost-btn[href="../iletisim.html"],
a.ghost-btn[href*="/iletisim.html"],
a.primary-btn[href="iletisim.html"],
a.primary-btn[href="./iletisim.html"],
a.primary-btn[href="../iletisim.html"],
a.primary-btn[href*="/iletisim.html"]{
  background: linear-gradient(135deg,#22c55e 0%,#16a34a 100%) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 16px 32px rgba(34,197,94,.26) !important;
}

/* Richer link styles */
.link-chip,
.blog-hero-point-list span,
.region-city-badge,
.site-footer a,
.desktop-nav .nav-link,
.mobile-drawer a{
  transition:all .2s ease;
}
.site-footer a{color:#d8e7ff !important; position:relative; width:max-content;}
.site-footer a:hover{color:#7dd3fc !important; transform:translateX(2px);}
.link-chip{
  background:linear-gradient(135deg,#eff6ff 0%,#ecfeff 100%) !important;
  color:#0b4fd8 !important;
  border:1px solid #bfdbfe !important;
  box-shadow:0 8px 16px rgba(37,99,235,.08);
}
.link-chip:hover{transform:translateY(-2px); box-shadow:0 12px 22px rgba(37,99,235,.14);}

/* CTA promo cards with real photos */
.quote-promo-card{
  position:relative !important;
  overflow:hidden !important;
  min-height:280px;
  display:flex !important;
  flex-direction:column;
  justify-content:flex-end;
  background:#0d1a33 !important;
  isolation:isolate;
}
.quote-promo-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(6,19,48,.22) 0%,rgba(7,16,35,.74) 72%),
    url('images/contact-rug.jpg') center/cover no-repeat;
  z-index:-2;
}
.quote-promo-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(6,15,33,.78) 0%,rgba(6,15,33,.30) 48%,rgba(6,15,33,.06) 100%);
  z-index:-1;
}
.quote-promo-card strong,.quote-promo-card p{position:relative; z-index:1; text-shadow:0 1px 3px rgba(0,0,0,.25);}
.quote-promo-card.unified-promo-card::before,
.buca-page .quote-promo-card::before,
.cigli-page .quote-promo-card::before,
.eskisehir-page .quote-promo-card::before,
.gemlik-page .quote-promo-card::before,
.inegol-page .quote-promo-card::before,
.karatay-page .quote-promo-card::before,
.karsiyaka-page .quote-promo-card::before,
.mudanya-page .quote-promo-card::before,
.selcuklu-page .quote-promo-card::before,
.yildirim-page .quote-promo-card::before{
  background:
    linear-gradient(135deg,rgba(6,19,48,.24) 0%,rgba(7,16,35,.76) 72%),
    url('images/contact-team.jpg') center/cover no-repeat;
}

/* Universal photo cards for homepage, service pages, region pages and blog pages */
.seo-rich-section .blog-card-grid > a.blog-card,
body.blog-page .related-posts-list a{
  position:relative;
  overflow:hidden;
  display:block;
  min-height:0 !important;
  padding:190px 20px 20px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
  border:1px solid #dbe5f2 !important;
  box-shadow:0 16px 34px rgba(15,23,42,.07) !important;
}
.seo-rich-section .blog-card-grid > a.blog-card::before,
body.blog-page .related-posts-list a::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:150px;
  background:
    linear-gradient(135deg,rgba(7,18,44,.08),rgba(7,18,44,.02)),
    var(--card-image, url('images/premium-rug-detail.jpg')) center/cover no-repeat;
}
.seo-rich-section .blog-card-grid > a.blog-card::after{
  content:"→";
  position:absolute;
  right:18px;
  top:18px;
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#0b4fd8;
  font-weight:900;
  box-shadow:0 10px 18px rgba(15,23,42,.10);
}
body.blog-page .related-posts-list a::after{
  content:"Yazıya git";
  position:absolute;
  left:16px; top:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#0b4fd8;
  font-size:12px;
  font-weight:800;
}
.seo-rich-section .blog-card-grid > a.blog-card span{
  display:inline-flex; align-items:center; width:max-content; min-height:34px;
  padding:6px 12px; border-radius:999px;
  background:linear-gradient(135deg,#dbeafe,#ecfeff);
  color:#0b4fd8 !important; font-weight:800;
}

/* Specific image mapping by destination */
.seo-rich-section .blog-card-grid > a.blog-card[href*="hali-yikama-fiyatlari"],
body.blog-page .related-posts-list a[href*="hali-yikama-fiyatlari"]{--card-image:url('images/blog-rug-user-5.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="hali-yikama-ne-kadar-surer"],
body.blog-page .related-posts-list a[href*="hali-yikama-ne-kadar-surer"]{--card-image:url('images/blog-rug-user-7.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="koltuk-yikama-oncesi-hazirlik"],
body.blog-page .related-posts-list a[href*="koltuk-yikama-oncesi-hazirlik"]{--card-image:url('images/blog-koltuk-user-4.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="stor-perde-yikama-rehberi"],
body.blog-page .related-posts-list a[href*="stor-perde-yikama-rehberi"]{--card-image:url('images/blog-stor-user-4.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="hali-bakimi-ve-koku-onleme"],
body.blog-page .related-posts-list a[href*="hali-bakimi-ve-koku-onleme"]{--card-image:url('images/blog-rug-user-6.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="fiyat-al.html"]{--card-image:url('images/before-after.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="hizmetler.html"]{--card-image:url('images/service-tesis.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="iletisim.html"]{--card-image:url('images/contact-team.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="index.html"]{--card-image:url('images/slider-closeup.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="hali-yikama.html"]{--card-image:url('images/premium-rug-yellow-machine.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="koltuk-yikama.html"]{--card-image:url('images/hizmet-koltuk.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="stor-perde-yikama.html"]{--card-image:url('images/blog-stor-perde.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="yorgan-yikama.html"]{--card-image:url('images/blog-yorgan.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="battaniye-yikama.html"]{--card-image:url('images/blog-battaniye.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="yerinde-halifleks-yikama.html"]{--card-image:url('images/premium-rug-foam.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href*="bolgeler.html"]{--card-image:url('images/contact-rug.jpg');}

/* Fallback mapping by text content helpers when destination is repeated/generic */
.seo-rich-section .blog-card-grid > a.blog-card h3,
body.blog-page .related-posts-list a strong{position:relative; z-index:1;}
.seo-rich-section .blog-card-grid > a.blog-card:hover,
body.blog-page .related-posts-list a:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 46px rgba(15,23,42,.12) !important;
}

/* Blog pages: less empty space + images in FAQ cards */
body.blog-page .compact-faq-grid.unified-faq-grid{gap:16px !important;}
body.blog-page .mini-faq-card{
  position:relative;
  overflow:hidden;
  padding:112px 20px 20px !important;
  min-height:0 !important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
  border:1px solid #dbe5f2 !important;
}
body.blog-page .mini-faq-card::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:82px;
  background:
    linear-gradient(135deg,rgba(7,18,44,.18),rgba(7,18,44,.02)),
    url('images/contact-rug.jpg') center/cover no-repeat;
}
body.blog-page .mini-faq-card::after{
  content:"Sık soru";
  position:absolute;
  left:16px; top:14px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#0b4fd8;
  font-size:12px;
  font-weight:800;
}
body.blog-page .mini-faq-card h3{margin-bottom:10px !important;}

/* Article/body links more obvious */
.article-content a,
.seo-rich-section a,
.section-card a{
  text-decoration:none;
}

/* Keep images tidy on small screens */
@media (max-width: 900px){
  body.blog-page .related-posts-list,
  body.blog-page .compact-faq-grid.unified-faq-grid,
  .seo-rich-section .blog-card-grid{grid-template-columns:1fr !important;}
  body.blog-page .mini-faq-card,
  body.blog-page .related-posts-list a,
  .seo-rich-section .blog-card-grid > a.blog-card{padding-left:18px !important; padding-right:18px !important;}
  .quote-promo-card{min-height:240px;}
}

/* === topbar premium compact fix === */
.topbar {
  position: relative;
  z-index: 20;
}
.topbar .topbar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 62px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.topbar .topbar-inner > span {
  flex: 1 1 auto !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
}
.topbar-actions a[href^="tel:"],
.topbar-actions a[href*="wa.me"] {
  min-height: 44px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.18) !important;
}
.topbar-actions a[href^="tel:"] {
  min-width: 138px !important;
}
.topbar-actions a[href*="wa.me"] {
  min-width: 174px !important;
}
@media (max-width: 980px) {
  .topbar .topbar-inner {
    gap: 12px !important;
  }
  .topbar .topbar-inner > span {
    font-size: 14px !important;
  }
  .topbar-actions a[href^="tel:"],
  .topbar-actions a[href*="wa.me"] {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}
@media (max-width: 760px) {
  .topbar .topbar-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .topbar .topbar-inner > span {
    white-space: normal !important;
    text-overflow: initial !important;
    overflow: visible !important;
    font-size: 14px !important;
  }
  .topbar-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .topbar-actions a[href^="tel:"],
  .topbar-actions a[href*="wa.me"] {
    flex: 0 1 auto !important;
    min-width: 132px !important;
  }
}
@media (max-width: 520px) {
  .topbar-actions {
    gap: 10px !important;
  }
  .topbar-actions a[href^="tel:"],
  .topbar-actions a[href*="wa.me"] {
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}

/* === tighter content spacing === */
.section-card p,
.section-card li,
.seo-copy p,
.article-content p,
.blog-page .article-content p,
.unified-section-card p,
.note-box,
.related-posts-list small,
.blog-card p,
.service-card-v3 p,
.visual-step p,
.why-card p,
.region-card p,
.contact-card p {
  line-height: 1.58 !important;
}
.section-card p,
.seo-copy p,
.article-content p,
.blog-page .article-content p,
.unified-section-card p,
.blog-card p,
.service-card-v3 p,
.visual-step p,
.why-card p,
.region-card p,
.contact-card p {
  margin-bottom: 14px !important;
}
.article-content h2,
.seo-copy h2,
.section-head h2,
.unified-section-card h2 {
  margin-bottom: 12px !important;
}
.section-v3 {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}
.section-head {
  margin-bottom: 20px !important;
}
.section-card.unified-section-card,
.section-card,
.hero-copy-card,
.hero-visual-card {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.blog-page .section-card.unified-section-card,
.blog-page .hero-copy-card,
.blog-page .hero-visual-card {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}


/* === final topbar + footer symmetry update === */
.topbar .topbar-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:18px !important;
}
.topbar .topbar-inner > span{
  grid-column:1 !important;
  justify-self:start !important;
  max-width:100% !important;
}
.topbar .topbar-actions{
  grid-column:2 !important;
  justify-self:center !important;
  justify-content:center !important;
  margin:0 auto !important;
}
.topbar-actions a[href^="tel:"],
.topbar-actions a[href*="wa.me"]{
  min-height:42px !important;
  padding:0 18px !important;
  font-size:13px !important;
  box-shadow:0 8px 20px rgba(15,23,42,.16) !important;
}
.topbar-actions a[href^="tel:"]{min-width:128px !important;}
.topbar-actions a[href*="wa.me"]{min-width:170px !important;}

.site-footer .footer-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:42px !important;
  align-items:start !important;
}
.site-footer .footer-grid > div:first-child{
  justify-self:start !important;
  max-width:34ch !important;
}
.site-footer .footer-grid > div:first-child p{
  margin-bottom:0 !important;
}
.site-footer .footer-grid > div:nth-child(2){
  justify-self:center !important;
  width:max-content !important;
}
.site-footer .footer-grid > div:nth-child(3){
  justify-self:center !important;
}
.site-footer .footer-brand.brand--with-logo{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin-bottom:16px !important;
}
.site-footer .footer-brand .brand-mark--image{
  width:72px !important;
  height:72px !important;
  border-radius:20px !important;
  overflow:hidden !important;
}
.site-footer .footer-brand .brand-logo{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.site-footer .footer-grid h3{
  margin-bottom:14px !important;
}
.site-footer .footer-grid a{
  display:block !important;
  margin-bottom:8px !important;
}

@media (max-width:980px){
  .topbar .topbar-inner{
    grid-template-columns:minmax(0,1fr) auto !important;
  }
  .topbar .topbar-inner > span{
    grid-column:1 !important;
  }
  .topbar .topbar-actions{
    grid-column:2 !important;
  }
}
@media (max-width:760px){
  .topbar .topbar-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .site-footer .footer-grid{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:nth-child(2),
  .site-footer .footer-grid > div:nth-child(3){
    justify-self:center !important;
    text-align:center !important;
    width:100% !important;
    max-width:40ch !important;
  }
  .site-footer .footer-grid a{margin-left:auto !important; margin-right:auto !important;}
}

/* === final topbar polish: centered buttons, short copy, emoji icons === */
.topbar .topbar-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:16px !important;
  min-height:58px !important;
}
.topbar .topbar-inner > span{
  grid-column:1 !important;
  justify-self:start !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  font-size:14px !important;
  line-height:1.25 !important;
}
.topbar .topbar-actions{
  grid-column:2 !important;
  justify-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  margin:0 auto !important;
}
.topbar-actions a[href^="tel:"],
.topbar-actions a[href*="wa.me"]{
  min-height:40px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1 !important;
  min-width:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}
.topbar-actions a[href^="tel:"]::before{
  content:"☎";
  font-size:14px;
  line-height:1;
}
.topbar-actions a[href*="wa.me"]::before{
  content:"💬";
  font-size:14px;
  line-height:1;
}
@media (max-width:1100px){
  .topbar .topbar-inner > span{
    font-size:13px !important;
  }
}
@media (max-width:860px){
  .topbar .topbar-inner{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    text-align:center !important;
    gap:10px !important;
  }
  .topbar .topbar-inner > span,
  .topbar .topbar-actions{
    grid-column:1 !important;
    justify-self:center !important;
  }
  .topbar .topbar-inner > span{
    white-space:normal !important;
  }
}


/* Clean URL selectors */
a.ghost-btn[href="/fiyat-al"],
a.ghost-btn[href="/iletisim"],
a.primary-btn[href="/iletisim"],
a.primary-btn[href="/fiyat-al"]{ }

.seo-rich-section .blog-card-grid > a.blog-card[href="/fiyat-al"],
.seo-rich-section .blog-card-grid > a.blog-card[href*="/fiyat-al?"]{--card-image:url('images/before-after.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/hizmetler"]{--card-image:url('images/service-tesis.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/iletisim"]{--card-image:url('images/contact-team.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/"]{--card-image:url('images/slider-closeup.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/hali-yikama"]{--card-image:url('images/premium-rug-yellow-machine.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/koltuk-yikama"]{--card-image:url('images/hizmet-koltuk.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/stor-perde-yikama"]{--card-image:url('images/blog-stor-perde.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/yorgan-yikama"]{--card-image:url('images/blog-yorgan.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/battaniye-yikama"]{--card-image:url('images/blog-battaniye.webp');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/yerinde-halifleks-yikama"]{--card-image:url('images/premium-rug-foam.jpg');}
.seo-rich-section .blog-card-grid > a.blog-card[href="/bolgeler"]{--card-image:url('images/contact-rug.jpg');}
