/* =========================================================
   Emek Electric — Global Stylesheet
   Renkler: Kırmızı #E30613 · Siyah #0A0A0A · Açık #F5F5F5
   ========================================================= */

:root {
  --red: #E30613;
  --red-dark: #B00410;
  --black: #0A0A0A;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #888;
  --gray-200: #e7e7e7;
  --gray-100: #F5F5F5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(227,6,19,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: padding .25s var(--ease);
}
.site-header.scrolled .header-inner { padding: 10px 0; }

.logo img { height: 46px; width: auto; }
.site-header.scrolled .logo img { height: 38px; }

.nav-list {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}
.nav-list a {
  color: #ddd;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
}
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px;
  font-weight: 600;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* mobile menu */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  color: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 100px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../assets/hero.svg') center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 60%, rgba(227,6,19,0.25) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227,6,19,0.18);
  border: 1px solid rgba(227,6,19,0.4);
  color: #ffb3b8;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: #d6d6d6;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(227,6,19,0.4);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(227,6,19,0.55);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff !important;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--black) !important;
  border-color: #fff;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ========== SECTION COMMON ========== */
section { padding: 96px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.section-title .accent { color: var(--red); }
.section-sub {
  margin-top: 14px;
  color: var(--gray-700);
  font-size: 16px;
}

/* ========== NEDEN EMEK (FEATURES) ========== */
.features { background: var(--gray-100); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(227,6,19,0.3);
}
.feature h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.feature p {
  color: var(--gray-700);
  font-size: 15px;
}

/* ========== BAYİLİK FİYAT LİSTELERİ ========== */
.pricelists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pricelist-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pricelist-card::after {
  content: '';
  position: absolute;
  inset: auto -30% -50% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(227,6,19,0.08), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pricelist-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}
.pricelist-card:hover::after { opacity: 1; }

.pricelist-logo {
  height: 60px;
  display: flex; align-items: center;
}
.pricelist-logo img { max-height: 60px; width: auto; }
.pricelist-name { font-size: 20px; font-weight: 800; }
.pricelist-desc { color: var(--gray-700); font-size: 14px; flex: 1; }
.pricelist-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--gray-200);
  width: 100%;
}
.pricelist-link svg { transition: transform .2s var(--ease); }
.pricelist-card:hover .pricelist-link svg { transform: translateX(4px); }
.pricelist-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}
.pricelist-card:hover .pricelist-badge {
  background: var(--red);
  color: #fff;
}

/* ========== HAKKIMIZDA (ABOUT) ========== */
.about { background: var(--gray-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.about-content .section-eyebrow,
.about-content .section-title { text-align: left; }
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-700);
  margin-top: 6px;
  font-weight: 500;
}

/* ========== BAYİLİK LOGOLARI ========== */
.partners { background: #fff; padding: 80px 0; }
.partners-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-row {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll 28s linear infinite;
  width: max-content;
}
.partners-row img {
  height: 60px;
  width: auto;
  filter: grayscale(100%) opacity(0.6);
  transition: filter .3s var(--ease);
}
.partners-row img:hover {
  filter: grayscale(0%) opacity(1);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== HABERLER ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 22px 22px 26px; }
.news-date {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.news-title {
  font-size: 18px;
  font-weight: 800;
  margin: 8px 0 10px;
  line-height: 1.35;
}
.news-excerpt {
  color: var(--gray-700);
  font-size: 14px;
  margin-bottom: 14px;
}
.news-more {
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========== CTA STRIP ========== */
.cta-strip {
  background: linear-gradient(120deg, var(--black) 0%, #1a0204 60%, var(--red-dark) 100%);
  color: #fff;
  padding: 70px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.2;
}
.cta-strip h2 .accent { color: #ff5a64; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: #bdbdbd;
  padding: 70px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--red);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.contact-line {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.contact-line svg { flex-shrink: 0; margin-top: 3px; color: var(--red); }

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.social a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #888;
}

/* ========== REVEAL ANIM ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  section { padding: 70px 0; }
  .menu-toggle { display: inline-flex; }
  .nav-list {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,10,0.98);
    padding: 18px 24px 28px;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: 80vh; }
  .footer-top { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
