/* banner.css */
.banner-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  opacity: 0;
  animation: bannerFadeIn 1s ease-out forwards;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: bannerZoomIn 1.2s ease-out forwards;
}

.floating-items {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1200px;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0;
  animation: itemsFadeIn 0.8s ease-out 0.5s forwards;
}

.floating-plant {
  position: absolute;
  width: auto;
  left: 0;
  top: 20%;
  animation: floatPlant 30s linear infinite alternate;
}

.floating-ufo {
  position: absolute;
  width: auto;
  right: 0;
  top: 10%;
  animation: floatUfo 25s linear infinite alternate;
}

.floating-moon {
  position: absolute;
  width: auto;
  right: 10%;
  top: 20%;
  animation: moonRotate 20s linear infinite;
  transform-origin: center center;
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bannerZoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes itemsFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes floatPlant {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(280px) translateY(30px);
  }
  50% {
    transform: translateX(560px) translateY(-30px);
  }
  75% {
    transform: translateX(840px) translateY(30px);
  }
  100% {
    transform: translateX(1120px) translateY(0);
  }
}

@keyframes floatUfo {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-280px) translateY(-30px);
  }
  50% {
    transform: translateX(-560px) translateY(30px);
  }
  75% {
    transform: translateX(-840px) translateY(-30px);
  }
  100% {
    transform: translateX(-1120px) translateY(0);
  }
}

@keyframes moonRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(0.98);
  }
  50% {
    transform: rotate(180deg) scale(1);
  }
  75% {
    transform: rotate(270deg) scale(0.98);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Farklı başlangıç zamanları */
.floating-ufo {
  animation-delay: -12.5s;
}
/* Mobil responsive için eklenecek CSS */
@media only screen and (max-width: 768px) {
  .floating-items {
    width: 100%;
    max-width: 400px;
  }

  .floating-plant {
    width: 60px;
    height: auto;
    top: 30%;
  }

  .floating-ufo {
    width: 40px;
    height: auto;
    top: 15%;
  }

  .floating-moon {
    width: 35px;
    height: auto;
    right: 5%;
    top: 25%;
  }

  @keyframes floatPlant {
    0% {
      transform: translateX(0) translateY(0);
    }
    25% {
      transform: translateX(80px) translateY(15px);
    }
    50% {
      transform: translateX(160px) translateY(-15px);
    }
    75% {
      transform: translateX(240px) translateY(15px);
    }
    100% {
      transform: translateX(320px) translateY(0);
    }
  }

  @keyframes floatUfo {
    0% {
      transform: translateX(0) translateY(0);
    }
    25% {
      transform: translateX(-80px) translateY(-15px);
    }
    50% {
      transform: translateX(-160px) translateY(15px);
    }
    75% {
      transform: translateX(-240px) translateY(-15px);
    }
    100% {
      transform: translateX(-320px) translateY(0);
    }
  }
}

/* Tablet responsive */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .floating-items {
    width: 100%;
    max-width: 700px;
  }

  .floating-plant {
    width: 80px;
    height: auto;
  }

  .floating-ufo {
    width: 60px;
    height: auto;
  }

  .floating-moon {
    width: 50px;
    height: auto;
  }

  @keyframes floatPlant {
    0% {
      transform: translateX(0) translateY(0);
    }
    25% {
      transform: translateX(150px) translateY(20px);
    }
    50% {
      transform: translateX(300px) translateY(-20px);
    }
    75% {
      transform: translateX(450px) translateY(20px);
    }
    100% {
      transform: translateX(600px) translateY(0);
    }
  }

  @keyframes floatUfo {
    0% {
      transform: translateX(0) translateY(0);
    }
    25% {
      transform: translateX(-150px) translateY(-20px);
    }
    50% {
      transform: translateX(-300px) translateY(20px);
    }
    75% {
      transform: translateX(-450px) translateY(-20px);
    }
    100% {
      transform: translateX(-600px) translateY(0);
    }
  }
}

