/* ZAİM TUR kurumsal web sitesi — kırmızı tema */
:root {
  --primary: #C0141E;
  --dark: #8A0F16;
  --accent: #E23A2E;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f7f7f8;
  --border: #e6e6e9;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -.015em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .18s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #ffeaea; }

/* Header — tekyerin tarzı: ferah, temiz, yuvarlak pill butonlar */
header.site { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(17,24,39,.07); }
.hdr { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.hdr .logo { flex: 0 0 auto; }
.hdr .logo img { height: 54px; }
.hdr nav { display: flex; gap: 22px; align-items: center; margin: 0 auto; flex-wrap: nowrap; }
.hdr nav > a, .hdr nav .sub-toggle { font-weight: 500; color: #4b5563; font-size: 15px; letter-spacing: -.01em; transition: color .18s; white-space: nowrap; display: inline-flex; align-items: center; }
.hdr nav > a:hover, .hdr nav .sub-toggle:hover { color: var(--primary); }
/* Açılır alt menü (dropdown) */
.has-sub { position: relative; }
.has-sub .caret { font-size: 11px; opacity: .6; }
.has-sub .submenu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.12); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .16s; z-index: 120; }
.has-sub:hover .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translateY(4px); }
.has-sub .submenu a { display: block; padding: 10px 14px; border-radius: 8px; color: #333; font-size: 14.5px; font-weight: 500; }
.has-sub .submenu a:hover { background: var(--soft); color: var(--primary); }
.hdr .right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hdr .phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--primary); font-size: 14.5px; padding: 0 6px; transition: opacity .18s; }
.hdr .phone:hover { opacity: .75; }
.hdr .phone svg { width: 16px; height: 16px; }
/* Header pill butonları (tekyerin tarzı) */
.btn-head { padding: 10px 20px; border-radius: 11px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; border-width: 1.5px; }
.btn-head.btn-ghost { background: #fff; color: #374151; border: 1.5px solid #e5e7eb; }
.btn-head.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-head.btn-primary { border: 1.5px solid transparent; box-shadow: 0 6px 16px -6px rgba(192,20,30,.5); }
.btn-head.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(192,20,30,.6); }
.btn-head.btn-primary svg { width: 16px; height: 16px; transition: transform .2s; }
.btn-head.btn-primary:hover svg { transform: translateX(3px); }
.menu-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; padding: 6px; line-height: 0; }
.menu-toggle svg { width: 28px; height: 28px; display: block; }
.menu-toggle .ic-close { display: none; }
.menu-toggle.on .ic-open { display: none; }
.menu-toggle.on .ic-close { display: block; }

