html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    background-color: #ededed;
}

.detail-body {
   background-color: #fff;
    
}

.info-bar a {
    margin-right: 15px;
}

a {
    color: #212529 !important;

}

.social-text {
    color: #ffffff !important
}
.card {
    margin-bottom: 20px;
}

.btn-group .btn {
    margin-right: 10px;
}

.navbar-nav .nav-item .nav-link i {
    font-size: 1.5rem;
    vertical-align: middle;
}

.navbar {
    border-bottom: 1px solid #e0e0e0;
}

footer {
    flex-shrink: 0;
}

footer .social-icons a {
    margin-right: 10px;
    color: #fff;
}

footer .social-icons a:hover {
    color: #ddd;
}

footer p {
    margin: 0;
}

footer .list-unstyled li {
    margin-bottom: 10px;
}

footer .list-unstyled a:hover {
    color: #ddd;
}

.text-center .btn-group {
    justify-content: center;
}

.btn-category {
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.btn-category i {
    margin-right: 10px;
    font-size: 24px;
}

.nav-tabs .nav-link {
    border: none;
    color: #555;
    font-size: 16px;
}

.nav-tabs {
    border-bottom: 1px; !important;
}

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

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Kart içeriğini başlık ve açıklama arasında dengeler */
}

.card-body h5 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px; /* Başlık ile açıklama arasındaki boşluğu azaltır */
}

.card-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px; /* Açıklama ile buton arasındaki boşluğu azaltır */
}

.card-body .btn {
    background-color: #944d00;
    color: #fff !important;
    border: none;
    border-radius: 50px;
}

.card-body .btn:hover {
    background-color: #c37219;
}

.input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.input-group .form-control {
    border-right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

.card-body .d-flex {
    margin-top: auto;
}

.input-group {
    flex: 1;
    margin-right: 10px;
}

.input-group input {
    width: 70px;
}

.card-body .d-flex .btn {
    white-space: nowrap;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #944d00 !important;
    border-color: #944d00 !important;
}

.fa-envelope:before {
    content: "\f0e0";
    color: white !important;
}

.ri-whatsapp-line:before {
    color: white !important;
}

 /* Sepet Yan Menüsü */
        .cart-sidebar {
            position: fixed;
            right: -400px;
            top: 0;
            width: 400px;
            height: 100%;
            background-color: #fff;
            box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
            transition: right 0.3s ease;
            z-index: 1050;
        }

        .cart-sidebar.active {
            right: 0;
        }

        .cart-header {
            padding: 20px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-body {
            padding: 20px;
            overflow-y: auto;
            height: calc(100% - 160px); /* Sepet başlık ve alt kısımlarını hesaba kat */
        }

        .cart-footer {
            padding: 20px;
            background-color: #f8f9fa;
            border-top: 1px solid #e9ecef;
        }

        #cart-count {
            margin-left: 5px;
            font-size: 0.8rem;
        }

        #cart-icon {
            position: relative;
        }

        #cart-icon .badge {
            position: absolute;
            top: 0;
            right: 0;
            transform: translate(50%, -50%);
        }
        
        .navbar-light .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

}


/* Bağış Detayları */
.donation-details {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-top: 20px;
}

.donation-description {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 10px;
}

.donation-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.donation-images img {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    width: 50px;
    height: 50px;
}

.donation-images img:hover {
    border-color: #007bff;
}

/* Info bar'ın mobilde gizlenmesi */
@media (max-width: 767px) {
    .info-bar {
        display: none;
    }
}

/* Logonun mobilde küçültülmesi */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 25px; /* Burada logonun mobildeki yüksekliğini ayarlayabilirsiniz */
    }
}

@media (max-width: 768px) {
    .navbar .navbar-brand {
        margin-right: auto;
    }
    .navbar .navbar-icons {
        display: flex;
        align-items: center;
    }
    .navbar .navbar-icons .nav-link {
        padding-left: 0.1rem;
        padding-right: 0.6rem;
    }
    .navbar .navbar-toggler {
        margin-left: 1rem;
    }
}

/* Common styles for the cart sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 97%;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1050;
}

.cart-sidebar.open {
    right: 0;
}

/* Specific styles for mobile and desktop */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .cart-sidebar.open {
        right: 0;
    }
}

.cart-sidebar {
    position: fixed;
    right: -500px;
    top: 0;
    width: 400px;
    height: 97%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1050;
}

.cart-sidebar.active {
    right: 0;
}

/* Desktop için sepet ikonu */
#cart-icon-desktop {
    position: relative;
}

#cart-icon-desktop .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: translate(50%, -50%);
    background-color: #944d00;
    color: white;
    border-radius: 50%;
    padding: 4px 7px;
}

