/* Gençlik Meclisi Anasayfa Hero Section - Modern Tasarım */

/* Gençlik Meclisi Renk Paleti - Canlı Mavi Tema */
/* Bu renkleri değiştirerek tüm sayfadaki renk paletini global olarak değiştirebilirsiniz */
/* Ana renk #015585 ve uyumlu soft tonlar - Dinamik, modern ve güven veren */
body.genclik-meclisi-page {
  --genclik-primary: #024b7a; /* Ana Mavi - Dinamik ve güçlü */
  --genclik-primary-rgb: 2, 75, 122; /* Primary renk için RGB değerleri (rgba kullanımı için) */
  --genclik-primary-dark: #013559; /* Daha koyu ton - Derin mavi */
  --genclik-primary-light: #046aa6; /* Daha açık ton - Parlak mavi */
  --genclik-secondary: #2d8cc2; /* Soft Mavi - İkincil renk, ana rengin yumuşatılmış hâli */
  --genclik-secondary-rgb: 45, 140, 194; /* Secondary renk için RGB değerleri (rgba kullanımı için) */
  --genclik-accent: #7bbce3; /* Açık Mavi - Soft vurgu rengi */
  --genclik-accent-rgb: 123, 188, 227; /* Accent renk için RGB değerleri */
  --genclik-bg-soft: #f8f9fa; /* Ana sayfa ile aynı açık gri arka plan */
  --genclik-text-dark: #212121; /* Koyu Gri - Metinler için yüksek kontrast */
  --genclik-bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  
  /* Gradient tanımları - Soft mavi temalı gradyanlar */
  --genclik-gradient-primary: linear-gradient(135deg, var(--genclik-primary) 0%, var(--genclik-secondary) 100%);
  --genclik-gradient-accent: linear-gradient(135deg, var(--genclik-primary) 0%, var(--genclik-accent) 100%);
  --genclik-gradient-light: linear-gradient(135deg, rgba(var(--genclik-primary-rgb), 0.08) 0%, rgba(var(--genclik-secondary-rgb), 0.05) 100%);
  --genclik-gradient-medium: linear-gradient(135deg, rgba(var(--genclik-primary-rgb), 0.12) 0%, rgba(var(--genclik-secondary-rgb), 0.08) 100%);
  --primary-color: var(--genclik-primary);
  --primary-hover: var(--genclik-primary-dark);
  --primary-light: var(--genclik-primary-light);
  --primary-dark: var(--genclik-primary-dark);
  --primary-color-rgb: var(--genclik-primary-rgb);
  --primary-gradient: var(--genclik-gradient-primary);
  --primary-gradient-hover: linear-gradient(135deg, var(--genclik-primary-dark) 0%, var(--genclik-primary) 100%);
}

/* Sosyal bağlantı kartları - Gençlik temasına uyum */
.genclik-meclisi-page .genclik-social-section .social-link-card {
  box-shadow: 0 12px 28px rgba(var(--genclik-primary-rgb), 0.17);
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.12);
  background: #ffffff;
  color: var(--genclik-text-dark);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.genclik-meclisi-page .genclik-social-section .social-link-card:hover,
.genclik-meclisi-page .genclik-social-section .social-link-card:focus-visible {
  box-shadow: 0 18px 36px rgba(var(--genclik-primary-rgb), 0.22);
  transform: translateY(-6px) scale(1.015);
}

.genclik-meclisi-page .genclik-social-section .social-link-card::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--genclik-primary-rgb), 0.18),
    transparent
  );
}

.genclik-meclisi-page .genclik-social-section .icon-surface {
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.96),
    rgba(var(--genclik-primary-rgb), 0.16)
  );
  box-shadow: 0 12px 30px rgba(var(--genclik-primary-rgb), 0.24);
}

.genclik-meclisi-page .genclik-social-section .social-link-card:hover .icon-surface,
.genclik-meclisi-page .genclik-social-section .social-link-card:focus-visible .icon-surface {
  box-shadow: 0 18px 36px rgba(var(--genclik-primary-rgb), 0.28);
}

