/* ============================================================
   Ahmet Dardağan - Kişisel Siyasi Web Sitesi
   CHP Renkleri: Kırmızı & Beyaz
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --chp-red: #DA251D;
  --chp-red-dark: #B71C1C;
  --chp-red-light: #E53935;
  --white: #FFFFFF;
  --off-white: #F9F6F2;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--off-white);
  color: var(--gray-900);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Top Strip (CHP Red) --- */
.top-strip {
  background: var(--chp-red);
  height: 6px;
  width: 100%;
}

/* --- Header --- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gray-900);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.header-social {
  display: flex;
  gap: 0.75rem;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-800);
  text-decoration: none;
  transition: all var(--transition);
}

.header-social a:hover {
  background: var(--chp-red);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 2rem;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Left Content */
.hero-content {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(218, 37, 29, 0.08);
  color: var(--chp-red);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(218, 37, 29, 0.2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--chp-red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--chp-red);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.hero-stats .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--chp-red);
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--chp-red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(218, 37, 29, 0.35);
}

.btn-primary:hover {
  background: var(--chp-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(218, 37, 29, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--chp-red);
  border: 2px solid var(--chp-red);
}

.btn-outline:hover {
  background: var(--chp-red);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-instagram {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.3);
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(221, 42, 123, 0.5);
}

.btn-instagram svg {
  width: 22px;
  height: 22px;
}

.btn-chp {
  background: var(--white);
  color: var(--chp-red);
  border: 2px solid var(--chp-red);
  font-weight: 800;
  gap: 0.5rem;
}

.btn-chp:hover {
  background: var(--chp-red);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-chp .star-icon {
  font-size: 1.2rem;
}

/* Right Image */
.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 520px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 500px;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(218, 37, 29, 0.08) 0%, rgba(218, 37, 29, 0.02) 50%, transparent 70%);
}

.hero-image-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(218, 37, 29, 0.25);
  animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Six Arrows Decorative --- */
.six-arrows {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 1rem;
  opacity: 0.5;
}

.six-arrows .arrow {
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--chp-red);
}

.six-arrows .arrow:nth-child(even) {
  background: var(--gray-400);
}

/* --- About Section --- */
.about {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--chp-red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-text {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.titles-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.titles-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.titles-list li:hover {
  border-color: var(--chp-red);
  background: rgba(218, 37, 29, 0.04);
}

.titles-list li .icon {
  color: var(--chp-red);
  font-size: 1rem;
}

/* --- Instagram Gallery Section --- */
.gallery {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.gallery-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-header {
  margin-bottom: 2rem;
}

.gallery-header .btn-instagram {
  display: inline-flex;
  margin-bottom: 1rem;
}

.gallery-sub {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
}

.gallery-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.gallery-card {
  flex: 1;
  max-width: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

.footer .six-arrows {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-image-wrapper {
    max-width: 340px;
  }

  .header {
    padding: 0.75rem 1rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .gallery-grid {
    flex-direction: column;
    align-items: center;
  }

  .gallery-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .hero-stats .stat {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
  }

  .hero-stats .stat-number {
    font-size: 1.3rem;
  }

  .titles-list {
    flex-direction: column;
    align-items: center;
  }
}