/* Hero slider — responsive, dikeyde ortalı */
.hero { position: relative; color: #fff; overflow: hidden; }
.slides { position: relative; min-height: clamp(420px, 68vh, 660px); background: linear-gradient(135deg, #7a0f14 0%, #C0141E 55%, #E23A2E 100%); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .8s; pointer-events: none;
  background: linear-gradient(135deg, #7a0f14 0%, #C0141E 55%, #E23A2E 100%); }
.slide.active { opacity: 1; pointer-events: auto; }
.slide .container { display: flex; }
.slide-inner { max-width: 640px; position: relative; z-index: 2; padding: 30px 0; width: 100%; }
/* Yazı hizası (admin ayarı): sola / ortaya / sağa — tüm slaytlar tutarlı */
.slide[data-align="left"]   .slide-inner { margin-right: auto; text-align: left; }
.slide[data-align="center"] .slide-inner { margin: 0 auto; text-align: center; }
.slide[data-align="right"]  .slide-inner { margin-left: auto; text-align: right; }
.slide h1 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.15; margin-bottom: 16px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.slide p { font-size: clamp(15px, 2vw, 19px); opacity: .96; margin-bottom: 26px; text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.dots span.on { background: #fff; }

/* Stats */
.stats { background: var(--dark); color: #fff; }
.stats .row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 28px 0; text-align: center; }
.stats .value { font-size: 34px; font-weight: 800; }
.stats .label { font-size: 14px; opacity: .85; }

/* Sections */
section { padding: 70px 0; }
/* Sayfa banner şeridi (tema rengi veya görsel) */
.page-banner { background: linear-gradient(135deg, #7a0f14 0%, var(--primary) 58%, var(--accent) 100%); color: #fff; padding: 60px 0; position: relative; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 25%, rgba(255,255,255,.10), transparent 45%); pointer-events: none; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner .pb-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; opacity: .9; }
.page-banner h1 { font-size: clamp(28px, 4vw, 42px); margin-top: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.page-view { padding: 48px 0 64px; min-height: 30vh; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head .kicker { color: var(--primary); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.sec-head h2 { font-size: 34px; margin: 8px 0 12px; }
.sec-head p { color: var(--muted); font-size: 16px; }

.services { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.svc { position: relative; background: linear-gradient(180deg,#fff,#fcfcfd); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px 30px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: transform .32s cubic-bezier(.2,.75,.25,1), box-shadow .32s, border-color .32s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 90% at 100% 0, rgba(192,20,30,.07), transparent 58%); opacity: 0; transition: opacity .32s; pointer-events: none; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -14px rgba(192,20,30,.26); border-color: rgba(192,20,30,.4); }
.svc:hover::before { opacity: 1; }
.svc-ic { position: relative; width: 62px; height: 62px; border-radius: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--primary)); box-shadow: 0 12px 24px -8px rgba(192,20,30,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-ic::after { content: ""; position: absolute; inset: 0; border-radius: 17px; border: 1px solid rgba(255,255,255,.22); }
.svc-ic svg { width: 31px; height: 31px; }
.svc:hover .svc-ic { transform: scale(1.06) rotate(-3deg); transition: transform .32s cubic-bezier(.2,.75,.25,1); }
.svc h3 { font-size: 18.5px; margin-bottom: 9px; letter-spacing: -.01em; color: var(--ink); }
.svc p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.svc-line { position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .38s cubic-bezier(.2,.75,.25,1); }
.svc:hover .svc-line { transform: scaleX(1); }

.about { background: var(--soft); }
.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.about h2 { font-size: 32px; margin-bottom: 16px; }
.about p { color: #444; margin-bottom: 14px; }
.about .visual { background: linear-gradient(135deg, var(--primary), var(--dark)); border-radius: 18px; min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 30px; }
.about .visual img { max-height: 130px; filter: brightness(0) invert(1); opacity: .95; }
.about .visual-photo { background-size: cover; background-position: center; padding: 0; }
.page-image { width: 100%; max-height: 380px; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.map-wrap { grid-column: 1 / -1; margin-top: 12px; }
.map-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 600; font-size: 14px; }
/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 30px; }
.gitem { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,.05)); transition: .2s; }
.gitem:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(192,20,30,.14); }
.gitem img { width: 100%; height: 240px; object-fit: contain; background: #fff; padding: 8px; }
/* Başvuru formu */
.apply-form .af-field { margin-bottom: 4px; }
.apply-form label { display: block; font-size: 13px; font-weight: 600; color: #444; margin: 12px 0 5px; }
.apply-form input, .apply-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-family: inherit; font-size: 14px; outline: none; }
.apply-form input:focus, .apply-form textarea:focus { border-color: var(--primary); }

/* İletişim */
.contact .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-card .ic { width: 44px; height: 44px; border-radius: 10px; background: #ffe9e9; color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card b { display: block; font-size: 15px; }
.info-card span { color: var(--muted); font-size: 14px; }
.cform { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.cform label { font-size: 13px; font-weight: 600; color: #444; display: block; margin: 10px 0 5px; }
.cform input, .cform textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-family: inherit; font-size: 14px; outline: none; }
.cform input:focus, .cform textarea:focus { border-color: var(--primary); }

/* Footer */
footer.site { background: #17181c; color: #cbd0d8; padding: 50px 0 20px; }
footer.site .grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 34px; }
.foot-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; }
.foot-logo img { display: block; }
footer.site .page-view img, footer.site .visual img { }
footer.site h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
footer.site a { color: #cbd0d8; display: block; padding: 4px 0; font-size: 14px; }
footer.site a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #2a2c33; margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; font-size: 13px; color: #8a909b; flex-wrap: wrap; gap: 8px; }
.foot-bottom a { color: #8a909b; display: inline; }

/* Footer mobil uygulama indirme butonları */
.foot-apps { margin-top: 34px; border-top: 1px solid #2a2c33; padding-top: 24px; }
.foot-apps h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
footer.site .app-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
footer.site .app-card { position: relative; border-radius: 18px; padding: 20px 22px; text-decoration: none; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s, border-color .28s; }
footer.site .app-card::before { content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: radial-gradient(120% 120% at 0 0, rgba(226,58,46,.22), transparent 55%); opacity: .9; }
footer.site .app-card--sofor { display: flex; align-items: center; gap: 16px; }
footer.site .app-card:hover { transform: translateY(-3px); border-color: rgba(226,58,46,.55);
  box-shadow: 0 20px 44px -14px rgba(226,58,46,.5), inset 0 1px 0 rgba(255,255,255,.08); }
footer.site .app-card-ic { position: relative; z-index: 1; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(145deg, var(--accent, #E23A2E), var(--primary, #C0141E));
  box-shadow: 0 8px 18px -6px rgba(226,58,46,.7), inset 0 1px 0 rgba(255,255,255,.3); }
footer.site .app-card-ic svg { width: 27px; height: 27px; }
footer.site .app-card-txt { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1.35; }
footer.site .app-card-txt b { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
footer.site .app-card-txt small { font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 2px; }
footer.site .app-card--sofor .app-card-dl { position: relative; z-index: 1; width: 22px; height: 22px; margin-left: auto; color: rgba(255,255,255,.55); transition: transform .25s, color .25s; }
footer.site .app-card--sofor:hover .app-card-dl { transform: translateY(2px); color: #fff; }
footer.site .app-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
footer.site .store-row { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 680px) { footer.site .app-grid { grid-template-columns: 1fr; } }

/* Login modal */
.mdl { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px; }
.mdl.open { display: flex; }
.mdl-box { background: #fff; border-radius: 16px; padding: 26px 28px; width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mdl-box .logo { text-align: center; margin-bottom: 6px; }
.mdl-box .logo img { height: 40px; margin: 0 auto; }
.mdl-box h3 { text-align: center; margin-bottom: 4px; }
.mdl-box .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.mdl-box label { font-size: 12px; font-weight: 600; color: #444; display: block; margin: 11px 0 5px; }
.mdl-box input, .mdl-box select, .mdl-box textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; outline: none; font-family: inherit; background: #fff; color: inherit; box-sizing: border-box; }
.mdl-box select { height: 42px; }
.mdl-box textarea { resize: vertical; min-height: 60px; }
.mdl-box input:focus, .mdl-box select:focus, .mdl-box textarea:focus { border-color: var(--primary); }
.reg-steps { position: sticky; top: -26px; background: #fff; padding-top: 4px; z-index: 2; }
@media (max-width: 560px) {
  .mdl { padding: 0; align-items: stretch; }
  .mdl-box { max-width: 100%; border-radius: 0; min-height: 100vh; max-height: 100vh; padding: 20px 16px 30px; }
  .reg-steps { top: 0; }
}
.mdl-err { background: #fef2f2; color: var(--primary); border-radius: 8px; padding: 9px 12px; font-size: 13px; margin-bottom: 10px; display: none; }
.mdl-close { float: right; cursor: pointer; color: var(--muted); font-size: 22px; margin-top: -10px; }

/* Mobil menü paneli varsayılan gizli (masaüstünde yatay nav kullanılır) */
.mobile-nav { display: none; }

/* HEADER: geniş masaüstü dışında (tablet + orta ekran) hamburger menü — yatay nav taşmasın */
@media (max-width: 1180px) {
  .hdr nav, .hdr .phone, .hdr .right .btn-head { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { flex-direction: column; background: #fff; border-top: 1px solid var(--border);
    max-height: calc(100vh - 76px); overflow-y: auto; box-shadow: 0 16px 30px rgba(0,0,0,.14); }
  .mobile-nav.open { display: flex; }
  .mobile-nav > a { display: block; color: #222; text-decoration: none; padding: 15px 22px;
    border-bottom: 1px solid var(--border); font-weight: 600; font-size: 15.5px; }
  .mobile-nav > a:last-child { color: var(--primary); font-weight: 700; }
  .m-acc { border-bottom: 1px solid var(--border); }
  .m-acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: 0; padding: 15px 22px; font-weight: 600; font-size: 15.5px; color: #222;
    cursor: pointer; text-align: left; }
  .m-acc-caret { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); transition: transform .2s ease; }
  .m-acc.open .m-acc-head { color: var(--primary); }
  .m-acc.open .m-acc-caret { transform: rotate(180deg); color: var(--primary); }
  .m-acc-body { display: none; padding: 2px 0 8px; background: var(--soft); }
  .m-acc.open .m-acc-body { display: block; }
  .m-acc-body a { display: block; color: #333; text-decoration: none; padding: 11px 22px 11px 34px; font-size: 14.5px; font-weight: 500; }
  .m-acc-body a:active { background: #eef1f5; color: var(--primary); }
}

/* İçerik ızgaraları — tablet */
@media (max-width: 900px) {
  .services, .stats .row { grid-template-columns: 1fr 1fr; }
  .about .grid, .contact .grid, footer.site .grid { grid-template-columns: 1fr; }
  .slide h1 { font-size: 34px; }
}
/* Telefon */
@media (max-width: 560px) {
  .services, .stats .row { grid-template-columns: 1fr; }
  .slide h1 { font-size: 28px; }
}

/* Mağaza rozet butonları (App Store / Google Play) — footer */
footer.site .store-badge { flex: 1 1 0; min-width: 150px; display: inline-flex; align-items: center; gap: 11px; padding: 10px 16px; border-radius: 13px; color: #fff; text-decoration: none;
  background: linear-gradient(170deg, #1d1d1f, #000); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s cubic-bezier(.2,.75,.25,1), box-shadow .2s, border-color .2s; }
footer.site .store-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); box-shadow: 0 14px 28px -8px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12); color: #fff; }
footer.site .store-badge svg { width: 27px; height: 27px; flex: 0 0 auto; stroke: none; }
footer.site .store-badge span { display: flex; flex-direction: column; line-height: 1.12; padding: 0; }
footer.site .store-badge small { font-size: 10.5px; letter-spacing: .02em; opacity: .78; color: #fff; text-transform: none; }
footer.site .store-badge b { font-size: 15.5px; font-weight: 700; margin-top: 1px; color: #fff; letter-spacing: -.01em; }

/* ---- Okul Gezisi talep formu ---- */
.gz-form { background:#fff; border:1px solid #eef1f5; border-radius:16px; padding:22px; box-shadow:0 10px 30px rgba(0,0,0,.05); }
.gz-h { font-size:14px; color:#C0141E; font-weight:700; margin:16px 0 10px; padding-bottom:6px; border-bottom:2px solid #f3e4e5; }
.gz-h:first-child { margin-top:0; }
.gz-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gz-f { display:flex; flex-direction:column; gap:5px; margin:8px 0; }
.gz-f > span { font-size:12.5px; color:#475569; font-weight:600; }
.gz-f input, .gz-f textarea { padding:11px 13px; border:1px solid #e3e8ef; border-radius:10px; font-size:15px; font-family:inherit; color:#0f172a; background:#fbfcfe; }
.gz-f input:focus, .gz-f textarea:focus { outline:none; border-color:#C0141E; background:#fff; }
.gz-kvkk { display:flex; gap:9px; align-items:flex-start; font-size:13.5px; color:#475569; margin:14px 0; line-height:1.5; }
.gz-kvkk input { margin-top:3px; width:18px; height:18px; flex-shrink:0; }
.gz-submit { width:100%; margin-top:8px; padding:14px; font-size:16px; }
.gz-msg { margin-top:12px; font-size:14px; }
.gz-msg.err { color:#dc2626; font-weight:600; }
.gz-ok { text-align:center; padding:20px 10px; }
.gz-ok-ic { width:64px; height:64px; border-radius:50%; background:#16a34a; color:#fff; font-size:34px; line-height:64px; margin:0 auto 14px; }
.gz-ok h3 { font-size:22px; margin:0 0 8px; color:#0f172a; }
.gz-ok p { color:#475569; font-size:15px; margin-bottom:18px; }
@media (max-width:640px){ .gz-grid { grid-template-columns:1fr; } }
