:root{--navy:#071b45;--blue:#2563eb;--soft:#f4f7fb;--text:#172033;--muted:#64748b;--line:#e5e7eb;--danger:#dc2626;--success:#16a34a;--shadow:0 18px 50px rgba(15,23,42,.10);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--soft);color:var(--text);padding-top:74px}a{text-decoration:none;color:inherit}button,input,select,textarea{font-family:inherit}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin:auto}
.loader{position:fixed;inset:0;background:#fff;z-index:999999;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.loader.hide{display:none}.spinner{width:54px;height:54px;border:6px solid #dbeafe;border-top-color:var(--blue);border-radius:999px;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.navbar{background:white;position:fixed;top:0;left:0;width:100%;z-index:99999;box-shadow:0 4px 18px rgba(15,23,42,.08)}.nav-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--navy);font-size:21px}.logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--navy),var(--blue));color:white;display:grid;place-items:center;font-weight:900;overflow:hidden}.logo img{width:100%;height:100%;object-fit:cover}.nav-links{display:flex;gap:8px;align-items:center}.nav-links a{padding:11px 13px;border-radius:12px;font-weight:800;font-size:14px;color:#334155}.nav-links a:hover,.nav-links a.active{background:#eff6ff;color:var(--blue)}.menu-toggle{display:none}
.btn{border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:14px;font-weight:900;background:var(--blue);color:white;transition:.2s}.btn:hover{transform:translateY(-1px);filter:brightness(.96)}.btn.light{background:#eef4ff;color:var(--blue)}.btn.dark{background:var(--navy)}.btn.red{background:var(--danger)}.btn.green{background:var(--success)}.btn.gray{background:#e2e8f0;color:#0f172a}
.hero{background:linear-gradient(135deg,#071b45,#1d4ed8);color:white;padding:86px 0}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px}.hero h1{font-size:clamp(34px,5vw,62px);line-height:1.05;margin:16px 0}.hero p{font-size:18px;line-height:1.75;color:#e5edff}.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:999px;font-weight:900}.hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:28px;padding:25px;box-shadow:var(--shadow)}
.section{padding:70px 0}.section-head{text-align:center;max-width:760px;margin:0 auto 34px}.section-head h2{color:var(--navy);font-size:clamp(28px,4vw,42px);margin:0 0 12px}.section-head p{color:var(--muted);line-height:1.7}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 12px 35px rgba(15,23,42,.07)}.card-body{padding:20px}.card h3{margin:0 0 10px;color:var(--navy)}.card p{color:var(--muted);line-height:1.65}.product-img{width:100%;height:220px;object-fit:cover;background:#dbeafe}.price{color:var(--blue);font-size:24px;font-weight:900}.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.page-title{background:linear-gradient(135deg,var(--navy),var(--blue));color:white;padding:54px 0}.page-title h1{font-size:42px;margin:0 0 8px}.page-title p{color:#dbeafe;margin:0}
.form-card{background:white;border-radius:24px;padding:24px;box-shadow:var(--shadow);border:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:900;color:#334155;font-size:14px}.field input,.field select,.field textarea{border:1px solid #dbe3ef;border-radius:14px;padding:13px 14px;outline:none;background:white}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(29,78,216,.10)}
.table-wrap{overflow:auto;background:white;border-radius:18px;border:1px solid var(--line)}table{width:100%;border-collapse:collapse}th,td{padding:13px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;vertical-align:top}th{background:#f8fafc;color:#334155}.status{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;display:inline-flex}.status.Yayında,.status.Onaylandı,.status.Tamamlandı{background:#ecfdf5;color:#15803d}.status.Kapalı,.status.İptal{background:#fef2f2;color:#b91c1c}.status.Beklemede,.status.Yeni{background:#fff7ed;color:#c2410c}.status.Okundu,.status.Cevaplandı{background:#eff6ff;color:#1d4ed8}
.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 74px)}.sidebar{background:var(--navy);color:white;padding:24px}.sidebar h2{margin-top:0}.sidebar button,.sidebar a{display:flex;width:100%;border:none;background:transparent;color:#dbeafe;padding:12px;border-radius:12px;cursor:pointer;font-weight:900;text-align:left}.sidebar button:hover,.sidebar a:hover,.sidebar .active{background:rgba(255,255,255,.12);color:white}.admin-main{padding:24px}.panel{display:none}.panel.active{display:block}
.cart-item{display:grid;grid-template-columns:90px 1fr auto;gap:14px;align-items:center;background:white;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:14px}.cart-item img{width:90px;height:74px;object-fit:cover;border-radius:14px}.footer{background:#061633;color:white;padding:45px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}.footer p,.footer a{color:#cbd5e1;line-height:1.75}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#cbd5e1}.alert{padding:13px 15px;border-radius:14px;margin:12px 0;font-weight:900}.alert.ok{background:#ecfdf5;color:#15803d}.alert.err{background:#fef2f2;color:#b91c1c}.alert.info{background:#eff6ff;color:#1d4ed8}.hidden{display:none!important}.copy-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:12px;word-break:break-all;display:block}.float-contact{position:fixed;right:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:90}.float-contact a{width:52px;height:52px;border-radius:999px;display:grid;place-items:center;color:white;box-shadow:0 10px 25px rgba(0,0,0,.18);font-size:21px}.float-contact .wa{background:#25d366}.float-contact .phone{background:var(--blue)}
@media(max-width:900px){.hero-grid,.grid,.form-grid,.footer-grid{grid-template-columns:1fr}.menu-toggle{display:inline-grid}.nav-links{position:fixed;left:0;right:0;top:74px;background:white;padding:16px;display:none;flex-direction:column;align-items:stretch;box-shadow:0 18px 30px rgba(0,0,0,.12)}.nav-links.open{display:flex}.admin-layout{grid-template-columns:1fr}.sidebar{position:relative}.cart-item{grid-template-columns:70px 1fr}.cart-item .btn{grid-column:1/-1}}
