/*
Theme Name: Eren&co
Theme URI: https://erencobatarya.com
Author: Eren&co Elektronik
Description: Eren&co Elektronik için özel kurumsal tema. Batarya ve enerji çözümleri.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: erenco
*/

:root {
  --navy: #0c0a39;
  --navy-2: #151252;
  --navy-3: #1f1b6b;
  --green: #0bb530;
  --green-dark: #089427;
  --green-light: #e6f8ea;
  --white: #ffffff;
  --gray-50: #f6f7fb;
  --gray-100: #eceef5;
  --gray-300: #cdd1e0;
  --gray-600: #5b607a;
  --text: #1b1b2f;
  --radius: 0;
  --shadow: 0 10px 30px rgba(12, 10, 57, 0.08);
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 0; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1;
}
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.site-logo img { height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.main-nav a {
  display: block; padding: .6rem .95rem; color: rgba(255,255,255,.85); font-weight: 600; font-size: .98rem;
  border-radius: 0; transition: all .2s;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--white); background: rgba(255,255,255,.08); }
.main-nav .menu-item-cta a { background: var(--green); color: var(--white); margin-left: .5rem; border-radius: 0; padding: .6rem 1.2rem; }
.main-nav .menu-item-cta a:hover { background: var(--green-dark); }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,.3); border-radius: 0;
  width: 44px; height: 44px; cursor: pointer; padding: 0; color: var(--white);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px auto; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #0d3d2a 130%);
  color: var(--white);
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(11,181,48,.25), transparent 70%),
    radial-gradient(400px 300px at 10% 90%, rgba(11,181,48,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.2rem;
}
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: min(100%, 360px); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; max-width: 640px; }
.hero-stats div { border-left: 3px solid var(--green); padding-left: 1rem; }
.hero-stats strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: .7rem;
}
.section-head p { color: var(--gray-600); font-size: 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow); transition: transform .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--green-light); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 0; background: var(--green-light); color: var(--green-dark);
  display: grid; place-items: center; margin-bottom: 1.3rem;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card p { color: var(--gray-600); font-size: .98rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; }
.about-visual .panel {
  background: var(--navy); border-radius: 0; padding: 2.5rem; color: var(--white);
  box-shadow: 0 30px 60px rgba(12,10,57,.25);
}
.about-visual .panel img { width: 70%; margin-bottom: 1.5rem; }
.about-visual .panel p { color: rgba(255,255,255,.8); margin: 0; }
.about-visual .badge {
  position: absolute; right: -14px; bottom: -14px; background: var(--green); color: var(--white);
  padding: 1rem 1.4rem; border-radius: 0; font-weight: 800; line-height: 1.1; box-shadow: var(--shadow);
}
.about-visual .badge small { display: block; font-weight: 600; font-size: .8rem; opacity: .9; }
.feature-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.2rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .check {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 0; background: var(--green); color: var(--white);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list .check svg { width: 16px; height: 16px; }
.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--gray-600); font-size: .97rem; }

