:root{
  --bg:#0b0b0d;
  --card:#141418;
  --text:#f4f4f5;
  --muted:#a1a1aa;
  --line:#23232a;
  --accent:#f59e0b;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

/* LAYOUT */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

.section{
  padding:32px 0;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}

.muted{
  color:var(--muted);
}

.h1{
  font-size:32px;
  margin:0 0 10px;
}

.title{
  font-size:22px;
  margin:0 0 14px;
}

/* HEADER */
.topbar{
  border-bottom:1px solid var(--line);
  background:#0f0f13;
}

.topbar__in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
}

/* LOGO */
.logo-wrap{
  display:flex;
  align-items:center;
}

.site-logo{
  height:40px;      /* PC LOGO BOYU */
  width:auto;
  display:block;
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav a{
  font-size:15px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:var(--accent);
  color:#111;
  font-weight:800;
}

.btn--ghost{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
}

/* GRID / CONTENT */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

@media(max-width:900px){
  .grid{
    grid-template-columns:1fr;
  }
}

.img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
}

.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

.name{
  font-weight:900;
}

.price{
  font-weight:900;
}

/* FOOTER */
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  margin-top:32px;
  background:#0f0f13;
  font-size:14px;
}

/* ========================= */
/* ======= MOBİL =========== */
/* ========================= */

@media (max-width:768px){

  .topbar__in{
    min-height:56px;
  }

  .site-logo{
    height:34px;    /* MOBİL LOGO BOYU */
  }

  .nav{
    gap:8px;
  }

  .nav a:not(.btn){
    display:none;
  }

  .btn{
    padding:8px 12px;
    font-size:14px;
  }

  .h1{
    font-size:26px;
  }
}

/* Mobil form düzeni: tek kolon + ferah boşluk */
@media (max-width: 768px) {

  /* Form içindeki iki kolonları tek kolona indir */
  .row2{
    grid-template-columns: 1fr !important;
  }

  /* Form aralığını artır */
  .form{
    gap: 14px;
  }

  /* Label'ları daha okunur yap */
  label{
    display:block;
    margin-bottom: 6px;
    font-size: 14px;
  }

  /* Input/Select/Textarea daha büyük ve rahat olsun */
  .input{
    width: 100%;
    padding: 12px 12px;
    font-size: 16px;      /* mobil zoom sorununu da azaltır */
    line-height: 1.2;
  }

  textarea.input{
    min-height: 120px;
  }

  /* Dosya seç alanı (file input) daha düzgün dursun */
  input[type="file"].input{
    padding: 10px;
  }

  /* Butonlar daha rahat */
  .btn{
    padding: 10px 14px;
    font-size: 15px;
  }

  /* Kart içi padding biraz daha ferah */
  .card{
    padding: 16px;
  }
}
