html {
  scroll-behavior: smooth;
}
:root {
  --primary: #030635;
  --swiper-theme-color: #030635;
}
body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
p {
  font-weight: 300;
}

.hero-banner {
  position: relative;
  min-height: 100svh;
}

.hero-banner__video {
  inset: 0;
  opacity: 0.8;
}

.hero-banner__overlay {
  z-index: 1;
}

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

.hero-banner__text {
  max-width: 600px;
}

.hero-carousel {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.hero-carousel .swiper {
  width: 100%;
}

.hero-slide {
  border-radius: 24px;
  padding: 0.75rem;
}

.hero-slide__link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: inherit;
}

.hero-slide__image-wrapper {
  border-radius: 20px;
  overflow: hidden;
}

.hero-slide__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #030635;
  line-height: 1.4;
}

.hero-swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(3, 6, 53, 0.2);
  opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.hero-swiper-controls {
  gap: 0.75rem;
}

.hero-swiper-controls button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #030635;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.hero-swiper-controls .white {
  width: 32px;
  height: 32px;
  background: #fff;
  color: #000;
}

.hero-swiper-controls button:hover {
  transform: translateY(-2px);
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.candidate-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(3, 6, 53, 0.12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: #0c1a40;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.candidate-card__media {
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid rgba(3, 6, 53, 0.08);
}

.candidate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.candidate-card p {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.candidate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 55px rgba(3, 6, 53, 0.2);
}

.candidate-card:hover .candidate-card__media img {
  transform: scale(1.1);
}

.header-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.header-candidate-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fc;
  text-decoration: none;
  color: #0c1a40;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.header-candidate-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.header-candidate-card p {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-candidate-card:hover {
  box-shadow: 0 4px 15px rgba(3, 3, 13, 0.1);
}

.header-candidate-grid-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.header-candidate-card-mobile {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(3, 6, 53, 0.08);
  text-decoration: none;
  color: inherit;
}

.header-candidate-card-mobile img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.header-candidate-card-mobile p {
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.announcement-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  height: 100svh;
}

.announcement-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.announcement-card {
  width: 100%;
  max-width: 1000px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 70px rgba(3, 6, 53, 0.35);
  z-index: 1;
}

.announcement-card__media img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.announcement-card__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #030635;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(3, 6, 53, 0.25);
}

.announcement-card__body,
.announcement-card__actions,
.announcement-card__link,
.announcement-card__snooze {
  display: none;
}

.announcement-popup.hidden {
  display: none;
}

@media (max-width: 1023px) {
  .hero-banner__content {
    text-align: left;
  }

  .hero-carousel {
    margin-top: 1rem;
  }

  .hero-slide__image-wrapper {
    height: 200px;
  }
}