/* Why / values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value { padding: 0 .5rem; }
.value .num { font-size: 2.6rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: .6rem; }
.value p { color: var(--gray-600); margin: 0; }

/* CTA band */
.cta-band { background: var(--green); color: var(--white); padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-inner p { margin: 0; opacity: .92; }
.cta-band .btn-navy { white-space: nowrap; }

/* Contact */
.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; border-radius: 0; overflow: hidden; box-shadow: 0 24px 60px rgba(12,10,57,.14); background: var(--white); }
.contact-panel { background: var(--navy); color: var(--white); padding: 2.4rem 2.2rem; display: flex; flex-direction: column; gap: 1.5rem; position: relative; overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(11,181,48,.35), transparent 70%); }
.contact-panel h3 { color: var(--white); font-size: 1.4rem; margin: 0; }
.contact-panel > p { color: rgba(255,255,255,.75); margin: -.8rem 0 0; font-size: .97rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; position: relative; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 0; background: rgba(255,255,255,.08); color: var(--green); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: .1rem; }
.contact-list a, .contact-list span { color: var(--white); font-weight: 600; font-size: .97rem; }
.contact-list a:hover { color: var(--green); }
.contact-panel .btn-wa { align-self: flex-start; position: relative; margin-top: auto; }
.contact-form-wrap { padding: 2.4rem 2.2rem; }
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.contact-form-wrap > p { color: var(--gray-600); font-size: .95rem; margin-bottom: 1.4rem; }
.wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.wpcf7-form > p { margin: 0; }
.wpcf7-form > p:has(textarea), .wpcf7-form > p:has(input[type="submit"]), .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-weight: 600; color: var(--navy); margin: 0; font-size: .9rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%; margin-top: .35rem; padding: .75rem .95rem; border: 1px solid var(--gray-300); border-radius: 0;
  font: inherit; font-size: .97rem; background: var(--gray-50);
}
.wpcf7 textarea { height: 130px; min-height: 100px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--green); border-color: var(--green); background: var(--white); }
.wpcf7 input[type="submit"] { background: var(--green); color: var(--white); border: 0; border-radius: 0; padding: .85rem 2rem; font: inherit; font-weight: 700; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--green-dark); }
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7-form .wpcf7-response-output { margin: 0; border-radius: 0; padding: .8rem 1rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); background: var(--green-light); }

