/* Font fallback ve specificity artırımı */
* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif !important;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif !important;
}
hr {
  border: none;
  border-top: 1px solid var(--seperator);
  margin: 1rem 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif !important;
}
/* Material Icons koruma */
.material-symbols-rounded {
  font-family: "Material Symbols Rounded" !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1;
}

.logo {
  height: 44px;
}

.navbar-expand-lg {
  border-bottom: 0.5rem solid var(--primary-color);
}
.navbar {
  background-color: var(--bg-white);
  position: relative;
  z-index: 1000;
}

.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: bold;
  color: var(--body-color);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  color: var(--body-color);
}
.navbar-toggler:hover {
  color: var(--primary-color);
}

.apps-menu {
  background-color: var(--bg-light);
}
.apps-menu .app-item {
  line-height: 1.2;
  font-size: 0.9rem;
}
.search-menu {
  background-color: var(--bg-light);
}
.nav-fill .nav-item .nav-link,
.nav-justified .nav-item .nav-link {
  color: var(--body-color);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--body-color);
  color: var(--bg-white);
}

/* Link Styles - Global */
a {
  color: var(--body-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Video Hero Section */
.video-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  bottom: 10%;
}

.video-title,
.video-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
}

.video-subtitle {
  font-weight: 400;
  font-size: 1.25rem;
}

/* Search Items */
.search-item {
  padding: 1rem;
}
.search-item .link {
  font-size: 0.85rem;
  color: var(--secondary-color);
}
.search-item:nth-child(odd) {
  background-color: transparent;
}

.search-item:nth-child(even) {
  background-color: var(--bg-light);
}

/* Small ekranlar için (576px ve üzeri) */
@media (min-width: 576px) {
  .video-title {
    font-size: 2rem;
  }

  .video-subtitle {
    font-size: 1.5rem;
  }
}

/* News */
.news-section {
  position: relative;
}

.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/university_gate.png") no-repeat bottom;
  background-size: auto 120px;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.news-section > * {
  position: relative;
  z-index: 2;
}
.news-card {
  border: none;
}
.news-card .news-image {
  border-radius: 0.75rem;
  height: 15em;
  object-fit: cover;
  width: 100%;
}
.news-card .news-title {
  line-height: 1.5;
}
.news-list .news-card .news-image {
  max-height: 8rem;
}
.news-card .news-image-big {
  max-height: 35em;
  width: 100%;
  object-fit: cover;
}
.news-share .share-icon {
  height: 2em;
}

/* Notice */
.notice-section {
  position: relative;
}

.notice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

.notice-section > * {
  position: relative;
  z-index: 2;
}
.notice-card {
  border: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.notice-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.5rem;
  flex: 1;
}

.notice-card .notice-title {
  margin-bottom: 0;
  margin-top: 0;
  flex-shrink: 0;
}

.notice-card .day {
  color: var(--gold);
  margin-bottom: 0;
  flex-shrink: 0;
}
.notice-list .notice-card .day {
  width: 4em;
  min-width: 4em;
  flex-shrink: 0;
}
.notice-list .notice-card.active,
.notice-list .notice-card.active .day {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 0.5em;
}
.notice-share .share-icon {
  height: 2em;
}

/* Event */
.event-section {
  position: relative;
  background-color: var(--bg-light);
}

.event-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

.event-section > * {
  position: relative;
  z-index: 2;
}
.event-card {
  border: none;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 250px;
  aspect-ratio: 1;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  transition: transform 0.2s ease-out, filter 0.3s ease-in-out;
  z-index: 0;
}

.event-card:hover::before {
  transform: scale(1.05);
  filter: blur(0px);
}

.event-card:hover .event-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.event-card .event-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.event-card .event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0.75rem;
  transition: background-color 0.3s ease-in-out;
  z-index: 1;
}

.event-card .event-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--bg-white);
}

.event-card .event-day {
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 0;
}

.event-card .event-title {
  line-height: 1.5;
  color: var(--bg-white);
  font-weight: 600;
}

.event-card .event-date {
  color: var(--bg-white);
  opacity: 0.9;
}

/* Mobile responsive fixes for event cards */
@media (max-width: 767.98px) {
  .event-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .event-section .row {
    margin-left: -7.5px;
    margin-right: -7.5px;
  }
  
  .event-section .col-12 {
    padding-left: 7.5px;
    padding-right: 7.5px;
    margin-bottom: 15px;
  }
  
  .event-card {
    margin: 0;
  }
}

/* Project */
.project-section {
  position: relative;
}

.project-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

.project-section > * {
  position: relative;
  z-index: 2;
}
.project-image-container {
  position: relative;
  height: 16rem;
  overflow: hidden;
  border-radius: 8px;
}

.project-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.project-image-slide.active {
  opacity: 1;
  z-index: 2;
}

.project-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.project-link.active {
  background-color: rgba(67, 156, 134, 0.2);
}
.project-link .project-title {
  line-height: 1.5;
}

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

.project-link:hover .project-icon {
  transform: translateX(5px);
}

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

