/* ============================================================
   DEP Teknoloji — VETDEP B2B Marketplace
   Ana Stil Dosyası
   ============================================================ */

:root {
    --vet-primary: #1a5f3f;
    --vet-secondary: #2d8a60;
    --vet-accent: #f5a623;
    --vet-dark: #0d3321;
    --vet-light: #e8f5ee;
    --vet-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* Topbar */
.topbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.82rem;
}

/* Navbar */
.bg-vet {
    background: linear-gradient(135deg, var(--vet-dark) 0%, var(--vet-primary) 100%) !important;
}

.brand-logo {
    width: 42px; height: 42px;
    background: var(--vet-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--vet-dark);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.brand-slogan {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--vet-dark) 0%, var(--vet-primary) 60%, var(--vet-secondary) 100%);
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px; height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container { position: relative; z-index: 2; }

/* Kategori Kartları */
.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-decoration: none;
    color: #333;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-card:hover {
    border-color: var(--vet-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,95,63,0.15);
    color: var(--vet-primary);
}

.category-icon {
    width: 60px; height: 60px;
    background: var(--vet-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--vet-primary);
    margin: 0 auto 12px;
}

.category-card:hover .category-icon {
    background: var(--vet-primary);
    color: #fff;
}

/* Ürün Kartları */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-card .product-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-card .product-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--vet-light), #d1e8d8);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    color: var(--vet-secondary);
}

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

.product-card .firma-badge {
    font-size: 0.72rem;
    color: var(--vet-secondary);
    font-weight: 600;
}

.product-card h6 {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 2.5em;
}

.price-badge {
    background: var(--vet-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-locked {
    background: #6c757d;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
}

/* Kampanya Badge */
.badge-kampanya {
    background: var(--vet-accent);
    color: var(--vet-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Üyelik Kartları */
.membership-card {
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.membership-card.klinik { border-color: var(--vet-primary); background: var(--vet-light); }
.membership-card.ciftlik { border-color: #8B6914; background: #fdf8ec; }
.membership-card.firma { border-color: #1a3a6f; background: #eef2ff; }

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

/* Formlar */
.form-section {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-label { font-weight: 600; font-size: 0.88rem; color: #555; }
.form-control, .form-select { border-radius: 8px; border: 1.5px solid #ddd; font-size: 0.9rem; }
.form-control:focus, .form-select:focus {
    border-color: var(--vet-primary);
    box-shadow: 0 0 0 3px rgba(26,95,63,0.1);
}

/* Butonlar */
.btn-vet {
    background: var(--vet-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

.btn-vet:hover { background: var(--vet-dark); color: #fff; }

/* Panel Sidebar */
.sidebar-nav {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-nav .nav-link {
    border-radius: 8px;
    color: #555;
    font-size: 0.88rem;
    padding: 10px 14px;
    margin-bottom: 2px;
    transition: all 0.2s;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: var(--vet-light);
    color: var(--vet-primary);
    font-weight: 600;
}

.sidebar-nav .nav-link i { width: 20px; }

/* Panel Kartları */
.panel-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.stat-card {
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.stat-card.green  { background: linear-gradient(135deg, var(--vet-primary), var(--vet-secondary)); }
.stat-card.orange { background: linear-gradient(135deg, #e07b39, #f5a623); }
.stat-card.blue   { background: linear-gradient(135deg, #1a3a6f, #2d5fb5); }
.stat-card.red    { background: linear-gradient(135deg, #9e2a2b, #d04040); }

.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
a .stat-card { transition: all 0.3s; }

/* Tablo */
.table-vet th { background: var(--vet-primary); color: #fff; font-size: 0.82rem; font-weight: 600; }
.table-vet tbody tr:hover { background: var(--vet-light); }

/* Footer */
.footer { background: #0d1f18; }
.footer-top { border-bottom: 1px solid #1a2e23; }
.footer-bottom { background: #0a1812; }
.footer-top p, .footer-top small, .footer-top li, .footer-top ul { color: #adb5bd !important; }
.footer-top h5, .footer-top h6 { color: #fff !important; }
.footer-bottom small, .footer-bottom .text-muted { color: #adb5bd !important; }
.footer-link { color: #adb5bd; text-decoration: none; display: block; margin-bottom: 6px; font-size: 0.85rem; }
.footer-link:hover { color: var(--vet-accent); }

/* Sipariş Durumu Badge */
.badge-yeni      { background: #17a2b8; }
.badge-hazirlaniyor { background: #f5a623; color: #333; }
.badge-kargoda   { background: #007bff; }
.badge-teslim    { background: #28a745; }
.badge-iptal     { background: #dc3545; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 24px 0 16px; }
    .hero-section h1 { font-size: 1.5rem !important; }
    .hero-section .lead { font-size: 0.9rem !important; margin-bottom: 10px !important; }
    .hero-section .row.mt-5 { margin-top: 1rem !important; }
    .form-section { padding: 20px; }
}
