/*
Theme Name: Beda Kurumsal Tema
Author: Gemini
Description: Profesyonel kurumsal tedarik teması.
Version: 1.0
*/

:root {
    --primary: #0F2B4C;
    --primary-light: #1a4475;
    --accent: #E67E22;
    --success: #25D366;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --text-main: #2C3E50;
    --text-muted: #6c757d;
    --border: #DEE2E6;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TOP BAR */
.top-bar { background-color: var(--primary); color: rgba(255,255,255,0.9); padding: 8px 5%; font-size: 0.8rem; display: flex; justify-content: space-between; align-items: center; }

/* HEADER */
header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 15px 5%; gap: 20px; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); display: flex; flex-direction: column; }
.logo span { color: var(--accent); }
.logo small { font-size: 0.7rem; color: var(--text-muted); }

.search-wrapper { flex: 1; max-width: 500px; position: relative; }
.search-wrapper input { width: 100%; padding: 10px 40px 10px 15px; border: 2px solid var(--bg-light); border-radius: 50px; background: var(--bg-light); }
.search-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: var(--primary); color: var(--white); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }

/* NAV */
.nav-container { border-top: 1px solid var(--border); }
.nav-menu { display: flex; padding: 0 5%; }
.nav-link { display: block; padding: 15px 20px; font-weight: 500; color: var(--primary); }

/* HERO */
.hero { background: linear-gradient(rgba(15, 43, 76, 0.85), rgba(15, 43, 76, 0.7)), url('https://placehold.co/1920x600/0f2b4c/ffffff?text=Lojistik+Depo'); background-size: cover; height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero h1 { font-size: 2.8rem; margin-bottom: 20px; }
.btn-whatsapp-hero { background: var(--success); color: white; padding: 15px 35px; border-radius: 50px; font-weight: 700; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }

/* PRODUCT GRID */
.container { width: 90%; max-width: 1300px; margin: 0 auto; padding: 50px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.product-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; }
.card-img { height: 180px; background: #f4f4f4; display: flex; align-items: center; justify-content: center; padding: 15px; position: relative; }
.card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: white; padding: 3px 8px; font-size: 0.65rem; border-radius: 4px; }
.card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.card-code { font-size: 0.7rem; color: var(--text-muted); }
.card-title { font-size: 1rem; color: var(--primary); font-weight: 700; margin: 10px 0; }
.specs-table { width: 100%; font-size: 0.8rem; margin-bottom: 15px; }
.specs-table td:first-child { font-weight: 600; width: 45%; }
.btn-card-wa { margin-top: auto; width: 100%; padding: 10px; border: 1px solid var(--success); color: var(--success); background: white; border-radius: 6px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* FOOTER & STICKY */
footer { background: var(--primary); color: white; padding: 20px 0; text-align: center; margin-top: 50px; }
.sticky-wa { position: fixed; bottom: 25px; right: 25px; background: var(--success); color: white; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 2000; }

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-main { flex-wrap: wrap; }
    .search-wrapper { order: 3; width: 100%; }
    .nav-container { display: none; }
    .hero h1 { font-size: 1.8rem; }