/* Ana Değişkenler */
:root {
  --purple: #7c439a;
  --pink: #a6228e;
  --blue: #6e9933;
  --green: #c3d941;
  --orange: #707070;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Ana Container */
.etkinlik_takvimi .container {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Calendar Container */
.calendar-container {
  flex: 1;
  min-width: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 15px;
  box-shadow: var(--shadow-md);
}

/* Header Stili */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}

.month-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 25px;
  min-width: 150px;
}

.nav-button {
  background: none;
  border: none;
  color: var(--purple);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: rgba(124, 67, 154, 0.1);
}

.current-date {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: center;
}

/* Görünüm Butonları */
.view-buttons {
  display: flex;
  gap: 5px;
  background: #f8f9fa;
  padding: 5px;
  border-radius: 25px;
}

.view-button {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
  color: white;
  transition: all 0.3s ease;
}

.view-button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.view-button.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

.gunluk {
  background: var(--purple);
}
.haftalik {
  background: var(--pink);
}
.aylik {
  background: var(--green);
}
.liste {
  background: var(--blue);
}

/* Kategori Dropdown */
.category-dropdown {
  position: relative;
  min-width: 200px;
}

.category-dropdown-btn {
  width: 100%;
  padding: 8px 15px;
  background: #f8f9fa;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
}

.category-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 5px;
  z-index: 100;
  display: none;
}

.category-dropdown.active .category-dropdown-content {
  display: block;
}