.genclik-meclisi-page .genclik-social-section .icon-surface i {
  color: #000000;
}

/* Hero Banner Section */
.genclik-hero-section {
  // background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  position: relative;
  padding: 1.5rem 0;
  overflow: hidden;
}

/* Animated Background Elements */
.genclik-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.genclik-hero-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}


.genclik-hero-container {
  position: relative;
  z-index: 2;
}

/* Quote Text - Modern Vurgulu Söz */
.genclik-quote-header .genclik-quote-text {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  background: linear-gradient(135deg, var(--genclik-primary) 0%, var(--genclik-primary-dark) 50%, var(--genclik-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.6;
  letter-spacing: -0.3px;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-family: Georgia, 'Times New Roman', serif;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(var(--genclik-primary-rgb), 0.1);
  filter: drop-shadow(0 1px 2px rgba(var(--genclik-primary-rgb), 0.08));
}

/* Tırnak işaretlerini gizle (header versiyonu için) */
.genclik-quote-header .genclik-quote-text::before,
.genclik-quote-header .genclik-quote-text::after {
  display: none;
}

/* Unified Card - Senaryo 4+5: Kompakt Birleşik Card */
.genclik-unified-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 0;
  box-shadow:
    0 2px 15px rgba(var(--genclik-primary-rgb), 0.06),
    0 1px 4px rgba(var(--genclik-primary-rgb), 0.04);
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Quote Header - Modern Vurgulu Söz Tasarımı */
.genclik-quote-header {
  width: 100%;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(var(--genclik-primary-rgb), 0.08);
  text-align: center;
  margin-bottom: 0;
  background: var(--genclik-gradient-light);
  position: relative;
  overflow: hidden;
}

.genclik-quote-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--genclik-primary) 50%, transparent 100%);
  opacity: 0.3;
}

.genclik-unified-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--genclik-primary) 0%, var(--genclik-primary-dark) 100%);
  opacity: 0.5;
}

.genclik-unified-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--genclik-primary-rgb), 0.1);
}

/* Bölümlerde sıralı beyaz yüzey ve çizgi efektleri */
.genclik-meclisi-page .genclik-social-section,
.genclik-meclisi-page .social-media-section {
  background: #ffffff !important;
  position: relative;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
/* Sosyal Medya Navigation Butonları - Gençlik Meclisi Renk Paletine Uygun */
.genclik-meclisi-page .genclik-social-section .social-prev,
.genclik-meclisi-page .genclik-social-section .social-next,
.genclik-meclisi-page .social-media-section .social-prev,
.genclik-meclisi-page .social-media-section .social-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--genclik-gradient-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.2);
  border-radius: 50%;
  color: var(--genclik-primary);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  overflow: hidden;
}

.genclik-meclisi-page .genclik-social-section .social-prev::before,
.genclik-meclisi-page .genclik-social-section .social-next::before,
.genclik-meclisi-page .social-media-section .social-prev::before,
.genclik-meclisi-page .social-media-section .social-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--genclik-gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 50%;
  border-radius: 50%;
}

.genclik-meclisi-page .genclik-social-section .social-prev i,
.genclik-meclisi-page .genclik-social-section .social-next i,
.genclik-meclisi-page .social-media-section .social-prev i,
.genclik-meclisi-page .social-media-section .social-next i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: var(--genclik-primary);
}

.genclik-meclisi-page .genclik-social-section .social-prev:hover,
.genclik-meclisi-page .genclik-social-section .social-next:hover,
.genclik-meclisi-page .social-media-section .social-prev:hover,
.genclik-meclisi-page .social-media-section .social-next:hover {
  transform: translateY(-2px);
  border-color: var(--genclik-primary);
  box-shadow: 0 4px 15px rgba(var(--genclik-primary-rgb), 0.25);
  background: var(--genclik-gradient-primary);
}