/* Inner pages */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(11,181,48,.25), transparent 70%); }
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: .6rem; }
.page-hero .crumbs a { color: var(--green); }
.page-content { padding: clamp(3rem, 6vw, 5rem) 0; }
.entry-content { max-width: 820px; }
.entry-content h2 { font-size: 1.7rem; margin-top: 2rem; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content ul { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-columns { gap: 2rem; }
.entry-content blockquote { border-left: 4px solid var(--green); margin: 1.5rem 0; padding: .5rem 1.2rem; background: var(--gray-50); border-radius: 0; }
.entry-content .wp-block-button__link { background: var(--green); border-radius: 0; font-weight: 700; }

/* Blog fallbacks */
.post-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--gray-100); }
.post-list h2 { font-size: 1.4rem; }
.post-list h2 a { color: var(--navy); }
.post-list .meta { color: var(--gray-600); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--green); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom .green-bar { display: inline-block; width: 36px; height: 6px; background: var(--green); border-radius: 0; margin-right: .6rem; vertical-align: middle; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); padding: .5rem 1rem 1rem; display: none; box-shadow: 0 20px 30px rgba(0,0,0,.3); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: .9rem 1rem; }
  .main-nav .menu-item-cta a { margin: .5rem 0 0; text-align: center; }
  .hero-grid, .about-grid, .contact-box { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: 200px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .values-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-visual .badge { right: 8px; bottom: -14px; }
}
@media (max-width: 560px) {
  .services-grid, .footer-grid, .wpcf7-form { grid-template-columns: 1fr; }
  .contact-panel, .contact-form-wrap { padding: 1.8rem 1.4rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .site-logo img { height: 42px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ==================================================================
 * Slider (anasayfa)
 * ================================================================ */
.slider { position: relative; background: var(--navy); color: var(--white); overflow: hidden; min-height: clamp(520px, 78vh, 760px); }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,10,57,.94) 0%, rgba(12,10,57,.78) 45%, rgba(12,10,57,.35) 100%);
}
.slide::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.slide-inner { position: relative; max-width: 640px; padding: clamp(4rem, 8vw, 6rem) 0; transform: translateY(16px); opacity: 0; transition: all .8s ease .25s; }
.slide.active .slide-inner { transform: none; opacity: 1; }
.slide .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.slide .eyebrow svg { width: 20px; height: 20px; }
.slide h2 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: .8rem; }
.slide h2 em { font-style: normal; color: var(--green); }
.slide p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 1.8rem; max-width: 540px; }
.slide-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.slider-nav { position: absolute; z-index: 2; bottom: 2rem; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.slider-dots { display: flex; gap: .5rem; pointer-events: auto; }
.slider-dots button { width: 36px; height: 6px; border-radius: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: .3s; }
.slider-dots button.active { background: var(--green); width: 54px; }
.slider-arrows { display: flex; gap: .5rem; pointer-events: auto; }
.slider-arrows button {
  width: 46px; height: 46px; border-radius: 0; border: 2px solid rgba(255,255,255,.4); background: rgba(12,10,57,.5);
  color: var(--white); cursor: pointer; display: grid; place-items: center; transition: .2s; backdrop-filter: blur(4px);
}
.slider-arrows button:hover { background: var(--green); border-color: var(--green); }
.slider-arrows svg { width: 20px; height: 20px; }
.slider-arrows .prev svg { transform: rotate(180deg); }

/* WhatsApp düğmeleri */
.btn-wa { background: #1a9e4b; color: var(--white); border-color: #1a9e4b; }
.btn-wa:hover { background: #15843e; border-color: #15843e; color: var(--white); transform: translateY(-2px); }
.btn-wa svg, .btn svg { width: 20px; height: 20px; }
.btn-wa-outline { background: transparent; color: #1a9e4b; border-color: #1a9e4b; }
.btn-wa-outline:hover { background: #1a9e4b; color: var(--white); }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #1a9e4b; color: var(--white); padding: .8rem 1.1rem .8rem .9rem; border-radius: 0;
  font-weight: 700; font-size: .95rem; box-shadow: 0 10px 30px rgba(26,158,75,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 28px; height: 28px; flex: 0 0 28px; }
.wa-float:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(26,158,75,.55); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 0; border: 2px solid #1a9e4b; opacity: .6; animation: wa-pulse 2s infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.wa-inline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--green-light); border-radius: var(--radius); border-left: 4px solid var(--green); }
.wa-inline p { margin: 0; color: var(--navy); font-weight: 600; }

/* Kategori kartları (anasayfa) */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.cat-card {
  position: relative; display: block; min-height: 320px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; color: var(--white); box-shadow: var(--shadow);
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,57,.15) 0%, rgba(12,10,57,.92) 100%); transition: .3s; }
.cat-card:hover::before { background: linear-gradient(180deg, rgba(12,10,57,.3) 0%, rgba(8,148,39,.95) 100%); }
.cat-card .cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.cat-card .cat-icon { width: 44px; height: 44px; border-radius: 0; background: var(--green); display: grid; place-items: center; margin-bottom: .8rem; }
.cat-card .cat-icon svg { width: 24px; height: 24px; }
.cat-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .4rem; }
.cat-card p { color: rgba(255,255,255,.85); font-size: .92rem; margin: 0 0 .8rem; }
.cat-card .cat-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--white); font-size: .9rem; }
.cat-card .cat-link svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* Kategori sayfası */
.cat-hero { position: relative; color: var(--white); padding: clamp(5rem, 10vw, 8rem) 0; background-size: cover; background-position: center; overflow: hidden; }
.cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,10,57,.95) 0%, rgba(12,10,57,.75) 50%, rgba(12,10,57,.35) 100%); }
.cat-hero .container { position: relative; }
.cat-hero h1 { color: var(--white); margin-bottom: .8rem; }
.cat-hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 1.6rem; }
.cat-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: .6rem; }
.cat-hero .crumbs a { color: var(--green); }
.cat-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.cat-aside { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.wa-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.8rem; }
.wa-card h3 { color: var(--white); margin-bottom: .5rem; }
.wa-card p { color: rgba(255,255,255,.78); font-size: .97rem; margin-bottom: 1.2rem; }
.wa-card .btn { width: 100%; justify-content: center; }
.wa-card .alt { margin-top: .8rem; font-size: .9rem; text-align: center; }
.wa-card .alt a { color: var(--green); }
.cat-list-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.cat-list-card h4 { margin-bottom: .8rem; font-size: 1rem; }
.cat-list-card ul { list-style: none; margin: 0; padding: 0; }
.cat-list-card li a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gray-100); }
.cat-list-card li:last-child a { border-bottom: 0; }
.cat-list-card li a svg { width: 18px; height: 18px; color: var(--green-dark); }
.cat-list-card li.current a { color: var(--green-dark); }

