@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Light.woff2') format('woff2'),
         url('../fonts/Lato-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.woff2') format('woff2'),
         url('../fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.woff2') format('woff2'),
         url('../fonts/Lato-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
  }
  
  h1 {
    font-size: 2rem!important;
  }
  
  h3 {
    font-size: 18px!important;
    color: #046095!important;
  }

  body {
    font-family: 'Lato', sans-serif;
    font-weight: 400!important;
    background-color: #ffff;
  }
  
  a {
    text-decoration: none!important;
  }
  
  /* HEADER */
  .header-nav {
      background-color: #dddddd!important;
  }
  
  .nav-link {
      color: #ffff!important;
      font-size: 14px!important;
      padding: 8px 15px!important;
  }
  
  .nav-link:hover {
      background-color: #006caa!important;
  }
  
  .social-link:hover {
      background-color: #ededed!important;
  }
  
  .menu {
      background-color: #006caa!important;
      min-height: 5vh!important;
  }
  
  .menu-link {
      color: #ffff!important;
      font-size: 15px!important;
      padding: 20px 15px!important;
  }
  
  .nav-area {
      margin-left: 150px;
  }
  
  .menu-link:hover {
      color: #006caa!important;
      background-color: #dddddd!important;
  }

  .social {
    justify-content: center!important;
  }
  
  .kbb-logo {
    max-width: 130px; 
    position: absolute; 
    z-index: 9999; 
    bottom: 0px;
    top: -37px;
  }

  .multi-column-menu {
    min-width: auto;
    white-space: nowrap;
  }

  .multi-column-menu .row {
    flex-wrap: nowrap;
  }

  .multi-column-menu .col-md-4 {
    min-width: 300px;
    font-size: 14px;
  }


  .dropdown-menu:focus,
  .dropdown-menu .dropdown-item:focus,
  .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  


.user-image img {
    width: 100%;
    max-width: 200px;
}

.user-name {
    text-align: center;
    width: 100%;
    margin-top: 20px;
    border-bottom: 1px dashed #979797;
    padding-bottom: 15px;
    font-size: 20px;
    color: #5d5d5d;
}

    .user-name strong {
        color: #323232;
    }

.user-image, .user-name {
    text-align: center;
}

.user-buttons {
    margin-top: 10px;
    margin-bottom: 50px;
}
.user-button.admin-button {
    background-color: #006caa!important;   /* arka plan kırmızı */
    color: white;            /* yazı rengi beyaz */
}

.user-button {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    color: #ffF;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #841a1d;
    padding: 10px;
}

    .user-button i {
        padding-left: 5px;
        padding-right: 5px;
    }

    .user-button:first-child {
        background-color: #458549;
    }

    .user-button:hover {
        margin-left: 10px;
        color: #fff;
        text-decoration: none;
    }
/* SLIDER */

  .carousel-item {
      padding: 10px;
      background-color: #ffff;
  }

  .carousel-caption {
      left: 9%!important;
      width: 37%!important;
      background-color: #ffffffb8;
      border-radius: 5px;
      min-height: 16vh;
      color: #046095!important;
  }

  .sld-title {
      color: #046095;
      padding: 5px;
      font-size: 32px;
  }

  .sld-btn {
      color:#fff;
      background-color: #046095;
      text-decoration: none;
      border-radius: 5px;
      padding: 5px;
  }

  .sld-btn:hover {
      background-color: #034f7b;
  }

  .carousel-indicators {
  display: flex !important; 
  justify-content: center;
  align-items: center;
  gap: 8px; 
  margin-bottom: 60px!important;
  }

  .carousel-indicators button {
  width: 14px !important; 
  height: 14px !important; 
  border-radius: 50% !important; 
  background-color: transparent !important;
  border: 2px solid #046095 !important;
  opacity: 1 !important; 
  margin: 0 5px; 
  padding: 0 !important; 
  flex-shrink: 0; 
  }

  .carousel-indicators .active {
  background-color: #88ABD3 !important; 
  }

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23046095'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")!important;
    background-color: #ffffffb8!important;
  }
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23046095'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
    background-color: #ffffffb8!important;
  }

.carousel-control-prev:hover .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")!important;
    background-color: #046095!important;
  }

.carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
    background-color: #046095!important;
  }

/* BUTTONS */
#buttons {
  background-color: #046095;
}

.btn1{
  background: url('../img/buttons/btn1.jpg') no-repeat center;
}
.btn2{
  background: url('../img/buttons/btn2.jpg') no-repeat center;
}
.btn3{
  background: url('../img/buttons/btn3.jpg') no-repeat center;
}
.btn4{
  background: url('../img/buttons/btn4.jpg') no-repeat center;
}
.btn5{
  background: url('../img/buttons/btn5.jpg') no-repeat center;
}
.btn6{
  background: url('../img/buttons/btn6.jpg') no-repeat center;
}

.btn1, .btn2, .btn3, .btn4, .btn5, .btn6 {
  background-size: 100%;
  min-height: 140px;
  color: #fff;
  align-content: center;
  font-size: 17px;
  font-weight: 500;
  margin-right: 10px;
  max-width: 320px!important;

  transition: background-size 0.6s ease; /* geçiş ekliyoruz */
  position: relative;
  z-index: 1;
}

.btn1 span, .btn2 span, .btn3 span, .btn4 span, .btn5 span, .btn6 span {
   text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* koyu gri gölge */
}

.btn1:hover, .btn2:hover, .btn3:hover, .btn4:hover, .btn5:hover, .btn6:hover {
  background-size: 110%; /* hover'da büyüme efekti */
  cursor: pointer;
}


.btn-border {
   border: 1px solid #ffffff78; 
   padding: 42px 10px;
}

.btn3 > .btn-link > .btn-border {
 padding: 28px 12px;
}

.btn-link {
  color: #fff!important;
}

.right-btn {
  background-color: #fff;
  max-height: 52.5px;
}
.right-btn-icon{
  width: 100%;
  max-width: 53px;
  padding: 8px;
  transition: transform 0.6s ease;
}
.right-btn-text{
  color: #046095!important;
  font-size: 16px;
  font-weight: 500;
  padding-top: 13px;
}