.category-item {
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-item:hover {
  background: #f8f9fa;
}

.category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Takvim Grid */
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #f0f0f0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--purple);
  color: white;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.weekday {
  padding: 10px 5px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.day {
  background: white;
  height: 150px;
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.day.other-month {
  background: #f8f9fa;
  color: #adb5bd;
}

.day.today {
  background: #fff9e6;
}

.day-number {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

/* Event Stilleri */
.event {
    position: relative;
    left: 0;
    right: 0;
    margin: 2px 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.2s ease;
    font-weight: bold;
  }
  

.event:hover {
  transform: translateX(2px);
}

.event-time {
  font-size: 10px;
  opacity: 0.9;
}

.event-title {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Liste Görünümü */
.list-view {
  padding: 15px;
}

.list-day-header {
  color: var(--purple);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 2px solid #f0f0f0;
  margin: 20px 0 10px;
}

.list-event {
  display: grid;
  grid-template-columns: 120px 1fr 150px;
  gap: 15px;
  padding: 15px;
  margin-bottom: 10px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.list-event:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

/* Event Detayları */
.event-details {
  width: 350px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 20px;
}

.event-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-image img:hover {
  transform: scale(1.05);
}

.event-details .event-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.event-details .event-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.event-datetime,
.event-location,
.event-participants {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: #555;
  font-size: 0.9rem;
}

.event-details i {
  color: var(--purple);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.location-details {
  flex: 1;
}

.address {
  color: #777;
  font-size: 0.85rem;
  margin-top: 5px;
}

.map-link {
  color: var(--purple);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.map-link:hover {
  color: var(--pink);
  text-decoration: underline;
}

.event-category-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  color: white;
  font-size: 0.8rem;
  margin: 15px 0;
}

.event-action {
  margin-top: 20px;
  text-align: center;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-join,
.btn-cancel {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-join {
  background: var(--purple);
  color: white;
}

.btn-cancel {
  background: #f5f5f5;
  color: #666;
}

/* Mobil Görünüm */
@media (max-width: 1200px) {
  .etkinlik_takvimi .container {
    padding: 10px;
  }

  .day {
    height: 70px;
  }
}

@media (max-width: 992px) {
  .etkinlik_takvimi .container {
    flex-direction: column;
  }

  .calendar-header {
    flex-direction: column;
    align-items: stretch;
  }

  .view-button.gunluk,
  .view-button.haftalik {
    display: none;
  }

  .view-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .month-navigation,
  .category-dropdown {
    width: 100%;
  }

  .day {
    height: 60px;
    padding: 2px;
  }

  .weekday {
    font-size: 12px;
    padding: 8px 2px;
  }

  .event-details {
    width: 100%;
    margin-top: 20px;
    position: static;
  }

  .list-event {
    grid-template-columns: 1fr;
  }
}

/* Bildirimler */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  animation: slideIn 0.3s ease-out;
}

.notification.success {
  border-left: 4px solid var(--green);
}

.notification.error {
  border-left: 4px solid var(--pink);
}

/* Animasyonlar */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Haftalık Görünüm */
.week-view {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.week-view .time-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  border: 1px solid #e9ecef;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.week-view .events-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day-column {
  border-right: 1px solid #e9ecef;
  min-height: 660px; /* 11 saat x 60px */
}

.day-column:last-child {
  border-right: none;
}

.time-column {
  background: #f8f9fa;
  border-right: 1px solid #e9ecef;
}

.time-slot {
  height: 60px;
  line-height: 60px; /* Dikey ortalama için */
  border-bottom: 1px solid #e9ecef;
  text-align: right;
  padding-right: 10px;
  color: #666;
  font-size: 14px;
}

.hour-cell {
  height: 60px;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  padding: 0; /* Padding kaldırıldı */
}

/* Günlük Görünüm */
.day-view {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.day-view .time-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  border: 1px solid #e9ecef;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.day-view .events-column {
  min-height: 660px;
  border-left: 1px solid #e9ecef;
}

.day-header {
  padding: 15px;
  text-align: center;
  background: var(--purple);
  color: white;
  font-weight: 500;
  font-size: 16px;
}

/* Liste Görünümü */
.list-view {
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
}

.list-day-group:not(:first-child) {
  margin-top: 30px;
}

.list-day-header {
  font-weight: 600;
  color: var(--purple);
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  font-size: 16px;
}

.list-event {
  display: grid;
  grid-template-columns: 150px 1fr 200px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 15px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  align-items: center;
}

.list-event:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.list-event-time {
  color: var(--purple);
  font-weight: 500;
  font-size: 0.9rem;
}

.list-event-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.list-event-location {
  color: #666;
  font-size: 0.85rem;
}

.list-event-description {
  color: #777;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-event-participants {
  text-align: right;
  color: var(--green);
  font-size: 0.85rem;
}

/* Görünümlerdeki Event Stilleri */

.day-view .event {
  position: absolute;
  left: 90px;
  right: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: white;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}
.week-view .event {
  position: absolute;
  left: 4px;
  right: 4px;
 
}

.week-view .event:hover,
.day-view .event:hover {
  transform: scale(1.02);
  z-index: 2;
}
.event-subtitle {
  white-space: nowrap;
}
/* Mobil Düzenlemeler */
@media (max-width: 992px) {
  .week-view .time-grid,
  .day-view .time-grid {
    grid-template-columns: 60px 1fr;
  }

  .time-slot {
    font-size: 12px;
    padding: 2px 5px;
  }

  .hour-cell {
    height: 50px;
  }

  .list-event {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .list-event-participants {
    text-align: left;
  }

  .day-header {
    padding: 10px;
    font-size: 14px;
  }
}

.calendar-view {
  display: none;
}

.calendar-view.active {
  display: block;
}

/* Mobile Specific Styles */
@media (max-width: 992px) {
  /* Container and Basic Layout */
  .etkinlik_takvimi .container {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }

  .calendar-container {
    border-radius: 16px;
    padding: 10px;
    box-shadow: none;
  }

  /* Calendar Header Mobile Adjustments */
  .calendar-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    margin-bottom: 10px;
  }

  /* Navigation */
  .month-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: none;
    padding: 0;
    width: 100%;
    height: 44px;
  }

  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 67, 154, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease;
  }

  .nav-button:active {
    background: rgba(124, 67, 154, 0.2);
  }

  .nav-button#prevBtn {
    left: 0;
  }

  .nav-button#nextBtn {
    right: 0;
  }

  .nav-button i {
    color: var(--purple);
    font-size: 20px;
  }

  .current-date {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 0 50px;
    color: #333;
  }

  /* View Buttons */
  .view-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 25px;
    width: 100%;
    margin-top: 10px;
  }

  .view-button {
    padding: 10px;
    font-size: 14px;
    border-radius: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .view-button.active {
    opacity: 1;
    background-color: var(--purple);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  /* Category Dropdown */
  .category-dropdown {
    width: 100%;
    margin-top: 10px;
  }

  .category-dropdown-btn {
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .category-dropdown-btn i {
    color: var(--purple);
  }

  /* Calendar Days */
  .days-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background: transparent;
  }

  .day {
    background: transparent;
    /* aspect-ratio: 1 / 1; */
    position: relative;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .day-number {
    position: relative;
    font-size: 14px;
    color: #333;
    z-index: 2;
  }

  .day.other-month .day-number {
    color: #adb5bd;
  }

  .day.today .day-number {
    background-color: var(--purple);
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .day.has-event .day-number {
    color: white;
    z-index: 2;
  }

  .day.has-event::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--purple);
    border-radius: 50%;
  }

  .day.active {
    background-color: rgba(124, 67, 154, 0.1);
    border-radius: 8px;
  }

  /* Week and Day Views */
  .week-view .time-grid,
  .day-view .time-grid {
    grid-template-columns: 60px 1fr;
  }

  .time-slot {
    font-size: 12px;
    padding: 2px 5px;
  }

  .hour-cell {
    height: 50px;
  }

  /* Event Details */
  .event-details {
    width: 100%;
    margin-top: 20px;
    position: static;
    border-radius: 16px;
    padding: 15px;
  }

  /* List View */
  .list-event {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
    margin-bottom: 10px;
  }

  .list-event-participants {
    text-align: left;
  }

  .day-header {
    padding: 10px;
    font-size: 14px;
  }

  /* Additional Responsive Tweaks */
  .event-details .event-title {
    font-size: 1rem;
  }

  .event-details .event-description {
    font-size: 0.85rem;
  }

  .event-datetime,
  .event-location,
  .event-participants {
    font-size: 0.8rem;
  }
}

/* Gallery */
.iklim-gallery-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.iklim-gallery-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .iklim-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .iklim-gallery-wrapper {
    order: 1;
  }
}

/* Main Title Styles */
.iklim-main-title {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: #3b3b3b;
  margin: 30px auto;
  max-width: 800px;
}
.iklim-main-title span {
  color: #7c439a;
}
.iklim-main-description {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: #292929;
}
/* Content Styles */
.iklim-text-content h2 {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  color: #3b3b3b;
}

.iklim-text-content p {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #292929;
}

/* Content Grid */
.iklim-content-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}

.iklim-content-grid.reverse {
  flex-direction: row-reverse;
}

.iklim-content-grid.reverse .iklim-text-content {
  text-align: right; /* Sağa dayalı text */
}

.iklim-text-content {
  width: 35%;
  text-align: left;
}

.iklim-gallery-wrapper {
  width: 60%;
}

/* Gallery Grid Styles */
.iklim-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px;
}

.iklim-gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.iklim-gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.iklim-gallery-item:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

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

.iklim-gallery-item:hover img {
  transform: scale(1.08);
}

/* Swiper Styles */
.iklimGallerySwiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #c3d940;
}

/* Responsive - 992px ve altı için */
@media (max-width: 992px) {
  .iklim-main-title {
    font-size: 28px;
    padding: 0 20px;
  }

  .iklim-content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .iklim-content-grid.reverse {
    flex-direction: column;
  }

  .iklim-text-content,
  .iklim-gallery-wrapper {
    width: 100%;
  }
  .iklim-gallery-grid {
    display: block;
  }

  .iklim-gallery-item {
    margin-bottom: 0;
  }

  .iklim-gallery-item:not(:first-child) {
    display: none;
  }

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

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .iklim-main-title {
    font-size: 24px;
  }

  .iklim-text-content h2 {
    font-size: 22px;
  }
}
/* Etkinlik Kartları için Benzersiz CSS Sınıfları */
.gecmis-etkinlik-card {
  display: block;
  height: 100%;
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gecmis-etkinlik-card:hover {
  transform: translateY(-5px);
}

.gecmis-etkinlik-inner {
  background: white;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gecmis-etkinlik-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.gecmis-etkinlik-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.gecmis-etkinlik-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gecmis-etkinlik-card:hover .gecmis-etkinlik-image-container img {
  transform: scale(1.05);
}

/* Tarih etiketi - sağ üstte */
.gecmis-etkinlik-tarih {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  background-color: rgba(124, 67, 154, 0.9);
  border-bottom-left-radius: 8px;
  z-index: 2;
}

/* Etkinlik başlığı - altta, görsel üzerinde */
.gecmis-etkinlik-baslik {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px 15px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background-color: rgba(124, 67, 154, 0.9);
  z-index: 2;
}

/* Kategori renkleri için tarih etiketi ve başlık */
.gecmis-etkinlik-card[data-category="genel-etkinlik"] .gecmis-etkinlik-tarih,
.gecmis-etkinlik-card[data-category="genel-etkinlik"] .gecmis-etkinlik-baslik {
  background-color: rgba(166, 34, 142, 0.9); /* Genel etkinlik */
}

.gecmis-etkinlik-card[data-category="atolyeler"] .gecmis-etkinlik-tarih,
.gecmis-etkinlik-card[data-category="atolyeler"] .gecmis-etkinlik-baslik {
  background-color: rgba(195, 217, 65, 0.9); /* Atölyeler */
}

.gecmis-etkinlik-card[data-category="bilim-yarismalar"] .gecmis-etkinlik-tarih,
.gecmis-etkinlik-card[data-category="bilim-yarismalar"]
  .gecmis-etkinlik-baslik {
  background-color: rgba(124, 67, 154, 0.9); /* Bilim Yarışmaları */
}

.gecmis-etkinlik-card[data-category="bilim-senlikleri"] .gecmis-etkinlik-tarih,
.gecmis-etkinlik-card[data-category="bilim-senlikleri"]
  .gecmis-etkinlik-baslik {
  background-color: rgba(110, 153, 51, 0.9); /* Bilim Şenlikleri */
}

.gecmis-etkinlik-card[data-category="paneller"] .gecmis-etkinlik-tarih,
.gecmis-etkinlik-card[data-category="paneller"] .gecmis-etkinlik-baslik {
  background-color: rgba(112, 112, 112, 0.9); /* Paneller */
}

/* Büyütme göstergesi - tıklanabilir görseller için */
.gecmis-etkinlik-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  opacity: 0;
  z-index: 3;
}

.gecmis-etkinlik-zoom i {
  font-size: 24px;
  color: #333;
}

.gecmis-etkinlik-image-link:hover .gecmis-etkinlik-zoom {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Swiper düğmeleri */
.gecmis-etkinlik-swiper .swiper-button-prev,
.gecmis-etkinlik-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gecmis-etkinlik-swiper .swiper-button-prev:after,
.gecmis-etkinlik-swiper .swiper-button-next:after {
  font-size: 18px;
  color: #666;
}

/* Swiper pagination */
.gecmis-etkinlik-swiper .swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 15px;
  text-align: center;
}

.gecmis-etkinlik-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 0.7;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.gecmis-etkinlik-swiper .swiper-pagination-bullet-active {
  background: #7c439a;
  opacity: 1;
  transform: scale(1.2);
}

/* Fancybox özelleştirmeleri - genel olduğu için ön ek kullanmıyoruz */
.fancybox__toolbar {
  background-color: rgba(0, 0, 0, 0.7);
}

.fancybox__caption {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  font-size: 16px;
  font-weight: 500;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .gecmis-etkinlik-image-container {
    height: 180px;
  }

  .gecmis-etkinlik-tarih {
    padding: 6px 10px;
    font-size: 12px;
  }

  .gecmis-etkinlik-baslik {
    padding: 10px;
    font-size: 14px;
  }
}

#etkinlikler.bottom-img {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
#etkinlikler.bottom-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  bottom: -40px;
}

#etkinlikler.bottom-img p {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 900;
  position: absolute;
  color: #7c439a;
  font-size: 50px;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  left: 12%;
  margin-top: -5%;
  line-height: normal;
}
#etkinlikler.bottom-img p span {
  font-size: 37px;
}
#etkinlikler.bottom-img p span span {
  color: #707070;
}
.event-session-times {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.event-session-times i {
    margin-right: 10px;
    color: #555;
}

.event-session-times .session-details {
    flex: 1;
}

.event-session-times p {
    margin: 0;
}

.event-session-times strong {
    font-weight: 600;
}

.event-age-limit {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.event-age-limit i {
    margin-right: 10px;
    color: #555;
}

.event-age-limit span {
    font-size: 1rem;
}
.event-last-application {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.9rem;
  }
  
  .event-last-application i {
    color: var(--purple);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
  }
  
  .list-event-session-times,
  .list-event-age-limit,
  .list-event-last-application {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
  }
  /* Bildirim Stilleri */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 320px;
  }
  
  .notification.show {
    transform: translateX(0);
  }
  
  .notification.success {
    background-color: #4CAF50;
  }
  
  .notification.error {
    background-color: #F44336;
  }
  
  .notification.warning {
    background-color: #FF9800;
  }
  
  .notification.info {
    background-color: #2196F3;
  }
  
  /* Daha iyi mobil görünüm için */
  @media (max-width: 768px) {
    .notification {
      top: auto;
      bottom: 20px;
      left: 20px;
      right: 20px;
      max-width: none;
      transform: translateY(120%);
    }
    
    .notification.show {
      transform: translateY(0);
    }
   .day-mobile .event {
        width: 100%;
        height: 6px;
        margin: 2px 0;
        padding: 0;
        border-radius: 3px;
    }
    
    /* Seçili etkinlik mobil görünümde */
    .day-mobile .selected-event {
        height: 8px;
        transform: scale(1); /* Mobilide büyütme efekti verme */
        box-shadow: 0 0 0 1px #C3D940 !important; /* Daha ince kenarlık */
    }
    
    /* Seçili etkinlik için ışıldama efekti mobilde daha az belirgin olsun */
    .day-mobile .selected-event:after {
        box-shadow: 0 0 5px rgba(195, 217, 64, 0.5);
    }
  }
/* Aşağıdaki CSS kodlarını eklemeniz veya güncellemeniz gerekiyor */

/* Seçili etkinlikler için gelişmiş stil */
.selected-day {
    position: relative;
    border: none !important; 
    box-shadow: inset 0 0 0 2px #7C439A !important;
    background-color: rgba(124, 67, 154, 0.05) !important;
    z-index: 1;
}

.selected-event {
    position: relative;
    border: none !important;
    box-shadow: 0 0 0 2px #C3D940 !important;
    transform: scale(1.05);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selected-event:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    box-shadow: 0 0 12px rgba(195, 217, 64, 0.7);
    animation: selected-pulse 2s infinite;
    z-index: -1;
}

@keyframes selected-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Alt kategori işaretleri */
.event[data-subcategory] {
    position: relative;
    overflow: visible !important;
}

.event[data-subcategory]:not(.day-mobile .event):before {
    content: '•';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    line-height: 10px;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    background-color: inherit;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transform: translate(50%, -50%);
}

.selected-event[data-subcategory]:not(.day-mobile .event):before {
    content: '✓';
    background-color: #C3D940;
    color: white;
    width: 14px;
    height: 14px;
    line-height: 12px;
    font-size: 10px;
}

/* Etkinlik detayları bölümü animasyonu */
.event-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.6s ease, transform 0.4s ease;
    transform: translateY(20px);
}

.event-details.show {
    opacity: 1;
    max-height: 2000px;
    transform: translateY(0);
}

/* Yükleme göstergesi */
.calendar-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.calendar-loading.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.calendar-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #7C439A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}