:root{
  --eg-radius: 16px;
  --eg-shadow: 0 18px 50px rgba(9, 30, 66, .10);
  --eg-shadow-sm: 0 10px 30px rgba(9, 30, 66, .08);
}

html{
  scroll-behavior: smooth;
}

body.eg-body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1400px 500px at 15% -5%, rgba(30,107,255,.08), transparent 55%),
    radial-gradient(1000px 400px at 88% 15%, rgba(30,107,255,.05), transparent 55%),
    radial-gradient(900px 400px at 50% 70%, rgba(234,243,255,.85), transparent 65%),
    #f5f8ff;
  color: #0B1B3A;
}

.eg-header{
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(30,107,255,.08);
  transition: transform 0.3s ease;
}
.eg-header.eg-header-hidden{
  transform: translateY(-100%);
}

.eg-demo-ribbon-wrap{
  background: #6f3d17;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  padding: .4rem 0;
}
.eg-demo-ribbon{
  font-size: .9rem;
}
.eg-demo-ribbon-left{
  min-width: 0;
}
.eg-demo-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .1rem .45rem;
  border-radius: .25rem;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.eg-demo-text{
  color: #fff7e8;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eg-demo-btn{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #3f2a12;
  background: #fff;
  border: 1px solid rgba(89,55,26,.15);
  border-radius: .45rem;
  padding: .25rem .65rem;
  font-weight: 500;
  font-size: .88rem;
  transition: background .2s ease, transform .2s ease;
}
.eg-demo-btn:hover{
  color: #3f2a12;
  background: #fff4d7;
  transform: translateY(-1px);
}
.eg-demo-ribbon .eg-demo-btn:first-child{
  background: #f4de8a;
}
@media (max-width: 992px){
  .eg-demo-ribbon{
    gap: .4rem !important;
  }
  .eg-demo-text{
    white-space: normal;
    overflow: visible;
  }
}

.eg-header-top{
  background: linear-gradient(90deg, transparent, rgba(30,107,255,.06));
  border-bottom: 1px solid rgba(30,107,255,.06);
  font-size: 0.8125rem;
}

.eg-header-top-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(11,27,58,.75);
  text-decoration: none;
  transition: color .2s ease;
}

.eg-header-top-link:hover{
  color: var(--eg-blue);
}

/* Üst duyuru kayan yazı */
.eg-ticker-wrap{
  overflow: hidden;
  background: linear-gradient(90deg, rgba(30,107,255,.08), rgba(30,107,255,.04));
  border-bottom: 1px solid rgba(30,107,255,.08);
  padding: 0.5rem 0;
}
.eg-ticker{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  overflow: hidden;
}
.eg-ticker-icon{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--eg-blue);
  margin-left: 0.5rem;
}
.eg-ticker-icon .eg-ic{ width: 18px; height: 18px; }
.eg-ticker-scroll{
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.eg-ticker-inner{
  display: inline-flex;
  white-space: nowrap;
  gap: 4rem;
  animation: eg-ticker-scroll-right 40s linear infinite;
}
.eg-ticker-inner span{
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(11,27,58,.85);
}
@keyframes eg-ticker-scroll-right{
  0%{ transform: translateX(-50%); }
  100%{ transform: translateX(0); }
}

/* Anasayfa yorumlar & galeri kayan (marquee) alanları */
.eg-marquee-wrap{
  overflow: hidden;
  width: 100%;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.eg-marquee-track{
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 1rem;
  animation: eg-marquee-scroll 50s linear infinite;
  width: max-content;
}
.eg-marquee-wrap:hover .eg-marquee-track{
  animation-play-state: paused;
}
.eg-testimonials-marquee .eg-marquee-item{
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
}
.eg-gallery-marquee .eg-marquee-item{
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
}
@keyframes eg-marquee-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* Bölüm ayırıcı modern çizgi */
.eg-modern-line{
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--eg-blue) 15%, var(--eg-blue) 85%, transparent 100%);
  opacity: 0.35;
}
.eg-theme-dark .eg-modern-line{
  background: linear-gradient(90deg, transparent 0%, var(--eg-blue) 15%, var(--eg-blue) 85%, transparent 100%);
  opacity: 0.5;
}