.genclik-meclisi-page .genclik-social-section .social-prev:hover::before,
.genclik-meclisi-page .genclik-social-section .social-next:hover::before,
.genclik-meclisi-page .social-media-section .social-prev:hover::before,
.genclik-meclisi-page .social-media-section .social-next:hover::before {
  opacity: 1;
}

.genclik-meclisi-page .genclik-social-section .social-prev:hover i,
.genclik-meclisi-page .genclik-social-section .social-next:hover i,
.genclik-meclisi-page .social-media-section .social-prev:hover i,
.genclik-meclisi-page .social-media-section .social-next:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

/* Etkinlikler Bölümü – Sosyal Medya bölümü ile aynı arka plan estetiği */
.events-section {
  background: #fff;
  position: relative;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  margin-top: 1.25rem !important;
}

/* Etkinlik filtresi ve slider düzeni */
.events-showcase-wrapper {
  display: flex;
  flex-direction: column;
}

.events-filter-card {
  padding: 1.5rem .5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
}

.events-filter-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.events-filter-btn {
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.18);
  background: rgba(var(--genclik-primary-rgb), 0.06);
  color: var(--genclik-primary);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.events-filter-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--genclik-gradient-primary);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.events-filter-btn:hover,
.events-filter-btn:focus-visible {
  box-shadow: 0 8px 20px rgba(var(--genclik-primary-rgb), 0.18);
  transform: translateY(-1px);
  border-color: rgba(var(--genclik-primary-rgb), 0.4);
}

.events-filter-btn:hover::after,
.events-filter-btn:focus-visible::after {
  opacity: 0.15;
}

.events-filter-btn.is-active {
  background: var(--genclik-gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(var(--genclik-primary-rgb), 0.25);
}

.events-filter-btn.is-active::after {
  opacity: 1;
}

.events-filter-btn i {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.events-filter-btn span {
  position: relative;
  z-index: 1;
}

.events-filter-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.events-filter-card .events-list-trigger {
  width: 100%;
  justify-content: center;
  padding: 0.55rem 1.25rem;
}

.events-slider-card {
  padding: 1.5rem 0 0 .5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.events-slider-card .position-relative {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.events-slider-card .events-carousel-wrapper {
  flex: 1;
}

.events-empty-state {
  text-align: center;
  font-size: 0.95rem;
}

/* Etkinlik kartı başlığı iki satırda kırılsın */
.event-card .event-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-section .event-card .event-image {
  height: clamp(300px, 34vw, 380px);
  object-fit: cover;
}

.events-section .social-carousel-item {
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 280px;
}

/* Tümünü İncele Butonu - Sosyal Link Stiline Benzer */
.events-list-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--genclik-gradient-primary);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.2);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(var(--genclik-primary-rgb), 0.15);
}

.events-list-trigger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.events-list-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--genclik-primary);
  box-shadow: 0 4px 15px rgba(var(--genclik-primary-rgb), 0.3);
  background: linear-gradient(135deg, var(--genclik-primary-dark) 0%, var(--genclik-primary) 100%);
}

.events-list-trigger:hover::before {
  opacity: 1;
}

.events-list-trigger span,
.events-list-trigger i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.events-list-trigger:hover i {
  transform: scale(1.1);
}

/* Navigation Butonları (Sol/Sağ Ok) */
.events-prev,
.events-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--genclik-gradient-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.15);
  border-radius: 50%;
  color: var(--genclik-primary);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.events-prev::before,
.events-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--genclik-gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 50%;
}

.events-prev i,
.events-next i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.events-prev:hover,
.events-next:hover {
  transform: translateY(-2px);
  border-color: var(--genclik-primary);
  box-shadow: 0 4px 12px rgba(var(--genclik-primary-rgb), 0.2);
}

.events-prev:hover::before,
.events-next:hover::before {
  opacity: 1;
}

.events-prev:hover i,
.events-next:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

/* Close button görünürlüğü - Beyaz arka plan için siyah */
#eventsListModal .modal-header .btn-close,
#eventDetailModal .modal-header .btn-close {
  filter: none !important;
  opacity: 0.65 !important;
  transition: opacity 0.2s ease;
}

