/* Light */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProLightOblique.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Book */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProBook.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProBookOblique.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Roman (Regular) */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProRoman.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProMedium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProMediumOblique.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Heavy */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProHeavyOblique.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Black */
@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('../font/AvenirLTProBlackOblique.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Avenir LT Pro', Arial, Helvetica, sans-serif!important;
    overflow-x: hidden;
}

/* HEADER */
.header-nav {
    background-color: #1b539e;
}

.social-link {
    padding: 5px 5px!important;
}

.header-btn {
    padding: 9px 10px!important;
    color: #fff!important;
}

.header-btn:hover {
    background-color: #549abe!important;
}



/* ===== NAVBAR ===== */
.navbar-mega {
    background: #f5f5f5!important;
}

.navbar-nav-mega .nav-link {
    font-weight: 500!important;
    padding: 20px 10px!important;
    color: #000!important;
    transition: background 0.2s ease, color 0.2s ease!important;
}

/* TÜM MENÜLER: hover'da arka plan mavi, yazı beyaz */
.navbar-nav-mega .nav-link:hover {
    background: #1c4fa3!important;
    color: #fff !important;
}

/* Dropdown okunu (caret) tamamen kaldır: Dernek + Hızlı Erişim */
.nav-item.dropdown > .nav-link.dropdown-toggle::after {
    display: none!important;
}

/* Tüm dropdown linkleri ok/üçgen için relative */
.nav-item.dropdown > .nav-link {
    position: relative!important;
    z-index: 1051!important;
}

/* ===== HIZLI ERİŞİM VARSAYILAN ===== */
.nav-item.mega-dropdown > .nav-link {
    background: #1c4fa3!important;
    color: #fff !important;
}

/* ===== MEGA MENU GENEL ===== */
.mega-menu {
    border: none!important;
    background: rgba(255,255,255,0.75)!important; /* yarı saydam */
    backdrop-filter: blur(8px)!important;         /* arkaplan blur */
    -webkit-backdrop-filter: blur(8px)!important; /* Safari uyumu */
}

.mega-menu .container {
    max-width: 1200px!important;
}

/* ICONLU KUTU */
.quick-box {
    text-align: center!important;
    margin-bottom: 30px!important;
}

.quick-box .icon {
    width: 90px!important;
    height: 90px!important;
    background: #1c4fa3!important;
    border-radius: 50%!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    margin: 0 auto 12px!important;

    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* hover efekti – kırmızı dolma */
.quick-box .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c40d1f;
    transition: .5s;
    z-index: -1;
}

.quick-box:hover .icon::before {
    top: 0;
}

.quick-box .icon img {
    width: 42px!important;
    transition: .6s;
}

.quick-box:hover .icon img {
    transform: rotateY(360deg);
}

.quick-box a {
    text-decoration: none!important;
    color: #1c4fa3!important;
    font-weight: 500!important;
}

.quick-box:hover span {
    color: #c40d1f;
}

/* YAZILI MEGA MENU */
.text-mega a {
    display: block!important;
    padding: 10px 0!important;
    color: #1c4fa3!important;
    font-weight: 500!important;
    text-decoration: none!important;
}

.text-mega a:hover {
    text-decoration: underline!important;
    color: #c40d1f!important;
}