/* Mobile için sepet ikonu */
#cart-icon-mobile {
    position: relative;
}

#cart-icon-mobile .badge {
    position: absolute;
    top: 10px;
    right: 5px;
    transform: translate(50%, -50%);
    background-color: #944d00;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.9rem;
}

/* Navbar içeriği */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link .far.fa-user {
    font-size: 1.5rem; /* Icon boyutunu büyütür */
}

#cart-icon-mobile {
    position: relative;
    font-size: 1.5rem; /* Icon boyutunu büyütür */
}

/* Genel stil */
.custom-tabs .nav-item {
    margin-right: 15px;
}

.custom-tabs .nav-link {
    background-color: #f8f9fa;
    border-radius: 60px;
    padding: 9px 30px;
    font-size: 17px;
    color: #000;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-decoration: unset;
}

.custom-tabs .nav-link i {
    margin-right: 10px;
    font-size: 20px;
}

.custom-tabs .nav-link.active {
    background-color: #944d00bf;
    color: #fff;
    font-weight: bold;
}



/* Mobil görünüm için */
@media (max-width: 768px) {
    .custom-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: clip;
      
    }



    .custom-tabs .nav-item {
        flex: 0 0 auto;
        margin-right: 10px;
    }

    .custom-tabs .nav-link {
        padding: 6px 20px; /* Padding'i azalt */
        font-size: 14px; /* Font boyutunu azalt */
    }

    .custom-tabs .nav-link i {
        margin-right: 5px; /* İkon ve metin arasındaki boşluğu azalt */
        font-size: 18px; /* İkon boyutunu azalt */
    }
}

@media (max-width: 740px) {
    .custom-tabs .nav-link {
        padding: 6px 15px;
        font-size: 15px;
    }
}

@media (max-width: 740px) {
    .cart-sidebar {
    position: fixed;
    
    top: 0;
    width: 360px;
    height: 97%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1050;
}
    
}
/* Karanlık Mod mobile */
       html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    background-color: #ededed;
}

.detail-body {
   background-color: #fff;
    
}

.info-bar a {
    margin-right: 15px;
}

a {
    color: #212529 !important;

}

.social-text {
    color: #ffffff !important
}
.card {
    margin-bottom: 20px;
}

.btn-group .btn {
    margin-right: 10px;
}

.navbar-nav .nav-item .nav-link i {
    font-size: 1.5rem;
    vertical-align: middle;
}

.navbar {
    border-bottom: 1px solid #e0e0e0;
}

footer {
    flex-shrink: 0;
}

footer .social-icons a {
    margin-right: 10px;
    color: #fff;
}

footer .social-icons a:hover {
    color: #ddd;
}

footer p {
    margin: 0;
}

footer .list-unstyled li {
    margin-bottom: 10px;
}

footer .list-unstyled a:hover {
    color: #ddd;
}

.text-center .btn-group {
    justify-content: center;
}

.btn-category {
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.btn-category i {
    margin-right: 10px;
    font-size: 24px;
}

.nav-tabs .nav-link {
    border: none;
    color: #555;
    font-size: 16px;
}

.nav-tabs {
    border-bottom: 1px; !important;
}

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

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Kart içeriğini başlık ve açıklama arasında dengeler */
}

.card-body h5 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px; /* Başlık ile açıklama arasındaki boşluğu azaltır */
}

.card-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px; /* Açıklama ile buton arasındaki boşluğu azaltır */
}

.card-body .btn {
    background-color: #944d00;
    color: #fff;
    border: none;
    border-radius: 50px;
}

.card-body .btn:hover {
    background-color: #c37219;
}

.input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.input-group .form-control {
    border-right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

.card-body .d-flex {
    margin-top: auto;
}

.input-group {
    flex: 1;
    margin-right: 10px;
}

.input-group input {
    width: 70px;
}

.card-body .d-flex .btn {
    white-space: nowrap;
}

 /* Sepet Yan Menüsü */
        .cart-sidebar {
            position: fixed;
            right: -400px;
            top: 0;
            width: 400px;
            height: 100%;
            background-color: #fff;
            box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
            transition: right 0.3s ease;
            z-index: 1050;
        }

        .cart-sidebar.active {
            right: 0;
        }

        .cart-header {
            padding: 20px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-body {
            padding: 20px;
            overflow-y: auto;
            height: calc(100% - 160px); /* Sepet başlık ve alt kısımlarını hesaba kat */
        }

        .cart-footer {
            padding: 20px;
            background-color: #f8f9fa;
            border-top: 1px solid #e9ecef;
        }

        #cart-count {
            margin-left: 5px;
            font-size: 0.8rem;
        }

        #cart-icon {
            position: relative;
        }

        #cart-icon .badge {
            position: absolute;
            top: 0;
            right: 0;
            transform: translate(50%, -50%);
        }
        
        .navbar-light .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

}