.eg-header-main{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.eg-main-content{
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.eg-header-modern .eg-navglass-modern{
  border-radius: 20px;
  border: 1px solid rgba(30,107,255,.1);
  background: rgba(255,255,255,.88);
  box-shadow: 0 4px 24px rgba(9, 30, 66, .06), 0 1px 0 rgba(255,255,255,.6) inset;
  padding: 10px 16px 10px 20px;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.eg-header-modern .eg-navglass-modern:hover{
  box-shadow: 0 8px 32px rgba(30, 107, 255, .1), 0 1px 0 rgba(255,255,255,.7) inset;
  border-color: rgba(30,107,255,.18);
}

.eg-navglass{
  border-radius: calc(var(--eg-radius) + 4px);
  border: 1px solid rgba(30,107,255,.12);
  background: rgba(255,255,255,.75);
  box-shadow: var(--eg-shadow-sm);
  padding: 10px 12px;
}

.eg-logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--eg-blue), #2d7ef7);
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(30,107,255,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.eg-logo:hover{ transform: scale(1.02); box-shadow: 0 10px 28px rgba(30,107,255,.4); }

.eg-logo-ic{
  width: 22px;
  height: 22px;
}

.eg-logo-img{
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
/* Aydınlık temada sadece light logo, karanlık temada sadece dark logo */
.eg-logo-img-light{ display: block !important; }
.eg-logo-img-dark{ display: none !important; }
.eg-theme-dark .eg-logo-img-light{ display: none !important; }
.eg-theme-dark .eg-logo-img-dark{ display: block !important; }
.eg-logo-img-footer{
  height: 32px;
  max-width: 120px;
}

.eg-brandname{
  font-weight: 700;
  color: #0B1B3A;
}

.eg-ic{
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0;
}
.eg-ic-sm{ width: 14px; height: 14px; }
.eg-ic-search{ width: 18px; height: 18px; opacity: .7; }

.eg-navlinks .eg-navlink{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(11, 27, 58, .8);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 14px;
  border-radius: 14px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.eg-navlinks .eg-navlink:hover{
  color: var(--eg-blue);
  background: rgba(234,243,255,.95);
  transform: translateY(-1px);
}

.eg-header-actions{
  flex-wrap: wrap;
}

.eg-header-divider{
  width: 1px;
  height: 24px;
  background: rgba(30,107,255,.15);
  border-radius: 1px;
}

.eg-search{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(30,107,255,.12);
  background: rgba(255,255,255,.9);
  min-width: 200px;
  max-width: 260px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.eg-search:focus-within{
  border-color: rgba(30,107,255,.25);
  box-shadow: 0 0 0 3px rgba(30,107,255,.08);
}
.eg-search-input{
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  color: #0B1B3A;
}
.eg-search-input::placeholder{ color: rgba(11,27,58,.5); }

.eg-header-icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(11,27,58,.8);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  font-size: 0.875rem;
  font-weight: 600;
}
.eg-header-icon-btn:hover{
  background: rgba(234,243,255,.9);
  color: var(--eg-blue);
  transform: scale(1.05);
}
.eg-header-icon-btn-pill{
  width: auto;
  min-width: 40px;
  padding: 0 14px;
  border-radius: 50px;
}
.eg-header-icon-link{
  text-decoration: none;
}

.eg-btn-header-cta{
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--eg-blue), #2d7ef7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30,107,255,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.eg-btn-header-cta:hover{
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,107,255,.4);
}

.eg-dropdown-menu{
  border-radius: 14px;
  border: 1px solid rgba(30,107,255,.1);
  padding: 6px;
  margin-top: 8px !important;
}
.eg-dropdown-menu .dropdown-item{
  border-radius: 10px;
  padding: 10px 14px;
}

/* Sağ alt WhatsApp iletişim butonu */
.eg-whatsapp-fab{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  background: var(--eg-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 4px 20px rgba(30, 107, 255, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.eg-whatsapp-fab:hover{
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(30, 107, 255, .55);
}
.eg-whatsapp-fab-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.eg-whatsapp-fab-icon .eg-ic{ width: 24px; height: 24px; }
.eg-whatsapp-fab-text{
  max-width: 200px;
}
@media (max-width: 575px){
  .eg-whatsapp-fab{
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 0.875rem;
  }
  .eg-whatsapp-fab-text{ display: none; }
  .eg-whatsapp-fab-icon{ width: 32px; height: 32px; }
  .eg-whatsapp-fab-icon .eg-ic{ width: 28px; height: 28px; }
}

.eg-btn-primary{
  border: 0;
  background: linear-gradient(135deg, var(--eg-blue), #3AA0FF);
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 18px 45px rgba(30,107,255,.25);
  transition: all .18s ease;
}
.eg-btn-primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.eg-btn-ghost{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(30,107,255,.12);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  color: rgba(11, 27, 58, .85);
  transition: all .18s ease;
}
.eg-btn-ghost:hover{
  background: rgba(234,243,255,.9);
  transform: translateY(-1px);
}

.eg-hero{
  border-radius: 22px;
  background:
    radial-gradient(1000px 360px at 20% 10%, rgba(30,107,255,.20), transparent 55%),
    radial-gradient(900px 320px at 85% 25%, rgba(234,243,255,.92), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid rgba(30,107,255,.14);
  box-shadow: var(--eg-shadow);
  overflow: hidden;
  position: relative;
}
.eg-hero::after{
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(30,107,255,.12);
  filter: blur(22px);
}

.eg-card{
  border: 1px solid rgba(30,107,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--eg-shadow-sm);
  overflow: hidden;
  transition: all .18s ease;
}
.eg-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(9, 30, 66, .14);
}

.eg-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(234,243,255,.9);
  border: 1px solid rgba(30,107,255,.12);
  color: rgba(11, 27, 58, .85);
}

.eg-footer{
  background: rgba(234,243,255,.55);
  border-top: 1px solid rgba(30,107,255,.12);
}
.eg-footertitle{
  font-weight: 800;
  margin-bottom: 10px;
}
.eg-footerlink{
  display: block;
  text-decoration: none;
  color: rgba(11, 27, 58, .70);
  margin-bottom: 8px;
  transition: all .16s ease;
}
.eg-footerlink:hover{
  color: rgba(11, 27, 58, .95);
  transform: translateX(2px);
}

/* Sağ kenar kaydırma göstergesi (noktalar) */
.eg-scroll-dots{
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  pointer-events: none;
}
@media (max-width: 991px){
  .eg-scroll-dots{ right: 12px; gap: 10px; }
}
.eg-scroll-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(11, 27, 58, .12);
  cursor: pointer;
  pointer-events: auto;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.eg-scroll-dot:hover{
  background: rgba(30, 107, 255, .35);
  transform: scale(1.2);
}
.eg-scroll-dot.active{
  background: var(--eg-blue);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, .25);
  transform: scale(1.15);
}

/* Gece teması */
.eg-theme-dark body.eg-body,
body.eg-body.eg-theme-dark{
  background: #0f172a;
  color: #e2e8f0;
}
.eg-theme-dark .eg-header-top{
  background: linear-gradient(90deg, transparent, rgba(30,107,255,.08));
  border-bottom-color: rgba(30,107,255,.1);
}
.eg-theme-dark .eg-demo-ribbon-wrap{
  background: #5a3213;
  border-bottom-color: rgba(255,255,255,.16);
}
.eg-theme-dark .eg-header-top-link{
  color: rgba(226,232,240,.8);
}
.eg-theme-dark .eg-header-top-link:hover{ color: #93c5fd; }

.eg-theme-dark .eg-navglass{
  background: rgba(15, 23, 42, .88);
  border-color: rgba(30, 107, 255, .2);
}
.eg-theme-dark .eg-header-modern .eg-navglass-modern{
  background: rgba(15, 23, 42, .9);
  border-color: rgba(30, 107, 255, .2);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.eg-theme-dark .eg-brandname{ color: #f1f5f9; }
.eg-theme-dark .eg-navlinks .eg-navlink{ color: rgba(226, 232, 240, .85); }
.eg-theme-dark .eg-navlinks .eg-navlink:hover{
  color: #f1f5f9;
  background: rgba(30, 107, 255, .2);
}
.eg-theme-dark .eg-search{
  background: rgba(30, 41, 59, .95);
  border-color: rgba(30, 107, 255, .2);
}
.eg-theme-dark .eg-search-input{ color: #e2e8f0; }
.eg-theme-dark .eg-search-input::placeholder{ color: rgba(226,232,240,.5); }
.eg-theme-dark .eg-header-icon-btn{
  color: rgba(226,232,240,.9);
}
.eg-theme-dark .eg-header-icon-btn:hover{
  background: rgba(30, 107, 255, .2);
  color: #93c5fd;
}
.eg-theme-dark .eg-header-divider{ background: rgba(30,107,255,.25); }
.eg-theme-dark .eg-btn-header-cta{
  box-shadow: 0 8px 24px rgba(30,107,255,.4);
}
.eg-theme-dark .eg-btn-header-cta:hover{ color: #fff; }
.eg-theme-dark .eg-btn-ghost{
  background: rgba(30, 41, 59, .8);
  border-color: rgba(30, 107, 255, .2);
  color: #e2e8f0;
}
.eg-theme-dark .eg-btn-ghost:hover{ background: rgba(30, 107, 255, .25); }
.eg-theme-dark .eg-card{
  background: rgba(30, 41, 59, .85);
  border-color: rgba(30, 107, 255, .15);
}
.eg-theme-dark .eg-badge{
  background: rgba(30, 107, 255, .25);
  border-color: rgba(30, 107, 255, .3);
  color: #e2e8f0;
}
.eg-theme-dark .eg-footer{
  background: rgba(15, 23, 42, .95);
  border-color: rgba(30, 107, 255, .15);
}
.eg-theme-dark .eg-footerlink,
.eg-theme-dark .text-muted{ color: rgba(226, 232, 240, .7) !important; }
.eg-theme-dark .eg-footerlink:hover{ color: #f1f5f9 !important; }
.eg-theme-dark .eg-scroll-dot{
  background: rgba(226, 232, 240, .2);
}
.eg-theme-dark .eg-scroll-dot:hover{
  background: rgba(30, 107, 255, .4);
}
.eg-theme-dark .eg-scroll-dot.active{
  background: var(--eg-blue);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, .35);
}
.eg-theme-dark .eg-hero{
  background: linear-gradient(135deg, rgba(30, 41, 59, .9), rgba(15, 23, 42, .95));
  border-color: rgba(30, 107, 255, .2);
}
.eg-theme-dark .form-control,
.eg-theme-dark .form-select{
  background: rgba(30, 41, 59, .9);
  border-color: rgba(30, 107, 255, .2);
  color: #e2e8f0;
}
.eg-theme-dark .form-control::placeholder{ color: rgba(226, 232, 240, .5); }
.eg-theme-dark .dropdown-menu{
  background: rgba(30, 41, 59, .98);
  border-color: rgba(30, 107, 255, .2);
}
.eg-theme-dark .dropdown-item{ color: #e2e8f0; }
.eg-theme-dark .dropdown-item:hover{ background: rgba(30, 107, 255, .2); }
.eg-theme-dark .eg-banner-overlay{ background: linear-gradient(to top, rgba(15,23,42,.85), transparent 50%); }
.eg-theme-dark .eg-banner-card{
  background: rgba(30, 41, 59, .9);
  border-color: rgba(30, 107, 255, .2);
}
.eg-theme-dark .eg-ticker-wrap{
  background: linear-gradient(90deg, rgba(30,107,255,.12), rgba(30,107,255,.06));
  border-bottom-color: rgba(30,107,255,.15);
}
.eg-theme-dark .eg-ticker-inner span{ color: rgba(226,232,240,.9); }

/* İlan detay: galeri + benzer ilanlar + favori */
.eg-gallery-thumb{ cursor: pointer; transition: box-shadow .2s ease, opacity .2s ease; }
.eg-gallery-thumb:hover{ opacity: .9; }
.eg-gallery-thumb-active{ box-shadow: 0 0 0 2px var(--eg-blue); opacity: 1; }
.eg-similar-card{
  transition: background .2s ease;
  min-width: 0;
  overflow: hidden;
}
.eg-similar-card:hover{ background: rgba(30, 107, 255, .06); }
.eg-similar-card .eg-similar-card-body,
.eg-similar-card .flex-grow-1{
  min-width: 0;
  overflow: hidden;
}
.eg-similar-card .eg-similar-title,
.eg-similar-card .text-truncate{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Aside kolonunda benzer ilanlar taşmasın */
aside .eg-similar-card{ max-width: 100%; }
.eg-fav-btn.eg-fav-active{ color: #e11d48; }
.eg-fav-btn.eg-fav-active .eg-ic{ color: inherit; }
@media print {
  .eg-header, .eg-footer, .eg-share-btn, .eg-fav-btn, .btn[onclick*="print"], .eg-similar-card, .eg-card:has(.eg-similar-card), .eg-modern-line { display: none !important; }
}

