/* ==========================================
   Mahmut Efendi Vakfı - Yeni Tema Stilleri
   Font: Parisienne, Cormorant Garamond, Josefin Sans
   Framework: Tailwind CSS (CDN)
========================================== */

/* Loader Stilleri */
#loader {
    background-color: #472021;
}

#loader .loader-quote {
    color: #FFD498;
}

/* Genel Body Stilleri */
body.mahmut-theme {
    background-color: #472021;
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    min-height: 100vh;
    margin: 0;
}

/* Font Ailesi Yardımcıları */
.font-parisienne {
    font-family: 'Parisienne', cursive;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-josefin {
    font-family: 'Josefin Sans', sans-serif;
}

/* Özel Renkler */
.bg-mahmut-primary {
    background-color: #472021;
}

.bg-mahmut-light {
    background-color: #E7E0D5;
}

.text-mahmut-gold {
    color: #FFD498;
}

.text-mahmut-dark {
    color: #472021;
}

.border-mahmut-gold {
    border-color: rgba(255, 212, 152, 0.25);
}

/* Navbar Stilleri */
.mahmut-navbar {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 212, 152, 0.25);
}

.mahmut-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.mahmut-navbar .nav-link:hover,
.mahmut-navbar .nav-link.active {
    color: #FFD498;
}

.mahmut-navbar .nav-link.active {
    font-weight: 700;
}

/* Mobil Menü */
.mobile-menu-overlay {
    background-color: rgba(71, 32, 33, 0.95);
    backdrop-filter: blur(4px);
}

/* Hero Bölümü */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.hero-gradient-left {
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(to right, #1c1917, rgba(28, 25, 23, 0.8), transparent);
}

/* Kart Stilleri */
.mahmut-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 212, 152, 0.25);
    background-color: rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.mahmut-card:hover {
    transform: scale(1.05);
}

.mahmut-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.mahmut-card-content {
    position: relative;
    display: flex;
    height: 12rem;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    padding: 1.5rem;
}

/* Bağış Kartları */
.donation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.donation-card .card-image {
    border-radius: 1rem;
    overflow: hidden;
}

.donation-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, black);
    padding: 1.5rem;
}

.donation-card .price {
    color: #4ade80;
    font-size: 1.875rem;
    font-weight: 700;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(71, 32, 33, 0.2);
    padding-bottom: 1rem;
}

.tab-btn {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    color: rgba(71, 32, 33, 0.5);
    transition: color 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.tab-btn:hover,
.tab-btn.active {
    color: #472021;
}

.tab-btn.active {
    font-weight: 600;
    border-bottom: 2px solid #472021;
}

/* Yırtık Kağıt Efekti */
.torn-paper {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    margin-top: -1px;
}

.torn-paper img {
    width: 100%;
    height: auto;
}

/* Kitap Slider */
.book-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.book-slide:hover {
    opacity: 0.9;
}

.book-slide img {
    height: 20rem;
    width: auto;
    object-fit: cover;
}

.book-slide .publisher {
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.book-slide .title {
    color: #FFD498;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
}

/* Blog Kartları */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer */
.mahmut-footer {
    background-color: #472021;
    color: white;
    padding: 3rem 0;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Ayarlar */
@media (max-width: 1024px) {
    .hero-gradient-left {
        width: 100%;
        background: linear-gradient(to top, #1c1917, rgba(28, 25, 23, 0.6), transparent);
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        gap: 0.5rem;
    }
    
    .tab-btn {
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }
    
    .book-slide img {
        height: 16rem;
    }
}

/* Mix Blend Mode Yardımcıları */
.mix-blend-color-dodge {
    mix-blend-mode: color-dodge;
}

.mix-blend-plus-lighter {
    mix-blend-mode: plus-lighter;
}

.mix-blend-soft-light {
    mix-blend-mode: soft-light;
}

/* Scroll Bar Stilleri */
.mahmut-theme::-webkit-scrollbar {
    width: 8px;
}

.mahmut-theme::-webkit-scrollbar-track {
    background: #472021;
}

.mahmut-theme::-webkit-scrollbar-thumb {
    background: #FFD498;
    border-radius: 4px;
}

.mahmut-theme::-webkit-scrollbar-thumb:hover {
    background: #e5c088;
}

/* Scrollbar Gizleme Utility */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE ve Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

/* Custom Scrollbar - İnce ve Şık */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #FFD498 transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 212, 152, 0.5);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 212, 152, 0.8);
}
