/* Baymak logo renk paleti */
:root {
  --bm-teal: #007a66;
  --bm-teal-koyu: #005544;
  --bm-teal-acik: #2a9d86;
  --bm-bg: #e8f4f1;
  --bm-panel: #f2faf8;
  --bm-yazi: #1a1a1a;
  --bm-ozel: #c62828;
}

body.sm-body {
  background: var(--bm-bg) !important;
  color: var(--bm-yazi);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
}

.sm-h1-aciklama {
  margin: -4px 0 16px;
  color: #444;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Sol menü ilçe listesi */
aside .w3-ul.w3-hoverable li {
  font-size: 1.2rem;
  line-height: 1.5;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 400;
}
aside .w3-ul.w3-hoverable li a {
  font-size: 1.2rem;
  font-weight: 400;
}
.sm-ilce-baslik {
  margin: 0 0 10px;
  padding: 12px 12px;
  background: var(--bm-teal-koyu);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

/* Anasayfa — İzmir Kombi Servisleri (özelliklerin altı, card içi liste) */
.sm-ilce-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 12px;
  border-top: 1px solid rgba(0, 122, 102, 0.15);
}
.sm-ilce-liste a {
  display: block;
  padding: 11px 8px;
  border-bottom: 1px solid rgba(0, 122, 102, 0.12);
  border-right: 1px solid rgba(0, 122, 102, 0.12);
  color: var(--bm-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
}
.sm-ilce-liste a .fa {
  margin-right: 4px;
  width: 1em;
  text-align: center;
}
.sm-ilce-liste a:nth-child(2n) {
  border-right: none;
}
.sm-ilce-liste a:hover {
  color: var(--bm-teal-koyu);
  background: var(--bm-panel);
  text-decoration: underline;
}
@media (min-width: 900px) {
  .sm-ilce-liste {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm-ilce-liste a:nth-child(2n) {
    border-right: 1px solid rgba(0, 122, 102, 0.12);
  }
  .sm-ilce-liste a:nth-child(3n) {
    border-right: none;
  }
}
@media (max-width: 520px) {
  .sm-ilce-liste {
    grid-template-columns: 1fr;
  }
  .sm-ilce-liste a,
  .sm-ilce-liste a:nth-child(2n) {
    border-right: none;
  }
}

a { color: var(--bm-teal); }
a:hover { color: var(--bm-teal-koyu); }

.sm-bant,
.sm-footer,
.sm-bar {
  background-color: var(--bm-teal) !important;
  color: #fff !important;
}
.sm-footer a,
.sm-bant a { color: #fff !important; }
.sm-footer-yasal {
  margin: 0.5rem auto 0;
  max-width: 52rem;
  padding: 0 1rem;
  line-height: 1.5;
  opacity: 0.95;
  white-space: normal;
  overflow-x: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 0.8rem;
}
@media (max-width: 991px) {
  .sm-footer-yasal {
    font-size: 0.75rem;
    text-align: left;
    max-width: none;
  }
}

.sm-btn,
.sm-btn:hover {
  background-color: var(--bm-teal) !important;
  color: #fff !important;
}
.sm-btn:hover { background-color: var(--bm-teal-koyu) !important; }

.sm-progress {
  background-color: var(--bm-teal) !important;
  color: #fff !important;
}

.sm-cerceve {
  border: 2px solid var(--bm-teal) !important;
}

.sm-tag {
  color: var(--bm-ozel) !important;
  border: 1px solid var(--bm-ozel);
  background: #fff !important;
}

/* Sabit ara butonu */
.sm-ara-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 99;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.sm-ara-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  width: 100%;
  padding: 10px 18px 10px 10px;
  background: linear-gradient(135deg, var(--bm-teal) 0%, var(--bm-teal-koyu) 100%);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 85, 68, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sm-ara-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 85, 68, 0.45);
}
.sm-ara-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--bm-teal);
  font-size: 1.25rem;
  flex-shrink: 0;
  animation: sm-ara-pulse 2s ease-in-out infinite;
}
.sm-ara-ikon .fa {
  color: var(--bm-teal) !important;
}
.sm-ara-metin {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.sm-ara-metin small {
  font-size: 0.72rem;
  opacity: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sm-ara-metin strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@keyframes sm-ara-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
@media (min-width: 993px) {
  .sm-ara-bar {
    left: auto;
    right: 20px;
    bottom: 20px;
    justify-content: flex-end;
  }
  .sm-ara-btn {
    width: auto;
    min-width: 260px;
  }
}

.sm-baslik { color: var(--bm-teal-koyu) !important; }
.sm-ikon { color: var(--bm-teal) !important; }

.sm-kutu-koyu {
  background: var(--bm-teal-koyu) !important;
  color: #fff !important;
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.sm-ozel-kutu {
  border: 2px solid var(--bm-teal);
  padding: 10px;
  text-align: center;
  margin-bottom: 12px;
}
.sm-ozel-kutu strong {
  color: var(--bm-ozel);
  font-size: 1.15em;
}

.fa.sm-ikon,
i.sm-ikon { color: var(--bm-teal) !important; }

/* Ürün / hizmet / tesisat satırı */
.sm-liste-bolum {
  padding-top: 12px;
  padding-bottom: 4px;
}
.sm-liste-kutu {
  border: 1px solid rgba(0, 122, 102, 0.18);
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-sizing: border-box;
}
.sm-liste-baslik {
  background: var(--bm-teal);
  color: #fff;
  margin: 0;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.sm-liste-baslik .fa {
  color: #fff !important;
  margin-right: 8px;
  width: 1.1em;
  text-align: center;
}
.sm-liste {
  list-style: none;
  margin: 0;
  padding: 4px 0 6px;
}
.sm-liste li {
  position: relative;
  padding: 10px 14px 10px 38px;
  border-bottom: 1px solid #eef4f2;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #2c2c2c;
}
.sm-liste li:last-child {
  border-bottom: none;
}
.sm-liste li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--bm-teal);
  font-size: 0.8rem;
}

/* Öne çıkan özellikler */
.sm-ozellik-bolum {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 12px;
}
.sm-ozellik-baslik {
  margin: 8px 0 6px;
  color: var(--bm-teal-koyu) !important;
  font-size: 1.15rem;
  font-weight: 700;
}
.sm-ozellik-aciklama {
  margin: 0 0 16px;
  color: #555;
  font-size: 0.95rem;
}
.sm-ozellik-kutu {
  border: 1px solid rgba(0, 122, 102, 0.18);
  padding: 18px 10px 16px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sm-ozellik-kutu:hover {
  border-color: var(--bm-teal);
  box-shadow: 0 2px 10px rgba(0, 122, 102, 0.12);
}
.sm-ozellik-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bm-panel);
  color: var(--bm-teal);
  font-size: 1.75rem;
}
.sm-ozellik-ikon .fa {
  color: var(--bm-teal) !important;
}
.sm-ozellik-kutu b {
  display: block;
  color: var(--bm-teal-koyu);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* İletişim bilgileri tablosu */
.w3-table th[scope="row"] {
  width: 42%;
  white-space: normal;
  font-weight: 700;
  vertical-align: middle;
}
.w3-table td {
  vertical-align: middle;
}
.sm-bilgi-satir {
  margin-top: 4px;
}
.sm-bilgi-kutu {
  border: 1px solid rgba(0, 122, 102, 0.18);
  padding: 20px 16px 18px;
  margin-bottom: 12px;
  background: #fff;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sm-bilgi-kutu:hover {
  border-color: var(--bm-teal);
  box-shadow: 0 2px 10px rgba(0, 122, 102, 0.12);
}
.sm-bilgi-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bm-panel);
  font-size: 1.35rem;
}
.sm-bilgi-ikon .fa {
  color: var(--bm-teal) !important;
}
.sm-bilgi-kutu h3 {
  margin: 0 0 10px;
  color: var(--bm-teal-koyu);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.sm-bilgi-kutu p {
  margin: 0;
  color: #555;
  line-height: 1.45;
}

/* Sol menü reklam afişi — ilçe listesi kartının altında, net boşlukla */
aside > .w3-white.w3-card-4 {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.sm-reklam-wrap {
  display: block;
  width: 100%;
  clear: both;
  float: none;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.sm-reklam-afis {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--bm-teal);
  background: #fff;
  line-height: 0;
}
.sm-reklam-afis img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* Özel servis beyan penceresi — yalnızca masaüstü */
.sm-beyan {
  display: none;
}
@media (min-width: 992px) {
  .sm-beyan:not([hidden]) {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .sm-beyan-arka {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 34, 0.55);
  }
  .sm-beyan-kutu {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    border-top: 5px solid var(--bm-teal);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    padding: 28px 28px 24px;
    text-align: center;
  }
  .sm-beyan-kapat {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
  }
  .sm-beyan-kapat:hover { color: var(--bm-teal-koyu); }
  .sm-beyan-ikon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--bm-panel);
    color: var(--bm-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
  }
  .sm-beyan-kutu h2 {
    margin: 0 0 12px;
    color: var(--bm-teal-koyu);
    font-size: 1.35rem;
  }
  .sm-beyan-kutu p {
    margin: 0 0 10px;
    color: #444;
    font-size: 1.02rem;
    line-height: 1.5;
  }
  .sm-beyan-kutu p strong {
    color: var(--bm-ozel);
  }
  .sm-beyan-aciklama {
    margin-top: 14px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 122, 102, 0.2);
    font-size: 0.92rem !important;
    color: #666 !important;
  }
  .sm-beyan-btn {
    margin-top: 14px;
    border: 0;
    border-radius: 6px;
    background: var(--bm-teal);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    cursor: pointer;
  }
  .sm-beyan-btn:hover {
    background: var(--bm-teal-koyu);
  }
  body.sm-beyan-acik {
    overflow: hidden;
  }
}