.right-btn {
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.right-btn:hover {
  background-color: #c8e6fa; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.right-btn:hover .right-btn-icon {
  transform: translateY(-5px);
}

/* HAKKIMIZDA */
#hakkimizda {
  background: url('../img/hakkimizda-bg.jpg') no-repeat center;
  background-size: cover;
}
.hakkimizda-title {
  font-weight: 600;    
  font-size: 26px;
  line-height: 1.3;
}
.hakkimizda-text {
  font-size: 18px;
}
.custom-btn {
  width: 200px; 
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.custom-btn:hover {
  transform: translateY(-2px);
}
.btn-blue {
  background-color: #0f6ea8;
}
.btn-red {
  background-color: #c22e1e;
}
.btn-icon img {
  width: 14px;
  height: auto;
}

/* ETKİNLİK */
.etkinlik-title {
  font-weight: 600;
  font-size: 26px;
  color: #4458a1;
}
.etkinlik-tarih {
  color: #ac2800;
  font-size: 14px;
}
.etkinlik-adi {
  color: #000;
  font-weight: 500;
}
.etkinlik-adi:hover {
  color: #485eab;
}
.tum-etkinlikler {
  color: #565656;
  font-size: 16px;
  font-weight: 500;
}
.tum-etkinlikler:hover {
  color: #485eab;
}

.btn-etkinlik, .btn-haber {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-etkinlik::before, .btn-haber::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-size: cover;
  filter: blur(0px);
  transition: filter 0.3s ease-in-out;
  z-index: 0; 
}

.btn-etkinlik:hover::before, .btn-haber:hover::before {
  filter: blur(5px);
}

.btn-etkinlik a, .btn-haber a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: white;
  font-size: 1.2rem; 
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn-etkinlik a:hover, .btn-haber a:hover {
  transform: scale(1.1); 
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

/* BİLGİLENDİRME */

#bilgilendirme {
  background-color: #fff6e9!important;
  min-height: 55vh;
}
.bilgilendirme-img {
  width: 100%;
  max-width: 200px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.bilgilendirme-link:hover .bilgilendirme-img {
  filter: grayscale(100%);
    transform: translateY(-5px);
}

.bilgilendirme-link {
  color:#000!important;
  font-weight: 500;
}

.bilgilendirme-link:hover {
  color:#485eab!important;
}

/* CONTENT */
.navbarMenu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: 0.25rem;
  font-weight: 400;
  color: #8c8f96;
}
.navbarMenu a{
    color: #000!important;
    
}
.menutitle {
    color: #046095;
    font-size: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-weight: 500;
    margin-bottom: 30px;
}

.card-header {
	padding: 15px 15px!important;
    border: 0!important;
}

.card-header a {
    color: #000 !important;
}

.card-header:hover a {
    color: #006caa !important;
}

/* FOOTER */
footer {
  background: url('../img/footer-bg.jpg') no-repeat center;
  background-size: cover;
  min-height: 40vh;
  color: #fff;
}

.footer-adres {
  border-right: 1px solid #edededc4;
}
@media screen and (min-width: 1980px) {
  .carousel-caption {
    min-height: 8vh;
}
}

@media screen and (max-width: 1200px) {
  .menu-link {
    font-size: 13px !important;
    padding: 20px 10px !important;
  }
  .btn1, .btn2, .btn3, .btn4, .btn5, .btn6 {
    font-size: 15px;
  }
  .btn-border {
      padding: 29px 10px;
  }
  
  .btn3 > .btn-link > .btn-border {
  padding: 18px 12px;
  }
  .right-btn-icon {
    padding: 0;
  }
}
@media screen and (min-width: 996px) {
.navbar .dropdown-menu {
    /* Mevcut stiliniz */
    display: grid !important;
    /* Burayı 2'den 3'e veya istediğiniz sütun sayısına değiştirin */
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    /* Örnek görselde daha fazla sütun olduğu için 3 olarak ayarladım.
       İçerik miktarına göre bu değeri (2, 3, 4) değiştirebilirsiniz. */
    gap: 10px 20px;
    width: auto; /* İçeriğe göre genişlemesi için auto veya daha büyük bir değer */
    max-width: 1200px; /* Maksimum genişlik sınırlaması hala iyi */
    padding: 25px;
    background: #E6EEF5;
    border: none;
    border-radius: 8px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Hafif bir gölge ekleyebiliriz */

    position: fixed!important;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    visibility: hidden;
    /* Geçiş (transition) efektini burada tanımlıyoruz */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
}

/* Hover ile görünür yap ve hafif yukarı kaydırarak geçiş efekti ekle */
.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Menü açılırken konumunu sabitle */
    /* İsteğe bağlı: Menü açılırken hafif yukarı kayma efekti için translateY(-10px) yapıp
       transition: all 0.3s ease-in-out; ile birleştirebilirsiniz.
       Ancak şu anki translateX(-50%) ile uyumlu kalması için 0'da bırakalım. */
}

/* Bootstrap’in inline konumlandırmasını iptal et (bu kalsın) */
.navbar .dropdown-menu.show {
    inset: auto !important;
}

/* Alt menü öğeleri için stil (isteğe bağlı) */
.navbar .dropdown-menu a.dropdown-item {
    white-space: normal; /* Uzun metinlerin yeni satıra geçmesini sağlar */
    padding: 8px 0; /* İç boşlukları ayarlayabiliriz */
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
}

.navbar .dropdown-menu a.dropdown-item:hover {
    color: #007bff; /* Hover rengi */
    background-color: transparent; /* Arka plan rengini şeffaf yapabiliriz */
}
}

@media screen and (max-width: 996px) {
  .nav-area {
    margin-left: 0 !important;
  }
  .hidden-sm {
        display: none;
  } 

  .carousel-caption {
      display: none;
  }

  .kbb-logo {
  max-width: 90px;
  position: relative; 
  top: 4px;
  }
    .btn1, .btn2, .btn3, .btn4, .btn5, .btn6 {
    font-size: 12px;
  }
  .btn-border {
      padding: 22px 10px;
  }
  .btn3 > .btn-link > .btn-border {
  padding: 14px 12px;
  }
}

@media screen and (max-width: 768px) {

  .btn-border {
      padding: 45px 10px;
  }
  .btn3 > .btn-link > .btn-border {
  padding: 37px 12px;
  }

}