/* ================= DESKTOP (hover ile açılan menü) ================= */
@media (min-width: 992px) {

    /* navbar container referans noktası olsun */
    .navbar-mega .container {
        position: relative!important;
    }

    .mega-menu {
        position: absolute!important;
        width: 100%!important;      /* container genişliği kadar */
        left: 0!important;
        right: 0!important;
        padding: 40px 0!important;
        display: block!important;
        opacity: 0!important;
        visibility: hidden!important;
        pointer-events: none!important;
        transform: translateY(10px)!important;
        transition: opacity 0.5s ease, transform 0.5s ease!important;
        z-index: 1000!important;
    }

    .dropdown-menu.mega-menu[data-bs-popper] {
        margin-top: 0!important;
    }

    /* HOVER olduğunda dropdown menüyü göster (geçişli) */
    .nav-item.dropdown:hover > .mega-menu {
        opacity: 1!important;
        visibility: visible!important;
        pointer-events: auto!important;
        transform: translateY(0)!important;
    }

    /* Dropdown hover: mavi buton + üçgen (non-dropdown’lara üçgen YOK) */
    .nav-item.dropdown:hover > .nav-link {
        background: #1c4fa3!important;
        color: #fff !important;
    }

    .nav-item.dropdown:hover > .nav-link::before {
        content: ""!important;
        position: absolute!important;
        left: 50%!important;
        transform: translateX(-50%)!important;
        bottom: -10px!important;
        width: 0!important;
        height: 0!important;
        border-left: 10px solid transparent!important;
        border-right: 10px solid transparent!important;
        border-top: 10px solid #1c4fa3!important; /* üçgen rengi */
    }

    .aidat-btn {
    padding: 21px 10px !important;
}

}

/* ================= MOBILE (dokunarak açılacak / click) ================= */
@media (max-width: 991.98px) {

    .navbar-nav-mega {
        padding-top: 15px!important;
    }

    .mega-menu {
        position: static !important;
        width: 100%!important;
        padding: 20px 15px!important;
        opacity: 1!important;
        visibility: visible!important;
        pointer-events: auto!important;
        transform: none!important;
    }

    /* Mobile’da alttaki üçgeni kullanma */
    .nav-item.dropdown > .nav-link::before {
        display: none !important;
    }

    .nav-item.mega-dropdown > .nav-link {
        border-radius: 4px!important;
    }
}

/* SLIDER */
  .carousel-indicators {
    display: flex !important; 
    justify-content: center;
    align-items: center;
    gap: 8px; 
  }

  .carousel-indicators button {
    width: 14px !important; 
    height: 14px !important; 
    border-radius: 50% !important; 
    background-color: transparent !important;
    border: 3px solid #fff !important;
    opacity: 1 !important; 
    margin: 0 5px; 
    padding: 0 !important; 
    flex-shrink: 0; 
  }

  .carousel-indicators .active {
    background-color: #e2474b !important; 
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: grayscale(100%) brightness(0.5); /* Gri ve biraz koyu */
  }

/* TWO BUTTONS */

#two-btn {
    background-color: #f5f5f5;
}
/* ======================
   EJP BUTTON (SMOOTH SCALE)
====================== */

.ejp-btn {
    position: relative;
    min-height: 20vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background image via pseudo-element */
.ejp-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/ejp-btn.jpg') no-repeat center center;
    background-size: cover;
    transform: scale(1);
    transition: transform 0.6s ease;
    z-index: 0;
}

/* Hover smooth zoom */
.ejp-btn:hover::before {
    transform: scale(1.08);
}

/* Dark overlay */
.ejp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.ejp-btn:hover .ejp-overlay {
    opacity: 1;
}

/* Content */
.ejp-content {
    position: relative;
    z-index: 2;
}

