/******************************************
 * 1) TEMEL DEĞİŞKENLER VE GENEL AYARLAR
 ******************************************/

:root {
    --primary: #ff7a1a;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

/* Sayfa üstüne çık butonu */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Yüklenme Spinner'ı */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/******************************************
 * 2) TİPOGRAFİ & FONTLAR
 ******************************************/

/*** LOGO FONTU (Momo Trust) ***/
@font-face {
    font-family: 'Momo Trust Display';
    src: url('MomoTrustDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*** Arial Black – Genel Metin & Kültür Başlığı ***/
@font-face {
    font-family: 'ArialBlackTR';
    src: url('ariblk.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


/******************************************
 * 3) GENEL GÖRÜNÜM (BODY, DARK TEMA, LINKLER)
 ******************************************/

body {
    background-color: #0d1117;      /* Koyu zemin */
    color: #e6e6e6;                 /* Açık yazı rengi */
    font-family: 'ArialBlackTR', sans-serif;
}

/* Kartlar ve kutular (dark tema için) */
.bg-light,
.card,
.team-item,
.causes-item {
    background-color: #1a1f26 !important;
    color: #e6e6e6 !important;
    border: none !important;
}

/* Açıklama metinleri */
.text-muted {
    color: #aaa !important;
}

/* Linkler ve vurgular */
a,
.text-primary {
    color: #ff7a1a !important;
}
a:hover {
    color: #ff7a1a !important;
}

/* Kültür başlığı */
.kultur-baslik {
    font-family: 'ArialBlackTR', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.kultur-baslik:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}


/******************************************
 * 4) BUTONLAR
 ******************************************/

/*** Genel Buton Ayarları ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Tüm Butonları "Destek Ol" Stilinde Birleştirme ***/
/* Varsayılan görünüm: transparent arkaplan + turuncu çerçeve + turuncu yazı */
.btn-primary,
.btn-outline-primary {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    transition: all 0.3s ease !important;
}

/* Hover efekti: turuncu arkaplan + beyaz yazı */
.btn-primary:hover,
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* İçindeki küçük ok ikon kutusu (beyaz daire) */
.btn .btn-sm-square {
    background: #ffffff !important;
    color: var(--primary) !important;
}

.btn:hover .btn-sm-square {
    background: #ffffff !important;
    color: var(--primary) !important;
}

/* Üst navbar'daki buton grubu */
.navbar .d-none.d-lg-flex {
    align-items: center;
}

/* Bu gruptaki butonların içini hizala */
.navbar .d-none.d-lg-flex .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0;
    line-height: 1.1;
}


/******************************************
 * 5) NAVBAR & LOGO
 ******************************************/

.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

/*** Logo Renkleri ***/
.logo-stichting {
    color: #ffffff;
}

.logo-ayalin {
    color: #ff7a1a;
}

/*** LOGO FONTU (Momo Trust Uygulama) ***/
.logo-stichting,
.logo-ayalin {
    font-family: 'Momo Trust Display', sans-serif !important;
    font-size: 40px;
}

/*** NAVBAR YÜKSEKLİĞİ VE LOGO Yerleşimi ***/
nav.navbar.navbar-expand-lg {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

nav.navbar.navbar-expand-lg .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

nav.navbar.navbar-expand-lg .navbar-brand h1 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Logo genel boyut (masaüstü) */
.nav-logo {
    display: block;
    height: 60px;
    width: auto;
    margin-left: 15px;
}

/*** NAVBAR MENÜ VE DROPDOWN ***/
.navbar .navbar-nav {
    align-items: center;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Standart nav link ayarları */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

/* Hover & aktif */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/*** Navbar Premium Link Animasyonu ***/
.navbar-nav .nav-link {
    position: relative;
    padding: 8px 0;
    color: #ff7a1a !important;
    transition: color 0.35s ease, transform 0.25s ease;
}

/* Alt çizgi (başta görünmez) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #ff7a1a;
    transition: width 0.35s ease;
}

/* Hover durumunda: Renk + Çizgi + Hafif büyüme */
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Aktif sayfa */
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

/*** NAVBAR RESPONSIVE AYARLAR ***/
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/******************************************
 * 6) HEADER, CAROUSEL & SAYFA BAŞLIĞI
 ******************************************/

/*** Header Carousel Genel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*** Carousel Arka Planını Sabitleme (Parallax) ***/
#header-carousel .carousel-item {
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

#header-carousel .carousel-item img {
    opacity: 0;
}

/* Carousel arka planını sabitle */
#header-carousel .carousel-item {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/*** Sayfa Header (İç Sayfa Başlık Alanı) ***/
.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}


/******************************************
 * 7) VİDEO BANNER (HERO)
 ******************************************/

.video-banner {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.25); /* üst-alt siyah şeritleri kırpmak için hafif zoom */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    z-index: 2;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    color: #ffffff;
    max-width: 650px;
}

.video-content h1 {
    font-size: 2.6rem;
    line-height: 1.3;
}

.video-btn {
    font-size: 1.05rem;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .video-banner {
        height: 85vh;
        min-height: 480px;
    }

    .video-content {
        left: 5%;
        right: 5%;
        transform: translateY(-45%);
    }

    .video-content h1 {
        font-size: 1.6rem;
    }
}


/******************************************
 * 8) ALINTI / ÖZEL BAŞLIK STİLLERİ
 ******************************************/

.quote-text {
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Momo Trust Display', sans-serif;
}

.custom-quote {
    font-size: 32px;
}

@media (max-width: 768px) {
    .custom-quote {
        font-size: 24px;
    }
}


/******************************************
 * 9) BÖLÜMLER: HAKKIMIZDA, CAUSES, SERVICE, DONATE,
 *              TEAM, TESTIMONIAL
 ******************************************/

/*** Hakkımızda Kutusu ***/

.hakkimizda-card {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.hakkimizda-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.15) !important;
}

#hakkimizda .bg-light {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

#hakkimizda .bg-light p {
    color: #e6e6e6 !important;
}

