:root {
    --main-red-color: #CA2C31;
    --main-dark-color: #212121;
    --main-title-color: #292929;
    --main-border-color: #d9dcde;
    --main-aday-color: #93328e;
    --main-dark-bg-color: #505052;
    --navbar-height: 85px;
}
body {
    font-family: 'Roboto', sans-serif;
}
.logo{height: 50px}
#searchToggle{display: none!important;}
.red-bg {
    background-color: var(--main-red-color);
}
.zeno-btn {
    background-color: var(--main-red-color);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.zeno-btn:hover {
    background-color: var(--main-dark-color);
}
.zeno-border-bottom {
    border-bottom: 1px solid var(--main-border-color);
    width: 100%;
}
.zeno-v-space {
    height: 2rem;
    display: block;
}
.page-head h2{
  font-size: 4.6rem;
  font-weight: 700;
}
.nbh{
  margin-top: calc(var(--navbar-height) + 5rem);
}
.bg-dark {
    background-color: var(--main-dark-bg-color);
    color:#fff;
}
.bg-zeno-dark{
    background-color: #f2f4f5;
    color: #000000;
}
.btn-tumu {
    background-color: var(--main-red-color);
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem 12.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.section-title{
    font-weight: 800;
    font-size: 3rem;
    color: var(--main-title-color);
    text-align: center;
    margin: 0 auto;
}
.section-line{
    display: block;
    width: 10%;
    min-height: 5px;
    margin: 0 auto 2rem;
    background-color: var(--main-dark-color);
}
.lead{
    font-size: 1.25rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
/* Header */
.head-container{
    max-width: 1320px;
    min-height: 85px;
    position: relative;
    z-index: 1;
}
.nav-link {
    font-family: 'Inter', sans-serif;
    line-height: 1.2em;
    margin-left: 10px;
    transition: color 0.3s;
    color:white;
}

.bg-transparent .nav-link:hover {
    background-color: #ffc53a;
    color:black;
    border-radius: 5px;
}
.bg-white .nav-link:hover {
    border: 1px solid #002857;
    border-radius: 5px;
    
}
#fullscreenMenu{
    background-color: var(--main-dark-color);
}
#fullscreenMenu a{
    color: #fff;
    text-decoration: none;
}
#fullscreenMenu ul li {
    margin-bottom: 6px;
    cursor: pointer;
}
#fullscreenMenu ul li:hover {
    color: var(--main-red-color);
}
header.scrolled {
  background-color:var(--main-red-color)!important;
  transition: background-color 0.3s ease;
}
header.scrolled-aday {
  background-color:var(--main-aday-color)!important;
  transition: background-color 0.3s ease;
}



/* HeroSlider */
#heroSlider {
  height: 85vh;
}
#heroSlider-medium {
  height: 65vh;
}
#heroSlider-small {
  height: 50vh;
}

#heroSlider video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.scroll-indicator {
  animation: bounce 1.5s infinite;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-slide {
  display: none;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-slide-content {
  max-width: 600px;
  padding: 2rem;
}
.hero-slide.active {
  display: block;
  z-index: 1;
}
.hero-fakulte-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position:absolute;
  bottom: 20px;
  z-index:1;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.85;
}
.hero-fakulte-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.8;
  z-index: 1;
}
.hero-slide .breadcrumb {
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-slide .breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

.hero-slide .breadcrumb-separator {
  opacity: 0.5;
}

.hero-slide .breadcrumb-current {
  opacity: 0.8;
}
.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-video-embed {
  width: 177.77vh; /* 16:9 oran */
  height: 100vh;
  min-width: 100vw;
  min-height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: url('../img/bg-overlay.png') no-repeat center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  animation: fadeOut 1s ease 1 forwards;
  animation-delay: 1.5s;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.slider-nav-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.slider-nav {
  max-width: 1260px;
}

.slider-tab {
  border-top: 2px solid white;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-tab.active {
  border-top: 2px solid var(--main-red-color);
}

.slider-tab::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--main-red-color);
  transition: width 0.4s ease;
}

.slider-tab:hover::before {
  width: 100%;
}

/* Icon Menu */
.icon-grid {
  max-width: 1320px;
  margin: 0px auto;
  padding: 40px 0px;
  animation-duration: 1.25s;
  animation-name: fadeIn;
}
.icon-item {
  text-align: center;
  padding: 20px;
  border-left: 1px solid #D9DCDE;
  border-top: 1px solid #D9DCDE;
  transition: box-shadow 0.3s ease;
}
.icon-text {
  font-weight: 500;
  margin-bottom: 10px;
}
.icon-hover {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--main-red-color);
  height: 24px;
}
.icon-hover i {
  left: 50%;
  font-size: 17px;
  transform: translateX(-50%);
  transition: all 0.4s ease;
  opacity: 1; 
}
.icon-hover span {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.4s ease; 
  transform: translateX(-40px); 
}
.icon-item:hover .icon-hover i {
  left: calc(50% + 40px);
  transform: translateX(60px);
}
.icon-item:hover .icon-hover span {
  display: inline;
  opacity: 1;
  transform: translateX(0px);
}
.bs-bottom:hover{
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease; 
}
.bs-top:hover{
  box-shadow: 0 -10px 10px -5px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease; 
}