/* Bağış Detayları */
.donation-details {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-top: 20px;
}

.donation-description {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 10px;
}

.donation-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.donation-images img {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    width: 50px;
    height: 50px;
}

.donation-images img:hover {
    border-color: #007bff;
}

/* Info bar'ın mobilde gizlenmesi */
@media (max-width: 767px) {
    .info-bar {
        display: none;
    }
}

/* Logonun mobilde küçültülmesi */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 25px; /* Burada logonun mobildeki yüksekliğini ayarlayabilirsiniz */
    }
}

@media (max-width: 768px) {
    .navbar .navbar-brand {
        margin-right: auto;
    }
    .navbar .navbar-icons {
        display: flex;
        align-items: center;
    }
    .navbar .navbar-icons .nav-link {
        padding-left: 0.1rem;
        padding-right: 0.6rem;
    }
    .navbar .navbar-toggler {
        margin-left: 1rem;
    }
}

/* Common styles for the cart sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 97%;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1050;
}

.cart-sidebar.open {
    right: 0;
}

/* Specific styles for mobile and desktop */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .cart-sidebar.open {
        right: 0;
    }
}

.cart-sidebar {
    position: fixed;
    right: -500px;
    top: 0;
    width: 400px;
    height: 97%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1050;
}

.cart-sidebar.active {
    right: 0;
}

/* Desktop için sepet ikonu */
#cart-icon-desktop {
    position: relative;
}

#cart-icon-desktop .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: translate(50%, -50%);
    background-color: #944d00;
    color: white;
    border-radius: 50%;
    padding: 4px 7px;
}

/* Mobile için sepet ikonu */
#cart-icon-mobile {
    position: relative;
}

#cart-icon-mobile .badge {
    position: absolute;
    top: 10px;
    right: 5px;
    transform: translate(50%, -50%);
    background-color: #944d00;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.9rem;
}

/* Navbar içeriği */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link .far.fa-user {
    font-size: 1.5rem; /* Icon boyutunu büyütür */
}

#cart-icon-mobile {
    position: relative;
    font-size: 1.5rem; /* Icon boyutunu büyütür */
}

/* Genel stil */
.custom-tabs .nav-item {
    margin-right: 15px;
}

.custom-tabs .nav-link {
    background-color: #f8f9fa;
    border-radius: 60px;
    padding: 9px 30px;
    font-size: 17px;
    color: #000;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-decoration: unset;
}

.custom-tabs .nav-link i {
    margin-right: 10px;
    font-size: 20px;
}

.custom-tabs .nav-link.active {
    background-color: #944d00bf;
    color: #fff !important;
    font-weight: bold;
}

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

/* Mobil görünüm için */
@media (max-width: 768px) {
    .custom-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: clip;
      
    }



    .custom-tabs .nav-item {
        flex: 0 0 auto;
        margin-right: 10px;
    }

    .custom-tabs .nav-link {
        padding: 6px 20px; /* Padding'i azalt */
        font-size: 14px; /* Font boyutunu azalt */
    }

    .custom-tabs .nav-link i {
        margin-right: 5px; /* İkon ve metin arasındaki boşluğu azalt */
        font-size: 18px; /* İkon boyutunu azalt */
    }
}
/* Kart Genel ve Hover (Kabarma) Efekti */
.custom-donation-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px; 
    border: 1px solid #f0f0f0; 
}

.custom-donation-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; 
}

.custom-donation-card .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Alt Kısım (Fiyat ve Buton) Hizalaması */
.custom-donation-card .action-row {
    gap: 12px; /* Elemanlar arası ferahlık */
}

/* Modern Fiyat Seçici (Select & Input) */
.custom-donation-card .donation-amount {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    height: 44px;
    font-weight: 500;
    color: #334155;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.custom-donation-card .donation-amount:focus {
    border-color: #a88a5c; /* Görseldeki butonunuzun tonuna yakın bir focus rengi */
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(168, 138, 92, 0.2);
}

/* Serbest tutar girildiğinde çıkan "₺" simgesi alanı */
.custom-donation-card .input-group-text {
    border-radius: 0 8px 8px 0 !important;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: none;
    height: 44px;
    color: #64748b;
    font-weight: 500;
}

.custom-donation-card input.donation-amount {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Bağış Yap Butonu Modernleştirme */
.custom-donation-card .add-to-cart {
    border-radius: 8px;
    height: 44px;
    font-weight: 600;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.custom-donation-card .add-to-cart:hover {
    transform: scale(1.02); /* Butonun kendi üstüne gelince çok hafif büyümesi */
    filter: brightness(1.1);
}