:root{
  --navy:#071b45;
  --navy-2:#0d2d6c;
  --blue:#1d4ed8;
  --soft:#f4f7fb;
  --text:#172033;
  --muted:#64748b;
  --line:#e5e7eb;
  --white:#ffffff;
  --danger:#dc2626;
  --success:#16a34a;
  --warning:#f59e0b;
  --radius:18px;
  --shadow:0 18px 50px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--soft);
  color:var(--text);
}
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;
}

.topbar{
  background:var(--navy);
  color:white;
  font-size:14px;
  padding:9px 0;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
}

.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;
}
.brand-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;
}
.brand-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-links a{
  padding:11px 13px;
  border-radius:12px;
  color:#334155;
  font-weight:700;
  font-size:14px;
}
.nav-links a:hover,.nav-links a.active{
  background:#eff6ff;
  color:var(--blue);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.btn{
  border:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  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);color:white}
.btn.red{background:var(--danger)}
.btn.green{background:var(--success)}
.btn.gray{background:#e2e8f0;color:#0f172a}
.icon-btn{
  border:none;
  background:#eef4ff;
  color:var(--navy);
  border-radius:14px;
  width:44px;
  height:44px;
  cursor:pointer;
  font-size:18px;
}
.menu-toggle{display:none}

.cart-pill{
  position:relative;
}
.cart-count{
  position:absolute;
  right:-6px;
  top:-6px;
  background:var(--danger);
  color:white;
  font-size:11px;
  min-width:19px;
  height:19px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:900;
}

.hero{
  background:linear-gradient(135deg,#071b45,#1d4ed8);
  color:white;
  padding:86px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  gap:40px;
}
.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:800;
}
.hero h1{
  font-size:clamp(34px,5vw,64px);
  line-height:1.05;
  margin:18px 0;
}
.hero p{
  font-size:18px;
  line-height:1.75;
  color:#e5edff;
}
.hero-card{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(12px);
  border-radius:28px;
  padding:25px;
  box-shadow:var(--shadow);
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:24px;
}
.stat{
  background:white;
  color:var(--navy);
  border-radius:18px;
  padding:18px;
  text-align:center;
}
.stat strong{font-size:28px;display:block}

.section{padding:72px 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}
.product-img{
  width:100%;
  height:220px;
  object-fit:cover;
  background:#dbeafe;
}
.card h3{margin:0 0 10px;color:var(--navy)}
.card p{color:var(--muted);line-height:1.65}
.price{
  color:var(--blue);
  font-size:24px;
  font-weight:900;
}
.card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.features{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0;
}
.feature{
  background:#eff6ff;
  color:var(--blue);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:800;
}

.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:800;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:120px;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;
}
th{background:#f8fafc;color:#334155}
.status{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  display:inline-flex;
}
.status.Beklemede{background:#fff7ed;color:#c2410c}
.status.Onaylandı{background:#ecfdf5;color:#15803d}
.status.Tamamlandı{background:#eff6ff;color:#1d4ed8}
.status.İptal{background:#fef2f2;color:#b91c1c}

.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 h3{margin-top:0}
.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;
}
.footer-bottom a{color:white;font-weight:900}

.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)}

.loader{
  position:fixed;
  inset:0;
  background:#ffffff;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:14px;
  opacity:1;
}

.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)}}

.alert{
  padding:13px 15px;
  border-radius:14px;
  margin:12px 0;
  font-weight:800;
}
.alert.ok{background:#ecfdf5;color:#15803d}
.alert.err{background:#fef2f2;color:#b91c1c}
.alert.info{background:#eff6ff;color:#1d4ed8}

.admin-layout{
  display:grid;
  grid-template-columns:250px 1fr;
  min-height:100vh;
}
.sidebar{
  background:var(--navy);
  color:white;
  padding:24px;
}
.sidebar a,.sidebar button{
  display:flex;
  width:100%;
  border:none;
  background:transparent;
  color:#dbeafe;
  padding:12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  text-align:left;
}
.sidebar a:hover,.sidebar button:hover,.sidebar .active{
  background:rgba(255,255,255,.12);
  color:white;
}
.admin-main{padding:24px}
.admin-panel{display:none}
.admin-panel.active{display:block}

.preview-box{
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  border-radius:16px;
  padding:14px;
}
.hidden{display:none!important}

@media(max-width:900px){
  .hero-grid,.footer-grid,.grid,.form-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}
  .nav-actions .btn.dark{display:none}
  .stats{grid-template-columns:1fr}
  .admin-layout{grid-template-columns:1fr}
  .sidebar{position:relative}
  .cart-item{grid-template-columns:70px 1fr}
  .cart-item .btn{grid-column:1/-1}
}


.about-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}

.about-layout .form-card h2{
  color:#071b45;
  font-size:36px;
  font-weight:900;
  margin-bottom:16px;
}

.about-layout .form-card p{
  color:#334155;
  font-size:17px;
  line-height:1.8;
  font-weight:500;
}

@media(max-width:900px){
  .about-layout{
    grid-template-columns:1fr;
  }
}



.footer .container{
  width:min(1180px,92%);
  max-width:1180px;
}

.footer-grid{
  grid-template-columns:2fr 1fr 1fr;
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
  }
}

/* Hakkımızda sayfası düzeni */
.about-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}

.about-layout .form-card h2{
  color:#071b45;
  font-size:36px;
  font-weight:900;
  margin-bottom:16px;
}

.about-layout .form-card p{
  color:#334155;
  font-size:17px;
  line-height:1.8;
  font-weight:500;
}

/* Footer genişlik düzeltme */
.footer{
  width:100%;
}

.footer .container{
  width:min(1180px,92%);
  max-width:1180px;
  margin:0 auto;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
  width:100%;
}

/* Mobil uyum */
@media(max-width:900px){
  .about-layout{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }
}