/* ── KARDAYIM Modern Design System v2 ──────────────────────────────── */
/* Proton Güvenlik ilhamlı, premium B2B e-ticaret teması              */

:root {
    /* Core Palette - Warm Professional */
    --bg-app: #f5f5f5;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-dim: #737373;

    --primary: #1d4ed8;
    --primary-soft: rgba(29, 78, 216, 0.08);
    --primary-dark: #1e40af;
    --secondary: #1CAA00;
    --secondary-soft: rgba(28, 170, 0, 0.08);

    --brand-success: #1CAA00;
    --brand-success-soft: rgba(28, 170, 0, 0.08);

    --border-color: rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 24px rgba(29, 78, 216, 0.18);
}

/* ── Base Styles ────────────────────────────── */
body {
    background-color: var(--bg-app);
    color: var(--text-main);
    font-family: 'Poppins', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Poppins', sans-serif;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Components ────────────────────────────── */

/* Glassmorphism Light */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Buttons */
.btn-premium {
    background: var(--text-main);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-premium:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

/* Inputs */
.input-premium {
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.input-premium:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* Product Card Light */
.product-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

/* Badge System */
.badge-premium {
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
}

.badge-success {
    background: var(--brand-success-soft);
    color: var(--brand-success);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Navigation Links */
.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Favorite Glow */
.fav-active {
    color: #f43f5e;
    filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.3));
}

/* ── Catalog Filter Panel (Light) ────────────────────────────── */
.catalog-filter-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    box-shadow: var(--shadow-md);
}

.catalog-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.catalog-pill:hover, .catalog-pill.active {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Header Adjustments */
header.sticky {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.9);
}

.text-dim { color: var(--text-dim); }
.text-primary { color: var(--primary); }
.text-brand-success { color: var(--brand-success); }
