/* komuniteti i orave · stilet e faqes */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e4e4e2;
  --tint: #f6f3ec;
  --black: #0a0a0a;
  --gold: #c9a24a;          /* ari i logos: vija, butona, detaje */
  --gold-text: #8a6a25;     /* ari më i errët: tekst mbi të bardhë */
  --gold-line: #dcc48e;
  --ivory: #f2ede4;
  --radius: 6px;
  --wrap: 1240px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  border-top: 4px solid var(--gold);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
main .wrap { display: flex; flex-direction: column; gap: 96px; padding-bottom: 96px; }

/* ---------- header ---------- */
.top { padding: 40px 0 40px; border-bottom: 1px solid var(--gold); margin-bottom: 72px; }
.top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.brand { display: flex; align-items: center; gap: 20px; color: var(--ink); }
.brand img { width: 64px; height: auto; }
.brand-name { font-size: 24px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.brand-sub::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.intro { margin: 28px 0 0; max-width: 620px; font-size: 19px; line-height: 1.7; color: var(--soft); }

.nav { display: flex; gap: 6px; flex-shrink: 0; }
.nav a { position: relative; padding: 10px 20px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 5px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.on, .nav a.primary { background: var(--black); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.nav a.on::after, .nav a.primary::after { display: none; }

/* ---------- section heads ---------- */
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.label { font-size: 14px; font-weight: 500; color: var(--gold-text); }
h1, h2 { margin: 10px 0 0; font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h1::after, h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 16px; background: var(--gold); border-radius: 2px; }
.more { font-size: 15px; font-weight: 500; }

/* ---------- photo placeholder ---------- */
.ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f7f6f3 0%, #f7f6f3 55%, #ece9e2 100%); color: var(--muted); font-size: 14px; border-radius: 4px; aspect-ratio: 4 / 3; overflow: hidden; }
.ph img, .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo { border-radius: 4px; overflow: hidden; background: var(--tint); }

/* ---------- articles ---------- */
.articles { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; }
.art-feature { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.art-feature .ph, .art-feature .photo { aspect-ratio: 16 / 10; }
.art-feature h3 { margin: 0; font-size: 1.9rem; font-weight: 500; line-height: 1.2; }
.art-list { display: flex; flex-direction: column; gap: 20px; }
.art-row { display: flex; gap: 20px; padding: 18px; border: 1px solid var(--gold-line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.art-row:hover, .card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.4); color: var(--ink); }
.art-row .ph, .art-row .photo { width: 150px; flex-shrink: 0; aspect-ratio: 4 / 3; }
.art-row h3 { margin: 6px 0; font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.meta { font-size: 14px; color: var(--muted); }
.excerpt { margin: 0; color: var(--soft); }

/* ---------- watch cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card .ph, .card .photo { aspect-ratio: 1 / 1; }
.card-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.tag { font-weight: 500; color: var(--gold-text); }
.tag.rezervuar { color: var(--soft); }
.tag.shitur { color: #9b2c2c; }
.card h3 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.card .specs { font-size: 14px; color: var(--muted); }
.card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.price { font-size: 1.45rem; font-weight: 500; color: var(--gold-text); }
.card.is-sold { opacity: .6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--black); color: var(--gold); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--gold); color: var(--black); }
.btn.gold { background: var(--gold); color: var(--black); }
.btn.gold:hover { background: var(--ivory); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--gold); }

/* ---------- filters (dyqani) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--black); color: var(--gold); border-color: var(--gold); }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; background: var(--black); color: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--gold); }
.contact .label, .contact label { color: var(--gold); }
.contact h2 { color: #fff; }
.contact p { color: #e6e1d6; }
.contact-list { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-size: 16px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--gold); }
form { display: flex; flex-direction: column; gap: 16px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; border: 0; margin: 0; padding: 0; }
.choice label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(201,162,74,.7); color: #fff; font-size: 15px; cursor: pointer; }
.choice input { accent-color: var(--gold); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-note { font-size: 14px; min-height: 1.4em; color: var(--gold); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- watch page ---------- */
.watch { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery .main { aspect-ratio: 1 / 1; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; background: var(--tint); }
.thumbs button[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs-table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.specs-table th, .specs-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.specs-table th { color: var(--muted); width: 45%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- article page ---------- */
.article { max-width: 760px; }
.article .photo, .article .ph { aspect-ratio: 16 / 9; margin: 32px 0; }
.article .lead { font-size: 20px; color: var(--soft); }
.article p { margin: 0 0 20px; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--gold-line); padding: 32px 0 40px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-name { font-size: 15px; font-weight: 500; }
.social { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .top-row { flex-direction: column-reverse; }
  .nav { flex-wrap: wrap; }
  .articles, .watch, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  main .wrap { gap: 64px; }
  .top { padding-top: 24px; margin-bottom: 48px; }
  .brand img { width: 48px; }
  .brand-name { font-size: 20px; white-space: normal; }
  .nav a { padding: 10px 14px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .contact { padding: 28px 20px; gap: 32px; }
  .art-row { flex-direction: column; }
  .art-row .ph, .art-row .photo { width: 100%; }
}
