/* BÖRÜ Arama Kurtarma - Ana Stil Dosyası */

/* Genel Stiller */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 0; /* Body padding kaldırıldı */
}

/* Main content için üst boşluk */
main {
    margin-top: 0; /* Main margin kaldırıldı */
}

/* Alt Sayfalar için Page Header */
.page-header {
    background: linear-gradient(135deg, #f9b211 100%, #212529 0%);
    position: relative;
    overflow: hidden;
}

/* Fixed header için page-header ayarı - artık template'lerde inline style kullanılıyor */

/* .page-header::before kaldırıldı - sadece gradient arka plan kullanılacak */

.page-header h1,
.page-header .display-4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb a {
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

/* Dark background page headers */
.page-header.bg-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
}

/* Primary background page headers */
.page-header.bg-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #e69500 100%) !important;
}

/* Ana Renk Sınıfları */
.bg-primary-custom {
    background-color: #f9b211 !important;
}

.bg-secondary-custom {
    background-color: #212529 !important;
}

.bg-helper-custom {
    background-color: #6c757d !important;
}

.text-primary-custom {
    color: #f9b211 !important;
}

.text-secondary-custom {
    color: #212529 !important;
}

.text-helper-custom {
    color: #6c757d !important;
}

.border-primary-custom {
    border-color: #f9b211 !important;
}

.border-secondary-custom {
    border-color: #212529 !important;
}

.btn-primary-custom {
    background-color: #f9b211;
    border-color: #f9b211;
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: #212529;
    border-color: #212529;
    color: #fff;
}

.btn-outline-primary {
    color: #f9b211;
    border-color: #f9b211;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #f9b211;
    border-color: #f9b211;
    color: #fff;
}

.btn-outline-primary.active {
    background-color: #f9b211;
    border-color: #f9b211;
    color: #fff;
}

a {
    color: #f9b211;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #212529;
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-danger {
    background-color: #f9b211;
    border-color: #f9b211;
}

.btn-danger:hover {
    background-color: #212529;
    border-color: #212529;
}

.btn-outline-danger {
    color: #f9b211;
    border-color: #f9b211;
}

.btn-outline-danger:hover {
    background-color: #f9b211;
    color: #fff;
}

/* Header Stiller */
.top-bar {
    font-size: 0.9rem;
}

/* Fixed Header Stilleri */
header.fixed-top {
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: #fff; /* Arka plan rengi ekle */
}

header.fixed-top .top-bar {
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.5rem 1rem;
    background-color: #fff !important;
}

.navbar-brand img {
    max-height: 60px;
    transition: all 0.3s ease;
}

/* Scroll durumunda header küçülsün */
header.scrolled .top-bar {
    padding: 0.25rem 0 !important;
    font-size: 0.85rem;
}

header.scrolled .navbar {
    padding: 0.25rem 1rem;
}

header.scrolled .navbar-brand img {
    max-height: 50px;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 1.5rem 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #f9b211;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
    color: #f9b211;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Section Stiller */
section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #f9b211;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Kart Stiller */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Feature Box */
.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    color: #f9b211;
}

/* Footer */
footer {
    background-color: #212529;
    color: #fff;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background-color: #f9b211;
    color: #212529;
}

/* Responsive */
@media (max-width: 991.98px) {
    /* Mobil için özel ayarlar - template'lerde inline style kullanılıyor */
    
    .navbar-light .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    header.scrolled .navbar-brand img {
        max-height: 45px;
    }
    
    .top-bar {
        font-size: 0.8rem;
    }
    
    .top-bar .contact-info {
        display: none; /* Mobilde iletişim bilgilerini gizle */
    }
    
    header.scrolled .top-bar {
        display: none; /* Scroll durumunda top-bar'ı tamamen gizle */
    }
    
    header.scrolled ~ body {
        padding-top: 60px; /* Top-bar gizlenince padding'i azalt */
    }
    
    .hero-section,
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
}

@media (max-width: 767.98px) {
    .hero-section,
    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Sayfa Özel Stiller */
/* Hakkımızda Sayfası */
.team-member {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.team-member img {
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(220, 53, 69, 0.9);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.team-member:hover .team-member-info {
    transform: translateY(0);
}

/* İletişim Sayfası */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: #f9b211;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Galeri Sayfası */
.gallery-filter {
    margin-bottom: 2rem;
}

.gallery-filter .btn {
    margin: 0 5px 10px;
    padding: 5px 15px;
    font-size: 0.9rem;
}

.gallery-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: all 0.3s ease;
}

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

/* Duyurular Sayfası */
.announcement-item {
    margin-bottom: 30px;
}

.announcement-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.announcement-meta i {
    margin-right: 5px;
}

/* Bağış Sayfası */
.donation-option {
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.donation-option:hover {
    border-color: #f9b211;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.donation-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #f9b211;
    margin-bottom: 1rem;
}

/* 404 ve 500 Sayfaları */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    color: #f9b211;
    line-height: 1;
}

.error-message {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Bootstrap Color Override */
:root {
    --bs-primary: #f9b211;
    --bs-primary-rgb: 249, 178, 17;
    --bs-danger: #f9b211;
    --bs-danger-rgb: 249, 178, 17;
}

.bg-primary {
    background-color: #f9b211 !important;
}

.text-primary {
    color: #f9b211 !important;
}

.border-primary {
    border-color: #f9b211 !important;
}

.btn-primary {
    background-color: #f9b211 !important;
    border-color: #f9b211 !important;
}

.btn-primary:hover {
    background-color: #212529 !important;
    border-color: #212529 !important;
}

.bg-danger {
    background-color: #f9b211 !important;
}

.text-danger {
    color: #f9b211 !important;
}

.border-danger {
    border-color: #f9b211 !important;
}

.badge.bg-danger {
    background-color: #f9b211 !important;
}
