
/* Temel Değişkenler */
:root {
    --primary: #1daae1;
    --primary-light: #00b1f6;
    --primary-dark: #2b291c;
    --secondary: #6c757d;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #eed7a2;
    --light: #f8f9fa;
    --dark: #343a40;
    --text-dark: #565101;
    --text-medium: #7f8c8d;
    --text-light: #00b1f6;
    --border-color: #0788bb;;
    --background-light: #f8f9fa;
    --shadow: 0 3px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --active-color :#00b1f6;
    --text-dark-shadow: #000;
    --text-light-shadow: #00b1f6;
    --bs-list-group-active-border-color:#00b1f6;
    --bs-list-group-active-bg:#00b1f6;
    --bs-list-group-active-border-color:#00b1f6;
    --bs-primary-rgb:var(167, 140, 73);
    --mgx-warning-rgb: 166, 139, 72;

} 



/* Genel Stil İyileştirmeleri */
body {
    color: var(--text-dark);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 400;
}
.mgtext-light{
    color: var(--text-light);
    text-shadow: 1px 1px 2px var(--text-dark-shadow);
}
.mgtext-light-slide{
    color: var(--text-light);
    text-shadow: 28px 50px 8px #242424ad;
}


.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 15px 20px;
}

/* Başlık Sayfası Stilleri */
.page-title-section {
    background: var(--background-light);
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--text-medium);
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Ürün Kartları */
.product-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 20px;
}

.product-name {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-name a {
    color: var(--text-dark);
    text-decoration: none;
}

.product-name a:hover {
    color: var(--primary);
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 10px 0;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: #dee2e6;
    background-color: #f9f9f9;
}

/* Form Elemanları */
.form-control {
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(90, 125, 154, 0.25);
}

/* Bölüm Başlıkları */
.section-title {
    position: relative;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 3px;
    width: 60px;
    background: var(--primary);
}

.section-subtitle {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
.mgx-profile-Menu{
    background: var(--dark);
    color: var(--text-light);
}
.mgx-profile-Menu h5{
    color: var(--text-light);
}

.mg-profillist{
    background: var(--dark);
    color: var(--text-light);
}
.mg-profillist:hover{
    background: var(--dark);
    color: var(--text-light);
}



/* Ürün Header - Arkaplan Resmi ile */
.product-header-section {
    position: relative;
    padding: 20px 0;
    margin-bottom: 30px;
    background-image: url('../images/menubanner.jpg'); /* Arkaplan resim yolu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* Overlay ekleyerek metin okunabilirliğini artırma */
.product-header-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah overlay */
    z-index: 1;
}

.product-header {
    position: relative;
    z-index: 2; /* Overlay'in üzerinde göstermek için */
    text-align: center;
}

.product-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212528;
    text-shadow: 0 1px 1px rgb(255 249 249 / 97%);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    color: var(--text-medium);
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Ürün Konteyneri */
.product-section {
    padding: 0 0 60px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

/* Ürün Galerisi */
.product-gallery-container {
    position: sticky;
    top: 20px;
}

.product-gallery .main-image {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.product-gallery .main-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-gallery .thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.product-gallery .thumbnail {
    height: 80px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-gallery .thumbnail:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.product-gallery .thumbnail img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: #dee2e6;
    font-size: 64px;
}

/* Ürün Bilgiler */
.product-info {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--text-medium);
    font-size: 14px;
}

.product-meta a {
    color: var(--primary);
    text-decoration: none;
}

.product-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-short-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Ürün Seçenekleri */
.option-group {
    margin-bottom: 25px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.option-header label {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 16px;
}

.required-badge {
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
}

.option-radio, .option-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.radio-item, .checkbox-item {
    position: relative;
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-item label, .checkbox-item label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: var(--background-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-item label:hover, .checkbox-item label:hover {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.option-input:checked + label {
    background: white;
    box-shadow: 0 0 0 2px var(--primary);
}

.color-preview {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid rgba(0,0,0,0.1);
}

.image-preview {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.option-name {
    flex-grow: 1;
}

.price-diff {
    font-size: 12px;
    color: #27ae60;
}

select.option-input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
    color: var(--text-dark);
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237f8c8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    position: relative;
    opacity: 1;
}

select.option-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
    border-color: var(--primary);
}

.select-preview {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

/* Miktar Kontrolü */
.quantity-control {
    margin-bottom: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 16px;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    width: 140px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-down {
    border-radius: 6px 0 0 6px;
}

.quantity-up {
    border-radius: 0 6px 6px 0;
}

.quantity-btn:hover {
    background-color: var(--primary-light);
    color: white;
}

#quantity {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    --moz-appearance: textfield;
    background: white;
}

#quantity::-webkit-outer-spin-button, 
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-info {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
}

/* Sepet Aksiyonu */
.cart-actions {
    margin-top: 30px;
}

.btn-add-to-cart {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-add-to-cart i {
    margin-right: 8px;
}

/* Tab'lar */
.product-details-tabs {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

.tabs-navigation {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.tab-item {
    padding: 15px 25px;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tabs-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.product-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.product-description p {
    margin-bottom: 15px;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.empty-content {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 30px 0;
}

.features-table {
    width: 100%;
    overflow-x: auto;
}

.features-table table {
    width: 100%;
    border-collapse: collapse;
}

.features-table th {
    width: 30%;
    text-align: left;
    padding: 12px 15px;
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
    font-weight: 600;
}

.features-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.features-table tr:last-child th,
.features-table tr:last-child td {
    border-bottom: none;
}

/* Benzer Ürünler */
.similar-products-section {
    margin-top: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card .product-image {
    height: 200px;
    overflow: hidden;
    display: block;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-content {
    padding: 20px;
}

.product-card .product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .product-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card .product-name a:hover {
    color: var(--primary);
}

.product-card .product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-card .btn-view-product {
    display: inline-block;
    padding: 8px 15px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-card .btn-view-product:hover {
    background: var(--primary-dark);
}

@media (max-width: 991px) {
    .product-header h1 {
        font-size: 28px;
    }
    
    .product-gallery .main-image {
        height: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 767px) {
    .product-header-section {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    
    .product-gallery .main-image {
        height: 300px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .option-radio, .option-checkbox {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .tabs-navigation {
        flex-wrap: wrap;
    }
    
    .tab-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

 /* Sepete eklendi bildirimi */
 .cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    width: 320px;
    overflow: hidden;
    z-index: 9999;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    padding: 15px;
}

.check-icon {
    width: 40px;
    height: 40px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.notification-text {
    flex-grow: 1;
}

.notification-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.notification-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-medium);
}

.notification-actions {
    border-top: 1px solid var(--border-color);
    padding: 10px 15px;
    text-align: right;
}

.btn-view-cart {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn-view-cart:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: white;
}

.koleksiyon-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    background-image: url('../images/menubanner.jpg'); /* Arkaplan resim yolu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.mgx-warning {
    --bs-bg-opacity: 1;
    background-color: var(--light) !important;
    color: var(--secondary) !important;
    border:1.5px solid var(--text-light) !important;
}
.list-group-item-action {
    z-index: 1;
    color: var(--secondary);
    text-decoration: none;
}
.list-group-item-action:focus, .list-group-item-action:hover {
    z-index: 1;
    color: var(--primary);
    text-decoration: none;
}
.mgactive{
    background: var(--dark); 
    color: var(--text-light); 
}