/* ==========================================================================
   YİRMİ ENERJİ A.Ş. — Koyu & Premium Kurumsal Tema
   Palette: Deep Navy / Anthracite + Solar Gold + Emerald Accent
   ========================================================================== */

:root {
  --bg-base: #070b14;
  --bg-elevated: #0d1424;
  --bg-card: #111a2e;
  --bg-card-hover: #16223b;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.32);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-soft: rgba(245, 158, 11, 0.12);

  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.65);
  --container: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(16, 185, 129, 0.16));
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  color: var(--gold-light);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gold);
  color: #070b14;
}

.mobile-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #070b14;
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(245, 158, 11, 0.7);
}

.btn-outline {
  background: rgba(17, 26, 46, 0.65);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.16), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.72) 0%, rgba(7, 11, 20, 0.58) 45%, var(--bg-base) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ======================== LIVE EPİAŞ PTF WIDGET ======================== */
.epias-widget {
  background: rgba(11, 18, 34, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.epias-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.epias-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.epias-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.epias-date {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.epias-refresh {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.epias-refresh:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
}

.epias-refresh.spinning svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.epias-spot {
  margin-top: 1.1rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.epias-spot-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-light);
}

.epias-spot-hour {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.epias-spot-val {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.epias-spot-unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 4px;
}

.epias-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.epias-mini-card {
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0.7rem;
}

.epias-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.epias-mini-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}

.epias-mini-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.epias-chart-box {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.epias-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.epias-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
}

.epias-bar {
  flex: 1;
  background: rgba(148, 163, 184, 0.25);
  border-radius: 3px 3px 1px 1px;
  min-height: 6px;
  transition: background-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.epias-bar:hover {
  background: var(--gold-light);
  transform: scaleY(1.06);
}

.epias-bar.is-now {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

.epias-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.epias-footer a {
  color: var(--gold-light);
  font-weight: 600;
}

.epias-footer a:hover {
  text-decoration: underline;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(17, 26, 46, 0.8);
  border: 1px solid var(--border-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero h1 .accent-gold {
  background: linear-gradient(90deg, var(--gold-light), #f59e0b, var(--emerald-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  background: rgba(13, 20, 36, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.metric-value span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-left: 3px;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* ======================== SECTIONS ======================== */
section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elevated) 50%, var(--bg-base) 100%);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ======================== ABOUT & CORPORATE ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.pillar-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.pillar-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.pillar-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0;
}

.corporate-card {
  background: linear-gradient(160deg, var(--bg-card), #0c1322);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.corporate-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.corporate-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-light);
  border: 1px solid var(--border-emerald);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.12);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-key {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.info-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ======================== TECHNICAL SPECS (SANTRAL) ======================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.spec-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.spec-card.emerald .spec-icon {
  background: var(--emerald-soft);
  border-color: var(--border-emerald);
  color: var(--emerald-light);
}

.spec-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.spec-big {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0.35rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.spec-big small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
}

.spec-card.emerald .spec-big small {
  color: var(--emerald-light);
}

.spec-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.inverter-banner {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.95), rgba(13, 20, 36, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.inverter-model {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

/* ======================== SUSTAINABILITY ======================== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.eco-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(17, 26, 46, 0.9));
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: left;
}

.eco-num {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--emerald-light);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 0.45rem;
}

.eco-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.eco-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.eco-footnote {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ======================== GALLERY ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.gallery-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-caption {
  padding: 1.15rem 1.25rem;
}

.gallery-caption h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
  position: relative;
}

.lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.lightbox-close {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* ======================== REGULATORY (EPİAŞ / YEKDEM / EPDK) ======================== */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.reg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.reg-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.reg-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.reg-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reg-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.reg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.reg-link:hover {
  text-decoration: underline;
}

/* ======================== EPDK LIVE HUB (DUYURULAR + FATURA + KANUNLAR) ======================== */
.epdk-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.hub-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hub-card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.filter-pills {
  display: inline-flex;
  gap: 0.35rem;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.filter-pill {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill.active {
  background: var(--gold);
  color: #070b14;
}

/* EPDK Scrolling Ticker Window */
.epdk-ticker-window {
  height: 330px;
  overflow-y: auto;
  position: relative;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.35) transparent;
}

.epdk-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.epdk-ann-item {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.62);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.epdk-ann-item:hover {
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.06);
}

.epdk-ann-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  margin-bottom: 0.3rem;
}

.epdk-ann-date {
  color: var(--gold-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
}

.epdk-ann-dept {
  color: var(--emerald-light);
  font-weight: 600;
  background: var(--emerald-soft);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
}

.epdk-ann-title {
  font-size: 0.86rem;
  color: var(--text-primary);
  line-height: 1.45;
  font-weight: 500;
}

.hub-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Fatura & PTF Hesaplama */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-field select,
.calc-field input {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), rgba(16, 185, 129, 0.07));
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-top: 0.4rem;
}

.calc-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(245, 158, 11, 0.28);
}

.calc-total-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-total-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.calc-breakdown strong {
  color: var(--text-primary);
  float: right;
  font-variant-numeric: tabular-nums;
}

/* Elektrik Piyasası Kanunlar Listesi */
.laws-card {
  background: linear-gradient(160deg, var(--bg-card), #0c1322);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.laws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.law-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.law-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.law-no-badge {
  flex-shrink: 0;
  min-width: 58px;
  text-align: center;
  padding: 0.4rem 0.55rem;
  border-radius: 9px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.law-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

.law-sub {
  font-size: 0.74rem;
  color: var(--gold-light);
  margin-top: 0.25rem;
  display: inline-block;
}

@media (max-width: 960px) {
  .epdk-hub-grid, .laws-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .calc-grid, .calc-breakdown { grid-template-columns: 1fr; }
}

/* ======================== CONTACT ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  space-y: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
  word-break: break-word;
}

.contact-value a:hover {
  color: var(--gold-light);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.86rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--emerald-soft);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-light);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ======================== FOOTER ======================== */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #050810;
  padding: 3rem 0 2.25rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ======================== REVEAL ANIMATION ======================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .specs-grid, .eco-grid, .gallery-grid, .reg-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.15rem;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .specs-grid, .eco-grid, .gallery-grid, .reg-grid, .pillars, .form-grid {
    grid-template-columns: 1fr;
  }
  section { padding: 72px 0; }
}