/* Menü açılır alt öğeler */
.main-nav li { position: relative; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: 0; box-shadow: 0 20px 40px rgba(12,10,57,.2); display: none; flex-direction: column; gap: 0; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { color: var(--navy); padding: .65rem .9rem; border-radius: 0; font-size: .95rem; text-align: left; display: block; }
.main-nav .sub-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: .5rem; position: relative; top: -2px; }

@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-aside { position: static; }
  .slider { min-height: 560px; }
  .slider-nav { bottom: 1.2rem; }
  .main-nav .sub-menu { position: static; display: flex; box-shadow: none; background: rgba(255,255,255,.06); padding: .25rem .5rem; margin: 0 0 .5rem; }
  .main-nav .sub-menu a { color: rgba(255,255,255,.85); text-align: left; }
  .main-nav .sub-menu a:hover { background: rgba(255,255,255,.1); color: var(--white); }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
}
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-card { min-height: 240px; } }

.card-wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; font-size: .92rem; color: #15843e; }
.card-wa svg { width: 18px; height: 18px; }
.card-wa:hover { color: var(--green-dark); }

/* ==================================================================
 * Anasayfa – tam genişlik, köşeli, üst üste binen bloklar
 * ================================================================ */
.home .contact-box { border-radius: 0; box-shadow: none; }
.blk h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.blk-wrap { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }
.blk-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .6rem; }
.blk-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.blk-head h2 { margin: 0; }
.blk-head > p { color: var(--gray-600); font-size: 1.05rem; margin: 0 0 .3rem; }
.blk-arrow { display: block; width: 34px; height: 34px; margin-top: 1.6rem; position: relative; }
.blk-arrow::before { content: ""; position: absolute; left: 2px; bottom: 2px; width: 36px; height: 2px; background: currentColor; transform: rotate(-45deg); transform-origin: left bottom; }
.blk-arrow::after { content: ""; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.blk-light .blk-arrow { color: var(--navy); }
.blk-band-text .blk-arrow, .blk-arrow-green { color: var(--green); }

/* Blok 1: slider'a taşan açık blok */
.blk-solutions { background: var(--gray-50); position: relative; z-index: 2; margin-top: -72px; padding: 0 0 4.5rem; }
.blk-solutions .blk-wrap { background: var(--white); padding: 2.6rem 2.6rem 2.2rem; box-shadow: 0 30px 60px rgba(12,10,57,.12); border-top: 6px solid var(--green); }
.blk-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--gray-100); border: 2px solid var(--gray-100); }
.blk-card { display: flex; flex-direction: column; background: var(--white); color: var(--text); transition: background .25s; }
.blk-card-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; filter: saturate(.9); transition: transform .4s; }
.blk-card { overflow: hidden; }
.blk-card:hover .blk-card-img { transform: scale(1.04); }
.blk-card-body { padding: 1.3rem 1.15rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blk-ico { width: 44px; height: 44px; background: var(--navy); color: var(--green); display: grid; place-items: center; margin-top: -42px; margin-bottom: 1rem; position: relative; }
.blk-ico svg { width: 24px; height: 24px; }
.blk-card h3 { font-size: 1.04rem; margin-bottom: .4rem; }
.blk-card p { color: var(--gray-600); font-size: .9rem; margin: 0 0 1rem; flex: 1; }
.blk-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); font-size: .9rem; }
.blk-more svg { width: 16px; height: 16px; transition: transform .2s; }
.blk-card:hover { background: var(--green-light); }
.blk-card:hover .blk-more { color: var(--green-dark); }
.blk-card:hover .blk-more svg { transform: translateX(4px); }
.blk-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.blk-all { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); }
.blk-all svg { width: 18px; height: 18px; }
.blk-all:hover { color: var(--green-dark); }