.ejp-btn p {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Button */
.btn-ziyaret {
    background-color: #1c539e !important;
    transition: all 0.3s ease;
}

/* Button hover */
.ejp-btn:hover .btn-ziyaret {
    background-color: #ffffff !important;
    color: #1c539e !important;
    transform: translateY(-2px);
}


/* ======================
   KONGRE BUTTON (ALT HOVER)
====================== */

.kongre-wrapper {
    overflow: hidden;
}

.kongre-link {
    position: relative;
    display: block;
}

/* Image */
.kongre-btn {
    width: 100%;
    min-height: 20vh;
    object-fit: cover;
    transition: 
        transform 0.6s ease,
        filter 0.6s ease;
}

/* Overlay */
.kongre-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Hover effects */
.kongre-link:hover .kongre-btn {
    filter: brightness(1.05) contrast(1.1);
}

.kongre-link:hover .kongre-overlay {
    opacity: 1;
}

.kongre-link {
    cursor: pointer;
}

/* HABERLER */

.big-title {
    font-size: 28px;
    font-weight: 600;
    color: #1c539e;
}

.haber-link {
    color: #000;
    text-decoration: none!important;
}

.haber-link:hover {
    color: #1c539e;
}

.tum-link {
    color: #1c539e;
    text-decoration: none;
    font-weight: 600;
}

.tum-link:hover {
    color: #3b68a6;
    text-decoration: underline;
}

/* UYE */

/* ===============================
   MEVCUT CSS (AYNEN)
================================ */

.uyemiz-olun {
    background: url('../img/uye-left.jpg') no-repeat center center;
    background-size: cover;
    min-height: 10vh;
}

.uye-right {
    background: url('../img/uye-right.jpg') no-repeat center center;
    background-size: cover;
    min-height: 10vh;
}

.uye-title {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
}

.btn-uye {
    color: #1c4fa3!important;
    background-color: #fff!important;
    border-radius: 0!important;
    padding: 10px 30px!important;
    font-weight: 600!important;
}


/* ===============================
   EK HOVER CSS (YENİ – FARKLI)
   Overlay / karartma YOK
================================ */

/* Hover altyapı */
.uyemiz-olun {
    position: relative;
    overflow: hidden;
}

/* Sol kenar çizgisi */
.uyemiz-olun::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #1b539e;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
    z-index: 1;
}

.uyemiz-olun:hover::before {
    transform: scaleY(1);
}

/* İçerik üstte kalsın */
.uyemiz-olun .row {
    position: relative;
    z-index: 2;
}

/* Yazı animasyonu */
.uyemiz-olun .uye-title,
.uyemiz-olun p {
    transition: letter-spacing 0.3s ease, transform 0.3s ease;
}

.uyemiz-olun:hover .uye-title {
    letter-spacing: 0.6px;
    transform: translateY(-3px);
}

/* Buton – renkleri BOZMADAN vurgu */
.btn-uye {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uyemiz-olun:hover .btn-uye {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* TAKVİM */
.homepage-calendar {
    background-color: #f5f5f5;
}
.calendar-frame {
  background-color: #ffff!important;
  width: 100%;
  height: 600px;
  border: 0;
}
@media (max-width: 768px) {
  .calendar-frame {
    width: 100%;
    height: 700px;
  }
}

/* NEFES-TGHYK */
.nefes-logo,
.tghyk-logo {
    width: 100%;
    filter: grayscale(100%) brightness(1.15);
    opacity: 0.4;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.nefes-logo:hover,
.tghyk-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.nefes-logo {
    max-width: 250px;
    
}

.tghyk-logo {
    max-width: 150px;
}


/* FOOTER */
footer {
  background: url('../img/footer-bg.jpg') no-repeat center;
  background-size: cover;
  min-height: 40vh;
  color: #fff;
  margin-top: 15px;
}

.footer-adres {
  border-right: 1px solid #edededc4;
}

.btn-ulas {
    color: #1c4fa3!important;
    background-color: #fff!important;
    border-radius: 0!important;
    padding: 10px 30px!important;
    font-weight: 600!important;
}

.btn-ulas:hover {
    color: #c40d1f!important;
    background-color: #ededed!important;
    border-radius: 0!important;
    padding: 10px 30px!important;
    font-weight: 600!important;
}

.social-icon {
    transition: transform 0.6s ease-in-out;
}

.social-icon:hover {
    transform: rotate(360deg);
}

/* 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: #f5f5f5;
  border-radius: 0.25rem;
  font-weight: 400;
  color: #8c8f96;
}
.navbarMenu a{
    color: #000!important;
    
}
.menutitle {
    color: #1c4fa3;
    font-size: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-weight: 500;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {

    
    .navbar-nav-mega .nav-link {
        font-size:14px !important;
    }
	
}

a{
	text-decoration: none !important;
	
}

@media (max-width: 600px) {
	.header-btn {
		min-height: 70px !important;
	}
	.onlineaidat{
	
		width:65%!important;
	}
}

@media (max-width: 390px) {
	.header-btn {
		min-height: 90px !important;
	}
	.notranslate{
			background-color:transparent !important;
	}
	
}