#hakkimizda .bg-light .text-primary {
    color: var(--primary) !important;
}

/*** Causes (Kurucular kartları da bu yapıyı kullanıyor) ***/
.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}

/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked + label {
    color: var(--primary);
    border-color: var(--primary);
}


/******************************************
 * 10) FOOTER
 ******************************************/

.footer {
    background-color: #0d1117 !important;
    color: #bbb;
    border-top: 1px solid rgba(255,122,26,.25);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/******************************************
 * 11) MOBİL AYARLAR (LOGO, NAVBAR BAŞLIĞI)
 ******************************************/

@media (max-width: 768px) {

    .navbar-brand h1,
    .logo-stichting,
    .logo-ayalin {
        font-size: 20px !important;
    }

    .nav-logo {
        height: 32px !important;
        width: auto !important;
        margin-left: 6px !important;
    }

    .navbar-brand {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .kultur-baslik {
        font-size: 26px !important;
        line-height: 1.2 !important;
        padding-right: 10px;
        padding-left: 10px;
        word-break: break-word;
    }
}


/******************************************
 * 12) KURUCU ÜYELER – İSİM PİLL STİLİ
 ******************************************/

.kurucu-isim-pill {
    display: inline-block;
    padding: 0.35rem 1.4rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    background: transparent;
}


/******************************************
 * 13) SOSYAL MEDYA BUTONLARI (ORTAK)
 ******************************************/

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    color: rgba(255,255,255,0.85);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    background: transparent;
}

.social-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


/* Kurucular fotoğraf üzeri ikon hizası */
.kurucu-social-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}


/* === Yeni Ekip Kart Tasarımı (team-card-bg) – Desktop daha uzun, mobil dengeli === */
.team-card-bg {
    position: relative;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    /* Masaüstü için daha uzun kart */
    min-height: 460px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s ease;
}

.team-card-bg:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.team-card-bg:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.team-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px;
    color: #ffffff;
    opacity: 1;  /* mobilde de her zaman görünsün */
    transform: translateY(0);
}

.team-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.team-name-lg {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.team-role-sm {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.9rem;
    margin-right: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.team-social a:hover {
    background: #ffffff;
    color: #111827;
    transform: translateY(-1px);
}

/* Tablet & mobil için biraz daha kısa ama hâlâ yüksek kart */
@media (max-width: 991.98px) {
    .team-card-bg {
        min-height: 360px;
    }
}

/* Küçük telefonlar için */
@media (max-width: 576px) {
    .team-card-bg {
        min-height: 320px;
    }
}




/* === Video banner başlığını container hizasına sabitleme (responsive) === */
@media (max-width: 768px) {
    /* Küçük ekranlarda mevcut ayar korunuyor */
    .video-content {
        left: 5%;
        right: 5%;
        transform: translateY(-45%);
    }
}

@media (min-width: 769px) and (max-width: 1199.98px) {
    /* Orta ekranlarda yüzde ile hafif solda */
    .video-content {
        left: 10%;
        right: auto;
        transform: translateY(-50%);
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* XL: container genişliği 1140px -> (100% - 1140px)/2 soldan boşluk */
    .video-content {
        left: calc((100% - 1140px) / 2);
        right: auto;
        transform: translateY(-50%);
    }
}

@media (min-width: 1400px) {
    /* XXL: container genişliği 1320px -> (100% - 1320px)/2 soldan boşluk */
    .video-content {
        left: calc((100% - 1320px) / 2);
        right: auto;
        transform: translateY(-50%);
    }
}
