@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --accent-gold: #d4af37;
    --text-main: #ffffff;
    --text-bright: #e2e8f0; /* Okunabilir parlak gri */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Hareketli Gradient Arka Plan */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background: linear-gradient(-45deg, #0a0a0c, #161b22, #0d1117, #0a0a0c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* Okunabilirliği Artırılmış Metin Sınıfları */
.text-muted {
    color: var(--text-bright) !important;
}

#sidebar-wrapper {
    background: rgba(10, 10, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border) !important;
    z-index: 100;
}

.list-group-item-dark {
    color: var(--text-bright) !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: transparent !important;
}

.list-group-item-dark:hover {
    color: var(--accent-gold) !important;
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.02) !important;
}

nav.navbar {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border) !important;
}

.hero-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 6rem 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Fotoğraf İçin Yumuşak Geçiş (Siyah arkaplanın sırıtmasını engeller) */
.product-img {
    height: 350px;
    object-fit: cover;
    background-color: #000;
    border-radius: 20px 20px 0 0;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.btn-custom-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.btn-custom-gold:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
/* =========================================
   MOBİL VE TABLET UYUMU (RESPONSIVE)
   ========================================= */
#wrapper {
    overflow-x: hidden;
    position: relative;
}

/* Mobilde Sidebar'ı Gizle ve Üste Al */
#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -250px;
    transition: margin .3s ease-out;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
}

/* Butona Tıklanınca Menüyü Göster */
#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

/* Mobilde İçerik Alanı */
#page-content-wrapper {
    min-width: 100vw;
    transition: margin .3s ease-out;
}

/* Mobilde Menü Açıldığında Arkaplanı Karartma Efekti (Overlay) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 1030;
}

#wrapper.toggled .sidebar-overlay {
    display: block;
}

/* Masaüstü ve Geniş Tablet Görünümü */
@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0; /* Masaüstünde hep görünür */
        position: static; 
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -250px; 
    }

    .sidebar-overlay, #wrapper.toggled .sidebar-overlay {
        display: none !important;
    }
}