:root {
  --yp-red: #D91E2A;
  --yp-red-dark: #B0141F;
  --yp-anthracite: #181B20;
  --yp-anthracite-light: #252A32;
  --yp-white: #FFFFFF;
  --yp-bg-light: #F7F8FA;
  --yp-text: #2C313A;
  --yp-muted: #646E7D;
  --yp-border: #E5E8EE;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--yp-text);
  background-color: var(--yp-white);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--yp-border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--yp-red);
  color: var(--yp-white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--yp-anthracite);
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--yp-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--yp-anthracite);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yp-red);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--yp-red);
  border-radius: 2px;
}

.nav-cta {
  background: var(--yp-red);
  color: var(--yp-white) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--yp-red-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--yp-anthracite);
  cursor: pointer;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--yp-red);
  color: var(--yp-white);
}

.btn-primary:hover {
  background: var(--yp-red-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--yp-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: var(--yp-white);
  color: var(--yp-anthracite);
}

.btn-outline-dark {
  background: transparent;
  color: var(--yp-anthracite);
  border-color: var(--yp-anthracite);
}

.btn-outline-dark:hover {
  background: var(--yp-anthracite);
  color: var(--yp-white);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--yp-white);
}

.btn-instagram:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--yp-anthracite) 0%, #242933 65%, #4A1218 100%);
  color: var(--yp-white);
  padding: 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(217, 30, 42, 0.2);
  border: 1px solid rgba(217, 30, 42, 0.5);
  color: #FF8A92;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--yp-red);
}

.hero p {
  font-size: 1.08rem;
  color: #D0D5DD;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-image-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: var(--yp-anthracite-light);
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Sayfa Başlık Alanı (Alt Sayfalar) */
.page-header {
  background: linear-gradient(135deg, var(--yp-anthracite) 0%, #2B1216 100%);
  color: var(--yp-white);
  padding: 64px 0;
  border-bottom: 4px solid var(--yp-red);
}

.page-header h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 10px;
}

.page-header p {
  color: #D0D5DD;
  max-width: 680px;
  font-size: 1.05rem;
}

/* Bölümler */
.section {
  padding: 76px 0;
}

.section-light {
  background: var(--yp-bg-light);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--yp-red);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--yp-anthracite);
  font-weight: 800;
}

/* Kartlar */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: var(--yp-white);
  border: 1px solid var(--yp-border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(24, 27, 32, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(217, 30, 42, 0.1);
  color: var(--yp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--yp-anthracite);
  margin-bottom: 10px;
}

.card p {
  color: var(--yp-muted);
  font-size: 0.96rem;
}

/* Haber Kartları */
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yp-muted);
  margin-bottom: 12px;
}

.news-source {
  background: rgba(217, 30, 42, 0.1);
  color: var(--yp-red);
  padding: 4px 10px;
  border-radius: 6px;
}

.news-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-card p {
  flex-grow: 1;
  margin-bottom: 18px;
}

.news-link {
  font-weight: 700;
  color: var(--yp-red);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: var(--yp-anthracite);
}

/* Zaman Çizelgesi (Hakkımda) */
.timeline {
  border-left: 3px solid var(--yp-red);
  padding-left: 28px;
  margin-top: 24px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yp-red);
  border: 3px solid var(--yp-white);
  box-shadow: 0 0 0 2px var(--yp-red);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yp-red);
  text-transform: uppercase;
}

/* Galeri (En-boy oranı korumalı) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--yp-anthracite);
  cursor: pointer;
  border: 1px solid var(--yp-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(24, 27, 32, 0.88));
  color: var(--yp-white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--yp-white);
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Formlar */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--yp-anthracite);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--yp-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--yp-red);
}

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 500;
  display: none;
}

.alert.success {
  display: block;
  background: #ECFDF3;
  color: #027A48;
  border: 1px solid #A6F4C5;
}

.alert.error {
  display: block;
  background: #FEF3F2;
  color: #B42318;
  border: 1px solid #FECDCA;
}

/* YENİ Parti CTA Şeridi */
.cta-banner {
  background: var(--yp-red);
  color: var(--yp-white);
  padding: 56px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-banner p {
  max-width: 650px;
  margin: 0 auto 24px;
  opacity: 0.94;
}

/* Footer */
.footer {
  background: var(--yp-anthracite);
  color: #C4CBD6;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--yp-white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a:hover {
  color: var(--yp-red);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: #8E98A8;
}

/* Mobil Uyum */
@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0;
  }

  .hero-image-box {
    max-width: 380px;
    margin: 0 auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--yp-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--yp-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }
}
/* Resimli Haber Kartları ve Yenile Butonu */
.news-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yp-muted);
  background: var(--yp-white);
  border: 1px solid var(--yp-border);
  padding: 6px 12px;
  border-radius: 20px;
}

