﻿/* Ana Stiller */
:root {
    --primary-red: #c0392b;
    --primary-dark: #1a1a1a;
    --primary-gold: #f1c40f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* Özel Scroll Bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #c0392b;
    border-radius: 5px;
}

/* Hover Efektleri */
.hover-text-danger:hover {
    color: #c0392b !important;
    transition: all 0.3s ease;
}

/* Navbar Linkleri */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover {
    color: #c0392b !important;
}

.navbar .nav-link.active {
    color: #c0392b !important;
}
/* ===== GENEL RENK DÜZENİ ===== */
body {
    background: #f4f6f8;
    color: #1a1a1a;
}

/* ===== AÇIK RENKLİ BANNER ===== */
.search-box {
    background: #fff;
    border-radius: 60px;
    padding: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 8px 35px rgba(192,57,43,0.15);
}

.search-box input {
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 60px 0 0 60px;
    outline: none;
    width: 100%;
    background: transparent;
    color: #1a1a1a;
}

.search-box input::placeholder {
    color: #aaa;
}

.search-box .btn {
    border-radius: 60px;
    padding: 15px 35px;
    font-weight: 600;
}

/* ===== MARKA KARTLARI (Küçük) ===== */
.col-lg-1 .brand-card {
    padding: 8px 4px !important;
}

.col-lg-1 .brand-card img {
    height: 30px !important;
}

.col-lg-1 .brand-card small {
    font-size: 0.6rem !important;
}

/* ===== ÜRÜN KARTLARI (Küçük) ===== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #c0392b;
}

.product-card .product-image {
    height: 160px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    max-height: 140px;
    object-fit: contain;
    transition: all 0.5s ease;
    padding: 8px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-body {
    padding: 12px;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== ARAMA ÖNERİLERİ ===== */
#aramaOnerileri {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

#aramaOnerileri .list-group-item {
    border: none;
    padding: 10px 20px;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

#aramaOnerileri .list-group-item:hover {
    background: #f8f9fa;
}

#aramaOnerileri .list-group-item strong {
    color: #1a1a1a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        border-radius: 20px !important;
        padding: 10px !important;
    }
    
    .search-box input {
        border-radius: 20px !important;
        padding: 12px 20px !important;
        margin-bottom: 8px;
        border: 1px solid #e9ecef !important;
    }
    
    .search-box .btn {
        border-radius: 20px !important;
        width: 100%;
        padding: 12px !important;
    }
    
    .product-card .product-image {
        height: 120px;
    }
    
    .product-card .product-image img {
        max-height: 100px;
    }
    
    .col-lg-1.col-md-2.col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #c0392b;
    border-radius: 10px;
}

/* Marka Logoları */
.brand-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    cursor: pointer;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Banner - Eski Banner'ı güzel göstermek için */
.banner-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.banner-container .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192,57,43,0.7) 0%, rgba(0,0,0,0.8) 100%);
}

.banner-container .banner-text {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
}

