/* ===================================================
   HAKAN KAHRAMAN — Civic-Luxe Design System
   Gebze Belediyesi Meclis Üyesi
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #0B1E3D;
  --navy-deep:  #061428;
  --navy-mid:   #122547;
  --gold:       #E30613;
  --gold-light: #EC4B59;
  --gold-pale:  #FCE4E6;
  --cream:      #F9F5EC;
  --white:      #FFFFFF;
  --slate:      #4A5568;
  --slate-light:#718096;
  --border:     rgba(227,6,19,0.25);
  --border-soft:rgba(11,30,61,0.1);
  --shadow-sm:  0 2px 8px rgba(11,30,61,0.08);
  --shadow-md:  0 8px 32px rgba(11,30,61,0.12);
  --shadow-lg:  0 20px 60px rgba(11,30,61,0.18);
  --radius:     8px;
  --radius-lg:  16px;
  --ff-display: 'Roboto', system-ui, -apple-system, sans-serif;
  --ff-body:    'Roboto', system-ui, -apple-system, sans-serif;
  --ff-mono:    'Roboto', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: var(--ff-body);
  outline: none;
}
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Skip to Main (Accessibility) ---- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(227,6,19,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.nav-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}
.nav-name {
  display: flex;
  flex-direction: column;
}
.nav-name-main {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-name-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.nav-cta {
  background: var(--white) !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover { background: var(--cream) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--white);
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-mobile a.active { color: var(--white); }

/* ===================================================
   LAYOUT UTILITIES
   =================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.pt-nav { padding-top: var(--nav-h); }

.page-header {
  background: var(--cream);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(227,6,19,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.page-header-content {
  position: relative;
  z-index: 1;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(227,6,19,0.15);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-subtitle {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ===================================================
   HERO (INDEX)
   =================================================== */
.hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(227,6,19,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(11,30,61,0.04) 0%, transparent 80%),
    linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,30,61,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,30,61,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: normal;
  color: var(--gold);
}
.hero-lead {
  color: var(--slate);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
}
.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--slate-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-photo-frame {
  position: relative;
}
.hero-photo-border {
  position: absolute;
  top: -12px; right: -12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.4;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(11,30,61,0.25);
  font-size: 0.85rem;
}
.hero-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--ff-body);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(227,6,19,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-soft);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-title-white { color: var(--white); }
.section-desc {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
}

/* ===================================================
   CARDS
   =================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

/* ===================================================
   HOME — FEATURED SECTIONS
   =================================================== */
.home-intro {
  background: var(--white);
}
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-visual {
  position: relative;
}
.intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  border: 1px solid var(--border-soft);
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-accent-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.intro-accent-card .num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.intro-accent-card .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}
.value-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.value-card:hover .value-title { color: var(--gold); }
.value-card:hover .value-desc { color: var(--slate); }
.value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.value-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.value-desc {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
  transition: var(--transition);
}

/* Recent Proposals */
.proposals-home { background: var(--cream); }
.proposals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.proposal-mini {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.proposal-mini::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: bottom;
}
.proposal-mini:hover::before { transform: scaleY(1); }
.proposal-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.proposal-date {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.proposal-mini-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.proposal-mini-excerpt {
  font-size: 0.855rem;
  color: var(--slate);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proposal-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}
.proposal-mini-link:hover { gap: 0.65rem; }

/* CTA Banner */
.cta-banner {
  background: var(--cream);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(227,6,19,0.08), transparent);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner .section-title { color: var(--navy); margin-bottom: 1.25rem; }
.cta-inner p { color: var(--slate); max-width: 520px; margin: 0 auto 2.5rem; }

/* ===================================================
   ÖNERGELER PAGE
   =================================================== */
.onergeler-container { padding: 3rem 0 6rem; }
.onerge-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.5rem;
}
.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--ff-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.filter-btn-gerceklesen {
  border-color: #15803D;
  color: #15803D;
}
.filter-btn-gerceklesen:hover,
.filter-btn-gerceklesen.active {
  background: #15803D;
  border-color: #15803D;
  color: var(--white);
}
.filter-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  transition: var(--transition);
}
.filter-search:focus-within {
  border-color: var(--gold);
}
.filter-search input {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 0.85rem;
  width: 200px;
}
.filter-search input::placeholder { color: var(--slate-light); }
.filter-search svg { color: var(--slate-light); }

.onerge-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.onerge-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.onerge-card:hover { box-shadow: var(--shadow-md); border-color: rgba(227,6,19,0.3); }
.onerge-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.onerge-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 2px;
}
.onerge-meta { flex: 1; }
.onerge-konu {
  display: inline-block;
  background: var(--gold-pale);
  color: #A30E1B;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.onerge-yapildi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #E7F6EC;
  color: #15803D;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  margin-left: 0.4rem;
}
.onerge-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.onerge-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.onerge-tarih {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--slate-light);
}
.onerge-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  transition: var(--transition);
  margin-top: 8px;
}
.onerge-card.open .onerge-chevron { transform: rotate(180deg); color: var(--gold); }