.btn-refresh {
  background: var(--yp-white);
  color: var(--yp-anthracite);
  border: 2px solid var(--yp-red);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-refresh:hover {
  background: var(--yp-red);
  color: var(--yp-white);
}

.btn-refresh .refresh-icon {
  display: inline-block;
  transition: transform 0.5s ease;
}

.btn-refresh.spinning .refresh-icon {
  transform: rotate(360deg);
}

.news-card-media {
  padding: 0;
  overflow: hidden;
}

.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--yp-anthracite);
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card-media:hover .news-thumb img {
  transform: scale(1.05);
}

.news-thumb .news-source-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(217, 30, 42, 0.92);
  color: var(--yp-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yp-muted);
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--yp-anthracite);
}

.news-body p {
  font-size: 0.92rem;
  color: var(--yp-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

@keyframes fadeInNews {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-fade {
  animation: fadeInNews 0.35s ease forwards;
}
/* Hakkımda - Biyografi Fotoğraf Alanı */
.bio-photo-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border: 1px solid var(--yp-border);
  border-bottom: 4px solid var(--yp-red);
  background: var(--yp-anthracite);
  box-shadow: 0 12px 28px rgba(24, 27, 32, 0.1);
}

.bio-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bio-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(24, 27, 32, 0.85));
  color: var(--yp-white);
  font-size: 0.85rem;
  font-weight: 600;
}
/* Menü Üye Ol Butonu */
.nav-member {
  background: transparent;
  color: var(--yp-red) !important;
  border: 2px solid var(--yp-red);
  padding: 8px 18px !important;
  border-radius: 8px;
  font-weight: 700 !important;
}

.nav-member:hover {
  background: var(--yp-red);
  color: var(--yp-white) !important;
}
/* Ana Sayfa Çift Sütunlu İletişim Kartı */
.home-contact-section {
  padding: 76px 0;
  background: var(--yp-white);
}

.contact-split-card {
  display: grid;
  grid-template-columns: 0.92fr 1.38fr;
  border-radius: 18px;
  overflow: hidden;
  background: var(--yp-white);
  border: 1px solid var(--yp-border);
  box-shadow: 0 20px 50px rgba(14, 21, 37, 0.1);
}

/* Sol Koyu Bilgi Paneli */
.contact-info-panel {
  position: relative;
  background: #0D1424;
  color: var(--yp-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.contact-info-panel::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(217, 30, 42, 0.28) 0%, rgba(13, 20, 36, 0) 70%);
  pointer-events: none;
}

.contact-info-panel h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

.contact-info-desc {
  color: #98A2B3;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--yp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #8E98A8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--yp-white);
}

.contact-info-value a:hover {
  color: #FF8A92;
}

.contact-social-block span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #8E98A8;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-social-icons a {
  color: #D0D5DD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-social-icons a:hover {
  color: var(--yp-red);
  transform: translateY(-2px);
}

/* Sağ Beyaz Form Paneli */
.contact-form-panel {
  padding: 48px 44px;
  background: var(--yp-white);
}

.contact-form-panel h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0D1424;
  margin-bottom: 8px;
}

.contact-form-sub {
  color: var(--yp-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-form-sub strong {
  color: var(--yp-anthracite);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-panel .form-control {
  background: #F9FAFB;
  border-color: #E4E7EC;
}

.contact-form-panel .form-control:focus {
  background: var(--yp-white);
  border-color: var(--yp-red);
}

.btn-send-full {
  width: 100%;
  background: #C81924;
  color: var(--yp-white);
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(200, 25, 36, 0.25);
}

.btn-send-full:hover {
  background: var(--yp-red-dark);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .contact-split-card,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 32px 24px;
  }
}
/* KVKK Onay Kutusu */
.kvkk-group {
  margin: 18px 0 22px;
}

.kvkk-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--yp-muted);
  cursor: pointer;
  user-select: none;
}

.kvkk-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--yp-red);
  flex-shrink: 0;
  cursor: pointer;
}

.kvkk-link {
  color: var(--yp-red);
  font-weight: 700;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.kvkk-link:hover {
  color: var(--yp-anthracite);
}

/* KVKK Aydınlatma Metni Modal */
.kvkk-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(13, 20, 36, 0.78);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kvkk-modal.open {
  display: flex;
}

.kvkk-modal-content {
  background: var(--yp-white);
  border-radius: 14px;
  max-width: 640px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border-top: 4px solid var(--yp-red);
}

.kvkk-modal-content h3 {
  font-size: 1.3rem;
  color: var(--yp-anthracite);
  margin-bottom: 14px;
  padding-right: 32px;
}

.kvkk-modal-content p {
  font-size: 0.92rem;
  color: var(--yp-text);
  margin-bottom: 12px;
  line-height: 1.65;
}

.kvkk-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--yp-muted);
  cursor: pointer;
}

.kvkk-modal-close:hover {
  color: var(--yp-red);
}