/* Blok 2: lacivert bant */
.blk-band { background: var(--navy); color: var(--white); padding: 1.5rem 0 0; position: relative; }
.blk-band-inner { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }
.blk-photo { background-size: cover; background-position: center; min-height: 260px; }
.blk-photo-wide { height: clamp(320px, 42vw, 560px); }
.blk-band-text { padding: 3rem 0 3.5rem; max-width: 820px; }
.blk-band-text h2 { color: var(--white); }
.blk-band-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 760px; }
.blk-light { background: var(--gray-50); color: var(--text); padding: 3rem 3rem 2.5rem; }
.blk-light h2 { color: var(--navy); }
.blk-light p { color: var(--gray-600); font-size: 1.02rem; max-width: 640px; }
.blk-light-left { width: min(80%, 1040px); margin-right: auto; position: relative; top: 90px; margin-top: -90px; z-index: 2; }
.blk-band::after { content: ""; display: block; height: 90px; background: var(--white); }

/* Blok 3: mozaik */
.blk-mosaic { background: var(--white); padding-top: 0; position: relative; }
.blk-mosaic-top { display: grid; grid-template-columns: 1fr 1.2fr; }
.blk-light-static { display: flex; flex-direction: column; justify-content: center; }
.blk-mosaic-top .blk-photo { min-height: 380px; }
.blk-mosaic-tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.blk-mosaic-tiles .blk-photo { min-height: 300px; }
.blk-mosaic-tiles .blk-photo:nth-child(2) { filter: saturate(.8) brightness(.9); }
.blk-navy-overlap { position: relative; z-index: 2; width: min(760px, calc(100% - 2rem)); margin: -120px 0 0 auto; background: var(--navy); color: var(--white); padding: 3rem 3rem 2.6rem; box-shadow: 0 30px 60px rgba(12,10,57,.3); }
.blk-navy-overlap h2 { color: var(--white); }
.blk-navy-overlap p { color: rgba(255,255,255,.8); max-width: 560px; }
.blk-quote { position: absolute; top: -34px; left: 2.6rem; font-size: 7rem; line-height: 1; color: var(--green); font-family: Georgia, serif; }

/* Blok 4: süreç */
.blk-steps { background: var(--gray-50); padding: clamp(4rem, 8vw, 6rem) 0; }
.blk-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-300); border: 2px solid var(--gray-300); }
.blk-step { background: var(--white); padding: 2.2rem 1.8rem; }
.blk-step .num { font-size: 2.4rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 1rem; }
.blk-step h3 { font-size: 1.15rem; }
.blk-step p { color: var(--gray-600); font-size: .95rem; margin: 0; }
.blk-step-cta { background: var(--green); color: var(--white); display: flex; flex-direction: column; }
.blk-step-cta h3 { color: var(--white); font-size: 1.25rem; }
.blk-step-cta p { color: rgba(255,255,255,.92); margin-bottom: 1.4rem; flex: 1; }

/* Blok 5 */
.blk-contact { background: var(--white); padding: clamp(4rem, 8vw, 6rem) 0; }

@media (max-width: 1024px) {
  .blk-cards, .blk-step-grid { grid-template-columns: repeat(2, 1fr); }
  /* tek kalan son kart satırı doldursun: görsel solda, metin sağda */
  .blk-card:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; }
  .blk-card:last-child:nth-child(odd) .blk-card-img { flex: 0 0 42%; aspect-ratio: auto; }
  .blk-card:last-child:nth-child(odd) .blk-ico { margin-top: 0; }
}
@media (max-width: 860px) {
  .blk-head { grid-template-columns: 1fr; gap: .8rem; }
  .blk-solutions { margin-top: -40px; }
  .blk-solutions .blk-wrap { padding: 1.6rem 1.2rem; }
  .blk-light { padding: 2rem 1.4rem; }
  .blk-light-left { width: calc(100% - 1rem); top: 60px; margin-top: -60px; }
  .blk-band::after { height: 60px; }
  .blk-mosaic-top { grid-template-columns: 1fr; }
  .blk-mosaic-top .blk-photo { min-height: 240px; }
  .blk-mosaic-tiles .blk-photo { min-height: 160px; }
  .blk-navy-overlap { margin: -60px auto 0; padding: 2.4rem 1.4rem 2rem; }
  .blk-quote { font-size: 5rem; top: -24px; left: 1.2rem; }
}
@media (max-width: 560px) {
  .blk-cards, .blk-step-grid, .blk-mosaic-tiles { grid-template-columns: 1fr; }
  .blk-card:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; }
  .blk-card:last-child:nth-child(odd) .blk-card-img { aspect-ratio: 16 / 10; }
  .blk-card:last-child:nth-child(odd) .blk-ico { margin-top: -42px; }
  .blk-mosaic-tiles .blk-photo:nth-child(3) { display: none; }
}