.banner-container .banner-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-container .banner-text .btn-banner {
    background: #f1c40f;
    color: #1a1a1a;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.banner-container .banner-text .btn-banner:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Arama Kutusu */
.search-box {
    background: #fff;
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 15px 50px rgba(192,57,43,0.2);
    transform: translateY(-2px);
}

.search-box input {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-radius: 60px 0 0 60px;
    outline: none;
    width: 100%;
    background: transparent;
}

.search-box .btn-search {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-box .btn-search:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(192,57,43,0.4);
}

/* Ürün Kartları */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-card .product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    padding: 10px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-body {
    padding: 20px;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
}

.product-card .product-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.product-card .product-title a:hover {
    color: #c0392b;
}

.product-card .product-meta {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.product-card .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c0392b;
}

.product-card .product-stock {
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card .stock-in {
    color: #27ae60;
}
.product-card .stock-out {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-container .banner-text h1 {
        font-size: 2rem;
    }
    
    .search-box {
        border-radius: 30px;
    }
    
    .search-box input {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .search-box .btn-search {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Admin Panel Özel */
.admin-sidebar {
    background: #1a1a1a;
    min-height: 100vh;
    color: #fff;
}

.admin-sidebar .nav-link {
    color: #aaa;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover {
    background: #2c2c2c;
    color: #fff;
}

.admin-sidebar .nav-link.active {
    background: #c0392b;
    color: #fff;
}

.admin-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(192,57,43,0.1);
    color: #c0392b;
}
/* ===== HERO BÖLÜMÜ ===== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== MARKA KARTLARI ===== */
.brand-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: #c0392b;
}

.brand-card:hover img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* ===== ÜRÜN KARTLARI (Güncel) ===== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #c0392b;
}

.product-card .product-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    max-height: 180px;
    object-fit: contain;
    transition: all 0.5s ease;
    padding: 10px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-body {
    padding: 15px;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .product-meta .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
}

.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== ARAMA ÖNERİLERİ ===== */
#aramaOnerileri {
    position: absolute;
    width: 100%;
    max-width: 600px;
    z-index: 1000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

#aramaOnerileri .list-group-item {
    border: none;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

#aramaOnerileri .list-group-item:hover {
    background: #f8f9fa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 20px !important;
        padding: 10px !important;
    }
    
    .search-box input {
        border-radius: 20px !important;
        padding: 12px 20px !important;
        margin-bottom: 8px;
        border: 1px solid #e9ecef !important;
    }
    
    .search-box .btn {
        border-radius: 20px !important;
        width: 100%;
        padding: 12px !important;
    }
    
    .product-card .product-image {
        height: 150px;
    }
    
    .brand-card {
        padding: 15px 10px !important;
    }
    
    .brand-card img {
        height: 35px !important;
    }
}
/* ===== HEADER'DAKİ MARKA LOGOLARI (Küçült) ===== */
.brand-bar .brand-logo {
    height: 25px !important;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.brand-bar .brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-bar .d-flex {
    gap: 8px !important;
}

.brand-bar .fw-bold {
    font-size: 0.65rem !important;
}

/* ===== MOBİL GÖRÜNÜM ===== */
@media (max-width: 768px) {
    .brand-bar .brand-logo {
        height: 20px !important;
    }
    .brand-bar .d-flex {
        gap: 5px !important;
    }
}
/* ===== GENEL ===== */
:root {
    --primary-green: #4BAF4F;
    --primary-dark: #1a1a1a;
    --primary-light: #f5f7fa;
}
body { font-family: 'Inter', sans-serif; background: #f5f7fa; }

/* ===== ÜRÜN KARTLARI ===== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #4BAF4F;
}
.product-card .product-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-card .product-image img {
    max-height: 160px;
    object-fit: contain;
    padding: 10px;
    transition: all 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-card .product-body {
    padding: 15px;
}
.product-card .product-brand {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card .product-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 0 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card .product-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.product-card .product-title a:hover {
    color: #4BAF4F;
}
.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
.product-card .btn-green {
    background: #4BAF4F;
    color: #fff;
    border: none;
    font-size: 0.75rem;
    transition: all 0.3s;
}
.product-card .btn-green:hover {
    background: #3d9b41;
}

/* ===== OTOMATİK TAMAMLAMA ===== */
#aramaOnerileri .list-group-item {
    border: none;
    padding: 10px 20px;
    transition: all 0.2s ease;
}
#aramaOnerileri .list-group-item:hover {
    background: #f0fdf4;
}
#aramaOnerileri .list-group-item strong {
    color: #1a1a1a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-card .product-image {
        height: 140px;
    }
    .product-card .product-image img {
        max-height: 120px;
    }
    .product-card .product-title {
        font-size: 0.8rem;
        height: 35px;
    }
}/* ===== GENEL ===== */
:root {
    --primary-blue: #2C7BE5;
    --primary-blue-dark: #1a5bb5;
    --primary-red: #e74c3c;
    --primary-red-dark: #c0392b;
    --primary-dark: #1a1a1a;
    --primary-light: #f0f2f5;
}
body { font-family: 'Inter', sans-serif; background: #f0f2f5; }

/* ===== ÜRÜN KARTLARI ===== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}
.product-card .product-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-card .product-image img {
    max-height: 160px;
    object-fit: contain;
    padding: 10px;
    transition: all 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-card .product-body {
    padding: 15px;
}
.product-card .product-brand {
    font-size: 0.7rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card .product-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 0 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card .product-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.product-card .product-title a:hover {
    color: var(--primary-blue);
}
.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
}
.product-card .btn-primary-blue {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    font-size: 0.75rem;
    transition: all 0.3s;
}
.product-card .btn-primary-blue:hover {
    background: var(--primary-blue-dark);
}

/* ===== OTOMATİK TAMAMLAMA ===== */
#aramaOnerileri .list-group-item {
    border: none;
    padding: 10px 20px;
    transition: all 0.2s ease;
}
#aramaOnerileri .list-group-item:hover {
    background: #f0f7ff;
}
#aramaOnerileri .list-group-item strong {
    color: #1a1a1a;
}

/* ===== BADGE RENKLERİ ===== */
.bg-red { background: var(--primary-red) !important; }
.bg-primary-blue { background: var(--primary-blue) !important; }
.text-primary-blue { color: var(--primary-blue) !important; }
.text-red { color: var(--primary-red) !important; }
.btn-red { background: var(--primary-red); border-color: var(--primary-red); color: #fff; }
.btn-red:hover { background: var(--primary-red-dark); border-color: var(--primary-red-dark); color: #fff; }

/* ===== FOOTER RENK DÜZELTMELERİ ===== */
.footer .text-primary-blue { color: var(--primary-blue) !important; }
.footer .text-red { color: var(--primary-red) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-card .product-image {
        height: 140px;
    }
    .product-card .product-image img {
        max-height: 120px;
    }
    .product-card .product-title {
        font-size: 0.8rem;
        height: 35px;
    }
}

/* ===== ÜRÜN KARTI - TIKLANABİLİR ===== */
.product-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #2C7BE5;
}

/* Kartın tamamını kaplayan link */
.product-card .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
    color: transparent;
}

/* Buton link'in üstünde kalsın */
.product-card .product-body .btn {
    position: relative;
    z-index: 2;
}

/* Sepet badge animasyonu */
.cart-badge {
    transition: transform 0.3s ease;
}