#eventsListModal .modal-header .btn-close:hover,
#eventDetailModal .modal-header .btn-close:hover {
  opacity: 1 !important;
}

/* Tüm Etkinlikler Modal - Minimal Tasarım */
#eventsListModal .modal-header {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(var(--genclik-primary-rgb), 0.1);
  padding: 1rem 1.5rem;
}

#eventsListModal .modal-title {
  color: var(--genclik-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

#eventsListModal .modal-body {
  padding: 1.5rem;
}

/* Minimal etkinlik kartları */
#eventsListContainer .card {
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.1) !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

#eventsListContainer .card:hover {
  border-color: rgba(var(--genclik-primary-rgb), 0.3) !important;
  box-shadow: 0 2px 8px rgba(var(--genclik-primary-rgb), 0.1) !important;
}

#eventsListContainer .ratio {
  display: block;
  overflow: hidden;
  border-radius: 0.375rem 0.375rem 0 0;
}

#eventsListContainer .ratio img {
  object-fit: cover;
  transition: transform 0.3s ease;
  border: none !important;
  outline: none !important;
}

#eventsListContainer .card:hover .ratio img {
  transform: scale(1.05);
}

#eventsListContainer .card .p-3 {
  padding: 1rem !important;
}

#eventsListContainer .card h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

#eventsListContainer .card .small {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

/* Pagination Stilleri - Haberler sayfası ile aynı tasarım */
#eventsListModal nav[aria-label="Etkinlik sayfalama"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 2rem !important;
}

#eventsListModal .pagination-wrapper {
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex !important;
  visibility: visible !important;
}

#eventsListModal .modern-pagination {
  margin: 0;
  gap: 0.25rem;
  display: flex !important;
  visibility: visible !important;
  list-style: none;
  padding: 0;
}

#eventsListModal .modern-pagination .page-item {
  margin: 0;
}

#eventsListModal .pagination-btn {
  border: none !important;
  background: transparent !important;
  color: #6c757d !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

#eventsListModal .pagination-btn:hover {
  background: rgba(var(--genclik-primary-rgb), 0.08) !important;
  color: var(--genclik-primary) !important;
  transform: translateY(-1px);
}

#eventsListModal .pagination-btn:focus {
  box-shadow: 0 0 0 3px rgba(var(--genclik-primary-rgb), 0.1) !important;
  outline: none;
}

#eventsListModal .pagination-btn-active {
  background: var(--genclik-gradient-primary) !important;
  color: white !important;
  box-shadow: var(--shadow-primary);
}

#eventsListModal .pagination-btn-active:hover {
  background: var(--primary-gradient-hover) !important;
  color: white !important;
  transform: var(--transform-hover);
  box-shadow: var(--shadow-primary-hover);
}

#eventsListModal .pagination-dots {
  cursor: default !important;
  color: #adb5bd !important;
}

#eventsListModal .pagination-dots:hover {
  background: transparent !important;
  color: #adb5bd !important;
  transform: none !important;
}

/* Etkinlik Detay Modal - Modern ve Responsive Tasarım */
#eventDetailModal .modal-dialog {
  max-width: 900px;
}

#eventDetailModal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(var(--genclik-primary-rgb), 0.08);
  overflow: hidden;
}

#eventDetailModal .modal-header {
  background: linear-gradient(135deg, #ffffff 0%, rgba(var(--genclik-primary-rgb), 0.02) 100%);
  border-bottom: 2px solid rgba(var(--genclik-primary-rgb), 0.1);
  padding: 1.5rem 2rem;
  position: relative;
}

#eventDetailModal .modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--genclik-primary-rgb), 0.2) 50%, transparent 100%);
}

#eventDetailModal .modal-title {
  color: var(--genclik-primary);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

#eventDetailModal .modal-body {
  padding: 2rem;
  background: #ffffff;
}