/* Video */
.video-section {
  position: relative;
  z-index: 1;
  background-color: var(--body-color);
  color: var(--bg-white);
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

.video-section > * {
  position: relative;
  z-index: 2;
}
.video-card {
  border: none;
  background-color: transparent;
}
.video-card .video-image {
  position: relative;
}
.video-card .card-title {
  line-height: 1.5;
}
.video-card .video-date {
  color: var(--secondary-color);
}

/* Statistic Section */
.statistic-section {
  position: relative;
  background-color: var(--body-color);
  color: var(--bg-white);
}
.statistic-section a {
  color: var(--bg-white);
}
.statistic-section a:hover {
  color: var(--warning-color);
}

/* Yemek Listesi */
.food-section {
  background-color: var(--bg-light);
}
.food-dates-container {
  position: relative;
}

.food-dates {
  max-height: 300px;
  overflow-y: auto;
}

.food-dates .nav-link {
  color: var(--body-color);
  transition: all 0.3s ease;
}

.food-dates .nav-link:hover {
  background-color: var(--bg-white);
}

.food-dates .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.food-dates-container .card {
  cursor: pointer;
}
.food-dates-container .all-foods {
  background-color: var(--body-color);
}
.food-dates-container .text-bg-primary {
  background-color: var(--primary-color) !important;
}

.food-card {
  border-radius: 8px;
}

@media (max-width: 767.98px) {
  .food-dates {
    max-height: 200px;
  }

  .food-dates-container {
    margin-bottom: 20px;
  }
}

/* Medium ekranlar için (768px ve üzeri) */
@media (min-width: 768px) {
  .logo {
    height: 82px;
  }
  .navbar-nav .nav-item {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  .video-hero {
    height: 400px;
  }

  .video-title {
    font-size: 2.5rem;
  }

  .video-subtitle {
    font-size: 1.75rem;
  }
}

/* Large ekranlar için (992px ve üzeri) */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .video-hero {
    height: 600px;
  }

  .video-title {
    font-size: 3rem;
  }

  .video-subtitle {
    font-size: 2rem;
  }
  .project-image-container {
    height: 26rem;
  }
}

/* Extra large ekranlar için (1200px ve üzeri) */
@media (min-width: 1200px) {
  .navbar-nav .nav-item {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .video-title {
    font-size: 4.5rem;
  }

  .video-subtitle {
    font-size: 1.75rem;
  }
}

.list-group-item.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-error {
  color: var(--error-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

/* Button Styles */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 0.4rem;
  font-weight: bold;
  color: var(--bg-white);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--body-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
}
.btn-outline-primary {
  color: var(--body-color);
  border: 1px solid var(--body-color);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--body-color);
  color: var(--bg-white);
}
.btn-secondary {
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-dark {
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background-color: var(--bg-white);
  color: var(--body-color);
}

.btn-outline-primary {
  border-color: var(--body-color);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  border-color: var(--primary-color);
}

/* Fade in/out animations */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-out {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Staggered animations */
.news-section .col-12:nth-child(1) {
  transition-delay: 0ms;
}
.news-section .col-12:nth-child(2) {
  transition-delay: 100ms;
}
.news-section .col-12:nth-child(3) {
  transition-delay: 200ms;
}
.news-section .col-12:nth-child(4) {
  transition-delay: 300ms;
}

.footer {
  background-image: url("../img/beyazit.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
   z-index: 1;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.footer > * {
  position: relative;
  z-index: 2;
}

.footer a {
  color: var(--bg-white);
}

.footer .gate {
  background: url("../img/kapi1.png") no-repeat center bottom;
  background-size: contain;
  opacity: 0.25;
}

.footer a:hover {
  color: var(--primary-color);
}
.footer .copyright {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-light);
}
.top-bar a {
  color: var(--body-color);
}
.top-bar .share-icon {
  height: 2em;
  opacity: 0.5;
}
.top-bar a:hover {
  color: var(--primary-color);
}
.top-bar a:hover .share-icon {
  opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--body-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  font-size: 24px;
}

.scroll-to-top-btn:hover {
  
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn.show {
  display: flex;
}

.scroll-to-top-btn .material-symbols-rounded {
  font-size: 24px;
  line-height: 1;
}

.x-small {
  font-size: 0.75rem;
}

.dropdown-menu {
  box-shadow: 0 2rem 5rem var(--overlay-light);
  border: none;
  border-radius: 1rem;
  padding: 0.5rem;
  font-size: 0.85rem;
}
.dropdown-menu .dropdown-item {
  color: var(--body-color);
  padding: 0.5rem 1rem;
}
.dropdown-menu .dropdown-item:hover {
  background-color: var(--bg-light);
  border-radius: 0.5rem;
}
.shadow {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05) !important;
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-text.title {
  height: 1.5rem;
  width: 80%;
}

.skeleton-text.description {
  height: 0.875rem;
  width: 100%;
}

.skeleton-text.description.short {
  width: 60%;
}

.skeleton-image {
  height: 15rem;
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.skeleton-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.skeleton-notice {
  height: 150px;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.skeleton-event {
  height: 250px;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.skeleton-project {
  height: 400px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skeleton-video {
  height: 200px;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

/* Dark theme skeleton */
.video-section .skeleton {
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
}

.event-section .skeleton {
  background: linear-gradient(90deg, #e9ecef 25%, #dee2e6 50%, #e9ecef 75%);
  background-size: 200% 100%;
}

