/* Topaloğulları Otomotiv — site stilleri (kütüphanesiz) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.65 "Trebuchet MS", Verdana, Arial, sans-serif; color: #555; background: #2b2b2b; }
img { max-width: 100%; height: auto; border: 0; }
a { color: #b3151b; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0 0 .6em; color: #2e2e2e; }
h1 { font-size: 30px; }
h2 { font-size: 26px; margin-top: 1.1em; }
p { margin: 0 0 1em; }

.sayfa { display: flex; max-width: 1000px; margin: 0 auto; background: #f5f5f5; min-height: 100vh; }

/* sol sütun */
.yan { flex: 0 0 245px; padding: 22px 18px 24px; border-right: 1px solid #e6e6e6; text-align: center; }
.logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.menu { border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 12px 0; text-align: left; }
.menu-dugme { display: none; width: 100%; padding: 8px 4px; border: 0; background: transparent; font: inherit; font-size: 16px; text-align: left; cursor: pointer; color: #333; }
.menu-liste { list-style: none; margin: 0; padding: 0; }
.menu-liste a { display: block; padding: 5px 4px; font-size: 18px; color: #222; }
.menu-liste a:hover, .menu-liste a:focus { color: #b3151b; text-decoration: none; }
.menu-liste a[aria-current="page"] { color: #999; }
.alt-menu { list-style: none; margin: 0 0 4px; padding: 0 0 0 14px; }
.alt-menu a { font-size: 14px; padding: 2px 4px; color: #555; }
.yardim { margin: 22px 0 0; line-height: 0; }
.yardim img { border-radius: 6px; }

/* sağ sütun */
.ana { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: #f5f5f5; }
main { flex: 1 1 auto; }
.icerik { padding: 22px 28px 14px; }
.icerik h1 { padding-bottom: 8px; margin-bottom: 14px; }
.icerik img.sol { float: left; margin: 4px 22px 12px 0; }
.icerik::after { content: ""; display: block; clear: both; }

/* ana sayfa slayt */
.slayt { position: relative; aspect-ratio: 735 / 490; width: 100%; overflow: hidden; background: #222; border-bottom: 6px solid #b3151b; }
.slayt-kare { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; line-height: 0; }
.slayt-kare.acik { opacity: 1; }
.slayt-kare img { width: 100%; height: 100%; object-fit: cover; }
.slayt-noktalar { position: absolute; left: 0; right: 0; top: 10px; display: flex; justify-content: center; gap: 7px; }
.slayt-nokta { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; }
.slayt-nokta[aria-current="true"] { background: #fff; }
.slayt-ok { position: absolute; top: 50%; margin-top: -22px; width: 38px; height: 44px; border: 0; background: rgba(0, 0, 0, .4); color: #fff; font-size: 26px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slayt:hover .slayt-ok, .slayt:focus-within .slayt-ok { opacity: 1; }
.slayt-onceki { left: 0; } .slayt-sonraki { right: 0; }

/* hizmet kareleri */
.kareler { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 520px; }
.kareler a { display: block; line-height: 0; }
.kareler img { width: 100%; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
.kareler a:hover img, .kareler a:focus img { transform: translateY(-3px); }

/* sigorta logoları */
.kaydirici { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-bottom: 8px; }
.kaydirici::-webkit-scrollbar { display: none; }
.kaydirici span { flex: 0 0 calc((100% - 24px) / 5); scroll-snap-align: start; line-height: 0; }
.kaydirici img { width: 100%; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.logolar { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 20px; }
.logolar img { width: 100%; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }

/* iletişim */
.harita { margin: 0 0 18px; }
.harita iframe { display: block; width: 100%; height: 420px; border: 0; }

.altbilgi { padding: 18px 28px 26px; text-align: center; border-top: 1px solid #e0e0e0; font-size: 14px; }
.altbilgi p { margin: 0; }

@media (max-width: 820px) {
    .sayfa { flex-direction: column; }
    .yan { flex: none; padding: 14px 16px 10px; border-right: 0; border-bottom: 1px solid #e6e6e6; }
    .logo { margin-bottom: 8px; }
    .logo img { width: 120px; height: auto; }
    .menu { padding: 4px 0; }
    .menu-dugme { display: block; }
    .menu-liste { display: none; }
    .menu.acik .menu-liste { display: block; }
    .menu-liste a { padding: 9px 4px; }
    .yardim { display: none; }
    .icerik { padding: 18px 16px 8px; }
    .icerik img.sol { float: none; display: block; margin: 0 0 12px; }
    h1 { font-size: 26px; } h2 { font-size: 22px; }
    .kaydirici span { flex-basis: calc((100% - 12px) / 3); }
    .harita iframe { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .slayt-kare, .kareler img { transition: none; } }