#eventDetailModal #eventDetailDate {
  display: none;
}

/* Kısa Açıklama - Modern Tipografi */
#eventDetailModal #eventDetailShortDesc {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--genclik-primary-rgb), 0.04) 0%, rgba(var(--genclik-secondary-rgb), 0.02) 100%);
  border-radius: 12px;
  border-left: 3px solid var(--genclik-primary);
}

#eventDetailModal #eventDetailShortDescText {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3748;
  margin: 0;
  font-weight: 400;
}

/* Accordion - Modern Tasarım */
#eventDetailModal #eventDetailAccordion {
  margin-bottom: 2rem;
  border: none;
}

#eventDetailModal #eventDetailAccordion .accordion-item {
  border: 1px solid rgba(var(--genclik-primary-rgb), 0.12);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(var(--genclik-primary-rgb), 0.06);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#eventDetailModal #eventDetailAccordion .accordion-item:hover {
  box-shadow: 0 4px 16px rgba(var(--genclik-primary-rgb), 0.12);
  transform: translateY(-2px);
}

#eventDetailModal #eventDetailAccordion .accordion-item:last-child {
  margin-bottom: 0;
}

#eventDetailModal #eventDetailAccordion .accordion-button {
  background: linear-gradient(135deg, rgba(var(--genclik-primary-rgb), 0.05) 0%, rgba(var(--genclik-secondary-rgb), 0.03) 100%);
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--genclik-primary);
  box-shadow: none;
  position: relative;
  transition: all 0.3s ease;
}

#eventDetailModal #eventDetailAccordion .accordion-button:not(.collapsed) {
  background: var(--genclik-gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--genclik-primary-rgb), 0.2);
}

#eventDetailModal #eventDetailAccordion .accordion-button:not(.collapsed) i {
  color: #ffffff;
}

#eventDetailModal #eventDetailAccordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23024b7a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

#eventDetailModal #eventDetailAccordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

#eventDetailModal #eventDetailAccordion .accordion-button i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

#eventDetailModal #eventDetailAccordion .accordion-body {
  padding: 1.5rem;
  background: #ffffff;
  color: #2d3748;
  line-height: 1.7;
}

#eventDetailModal #eventDetailAccordion .accordion-body ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

#eventDetailModal #eventDetailAccordion .accordion-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

#eventDetailModal #eventDetailAccordion .accordion-body ul li:last-child {
  margin-bottom: 0;
}

#eventDetailModal #eventDetailAccordion .accordion-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--genclik-primary);
  font-weight: 700;
  font-size: 1rem;
}

#eventDetailModal #eventDetailAccordion .accordion-body p {
  margin: 0;
  line-height: 1.7;
  color: #2d3748;
}

#eventDetailModal #eventDetailAccordion .accordion-body strong {
  color: var(--genclik-primary);
  font-weight: 600;
}

/* Galeri Bölümü - Modern Tasarım */
#eventDetailModal #eventDetailGallerySection {
  margin-bottom: 2rem;
}

#eventDetailModal #eventDetailGallerySection h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--genclik-primary);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(var(--genclik-primary-rgb), 0.1);
  margin-bottom: 1rem;
}

#eventDetailModal #eventDetailGallerySection h6 i {
  font-size: 1.2rem;
}

/* Galeri Grid - Bootstrap row ve col sınıflarını override et */
#eventDetailModal #eventDetailGallery.row {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  gap: 0.75rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

#eventDetailModal #eventDetailGallery.g-3 {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
  gap: 0.75rem !important;
}

#eventDetailModal #eventDetailGallery > div {
  padding: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

/* Mobil: 2 sütun (col-6) - Varsayılan */
#eventDetailModal #eventDetailGallery > div.col-6 {
  flex: 0 0 calc(50% - 0.375rem) !important;
  max-width: calc(50% - 0.375rem) !important;
  width: calc(50% - 0.375rem) !important;
  min-width: 0 !important;
}