/* Anasayfa Haberler */
.news-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.news-item .news-image {
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 16/9;
  transition: transform 0.4s ease;
}

.news-item.big .news-image{
  height: 100%;
}

.news-item:hover .news-image {
  transform: scale(1.05);
}

.news-item.big .news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  color: #fff;
  z-index: 2;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-item.big {
  position: relative;
  color: #fff;
}

.news-item.small .news-content {
  padding: 2rem;
  color: #000;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.news-item.big .news-content .news-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom:1rem;
}

.news-desc {
  font-size: 0.875rem;
  margin: 0;
  color: #555;
}

/* Zeno Card */
.zeno-card {
  text-align: left;
  padding: 1rem;
  background: #fff;
  transition: all 0.3s ease;
}
.zeno-card img {
  width: 100%;
  height: auto;
}
.zeno-card a {
  color: var(--main-red-color);
  font-weight: 400;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}
.zeno-card a span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.zeno-card a:hover span {
  transform: translateX(5px);
}

/* Etkinlikler */
.etkinlik-card {
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.etkinlik-img {
  background-size: cover;
  background-position: center;
  height: 260px;
  position: relative;
}

.etkinlik-date {
  position: absolute;
  bottom: -1.2rem; 
  left: 1rem;
  background-color: #2e1f1b;
  color: #fff;
  padding: 0.4rem 0.6rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.etkinlik-date .month {
  display: block;
  font-size: 0.875rem;
}

.etkinlik-date .day {
  font-size: 1.2rem;
  font-weight: 700;
}

.etkinlik-body {
  background-color: #fff;
}

.etkinlik-card:hover .etkinlik-img {
  filter: brightness(1.05);
}
.etkinlik-type{
  letter-spacing: 0.125rem;
  font-size: 0.875rem;
}

/* ZENO Image Bg */
.zeno-image-bg {
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 600px;
  position: relative;
}

.zeno-overlay-text {
  position: absolute;
  bottom: 30px;
  right: 50px;
  color: white;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: right;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  line-height: 1.6;
}

/* Duyurular */
.duyuru-box {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}
.duyuru-box:hover {
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.5)
}
.duyuru-arrow {
  position: absolute;
  bottom: 10px;
  right: 20px;
  color: var(--main-red-color);
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.duyuru-box:hover .duyuru-arrow {
  transform: translateX(4px);
}

/* Sürdürülebilirlik */
.surdurulebilirlik {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
  padding: 60px 0;
}
.surdurulebilirlik::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.surdurulebilirlik .container {
  position: relative;
  z-index: 2;
}
.surdurulebilirlik .container p{
  line-height: 1.8rem;
  text-align: justify;
}

/* KUN Yayinları */
.kun-yayinlari .kitap-karti {
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kun-yayinlari .kitap-karti:hover {
  transform: translateY(-5px);
}
.kun-yayinlari .kitap-gorsel {
  aspect-ratio: 9 / 16;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.kun-yayinlari .kitap-icerik {
  position: relative;
  padding: 1rem;
  flex-grow: 1;
}
.kun-yayinlari .kitap-baslik {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}
.kun-yayinlari .ok-icon {
  color: var(--main-red-color);
  font-size: 1.5rem;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  transition: transform 0.3s ease;
}
.kun-yayinlari .kitap-karti:hover .ok-icon {
  transform: translateX(5px);
}

/* Fakulte Bolumler */
.fakulte-bolumler .fakulte-bolum {
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fakulte-bolumler .fakulte-bolum:hover {
  transform: translateY(-5px);
}
.fakulte-bolumler .fb-title {
  font-size: 1.25rem;
  font-weight: 700;
  color:var(--main-title-color);
  margin-bottom: 0.5rem;
}
.fakulte-bolumler .fb-gorsel {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fakulte-bolumler .fb-icerik {
  position: relative;
  padding: 1rem;
  flex-grow: 1;
}
.fakulte-bolumler .ok-icon {
  color: var(--main-red-color);
  font-size: 1.5rem;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  transition: transform 0.3s ease;
}
.fakulte-bolumler .fakulte-bolum:hover .ok-icon {
  transform: translateX(5px);
}

/* Footer */
.footer {
  background-color: #1d1d1d;
  color: #ccc;
  font-size: 0.9rem;
  position: relative;
  z-index:10;
}

.footer .footer-links li {
  margin-bottom: 1rem;
}
.footer .footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer .footer-links a:hover {
  color: #fff;
}

.footer hr {
  opacity: 0.2;
}

.footer .social-icons i {
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
.footer .social-icons a:hover i {
  color: var(--main-red-color);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  color: var(--main-red-color);
  font-size: 2rem;
  z-index: 999;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
}
.scroll-to-top:hover {
  color: var(--main-dark-color)
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.cookie-consent button {
  background: var(--main-red-color);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}
.cookie-consent button:hover {
  background: var(--main-dark-color);
}

/* Haberler */
.sidebar-news-img {
  width: 120px;
  height: auto;

}

/* KUN Plus */
.sektorler-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 kolona bölüyoruz */
  grid-auto-rows: 40vh;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.sektor-item {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
  transition: 0.3s;
}

.sektor-item h5 {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2;
}

.sektor-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.plus-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2.5rem;
  color: white;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
}

.sektor-item:hover .plus-icon {
  opacity: 1;
}

.sektor-item:nth-child(1) { grid-column: span 2; }
.sektor-item:nth-child(2) { grid-column: span 2; }
.sektor-item:nth-child(3) { grid-column: span 2; }

.sektor-item:nth-child(4) { grid-column: span 3; }
.sektor-item:nth-child(5) { grid-column: span 3; }

.sektor-item:nth-child(6) { grid-column: span 2; }
.sektor-item:nth-child(7) { grid-column: span 2; }
.sektor-item:nth-child(8) { grid-column: span 2; }

.sektor-item:nth-child(9)  { grid-column: span 3; }
.sektor-item:nth-child(10) { grid-column: span 3; }

.fixed-image {
  height: 100vh;
  position: sticky;
  top: 0;
}
.content-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.object-fit-cover {
  object-fit: cover;
}

.scroll-content {
  min-height: 100vh;
  overflow-y: auto;
  padding: 0rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ADAY */
.hero-section.aday-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    margin-left: 5%;
    margin-top:5%;
}

.aday-section .social-icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aday-section .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-aday-color);
    color: #fff;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    transition: width 0.3s ease;
    overflow: hidden;
}

.aday-section .social-icon .social-text {
    position: absolute;
    left: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.aday-section .social-icon:hover {
    width: 150px;
    justify-content: flex-start;
    padding-left: 15px;
}

.aday-section .social-icon:hover .social-text {
    opacity: 1;
}

.gallery-masonry {
  column-count: 4;
  column-gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(57, 41, 195, 0.85);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 10px;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.sanal-tur {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.st-video-overlay {
  position: relative;
  z-index: 10;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}

.st-video-overlay .subtitle {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.st-video-overlay .title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
}

.st-video-overlay .btn-start {
  padding: 12px 30px;
  background-color: #c62828;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  pointer-events: auto;
}

.st-video-overlay .btn-start:hover {
  background-color: #b71c1c;
}

.fakulte-bolumler h5{font-size:1rem!important}
.fakulte-bolumler p{font-size:0.875rem!important}

/* MOBILE */
@media (max-width: 768px) {
  .btn-tumu {padding: 1rem 5rem;font-size: 1rem}
  .sektor-img{display: none;}
  .logo{height: 30px}
  .lead{width: 100%}
  .page-head h2{font-size: 2rem}
  .nbh {margin-top: calc(var(--navbar-height) + .5rem);}
}