/* Slider kontrollerini taşan bloğun üstünde tut */
.slider-nav { bottom: calc(72px + 1.6rem); }
.slide-inner { padding-bottom: calc(clamp(4rem, 8vw, 6rem) + 72px); }
@media (max-width: 860px) {
  .slider-nav { bottom: calc(40px + 1.2rem); }
  .slide-inner { padding-bottom: calc(4rem + 40px); }
  .slider { min-height: 620px; }
}

/* Kademeli bloklar: lacivert (görsel sol / metin sağ) → açık (metin sol / görsel sağ), birbirine taşan */
.blk-cascade { padding: 4.5rem 0 0; background: var(--white); }
.cas-block { display: grid; grid-template-columns: 1fr 1fr; width: min(88%, 1240px); position: relative; }
.cas-img { background-size: cover; background-position: center; min-height: 440px; }
.cas-text { padding: clamp(2.4rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cas-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.cas-text p { font-size: 1.02rem; margin-bottom: 1.4rem; max-width: 520px; }
.cas-navy { background: var(--navy); color: var(--white); margin-right: auto; z-index: 1; }
.cas-navy .blk-eyebrow { color: var(--green); }
.cas-navy h2 { color: var(--white); }
.cas-navy p { color: rgba(255,255,255,.8); }
.cas-navy .blk-arrow { color: var(--green); }
.cas-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--white); }
.cas-link svg { width: 18px; height: 18px; }
.cas-link:hover { color: var(--green); }
.cas-light { background: var(--gray-50); margin-left: auto; margin-top: -90px; z-index: 2; box-shadow: 0 30px 60px rgba(12,10,57,.12); }
.cas-light h2 { color: var(--navy); }
.cas-light p { color: var(--gray-600); }
.cas-light .blk-arrow { color: var(--navy); }
.blk-mosaic { padding-top: 4.5rem; }
@media (max-width: 1024px) { .cas-img { min-height: 360px; } }
@media (max-width: 860px) {
  .cas-block { grid-template-columns: 1fr; width: calc(100% - 1rem); }
  .cas-light { margin-top: -40px; }
  .cas-light .cas-text { order: 2; }
  .cas-light .cas-img { order: 1; }
  .cas-img { min-height: 220px; }
}

/* İletişim – harita */
.contact-map { background: var(--gray-50); }
.contact-map .map-bar { background: var(--navy); color: var(--white); }
.contact-map .map-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.contact-map .map-addr { display: flex; flex-direction: column; gap: .2rem; }
.contact-map .map-addr strong { font-size: 1.05rem; }
.contact-map .map-bar .btn svg { width: 18px; height: 18px; }
.contact-map iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 560px) { .contact-map iframe { height: 320px; } }
.footer-bottom .credits { font-size: .78rem; opacity: .6; flex-basis: 100%; }
.footer-bottom .credits a { color: inherit; text-decoration: underline; }

/* İlk slayt (puntalama fotoğrafı): görsel sağa kaydırılır, sol taraf laciverte karartılır */
.slide-weld { background-size: 140% auto; background-position: 0% 42%; }
.slide-weld::before {
  background: linear-gradient(90deg, rgba(12,10,57,.98) 0%, rgba(12,10,57,.92) 28%, rgba(12,10,57,.55) 52%, rgba(12,10,57,.12) 78%, rgba(12,10,57,0) 100%);
}
@media (max-width: 860px) {
  .slide-weld { background-size: cover; background-position: 70% center; }
  .slide-weld::before { background: linear-gradient(100deg, rgba(12,10,57,.94) 0%, rgba(12,10,57,.78) 45%, rgba(12,10,57,.35) 100%); }
}