/* Tablet ve üstü: 3 sütun (col-md-4) */
@media (min-width: 768px) {
  #eventDetailModal #eventDetailGallery {
    gap: 1rem !important;
  }

  #eventDetailModal #eventDetailGallery > div.col-md-4 {
    flex: 0 0 calc(33.333333% - 0.667rem) !important;
    max-width: calc(33.333333% - 0.667rem) !important;
    width: calc(33.333333% - 0.667rem) !important;
  }

  #eventDetailModal #eventDetailGallery > div.col-6 {
    flex: 0 0 calc(33.333333% - 0.667rem) !important;
    max-width: calc(33.333333% - 0.667rem) !important;
    width: calc(33.333333% - 0.667rem) !important;
  }
}

#eventDetailModal #eventDetailGallery .ratio {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(var(--genclik-primary-rgb), 0.08);
  background: #f8f9fa;
  width: 100% !important;
  margin-bottom: 0;
}

#eventDetailModal #eventDetailGallery .ratio:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(var(--genclik-primary-rgb), 0.2);
  border-color: var(--genclik-primary);
}

#eventDetailModal #eventDetailGallery .ratio img {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: cover;
  width: 100%;
  height: 100%;
  border: none;
}

#eventDetailModal #eventDetailGallery .ratio:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Başvuru Yap Butonu - Modern Tasarım */
#eventDetailModal #eventDetailApplyBtn {
  background: var(--genclik-gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(var(--genclik-primary-rgb), 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

#eventDetailModal #eventDetailApplyBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#eventDetailModal #eventDetailApplyBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--genclik-primary-rgb), 0.35);
  background: linear-gradient(135deg, var(--genclik-primary-dark) 0%, var(--genclik-primary) 100%);
}

#eventDetailModal #eventDetailApplyBtn:hover::before {
  left: 100%;
}

#eventDetailModal #eventDetailApplyBtn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(var(--genclik-primary-rgb), 0.25);
}

#eventDetailModal #eventDetailApplyBtn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

#eventDetailModal #eventDetailApplyBtn:hover i {
  transform: translateX(4px);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-overlay.show .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: white;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .genclik-quote-header {
    padding: 0.875rem 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .genclik-hero-section {
    padding: 4rem 0;
  }

  .genclik-quote-header {
    padding: 0.875rem 1rem;
  }

}

@media (max-width: 767.98px) {
  .events-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .events-filter-card {
    padding: 1.2rem;
    gap: 0.85rem;
  }

  .events-slider-card {
    padding: 1.4rem;
  }

  .events-filter-list {
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }

  .events-list-trigger {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }

  .genclik-hero-section {
    padding: 3rem 0;
  }

  .genclik-quote-header {
    padding: 0.75rem 1rem;
  }

  .genclik-quote-header .genclik-quote-text {
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  }
}

@media (max-width: 575.98px) {
  .events-filter-card {
    padding: 1rem;
    border-radius: 16px;
    gap: 0.75rem;
  }

  .events-slider-card {
    padding: 1.15rem;
    border-radius: 16px;
  }

  .events-filter-btn {
    width: 100%;
    justify-content: center;
  }

  .events-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .events-list-trigger {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .events-prev,
  .events-next {
    width: 36px;
    height: 36px;
  }

  .events-prev i,
  .events-next i {
    font-size: 1rem;
  }

  .genclik-hero-section {
    padding: 2.5rem 0;
  }

  .genclik-quote-header {
    padding: 0.75rem 0.875rem;
  }

  .genclik-quote-header .genclik-quote-text {
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  }

  .genclik-unified-card {
    border-radius: 16px;
  }

}

@media (min-width: 992px) {
  .events-showcase-wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    align-items: stretch;
  }

  .events-filter-card {
    position: sticky;
    top: 96px;
  }
}

