/* Keçiören Elektrikçi - Modern, Hızlı, SEO odaklı tasarım */
:root {
	--brand: #f59e0b;
	--brand-dark: #b45309;
	--brand-darker: #78350f;
	--ink: #0f172a;
	--ink-2: #1e293b;
	--muted: #64748b;
	--bg: #ffffff;
	--bg-soft: #fff7ed;
	--bg-strong: #0f172a;
	--line: #e2e8f0;
	--success: #16a34a;
	--danger: #dc2626;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.18);
	--max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-strong); color: #e2e8f0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* Typography */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(28px, 4.5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.4vw, 22px); }
p { margin: 0 0 14px; color: var(--ink-2); }
.lead { font-size: 18px; color: var(--ink-2); }
.eyebrow { display: inline-block; padding: 6px 12px; background: var(--brand); color: #1f1300; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }

/* Top utility bar */
.utilbar { background: var(--ink); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.utilbar .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.utilbar a { color: #f1f5f9; }
.utilbar strong { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 14px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 17px; flex-shrink: 0; line-height: 1.1; white-space: nowrap; }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #1f1300; display: grid; place-items: center; font-weight: 900; box-shadow: var(--shadow); flex-shrink: 0; }
.logo small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.menu > a, .menu .has-sub > a { color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.menu a:hover { color: var(--brand-dark); }
.menu .has-sub { position: relative; }
.menu .has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.menu .has-sub .caret { font-size: 10px; line-height: 1; opacity: 0.7; transition: transform 0.2s; }
.menu .has-sub:hover .caret { transform: rotate(180deg); }
.menu .submenu { position: absolute; top: 100%; left: -16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 280px; box-shadow: var(--shadow); display: none; }
.menu .submenu-wide { min-width: 380px; columns: 2; column-gap: 8px; }
.menu .has-sub:hover .submenu, .menu .has-sub:focus-within .submenu { display: block; }
.menu .submenu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; break-inside: avoid; }
.menu .submenu a:hover { background: var(--bg-soft); color: var(--brand-darker); }
.cta-call { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #1f1300; padding: 9px 14px; border-radius: 10px; font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow); white-space: nowrap; }
.cta-call:hover { background: var(--brand-dark); color: #fff; }
.cta-call .cta-short { display: none; }
.cta-wa { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; padding: 9px 13px; border-radius: 10px; font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow); white-space: nowrap; }
.cta-wa:hover { background: #1ebe5b; color: #fff; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ''; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: 0.2s; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

/* Hero */
.hero { position: relative; padding: 80px 0 64px; background: linear-gradient(180deg, #fff7ed 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.18), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand-dark); }
.hero .meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--ink-2); font-size: 14.5px; }
.hero .meta b { color: var(--ink); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 800; transition: 0.2s; border: 0; cursor: pointer; font-size: 15px; }
.btn-primary { background: var(--brand); color: #1f1300; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.hero-card { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow-strong); border: 1px solid var(--line); }
.hero-card h3 { display: flex; align-items: center; gap: 10px; }
.hero-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.hero-card li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.hero-card li::before { content: '✓'; flex: 0 0 22px; height: 22px; background: var(--brand); color: #1f1300; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.badge-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.badge { background: var(--bg-soft); color: var(--brand-darker); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid #fde68a; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: 0.2s; box-shadow: 0 2px 0 rgba(15,23,42,0.02); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #fde68a; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand-dark); font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--brand-dark); font-weight: 700; font-size: 14px; }

/* Mahalle list */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.chip:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--bg-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step .num { position: absolute; top: -14px; left: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #1f1300; display: grid; place-items: center; font-weight: 900; box-shadow: var(--shadow); }
.step h4 { margin: 8px 0; font-size: 16px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.testi .stars { color: var(--brand); font-size: 18px; }
.testi cite { display: block; margin-top: 10px; font-style: normal; color: var(--muted); font-size: 13px; font-weight: 600; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--brand-dark); transition: 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .body { padding: 0 20px 18px; color: var(--ink-2); }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, var(--ink) 0%, #1e293b 100%); color: #fff; border-radius: 18px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0 0 4px; }
.cta-strip p { color: #cbd5e1; margin: 0; }

/* Service hero */
.svc-hero { background: linear-gradient(180deg, #fff7ed 0%, #fff 100%); padding: 60px 0 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-dark); }

/* Service body grid */
.svc-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
.svc-grid .content :is(h2, h3) { margin-top: 28px; }
.svc-grid .content :first-child { margin-top: 0; }
.svc-grid ul.list { padding-left: 20px; }
.svc-grid ul.list li { margin-bottom: 8px; color: var(--ink-2); }
.svc-grid .sidebar { position: sticky; top: 90px; display: grid; gap: 16px; }
.sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sidecard h3 { font-size: 16px; }
.sidecard .price { font-size: 28px; font-weight: 900; color: var(--brand-dark); }
.sidecard .price small { font-size: 12px; font-weight: 600; color: var(--muted); display: block; }
.sidecard .btn { width: 100%; justify-content: center; margin-top: 8px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-list .chip { font-size: 12.5px; padding: 6px 10px; }

/* Footer */
.site-footer { background: var(--bg-strong); color: #cbd5e1; padding: 60px 0 24px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot-grid a { color: #cbd5e1; display: block; padding: 4px 0; font-size: 14px; }
.foot-grid a:hover { color: var(--brand); }
.foot-grid p { color: #94a3b8; font-size: 14px; }
.foot-bottom { border-top: 1px solid #1f2937; margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #94a3b8; font-size: 13px; }

/* Sticky mobile call - growth boost */
.fab-call { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60; display: flex; gap: 10px; pointer-events: none; }
.fab-call a { pointer-events: auto; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 14px; color: #fff; font-size: 16px; font-weight: 800; box-shadow: var(--shadow-strong); text-decoration: none; }
.fab-call a span:first-child { font-size: 20px; }
.fab-call .fab-label { white-space: nowrap; }
.fab-call .fab-phone { background: var(--brand-dark); }
.fab-call .fab-phone:hover { background: var(--brand-darker); }
.fab-call .fab-wa { background: #25D366; }
.fab-call .fab-wa:hover { background: #1ebe5b; }
@media (min-width: 721px) {
	.fab-call { left: auto; right: 18px; bottom: 18px; flex-direction: column; gap: 10px; }
	.fab-call a { width: auto; padding: 0 18px; min-width: 180px; }
}

/* Görsel destekli hero */
.hero-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-strong); border: 1px solid var(--line); position: relative; aspect-ratio: 4/3; background: #f1f5f9; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img .badge-floating { position: absolute; left: 16px; bottom: 16px; background: rgba(15,23,42,0.85); color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; backdrop-filter: blur(6px); }
.hero-img .badge-floating b { color: var(--brand); }

/* Foto kart */
.photo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.2s; box-shadow: 0 2px 0 rgba(15,23,42,0.02); display: block; color: var(--ink); }
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #fde68a; color: var(--ink); }
.photo-card .ph { aspect-ratio: 4/3; background: #f1f5f9; overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .body { padding: 18px 20px 20px; }
.photo-card h3 { font-size: 17px; margin-bottom: 6px; }
.photo-card p { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.photo-card .more { font-weight: 700; color: var(--brand-dark); font-size: 14px; }

/* Hizmet sayfası kapak */
.svc-cover { aspect-ratio: 16/7; border-radius: 14px; overflow: hidden; margin: 18px 0 8px; box-shadow: var(--shadow); }
.svc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sticky CTA bar (üstte ince çubuk) */
.sticky-cta { position: sticky; top: 60px; z-index: 40; background: var(--brand); color: #1f1300; display: none; align-items: center; justify-content: space-between; padding: 8px 16px; gap: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.sticky-cta b { font-size: 14px; }
.sticky-cta a { display: inline-flex; gap: 6px; align-items: center; background: #1f1300; color: #fff; padding: 6px 12px; border-radius: 8px; font-weight: 800; font-size: 13px; }
@media (max-width: 720px) {
	.sticky-cta { display: flex; }
}

/* Hızlı çağrı bandı (dark) */
.callband { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #1f1300; padding: 36px 28px; border-radius: 18px; box-shadow: var(--shadow-strong); text-align: center; }
.callband h2 { color: #1f1300; margin-bottom: 6px; }
.callband p { color: #1f1300; opacity: 0.9; margin-bottom: 18px; }
.callband .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.callband .big-phone { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: #1f1300; text-decoration: underline; text-underline-offset: 4px; }
.callband .big-phone:hover { color: #000; }

/* Forms */
.form { display: grid; gap: 12px; }
.form label { font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form textarea { min-height: 110px; resize: vertical; }

/* Tables */
table.price { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.price th, table.price td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
table.price th { background: var(--bg-soft); color: var(--brand-darker); font-weight: 700; }
table.price tr:last-child td { border-bottom: 0; }

/* Responsive */
/* Küçük desktop / tablet yatay - menüde sıkışmayı önle */
@media (max-width: 1280px) {
	.logo small { display: none; }
	.menu { gap: 14px; }
	.menu > a, .menu .has-sub > a { font-size: 13.5px; }
	.cta-call { padding: 8px 12px; font-size: 13px; }
	.cta-wa { padding: 8px 11px; font-size: 13px; }
	.utilbar { font-size: 12.5px; }
}

/* Tablet - menüde ikincil linkler çıksın, telefon kısa "Ara" gösterilsin */
@media (max-width: 1100px) {
	.menu .nav-secondary { display: none; }
	.menu { gap: 12px; }
	.cta-call .cta-num { display: none; }
	.cta-call .cta-short { display: inline; }
	.cta-call { padding: 9px 14px; }
	.cta-wa { padding: 9px 13px; }
}

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
	.cards, .steps, .testi-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
	.svc-grid { grid-template-columns: 1fr; }
	.svc-grid .sidebar { position: static; }
}
@media (max-width: 720px) {
	.menu { display: none; }
	.menu.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; max-height: calc(100vh - 120px); overflow-y: auto; }
	.menu.open > a, .menu.open .has-sub > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
	.menu.open .has-sub .submenu { position: static; box-shadow: none; border: 0; padding: 4px 12px 12px; min-width: 0; display: block; columns: 1 !important; }
	.menu.open .submenu a { white-space: normal; }
	.menu.open .cta-wa, .menu.open .cta-call { margin-top: 8px; justify-content: center; padding: 12px; font-size: 14.5px; }
	.menu.open .cta-call { background: var(--brand); }
	.menu.open .cta-call .cta-num { display: inline; }
	.menu.open .cta-call .cta-short { display: none; }
	.menu.open .nav-secondary { display: block; }
	.menu-toggle { display: inline-flex; }
	.cards, .steps, .testi-grid, .foot-grid { grid-template-columns: 1fr; }
	.cta-strip { padding: 24px; }
	.fab-call { display: flex; }
	.section { padding: 56px 0; }
	.hero { padding: 56px 0 40px; }
	.logo small { display: none; }
	.utilbar .row { font-size: 11.5px; gap: 6px; }
}