.container-main {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.menu-item {
  margin-bottom: 0;
}

.submenu-panel {
  position: fixed;
  top: var(--header-offset, 0px);
  left: 0;
  right: 0;
  width: 100vw;
  max-width: none;
  padding: 2rem 3rem;
  border-radius: 0;
  border: 1px solid rgba(226, 226, 226, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 25px 40px rgba(3, 6, 53, 0.15);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
  transform: none;
}

.submenu-panel > .mx-auto {
  padding: 0;
}

.submenu-panel p {
  font-size: 14px;
}

.submenu-panel ul li a {
  min-width: 180px;
}

.submenu-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu-panel .grid > div {
  opacity: 0;
}

.submenu-panel.open .grid > div {
  opacity: 1;
}

.fade-up {
  opacity: 0.8;
  transform: translateY(40px) scale(0.985);
  filter: blur(0.5px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.tab-content-animate {
  animation: tab-fade-up 420ms ease;
}

@keyframes tab-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inner-scroll {
  max-height: 50svh;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.inner-scroll::-webkit-scrollbar {
  width: 8px;
}

.inner-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.inner-scroll::-webkit-scrollbar-thumb {
  background: #d6d6d6;
  border-radius: 999px;
}

#header-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#siteHeader {
  background-color: transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

#siteHeader.header-hidden {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 15px rgba(3, 6, 53, 0.08);
}

#siteHeader .border-b {
  background-color: transparent;
}

/* 
      #header-root.header-hidden {
        transform: translateY(calc(-100% - 2px));
      }
 */
.header-visible {
  color: white !important;
}
.header-visible svg:not(.header-candidate-card *):not(#announcementPopup *),
.header-visible select:not(.header-candidate-card *):not(#announcementPopup *),
.header-visible img:not(.header-candidate-card *):not(#announcementPopup *) {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
    hue-rotate(288deg) brightness(102%) contrast(102%);
}
.header-hidden {
  background-color: rgba(3, 6, 53, 1);
  color: white;
}

.header-hidden .secondary {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(3, 6, 53, 1);
}
.header-hidden *:not(.button) {
  color: initial;
}
.submenu {
  color: black;
}
/*  .header-hidden svg,
      .header-hidden select,
      .header-hidden img {
        filter: none;
      } */
#mobileDrawer {
  transform: translate3d(100%, 0, 0);
}

#mobileDrawer.drawer-open {
  transform: translate3d(0, 0, 0);
}

.community-pagination .swiper-pagination-bullet {
  width: 21px;
  height: 8px;
  border-radius: 999px;
  background: #e2e2e2;
  opacity: 1;
  transition: 0.25s ease;
}

.community-pagination .swiper-pagination-bullet-active {
  width: 42px;
  background: #fff;
}

@media (max-width: 1023px) {
  #school-name {
    display: none;
  }
  .menu-item {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .submenu,
  .submenu-right {
    position: static !important;
    display: block;
    opacity: 0;
    transform: none !important;
    pointer-events: none;
    box-shadow: none !important;
    border: 0;
    padding-top: 0.4rem;
    padding-left: 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 200ms ease,
      opacity 200ms ease;
  }

  .submenu.open,
  .submenu-right.open {
    opacity: 1;
    max-height: 600px;
    pointer-events: auto;
  }
}

.mobile-toggle {
  transition: color 220ms ease;
}

.mobile-toggle img {
  transition: transform 200ms ease;
}

.mobile-toggle[aria-expanded="true"] img {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  #header-root {
    transition: none;
  }
}

.social-icon img {
  filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(0%)
    hue-rotate(21deg) brightness(97%) contrast(103%);
}

.social-icon a:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(8%) saturate(7479%)
    hue-rotate(273deg) brightness(115%) contrast(101%);
}
.tab-button:hover {
  background-color: rgba(3, 6, 53, 0.1);
}
.tab-button {
  transition: all 0.2s ease;
  padding: 6px 14px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  text-wrap: nowrap;
}
.tab-button.active {
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: white;
}

@media (max-width: 900px) {
  .tab-button {
    font-size: 14px;
  }
  .header-candidate-card-mobile p {
    font-size: 0.75rem;
  }
}

html::-webkit-scrollbar {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#announcementPopup {
  cursor: pointer;
}

/* galeri */
#gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}
#gallery-modal.active {
  display: flex;
}
/* galeri */

.hero-banner__cta {
  background-color: white;
  color: black;
  border-radius: 50px;
  padding: 16px 24px;
  width: fit-content;
}

/* AKADEMİK KADRO */
.staff-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(3, 6, 53, 0.09);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(3, 6, 53, 0.17);
}
.staff-card__photo {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.staff-card__placeholder {
  width: 100%;
  height: 190px;
  background: #c8cdd8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.staff-card__body {
  padding: 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background-color: #fbfbfb;
}
.staff-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0c1a40;
  line-height: 1.3;
}
.staff-card__title {
  font-size: 0.775rem;
  font-weight: 400;
  color: #2e2e2e;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.staff-card__info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.725rem;
  color: #555;
  font-weight: 300;
  line-height: 1.4;
}
.staff-card__info-icon {
  flex-shrink: 0;
  opacity: 0.65;
}
.staff-card__divider {
  height: 1px;
  background: rgba(3, 6, 53, 0.08);
  margin: 0.5rem 0;
}
.staff-card__links {
  display: flex;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.625rem;
  align-items: center;
}
.staff-link-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    opacity 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}
.staff-link-btn:hover {
  opacity: 0.85;
  transform: scale(1.1);
}
.staff-link-btn.orcid {
  background: #a6ce39;
}
.staff-link-btn.scholar {
  background: #4285f4;
}
.staff-link-btn.wos {
  background: #e7272d;
}

.staff-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 2.75rem 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #0c1a40;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23030635' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  font-family: "Inter", sans-serif;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(3, 6, 53, 0.06);
  min-width: 200px;
}
.staff-filter-select:focus {
  border-color: #030635;
  box-shadow: 0 0 0 3px rgba(3, 6, 53, 0.08);
}

.breadcrumb-sep {
  opacity: 0.4;
}
/* AKADEMİK KADRO */
