/**
 * ROBUR BREMSE - Modern Premium B2B & Katalog CSS Tasarım Sistemi
 */

:root {
    --robur-blue: #096eaa;
    --robur-blue-dark: #075280;
    --robur-blue-light: #e6f2f9;
    --robur-navy: #0e1c31;
    --robur-navy-dark: #08111e;
    --robur-red: #f42549;
    --robur-red-hover: #d91a3c;
    --robur-gray-dark: #1e293b;
    --robur-gray-body: #475569;
    --robur-gray-light: #f8fafc;
    --robur-border: #e2e8f0;
    --robur-shadow: 0 10px 25px -5px rgba(14, 28, 49, 0.08), 0 8px 10px -6px rgba(14, 28, 49, 0.04);
    --robur-shadow-lg: 0 20px 30px -10px rgba(14, 28, 49, 0.15);
    --robur-radius: 12px;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--robur-gray-body);
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--robur-navy);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--robur-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* TOPBAR */
.topbar {
    background-color: var(--robur-navy-dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: #cbd5e1;
}

.topbar a:hover {
    color: #ffffff;
}

/* HEADER */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-badge {
    background: linear-gradient(135deg, var(--robur-blue), var(--robur-navy));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.brand-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--robur-navy);
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-logo-sub {
    font-size: 11px;
    color: var(--robur-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-top: 3px;
}

/* SEARCH BAR */
.header-search {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.header-search input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--robur-border);
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.25s ease;
    background: #f8fafc;
}

.header-search input:focus {
    outline: none;
    border-color: var(--robur-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(9, 110, 170, 0.12);
}

.header-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--robur-blue);
    font-size: 16px;
    cursor: pointer;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--robur-border);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--robur-navy);
}

.search-result-item:hover {
    background: var(--robur-blue-light);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

/* NAVBAR */
.nav-link-custom {
    color: var(--robur-navy);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--robur-blue);
    background: var(--robur-blue-light);
}

/* HERO SECTION */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(9, 110, 170, 0.15), transparent 40%),
                linear-gradient(135deg, var(--robur-navy-dark) 0%, var(--robur-navy) 100%);
    color: #ffffff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 37, 73, 0.15);
    border: 1px solid rgba(244, 37, 73, 0.3);
    color: #ff8597;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--robur-blue);
    background: linear-gradient(120deg, #38bdf8, #096eaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.hero-stat-item h3 {
    color: #ffffff;
    font-size: 28px;
    margin: 0;
    font-weight: 800;
}

.hero-stat-item p {
    color: #94a3b8;
    margin: 0;
    font-size: 13px;
}

/* BUTTONS */
.btn-robur-primary {
    background: var(--robur-blue);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(9, 110, 170, 0.35);
    transition: all 0.25s ease;
}

.btn-robur-primary:hover {
    background: var(--robur-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 110, 170, 0.45);
}

.btn-robur-red {
    background: var(--robur-red);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(244, 37, 73, 0.35);
    transition: all 0.25s ease;
}

.btn-robur-red:hover {
    background: var(--robur-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-robur-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-robur-outline:hover {
    background: #ffffff;
    color: var(--robur-navy);
    border-color: #ffffff;
}

/* PRODUCT CARD */
.product-card {
    background: #ffffff;
    border: 1px solid var(--robur-border);
    border-radius: var(--robur-radius);
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--robur-shadow-lg);
    border-color: #cbd5e1;
}

.product-card-img-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

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

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.06);
}

.product-card-code {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 17px;
    color: var(--robur-blue);
    margin-bottom: 4px;
    display: block;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--robur-navy);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
}

.product-card-oems {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* OEM TAG BADGE */
.oem-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--robur-navy);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.oem-tag-badge:hover {
    background: var(--robur-blue);
    color: #ffffff;
    border-color: var(--robur-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(9, 110, 170, 0.2);
}

.oem-tag-badge .badge-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

.oem-tag-badge:hover .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* FOOTER */
.main-footer {
    background: var(--robur-navy-dark);
    color: #94a3b8;
    padding: 70px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--robur-blue);
}

.footer-title {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--robur-red);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--robur-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 25px;
    font-size: 13px;
    color: #64748b;
}

/* TOAST BİLDİRİM */
.toast-notification {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--robur-navy);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border-left: 4px solid var(--robur-blue);
}
