.news-section {
  overflow: hidden;
}

.news-card {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.news-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
/* Yeni eklenen kartlara animasyon */
.news-card.new-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Butonlar */
.btn-group a { transition: all 0.3s ease; cursor: pointer; }
.btn-group a.text-primary:hover { background-color: #0d6efd; color: #fff !important; }

/* Spinner */
.spinner-border { opacity: 1 !important; visibility: visible !important; }



/* Animasyonlar */
@keyframes slideDown { 0% { transform: translateY(-100%); opacity:0 } 100% { transform: translateY(0); opacity:1 } }
@keyframes pulse { 0%{transform:scale(1)}50%{transform:scale(1.05)}100%{transform:scale(1)} }

/* Mobil responsive */
@media(max-width:576px){.news-card{margin-bottom:1rem}.news-image{width:100%;height:auto}.btn-group a{padding:0.5rem 0.75rem;font-size:0.875rem}}
@media(max-width:400px){.container{padding-left:10px;padding-right:10px}.news-card{border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.btn-group a{padding:0.4rem 0.6rem;font-size:0.8rem}.new-news-indicator{top:-40px;right:5px;font-size:0.75rem}}

/* Fade-in animasyon */
.fade-out {opacity:0;transform:translateY(20px);transition:opacity 0.6s ease-out,transform 0.6s ease-out;}
.fade-in {opacity:1;transform:translateY(0);transition:opacity 0.6s ease-out,transform 0.6s ease-out;}
.text-muted.small{font-size:0.75rem;}
.card-title.news-title{font-size:1rem;}
.card-text.news-description{font-size:0.875rem;color:#555;}

.bgGray {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
}

.news-content {
  text-align: justify;
}

.news-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px 0; 
}

.news-detail-img {
  max-height: 8rem;
  width: auto;
  object-fit: cover;
}

.nav-link {
  background-color: white !important;
  color: #292c2f !important;
}

.nav-link.active {
  background-color: #292c2f !important;
  color: white !important;
}

/* Scroll wrapper */
.news-scroll-wrapper {
  width: 100%;
  overflow-y: visible;
  transition: max-height 180ms ease;
}

.news-scroll-wrapper.scroll-enabled {
  overflow-y: auto; /* scroll görünür */
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  scroll-behavior: smooth;
  position: relative;
  scrollbar-color: #439c86 rgba(0,0,0,0.05);
  scrollbar-width: thin;
  min-height: 4rem; /* mobil scroll için minimum */
}

.news-scroll-wrapper.scroll-enabled::-webkit-scrollbar {
  width: 10px;
}

.news-scroll-wrapper.scroll-enabled::-webkit-scrollbar-thumb {
  background: #439c86;
  border-radius: 6px;
}

.news-scroll-wrapper.scroll-enabled::-webkit-scrollbar-thumb:hover {
  background: #367c6b;
}

.news-scroll-wrapper.scroll-enabled::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 6px;
}

/* Card spacing */
.news-card {
  margin-bottom: 0.6rem;
}

/* Card image adjustments */
.news-link img.news-detail-img {
  max-height: 5.6rem;
  margin-right: 0.5rem;
}


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-slider {
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-slider .carousel-cell {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-slider .carousel-cell .inner {
  position: relative;
  top: 80%;
  transform: translateY(-50%);
  color: white;
  background-color: rgba(171, 171, 171, 0.5);
  text-align: center;
}

.hero-slider .carousel-cell .inner .subtitle {
  font-size: 2.2rem;
  line-height: 1.2em;
  font-weight: 200;
  font-style: italic;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.hero-slider .carousel-cell .inner .title {

  font-size: 3rem;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.hero-slider .carousel-cell .inner .btn {
  border: 1px solid #fff;
  padding: 14px 18px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-slider .carousel-cell .inner .btn:hover {
  background: #fff;
  color: #000;
}

.hero-slider .flickity-prev-next-button {
  width: 120px;
  height: 120px;
  background: transparent;
}

.hero-slider .flickity-prev-next-button:hover {
  background: transparent;
}

.hero-slider .flickity-prev-next-button .arrow {
  fill: white;
}

.hero-slider .flickity-page-dots {
  bottom: 30px;
}

.hero-slider .flickity-page-dots .dot {
  width: 30px;
  height: 4px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  border: 0 solid white;
  border-radius: 0;
}

.hero-slider .flickity-page-dots .dot.is-selected {
  background: #ff0000;
  border: 0 solid #ff0000;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-slider .carousel-cell .inner .title {
    font-size: 2.5rem;
  }
  .hero-slider .carousel-cell .inner .subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .hero-slider {
    height: 70vh;
  }
  .hero-slider .carousel-cell .inner .title {
    font-size: 2rem;
  }
  .hero-slider .carousel-cell .inner .subtitle {
    font-size: 1.5rem;
  }
  .hero-slider .flickity-prev-next-button {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
  }
  .hero-slider .carousel-cell .inner .title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .hero-slider .carousel-cell .inner .subtitle {
    font-size: 1.2rem;
  }
  .hero-slider .flickity-prev-next-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 50vh;
  }
  .hero-slider .carousel-cell .inner .title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .hero-slider .carousel-cell .inner .subtitle {
    font-size: 1rem;
  }
  .hero-slider .carousel-cell .inner .btn {
    padding: 10px 14px;
    font-size: 0.7rem;
  }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
/* Genel */
.bgGray {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
}
.notice-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Yayınlanma ve Font Butonları */
.publish-info {
  font-size: 0.9rem;
}
.font-buttons a {
  font-size: 1.3rem;
  margin-left: 5px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .font-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
  }
}

/* Genel */
.text-justify {
  text-align: justify;
}
.flex-container2 {
  display: flex;
  flex-wrap: wrap;
}
.flex-item2 {
  display: flex;
}
.flex-item2 h2 { 
  width: 100%;
}
.text-footer {
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
}
.text-author {
  text-align: left;
  margin-top: 10px;
}
.text-time {
  border-bottom: 2px solid #dedede;
  padding-right: 0;
}
.text-share {
  text-align: right;
  padding-left: 0;
}
.text-viewcount {
  border-bottom: 2px solid #00733e;
}
.text-socailContainer {
  margin-top: 10px;
}
.text-socailContainer a:last-child {
  margin-right: 0;
}

/* Duyuru Detay Yayınlanma ve Font Butonları */
.bgGray {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
}
.publish-info {
  font-size: 0.9rem;
}
.font-buttons a {
  font-size: 1.3rem;
}



/* Responsive */
@media (max-width: 767.98px) {
  .publish-info {
    text-align: left;
  }
  .font-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
  }
}

/* Top Bar Stilleri */
.top-bar {
  position: relative;
  z-index: 1020;
  background-color: #f8f9fa;
}

.top-bar .share-icon {
  width: 32px;
  height: 32px;
  padding: 2px;
  vertical-align: middle; 
}

.top-bar .container .row {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  .top-bar .share-icon {
    width: 35px;
    height: 35px;
  }
  .top-bar .container {
    text-align: center;
  }
  .top-bar .container .row {
    justify-content: center; /* Mobil görünümde ortala */
  }
}

/* Navbar Stilleri */
.main-navbar {
  position: relative;
  z-index: 1030;
  background-color: #fff;
  animation: fadeInDown 0.5s ease-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
}

.main-navbar.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar-placeholder {
  display: none;
  height: 0;
}

.navbar-placeholder.active {
  display: block;
}

/* Mega Menu Stilleri */
.dropdown-menu.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 1rem;
  border-radius: 0;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  z-index: 2000;
}

/* Navbar sticky olduğunda mega menu pozisyonu */
.main-navbar.sticky .dropdown-menu.mega-menu {
  position: fixed;
  top: 70px; /* Bu değeri kendi navbar yüksekliğinize göre ayarlayın */
}

@media (min-width: 992px) {
  .main-navbar.sticky .dropdown-menu.mega-menu {
    top: 80px; /* Bu değeri kendi navbar yüksekliğinize göre ayarlayın */
  }
}

/* MEGA MENU LİNK STİLLERİ - DÜZENLENDİ */
.dropdown-menu.mega-menu .col-lg-4 a,
.dropdown-menu.mega-menu .col-md-6 a {
  display: flex;
  align-items: flex-start; /* İkon ve metni üste hizala */
  gap: 0.5rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 0.75rem;
}

.dropdown-menu.mega-menu .sub-menu-name {
  display: inline-block; 
  word-break: break-word; 
  line-height: 1.4;
  font-size: 1rem;
  /* === EKLENDİ: Flexbox içinde metin taşmasını önlemek için === */
  min-width: 0;
  flex-shrink: 1;
}

.dropdown-menu.mega-menu .col-lg-4 a:hover .sub-menu-name,
.dropdown-menu.mega-menu .col-md-6 a:hover .sub-menu-name {
  text-decoration: underline;
  color: var(--primary-color);
}

.dropdown-menu.mega-menu .material-symbols-rounded {
  font-size: 18px;
  margin-top: 2px; /* İkonu metinle daha iyi hizalamak için */
}

.dropdown-menu.mega-menu h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.navbar-nav .nav-item {
  margin-left: 0.5rem; /* Mesafeyi azalttık */
}

/* =================================================================== */
/* === MOBİL GÖRÜNÜM İÇİN DÜZENLEMELER (991.98px ALTI) === */
/* =================================================================== */
@media (max-width: 991.98px) {
  .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0.5rem 0;
  }

  .main-navbar.sticky .dropdown-menu.mega-menu {
    position: static;
  }
  
  #apps-menu {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* === EKLENDİ: Mobil menünün kaydırılabilir olması için === */
  #navbars_istanbul {
    max-height: 75vh; /* Ekran yüksekliğinin %75'ini geçmesin */
    overflow-y: auto;   /* Dikeyde taşma olursa scroll bar çıksın */
    -webkit-overflow-scrolling: touch; /* iOS'ta akıcı kaydırma için */
  }

  /* === EKLENDİ: Mobil alt menüdeki yazıların sığması için === */
  .dropdown-menu.mega-menu .sub-menu-name {
    white-space: normal; /* Metnin alt satıra geçmesini zorunlu kılar */
  }
}
/* === MOBİL DÜZENLEMELER BİTİŞ === */


.navbar {
  margin-bottom: 0;
}

main, .content, .page-content {
  position: relative;
  z-index: 1;
}





.card.hover-effect:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.pycustom50 {
padding-bottom:50px!important;
padding-top:10px!important;
}
/* İstatistik kartları */
.statistic-item {
  display: block;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}


.statistic-item h1 {
  transition: color 0.3s ease;
}

.statistic-item:hover h1 {
  color: #ffc107;
}

/* Text taşmasını engelle */
.nowrap-text {
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.counter {
  display: inline-block;
  position: relative;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Binlik ayırıcı için */
.counter:after {
  content: attr(data-target);
}

.date-navigation {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
}

.food-card hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* ince gri çizgi */
  margin: 4px 0; /* yazılar arasında çok sıkışmasın */
}
.gold-kcal {
  background: none !important;
  color:#f59e0b !important;
  font-size:19px;

}

.date-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.section-title {
  color: black !important;
}

.text-muted {
  color: #000 !important;
  opacity: 0.8 !important;
}

.date-display {
  background-color: #5d5d5d;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  min-width: 140px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date-nav-btn {
  background: transparent;
  border: none;
  color: #495057;
  padding: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-nav-btn i {
  font-size: 25px;
  font-weight: bold;
}

.date-nav-btn:hover {
  color: #212529;
  transform: scale(1.1);
}

.date-nav-btn:disabled {
  color: #adb5bd;
  cursor: not-allowed;
  transform: none;
}

.prev-btn {
  margin-right: 10px;
}

.next-btn {
  margin-left: 10px;
}

.all-foods {
  background: #465C88 !important;
  border-radius: 10px;
}

.all-foods a {
  text-decoration: none;
}

.food-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #333;
  z-index: 1;
}

.food-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://cdn.istanbul.edu.tr/FileHandler2.ashx?f=slider.bg.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

.food-card .card-body {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  padding: 1rem;
  background-color: #fff;
}

.food-card .card-body p,
.food-card .card-body h4,
.food-card .card-body h6,
.food-card .card-body small {
  font-weight: 400;
}

.food-card .card-body h4,
.food-card .card-body h6 {
  font-weight: 600;
}

.food-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s;
}

.text-gold {
  color: #ffc107;
}

.gold-bg {
  background-color: #e0ab0d;
  color: #fff;
  border-radius: 12px;
}

/* Monthly food button (masaüstü için siyah arka plan) */
.monthly-food-btn {
  background-color: #000 !important;
  border-radius: 10px;
}

/* Mobile view adjustments */
@media (max-width: 767px) {
  .food-card .card-body {
    padding: 0.75rem !important;
  }

  .food-card h6 {
    font-size: 0.9rem;
  }

  .food-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .mobile-meals-row {
    display: flex;
    flex-wrap: wrap;
  }

  .mobile-meals-row > div {
    width: 50%;
    padding: 0 5px;
  }

  .mobile-meals-row .food-card .card-body p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

.food-dates-container {
  height: 100%;
  padding-right: 15px;
}

.col-md-4.col-lg-3.mt-0.float-start {
  padding-right: 0;
}

.col-md-8.col-lg-9.mt-0.float-end {
  padding-left: 15px;
}

.row.g-4.mt-1 {
  display: flex;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .food-section .container .row.g-4.mt-1 > div {
    display: inline-block;
    vertical-align: top;
  }

  .food-section .container .row.g-4.mt-1::after {
    content: "";
    display: table;
    clear: both;
  }
}

/* Tarih formatı için eklenen stil */
.date-day-number {
  font-weight: bold;
}

/* YENİ EKLENEN KISIM: Menü elemanları arasına boşluk eklemek için */
.food-card .card-body div[ng-repeat] p {
  margin-bottom: 8px !important;
}

p {
    margin-bottom: 0px!important;
}                                                                                                                     


.section-title2 {
  position: relative;
  display: inline-block;
  font-size: 1.75rem; /* ≈ 28px */
  font-weight: 600;
  color: #010101; /* Kurumsal lacivert ton */
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Altında modern çizgi efekti */
.section-title2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: #439c86; /* Butonlarla aynı mavi tonu */
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Hover’da çizgi uzar, başlık biraz parlar */
.section-title2:hover {
  color: #00264d;
}
.section-title2:hover::after {
  width: 120px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .section-title2 {
    font-size: 1.4rem;
  }
}




.accordion-button:not(.collapsed) {
    color: #ffffff!important;
    background-color: #439c86!important;
}

.card a {
    display: inline!important;
}

/* Webkit tabanlı tarayıcılar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #439c86;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #368571;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #439c86 #f1f1f1;
}

.apps-menu {
    background-color: #f2f2f2fa!important;
}

.btn-group a.text-primary:hover {
    background-color: #d8d8d9!important;
    color: #2f2f2f !important;
}

.oval-image-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1 / 1; /* daima kare alan oluşturur */
  overflow: hidden;
  border-radius: 5%; /* tam oval/daire formu */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 6px solid #fff;
  background: #f8f9fa;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oval-image-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.oval-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* taşmadan, orantılı şekilde sığdırır */
  object-position: center; /* ortalayarak keser */
  display: block;
}

.cardyonetim {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tek tek renk ataması */
.cardyonetim:nth-child(odd) {
  background: #ffffff; /* Beyaz kartlar */
}

.cardyonetim:nth-child(even) {
  background: #f2f4f6; /* Gri kartlar */
}
.cardyonetim:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cardyonetim h2, 
.cardyonetim h3, 
.cardyonetim h5 {
  color: #000000;
  transition: color 0.3s ease;
}

.cardyonetim:hover h5 a {
  color: #439c86 !important;
}

.cardyonetim a {
  text-decoration: none;
  color: inherit;
}

.cardyonetim .btn-outline-primary {
  border-radius: 50px;
  padding: 6px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cardyonetim .btn-outline-primary:hover {
  background-color: #439c86;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(13,110,253,0.3);
}

@media (max-width: 768px) {
  .cardyonetim .row.align-items-center {
    flex-wrap: wrap;
    text-align: center;
  }
  .cardyonetim .text-md-end {
    text-align: center !important;
    margin-top: 10px;
  }
}

.table td, 
.table th {
  vertical-align: middle !important;
}

/* Butonun görünürlük animasyonu */
.scroll {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll--active {
  opacity: 1;
  visibility: visible;
}

/* Butonun kendisi */
.top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #000;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
}

.top-btn .material-symbols-rounded {
  font-size: 28px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Buton hover efekti */
.scroll--active .top-btn:hover {
  transform: translateY(-6px);
  background-color: #439c86; /* var(--primary-color) yerine direkt renk */
}

.scroll--active .top-btn:hover .material-symbols-rounded {
  color: #fff;
}

/* Tooltip */
.tooltip {
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: #333;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.top-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .top-btn {
    width: 40px;
    bottom: 20px;
    right: 20px;
  }
  .top-btn .material-symbols-rounded {
    font-size: 22px;
  }
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.content {
    max-width: 1200px;

}

.cookie-banner {
    position: fixed;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: rgba(248, 249, 250,0.90); 
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999999!important;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 20px;
}

.cookie-icon {
    flex: 0 0 50px;
    color: #000; 
    margin-right: 15px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #000; 
}

.cookie-text p {
    font-size: 16px;
    color: #000; 
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-accept, .btn-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: #4a6cf7;
    color: white;
}

.btn-accept:hover {
    background-color: #3a5ce5;
}

.btn-reject {
    background-color: #555555; /* Daha koyu gri buton */
    color: white; /* Beyaz yazı */
}

.btn-reject:hover {
    background-color: #444444; /* Hover durumunda daha koyu */
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
    
    .btn-accept, .btn-reject {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
    }
    
    .cookie-content {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
.border-1 {
 transition: border-color 0.3s ease, box-shadow 0.3s ease, border-width 0.4s ease!important;
}

.card-hovertxt:hover {
  border-color: #439c86 !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, border-width 0.4s ease;
  box-shadow: 0 0 8px rgba(67, 156, 134, 0.3);
}

/*
.card-hovertxt {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.card-hovertxt:hover {
  transform: translateY(-3px);
}


.card-hovertxt::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.5) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  filter: blur(4px);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}


.card-hovertxt:hover::before {
  animation: light-sweep 0.7s ease-out forwards;
  opacity: 1;
}

@keyframes light-sweep {
  0% {
    left: -75%;
    opacity: 1;
  }
  60% {
    left: 120%;
    opacity: 0.9;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}


*/


  /* Pasif tablar */
  .nav-tabs .nav-link {
    color: #000 !important;
    background-color: #fff !important;
    border: none !important;
  }

  /* Aktif tab -> sadece alt çizgi */
  .nav-tabs .nav-link.active {
    border-bottom: 4px solid #198754 !important; /* Kalın yeşil çizgi */
    color: #000 !important;
    background-color: #fff !important;
    font-weight: bold;
  }
.top-bar .share-icon {
  width: 32px;
  height: 32px;
  padding: 2px;

}


@media (max-width: 767px) {
  .top-bar .share-icon {
    width: 35px;
    height: 35px;
  }
}

/* Küçük ekranlarda container hizalaması */
@media (max-width: 767px) {
  .top-bar .container {
    text-align: center;
  }
}
.share-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}
.share-icon:hover {
  transform: scale(1.15);
}

.copied-text {
  font-size: 0.8rem;/
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.copy-wrapper {
  display: flex;
  align-items: center;
}

@media (max-width: 576px) {
  .news-share {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  .news-share span {
    width: 100%;
    margin-bottom: 6px;
  }
  .copy-wrapper {
    margin-top: 6px;
  }
}
/* Ana bölüm */
.estate-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  filter: sepia(0.05) contrast(1.05) brightness(1.05);
  background: linear-gradient(
    135deg,
    rgba(245, 245, 245, 0.5) 25%,
    rgba(200, 200, 200, 0.15) 60%,
    rgba(220, 220, 220, 0.8) 100%
  );
  padding-top: 1.5rem;
  padding-bottom: 1.5rem; /* alt boşluk azaltıldı */
}

/* Arka plan görseli */
.estate-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://cdn.istanbul.edu.tr/FileHandler.ashx?f=bgpzRzRK4EWZawCSaLnidQ');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0.25;
  z-index: 0;
}

/* Z-index yapısı */
.estate-section > .container,
.estate-section .row,
.estate-section .col-12,
.estate-section .estate-main-image,
.estate-section .estate-caption-parchment {
  position: relative;
  z-index: 1;
}

/* Parşömen alanı */
.estate-caption-parchment {
  background-color: rgba(230, 230, 230, 0.9);
  padding: 25px 20px; 
  border-radius: 12px;
  text-align: left;
  opacity:0.75;
  color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  flex: 1;
  max-height: 380px;
  overflow: hidden;
}

.estate-caption-parchment h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #2a1a0f;
}

.estate-caption-parchment p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  color: #000;
}

/* Görsel */
.estate-main-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.8s ease, opacity 0.8s ease;
  opacity: 0.9;
  flex: 1;
  max-height: 380px; /* aynı boyda */
}

.estate-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Satır hizalama */
.row.align-items-stretch > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .estate-caption-parchment {
    padding: 20px 15px;
    margin-top: 15px;
    max-height: none;
  }

  .estate-caption-parchment h3 {
    font-size: 1.4rem;
  }

  .estate-caption-parchment p {
    font-size: 0.95rem;
  }

  .estate-main-image {
    height: auto;
    max-height: none;
  }
}

/* Divider */
.estate-divider {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

/* Header */
.estate-header-section {
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
/* Kart hover efekti */
.heritage-card:hover img {
  transform: scale(1.05);
}

/* Extra görseller container */
.extra-img-container {
  position: relative;
  display: inline-block;
}

/* Küçük görseller */
.extra-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
  z-index: 1;
  position: relative;
}

/* Hoverda ekran ortasına çıkacak görsel (titremesiz, responsive) */
.extra-img-hover {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-in-out;
  z-index: 9999;
  pointer-events: none;
  border-radius: 0.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  max-width: 90vw;
  max-height: 90vh;
}

/* Hover tetikleme - Desktop */
@media(min-width: 768px) {
  .extra-img:hover + .extra-img-hover {
    transform: translate(-50%, -50%) scale(0.9);
  }
}

/* Hover tetikleme - Mobil */
@media(max-width: 767px) {
  .extra-img:hover + .extra-img-hover {
    transform: translate(-50%, -50%) scale(0.9);
  }
}

/* Modal scroll */
.modal-dialog-scrollable {
  max-height: 90vh;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 85vh;
  padding-right: 1rem;
}

.modal-content {
  overflow: hidden;
  border-radius: 0.5rem;
}


/* --- Footer için Ortak Ayarlar --- */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    
    /* 4 sütunlu bir grid yapı */
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px; /* Sütunlar arası boşluk */
}


.footer-col.logo-col p {
    font-size: 0.85rem;
}

.footer-logo {
    max-width: 100px; /* Logoyu daha zarif bir boyuta çektik */
    margin-bottom: 20px;
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* --- Sosyal Medya İkonları (Örnek) --- */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.3rem; /* İkon boyutunu temsil eder */
}

/* Mobil Cihazlar için Ayar */
@media (max-width: 768px) {
    .footer-container {
/* Alt alta sıralanmasını sağlar */
grid-template-columns: 1fr; 
gap: 40px;
    }
}


/* =========================================================
ÖNERİ 1: AÇIK RENK (MİNİMALİST) FOOTER
=========================================================
*/
.footer-light {
    background-color: #f9f9f9; /* Çok hafif bir gri tonu */
    color: #555;
    border-top: 1px solid #e7e7e7; /* İçerikten ayırmak için ince bir çizgi */
}

.footer-light h5 {
    color: #006A4E; /* Başlıklar kurumsal yeşil */
}

.footer-light .footer-col a {
    color: #555; /* Linkler gövde metniyle aynı renk */
}

.footer-light .footer-col a:hover {
    color: #006A4E; /* Vurgu rengi */
}

.footer-light .social-icons a {
    color: #006A4E;
}
.footer-light .social-icons a:hover {
    color: #333;
}

.footer-light .footer-bottom {
    border-top: 1px solid #e7e7e7;
    color: #888;
}


.footer-dark {
    background-color: #2d3436; /* Saf siyah yerine antrasit/kömür grisi */
    color: #bbb; /* Saf beyaz yerine açık gri (göz yormaz) */
}

.footer-dark .footer-logo {
    /* CSS filtresi ile logoyu beyaz hale getiriyoruz */
    filter: brightness(0) invert(1);
}

.footer-dark h5 {
    color: #ffffff; /* Başlıklar net beyaz */
}

.footer-dark .footer-col a {
    color: #bbb; /* Linkler */
}

.footer-dark .footer-col a:hover {
    color: #ffffff; /* Vurgu rengi */
}

.footer-dark .social-icons a {
    color: #f0f0f0;
}
.footer-dark .social-icons a:hover {
    color: #00C28E; /* Koyu zeminde daha canlı bir yeşil */
}

.footer-dark .footer-bottom {
    border-top: 1px solid #444; /* Koyu zemin üzerinde ayrım çizgisi */
    color: #777;
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      


/* --- Footer için Ortak Ayarlar --- */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    
    /* 4 sütunlu bir grid yapı */
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px; /* Sütunlar arası boşluk */
}


.footer-col.logo-col p {
    font-size: 0.85rem;
}

.footer-logo {
    max-width: 100px; /* Logoyu daha zarif bir boyuta çektik */
    margin-bottom: 20px;
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* --- Sosyal Medya İkonları (Örnek) --- */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.3rem; /* İkon boyutunu temsil eder */
}

/* Mobil Cihazlar için Ayar */
@media (max-width: 768px) {
    .footer-container {
/* Alt alta sıralanmasını sağlar */
grid-template-columns: 1fr; 
gap: 40px;
    }
}


/* =========================================================
ÖNERİ 1: AÇIK RENK (MİNİMALİST) FOOTER
=========================================================
*/
.footer-light {
    background-color: #f9f9f9; /* Çok hafif bir gri tonu */
    color: #555;
    border-top: 1px solid #e7e7e7; /* İçerikten ayırmak için ince bir çizgi */
}

.footer-light h5 {
    color: #006A4E; /* Başlıklar kurumsal yeşil */
}

.footer-light .footer-col a {
    color: #555; /* Linkler gövde metniyle aynı renk */
}

.footer-light .footer-col a:hover {
    color: #006A4E; /* Vurgu rengi */
}

.footer-light .social-icons a {
    color: #006A4E;
}
.footer-light .social-icons a:hover {
    color: #333;
}

.footer-light .footer-bottom {
    border-top: 1px solid #e7e7e7;
    color: #888;
}


.footer-dark {
    background-color: #2d3436; /* Saf siyah yerine antrasit/kömür grisi */
    color: #bbb; /* Saf beyaz yerine açık gri (göz yormaz) */
}

.footer-dark .footer-logo {
    /* CSS filtresi ile logoyu beyaz hale getiriyoruz */
    filter: brightness(0) invert(1);
}

.footer-dark h5 {
    color: #ffffff; /* Başlıklar net beyaz */
}

.footer-dark .footer-col a {
    color: #bbb; /* Linkler */
}

.footer-dark .footer-col a:hover {
    color: #ffffff; /* Vurgu rengi */
}

.footer-dark .social-icons a {
    color: #f0f0f0;
}
.footer-dark .social-icons a:hover {
    color: #00C28E; /* Koyu zeminde daha canlı bir yeşil */
}

.footer-dark .footer-bottom {
    border-top: 1px solid #444; /* Koyu zemin üzerinde ayrım çizgisi */
    color: #777;
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
.horizontal-calendar { 
 
  overflow: hidden; 
}
.calendar-container { 
  position: relative; 
  width: 100%; 
  overflow-x: hidden; 
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(31, 1fr);
  width: 100%;
  gap: 0rem!important;
  position: relative;
}
.calendar-day {
  flex: 1 1 auto;
  max-width: none;
  padding: 8px 2px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin: 0 2px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: visible;
  z-index: 1;
  /* Çerçeve için yer ayrıldı, böylece eklenince kayma olmaz */
  border: 2px solid transparent; 
}
.calendar-day:hover { 
  background-color: #f8f9fa; 
}
.calendar-day.has-event { 
  background-color: #e6f7ff!important; 
  border-color: #91d5ff!important; 
}
.calendar-day.active { 
  background-color: #1890ff; 
  color: white; 
  border-color: #0056b3;
}


.calendar-day.today {
  font-weight: 700;
  border: 2px solid #dc3545;
}

.day-name { 
  font-size: 0.7rem; 
  text-transform: uppercase; 
}
.calendar-container::-webkit-scrollbar { 
  height: 6px; 
}
.calendar-container::-webkit-scrollbar-track { 
  background: #f1f1f1!important; 
  border-radius: 10px; 
}
.calendar-container::-webkit-scrollbar-thumb { 
  background: #888!important; 
  border-radius: 10px; 
}
.calendar-container::-webkit-scrollbar-thumb:hover { 
  background: #555; 
}

.calendar-day .badge {
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 50%;
  line-height: 1;
  position: absolute;
  top: 2px;
  right: -2px;
  z-index: 10;
  pointer-events: none;
}

.event-card .card-body { padding: 1.5rem; }
.event-date { font-weight: 600; color: #6c757d!important; margin-bottom: 0.5rem; text-align: left; }
.event-link .event-titleAll { color: #000; transition: color 0.3s; }
.event-link:hover .event-titleAll { color: var(--primary-color); }
.event-card img { max-width: 100%; height: auto; margin-top: 0.5rem; }
.event-image { position: relative; overflow: hidden; }
.btnnextandprevbg { color:#439c86!important; }
.nextprevfont { font-size:32px!important; }


@media (max-width: 768px) {
  .calendar-container { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
  }
  .calendar-days { 
    display: flex; 
    flex-wrap: nowrap; 
  }
  .calendar-day { 
    flex: 0 0 auto; 
    min-width: 55px; 
    padding: 6px 1px; 
  }
  .day-number { font-size: 1rem; }
  .day-name { font-size: 0.6rem; }

  .horizontal-calendar {
    overflow: visible !important;
  }

  .horizontal-calendar .calendar-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  section.news-section .horizontal-calendar .calendar-header h5 {

    display: block !important;
    visibility: visible !important;
    position: static !important;
    opacity: 1 !important;

    font-size: 1.1rem !important;
    color: #000000 !important;
    height: auto !important;
    line-height: 1.5 !important;

    width: 100% !important;
    text-align: center !important;
    order: -1 !important;
    margin-bottom: 0.5rem !important;
  }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
.card-body img,
  .accordion-body img {
    max-width: 100%;
    height: auto;
  }
.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
  border: none;
}
.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-img-top {
  height: 230px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card .text-muted .material-icons,
.card .text-muted .material-symbols-rounded {
  vertical-align: middle;
  margin-right: 2px;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-text.flex-grow-1 {
  flex-grow: 1;
}


html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

.fade-out {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 280ms ease-out, transform 280ms ease-out;
  will-change: opacity, transform;
}
.fade-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.card, .card:hover {
  box-shadow: none !important;
}

html {
  scroll-behavior: auto !important;
}
.desktop-content-wrapper {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

.content-fade-in {
  opacity: 0;
  transform: translateY(10px);
}

/* Duyuru Kartı Animasyonu */
.notice-card-transition {
  transition: all 0.3s ease-in-out;
  border-left: 4px solid transparent;
}

.notice-card-transition:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.notice-card-transition.active {
  border-left-color: #007bff;
  background-color: #f8f9fa;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.2);
}

/* Mobil Akordeon Animasyonu */
.mobile-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  padding: 0;
}

.mobile-accordion.expanded {
  max-height: 2000px; /* Yeterince büyük değer */
  padding: 15px 0;
}

.mobile-content-inner {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-in-out 0.1s, transform 0.3s ease-in-out 0.1s;
}

.mobile-accordion.expanded .mobile-content-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Akordeon İkonu Animasyonu */
.accordion-icon {
  transition: transform 0.3s ease-in-out;
  color: #6c757d;
}

.accordion-icon.rotated {
  transform: rotate(180deg);
  color: #007bff;
}

/* Duyuru Kartı Hover Efekti */
.notice-card-clickable:hover .notice-card {
  cursor: pointer;
}

/* Mobil Resim Stili */
.notice-image-mobile {
  max-height: 200px;
  object-fit: cover;
}

/* Paylaşım İkonları Hover */
.share-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in-out;
}

.share-icon:hover {
  transform: scale(1.1);
}

/* Loading Animasyonu */
.spinner-border {
  animation: spinner-border 0.75s linear infinite;
}

/* Responsive Düzenlemeler */
@media (max-width: 767px) {
  .notice-card {
    margin-bottom: 0 !important;
  }
  
  .notice-item-wrapper {
    margin-bottom: 10px;
  }
  
  .mobile-accordion {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 5px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Duyuru Listesi Container */
.notice-list {
  position: relative;
}

/* Fade-in animasyonu için keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notice-item-wrapper {
  animation: fadeInUp 0.5s ease-out;
}
.notice-content{
text-align:justify;
}
.notice-content img,
.notice-content-mobile img {
  max-width: 100% !important;
  height: auto !important;
}
.notice-content-desktop {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.notice-content iframe,
.notice-content-mobile iframe {
  max-width: 100% !important;
}

.notice-content table,
.notice-content-mobile table {
  max-width: 100% !important;
  overflow-x: auto;
  display: block;
}

.bgGray {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
}

.notice-content-mobile {
  border: 1px solid #eee;
  border-top: none;
  background-color: #fafafa;
  margin-bottom: 8px;
}

.notice-card.active {
  background-color: #439c86;
  color: white;
}


.notice-card.active .day p {
  color: white !important;
}


.notice-image-big {
  width: 100%;
  height: auto;
  display: block;
}
.notice-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.notice-interaction.bgGray, .notice-share.bgGray {
  background-color: #f5f5f5;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.share-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}


#noticeScrollContainer {
  height: 1200px !important;         
  max-height: 1200px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important; 
  -webkit-overflow-scrolling: touch;
  padding-right: 8px;
  box-sizing: border-box;
  background: transparent;
}

/* İçerik kartlarının kutu içinde düzgün durması için */
#noticeScrollContainer .notice-card {
  width: 100%;
  box-sizing: border-box;
}

/* Scrollbar WebKit (Chrome, Edge, Safari) */
#noticeScrollContainer::-webkit-scrollbar {
  width: 14px; /* büyütüldü */
}
#noticeScrollContainer::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
#noticeScrollContainer::-webkit-scrollbar-thumb {
  background-color: #439c86; /* yeşil ton */
  border-radius: 10px;
  border: 3px solid #f1f1f1;
}
#noticeScrollContainer::-webkit-scrollbar-thumb:hover {
  background-color: #367a6c; /* hover için koyu yeşil */
}

/* Firefox */
#noticeScrollContainer {
  scrollbar-width: auto;
  scrollbar-color: #439c86 #f1f1f1;
}


.notice-list { display: block !important; }

/* Mobil cihazlarda küçült */
@media (max-width: 768px) {
  .share-icon {
    width: 20px;
    height: 20px;
  }
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


.new-notices-indicator {
animation: rotateIn 0.8s ease, bounce 1s infinite;
  position: fixed;
  top: 160px; 
  left: 675px;
  transform: translateX(-50%);
  z-index: 1050;
  background: rgba(67, 156, 134, 0.85); 
  border-radius: 50px;
  padding: 12px 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}

.new-notices-indicator .material-symbols-rounded {
  vertical-align: middle;
  margin-right: 8px;
  font-size: 1.4rem;
}

@keyframes slideDown {
  from {
    top: -50px;
    opacity: 0;
  }
  to {
    top: 20px;
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Mobilde daha küçük boyut */
@media (max-width: 768px) {
  .new-notices-indicator {
    top: 15px;
    padding: 8px 20px;
    font-size: 0.95rem;
    width: 90%;
    max-width: 350px;
    text-align: center;
  }
  
  .new-notices-indicator .material-symbols-rounded {
    font-size: 1.2rem;
    margin-right: 6px;
  }
}

/* Gallery */
.gallery {
  float: left;
  width: 100%;
}
.gallery .gallery-item {
  float: left;
  *width: 25%;
  padding: 10px 5px 10px 5px;
  text-decoration: none;
}
.gallery .gallery-item .image {
  width: 100%;
  -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery .gallery-item .image a {
  display: block;
}
.gallery .gallery-item .image:after,
.gallery .gallery-item .image:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  z-index: 1;
}
.gallery .gallery-item .image:before {
  z-index: 2;
  background: rgba(0, 0, 0, 0);
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.gallery .gallery-item .image:hover:before {
  background: rgba(0, 0, 0, 0.3);
}
.gallery .gallery-item .image img {
  width: 100%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.gallery .gallery-item .image .gallery-item-controls {
  position: absolute;
  right: -60px;
  top: 3px;
  display: block;
  list-style: none;
  padding: 0px;
  z-index: 2;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.gallery .gallery-item .image .gallery-item-controls li {
  float: left;
  list-style: none;
  background: #FFF;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 26px;
}
.gallery .gallery-item .image .gallery-item-controls li .check {
  margin: 4px 0px;
}
.gallery .gallery-item .image .gallery-item-controls li .icheckbox_minimal-grey {
  margin-right: 0px;
}
.gallery .gallery-item .image .gallery-item-controls li a,
.gallery .gallery-item .image .gallery-item-controls li span {
  font-size: 17px;
  color: #BBB;
}
.gallery .gallery-item .image .gallery-item-controls li a:hover,
.gallery .gallery-item .image .gallery-item-controls li span:hover {
  color: #656d78;
}
.gallery .gallery-item .image .gallery-item-controls li:first-child {
  -moz-border-radius: 0px 0px 0px 3px;
  -webkit-border-radius: 0px 0px 0px 3px;
  border-radius: 0px 0px 0px 3px;
}
.gallery .gallery-item .image .gallery-item-controls li:hover {
  background: #F5F5F5;
}
.gallery .gallery-item .meta {
  color: #656d78;
  margin-top: 5px;
  line-height: 16px;
  padding: 0px 5px;
}
.gallery .gallery-item .meta strong {
  display: block;
  font-weight: 600;
  font-size: 13px;
}
.gallery .gallery-item .meta span {
  display: block;
  color: #99a0aa;
}
.gallery .gallery-item:hover .image .gallery-item-controls {
  right: 3px;
}
.gallery .gallery-item.active .image {
  -moz-box-shadow: 0px 0px 6px 0px rgba(51, 65, 78, 0.8);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(51, 65, 78, 0.8);
  box-shadow: 0px 0px 6px 0px rgba(51, 65, 78, 0.8);
}
.gallery .gallery-item.active .image .gallery-item-controls {
  right: 3px;
}
/* end Gallery */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
/* Normal durumda başlık siyah */
.event-link .event-title,
.card a .event-title {
  color: #000;
  font-weight:normal!important;
  transition: color 0.3s;
}

/* Kartın üzerine hover geldiğinde başlık rengi primary color olur */
.card a:hover .event-title {
  color: var(--primary-color)!important;
}

.form-control.ng-invalid {
    border: 1px solid #ff9c9c;
}

.bgGray {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
}
.news-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.news-interaction a {
  margin-left: 5px;
}


/* Responsive */
@media (max-width: 991.98px) {
  .news-interaction {
    flex-wrap: wrap;
  }
}

.project-image-container {
  position: relative;
  height: 16rem;
  overflow: hidden;
  border-radius: 8px;
}

.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05) translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.project-image.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 2;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.project-link {
  display: block;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 156, 134, 0.1), transparent);
  transition: left 0.5s ease;
}

.project-link:hover::before {
  left: 100%;
}

.project-link:hover {
  background-color: rgba(67, 156, 134, 0.1);
  transform: translateX(5px);
}

.project-link.active {
  background-color: rgba(67, 156, 134, 0.2);
  transform: translateX(5px);
}

.project-icon {
  color: var(--gold);
  transition: all 0.3s ease;
}

.project-link:hover .project-icon,
.project-link.active .project-icon {
  transform: translateX(5px) rotate(5deg);
  color: var(--primary-color);
}

/* Responsive */
@media (min-width: 992px) {
  .project-image-container { height: 26rem; }
}

/* .event-section içindeki kartlara özel */
.event-section .event-card {
  position: relative;
  overflow: hidden;
}

/* Gün kutusu sol üstte */
.event-section .event-day {
  position: absolute;
  top: 10px;      /* üstten boşluk */
  left: 1px;     /* soldan boşluk */
  color: #fff;    /* beyaz */
  padding: 0.2em 0.5em;
  border-radius: 0.25rem;
  font-weight: 700;
  line-height: 1;
  z-index: 10;
}

/* Kartın gövdesindeki tarih ve başlık */
.event-section .event-content .event-date,
.event-section .event-content .event-title {
  color: #fff;    /* beyaz */
}