.onerge-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-top: 8px;
}
.onerge-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  color: var(--slate);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.onerge-admin-btn:hover { border-color: transparent; }
.onerge-admin-edit:hover  { background: #EFF6FF; color: #2563EB; border-color: #BFDBFE; }
.onerge-admin-delete:hover { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.onerge-admin-actions form { margin: 0; }

.onerge-body {
  display: none;
  border-top: 1px solid var(--border-soft);
  padding: 1.75rem 2rem;
  background: #FEFDF9;
}
.onerge-body.open { display: block; }
.onerge-content-text {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-left: calc(48px + 1.5rem);
}
.onerge-content-text p { margin-bottom: 1rem; }
.onerge-content-text p:last-child { margin-bottom: 0; }
.onerge-content-text ul, .onerge-content-text ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.onerge-content-text ul { list-style: disc; }
.onerge-content-text ol { list-style: decimal; }
.onerge-content-text a { color: var(--gold); text-decoration: underline; }
.onerge-content-text strong { color: var(--navy); }
.onerge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-left: calc(48px + 1.5rem);
  align-items: center;
}
.onerge-actions .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.share-divider {
  width: 1px;
  height: 24px;
  background: var(--border-soft);
  margin: 0 0.25rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  color: var(--slate);
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-btn.fb:hover { border-color: #1877F2; color: #1877F2; }
.share-btn.tw:hover { border-color: #1DA1F2; color: #1DA1F2; }
.share-btn.wa:hover { border-color: #25D366; color: #25D366; }
.share-btn.lnk:hover { border-color: #0077B5; color: #0077B5; }

/* Admin Upload Area */
.upload-area {
  background: var(--cream);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}
.upload-area:hover,
.upload-area.dragover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.upload-area p { font-size: 0.85rem; color: var(--slate); }
.upload-area strong { color: var(--navy); }

/* ===================================================
   BASINDA BIZ
   =================================================== */
.haber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.haber-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.haber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.haber-img {
  aspect-ratio: 16/9;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.haber-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.haber-card:hover .haber-img img { transform: scale(1.05); }
.haber-kaynak-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--navy);
  color: var(--gold);
  padding: 0.2rem 0.625rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.haber-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.haber-tarih {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-bottom: 0.75rem;
}
.haber-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.haber-excerpt {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.haber-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
}
.haber-link:hover { gap: 0.65rem; }

/* ===================================================
   HAKKINDA PAGE
   =================================================== */
.hakkinda-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
  padding: 4rem 0 6rem;
}
.hakkinda-photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.hakkinda-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
.hakkinda-photo img { width: 100%; height: 100%; object-fit: cover; }
.hakkinda-contact-card {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.875rem;
  color: var(--slate);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(227,6,19,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--slate);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--white); }

.bio-section { margin-bottom: 3rem; }
.bio-section-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bio-section-title::before {
  content: '';
  width: 4px;
  height: 1.35rem;
  background: var(--gold);
  border-radius: 2px;
}
.bio-text {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.85;
}
.bio-text p + p { margin-top: 1rem; }

.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
  transform: translateX(-4px);
}
.timeline-year {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.timeline-desc {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skill-tag {
  padding: 0.35rem 0.875rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
}

/* ===================================================
   İLETİŞİM PAGE
   =================================================== */
.iletisim-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  padding: 4rem 0 6rem;
  align-items: start;
}
.iletisim-info {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--navy);
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  box-shadow: var(--shadow-sm);
}
.iletisim-info-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.iletisim-info-desc {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.info-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(227,6,19,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item-content { flex: 1; }
.info-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.info-item-value {
  font-size: 0.9rem;
  color: var(--slate);
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-subtitle {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-label .optional {
  font-weight: 400;
  color: var(--slate-light);
  font-size: 0.75rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  transition: var(--transition);
  font-family: var(--ff-body);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.12);
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--slate-light); }
.form-textarea {
  resize: vertical;
  min-height: 130px;
}
.form-select { cursor: pointer; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-privacy input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.form-privacy label {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  cursor: pointer;
}
.form-privacy a { color: var(--gold); text-decoration: underline; }

.form-success, .form-error {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
  gap: 0.625rem;
}
.form-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.form-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--gold);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 2rem;
}
.footer-brand-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--white); color: var(--gold); border-color: var(--white); }
.footer-col-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); }

/* ===================================================
   TOAST / NOTIFICATIONS
   =================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border-soft);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
}
.toast.success { border-color: #22C55E; }
.toast.error { border-color: #EF4444; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.back-to-top:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.back-to-top.visible { display: flex; }

/* ===================================================
   PAGE TRANSITION
   =================================================== */
.page-fade { animation: pageFade 0.4s ease; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-photo-frame { max-width: 400px; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .proposals-grid { grid-template-columns: repeat(2, 1fr); }
  .haber-grid { grid-template-columns: repeat(2, 1fr); }
  .hakkinda-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hakkinda-photo-col { position: static; max-width: 360px; }
  .iletisim-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .iletisim-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .container, .container-sm { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .page-header { padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .proposals-grid { grid-template-columns: 1fr; }
  .haber-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .onerge-content-text,
  .onerge-actions { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .onerge-header { flex-wrap: wrap; gap: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ===================================================
   LEGAL PAGES (Gizlilik / KVKK)
   =================================================== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--navy);
  line-height: 1.8;
}
.legal-updated {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
}
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--border-soft);
}
.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--gold-light);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.legal-table th,
.legal-table td {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: top;
}
.legal-table thead th {
  background: var(--cream);
  font-weight: 700;
  color: var(--navy);
}
.legal-table tbody th {
  background: var(--cream);
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}
.legal-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border-soft);
}

/* ===================================================
   PRINT
   =================================================== */
@media print {
  .navbar, .footer, .back-to-top, .toast-container { display: none; }
  body { background: white; }
  .page-header { padding-top: 2rem; }
}

/* ===================================================
   REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