/* Responsive - Modal'lar */
@media (max-width: 991.98px) {
  #eventDetailModal .modal-dialog {
    max-width: 95%;
    margin: 1rem;
  }

  #eventDetailModal .modal-header {
    padding: 1.25rem 1.5rem;
  }

  #eventDetailModal .modal-title {
    font-size: 1.3rem;
  }

  #eventDetailModal .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  #eventsListModal .modal-header,
  #eventDetailModal .modal-header {
    padding: 1rem 1.25rem;
  }

  #eventsListModal .modal-title,
  #eventDetailModal .modal-title {
    font-size: 1.2rem;
  }

  #eventDetailModal .modal-body {
    padding: 1.25rem;
  }

  #eventDetailModal #eventDetailDate {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
  }

  #eventDetailModal #eventDetailShortDesc {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  #eventDetailModal #eventDetailShortDescText {
    font-size: 1rem;
    line-height: 1.6;
  }

  #eventDetailModal #eventDetailAccordion .accordion-button {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-body {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  #eventDetailModal #eventDetailGallerySection::before {
    font-size: 1rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.625rem;
  }

  #eventDetailModal #eventDetailApplyBtn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  #eventsListContainer .card .p-3 {
    padding: 0.875rem !important;
  }
}

@media (max-width: 575.98px) {
  #eventDetailModal .modal-dialog {
    max-width: 100%;
    margin: 0.5rem;
  }

  #eventDetailModal .modal-header {
    padding: 0.875rem 1rem;
  }

  #eventDetailModal .modal-title {
    font-size: 1.1rem;
  }

  #eventDetailModal .modal-body {
    padding: 1rem;
  }

  #eventDetailModal #eventDetailDate {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  #eventDetailModal #eventDetailShortDesc {
    padding: 0.875rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
  }

  #eventDetailModal #eventDetailShortDescText {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #eventDetailModal #eventDetailAccordion {
    margin-bottom: 1.5rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-item {
    border-radius: 10px;
    margin-bottom: 0.75rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-button {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-button i {
    font-size: 1.1rem;
    margin-right: 0.625rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }

  #eventDetailModal #eventDetailAccordion .accordion-body ul li {
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
  }

  #eventDetailModal #eventDetailGallerySection {
    margin-bottom: 1.5rem;
  }

  #eventDetailModal #eventDetailGallerySection h6 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  /* Mobil: 2 sütun düzeni - gap ile */
  #eventDetailModal #eventDetailGallery.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #eventDetailModal #eventDetailGallery.g-3 {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    gap: 0.5rem !important;
  }

  #eventDetailModal #eventDetailGallery > div {
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  #eventDetailModal #eventDetailGallery > div.col-6 {
    flex: 0 0 calc(50% - 0.25rem) !important;
    max-width: calc(50% - 0.25rem) !important;
    width: calc(50% - 0.25rem) !important;
    min-width: 0 !important;
  }

  #eventDetailModal #eventDetailGallery .ratio {
    border-radius: 10px;
    margin-bottom: 0;
    width: 100% !important;
  }

  #eventDetailModal #eventDetailApplyBtn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  #eventDetailModal #eventDetailApplyBtn i {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  #eventsListModal .pagination-wrapper {
    padding: 0.25rem;
  }

  #eventsListModal .pagination-btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem;
    min-width: 40px;
    height: 40px;
  }

  #eventsListModal .modern-pagination {
    gap: 0.125rem;
  }
}

/* Responsive - Lightbox */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }
}

@media (max-width: 576px) {
  .lightbox-close {
    top: -35px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* EN GÜÇLÜ OVERRIDE - Quote Text Renk Paleti */
/* Diğer CSS dosyalarından gelen yeşil renkleri override et */
.genclik-quote-text,
.genclik-quote-header .genclik-quote-text,
#main-content .genclik-quote-text,
#main-content .genclik-quote-header .genclik-quote-text {
  background: linear-gradient(135deg, var(--genclik-primary) 0%, var(--genclik-primary-dark) 50%, var(--genclik-primary) 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 2px 8px rgba(var(--genclik-primary-rgb), 0.1) !important;
  filter: drop-shadow(0 1px 2px rgba(var(--genclik-primary-rgb), 0.08)) !important;
}