/* Taverna Mulliri — stil i shtëpisë */

:root {
  --terracota: #7a2e1d;
  --terracota-thelle: #5c2013;
  --terracota-drite: #a8442c;
  --krem: #f2e2c4;
  --krem-i-nxehte: #f7ecd6;
  --leter: #fbf6ec;
  --gjelber-ullire: #5b6135;
  --ari: #c99a3c;
  --teksti: #2c2118;
  --teksti-i-bute: #6b5a48;
  --vije: #e3d3b3;
  --hije: 0 8px 28px rgba(58, 30, 16, 0.14);
  --hije-e-bute: 0 3px 12px rgba(58, 30, 16, 0.08);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--teksti);
  background-color: var(--leter);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(201, 154, 60, 0.06), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(122, 46, 29, 0.05), transparent 45%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text strong {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--terracota-thelle);
  letter-spacing: 0.2px;
}

a { color: var(--terracota); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--vije);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark { display: inline-flex; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.5rem; }
.brand-text em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teksti-i-bute);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--teksti);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav a:hover { color: var(--terracota); border-bottom-color: var(--ari); }

.nav-login {
  background: var(--terracota);
  color: var(--krem) !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-login:hover { background: var(--terracota-thelle); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--terracota);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(150deg, var(--terracota) 0%, var(--terracota-thelle) 100%);
  color: var(--krem-i-nxehte);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.hero-inner {
  padding: 78px 22px 88px;
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--ari);
  margin: 0 0 14px;
  font-weight: 700;
}
.hero h1 {
  color: var(--krem-i-nxehte);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 18px;
}
.hero-lead {
  font-size: 1.12rem;
  max-width: 620px;
  color: rgba(247, 236, 214, 0.92);
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero-badges li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
  color: rgba(247, 236, 214, 0.88);
}
.hero-badges li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--ari);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s, background 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ari); color: var(--terracota-thelle); }
.btn-primary:hover { background: #d9ab4d; }
.btn-ghost { background: transparent; color: var(--krem-i-nxehte); border-color: rgba(247,236,214,0.6); }
.btn-ghost:hover { background: rgba(247,236,214,0.12); }
.btn-dark { background: var(--terracota); color: var(--krem); border: 0; }
.btn-dark:hover { background: var(--terracota-thelle); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section:nth-of-type(even) { background: var(--krem-i-nxehte); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 10px; }
.section-head p { color: var(--teksti-i-bute); margin: 0; }

/* ---------- Menu ---------- */
.menu-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
}
.menu-group h3 {
  font-size: 1.25rem;
  padding-bottom: 8px;
  margin: 0 0 14px;
  border-bottom: 2px solid var(--vije);
  color: var(--terracota);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--vije);
}
.dish { display: flex; flex-direction: column; }
.dish-name { font-weight: 600; font-family: var(--serif); font-size: 1.05rem; color: var(--teksti); }
.dish-desc { font-size: 0.85rem; color: var(--teksti-i-bute); }
.price {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--terracota);
  white-space: nowrap;
}
.price::after { content: " L"; font-size: 0.8em; color: var(--teksti-i-bute); }
.menu-note {
  text-align: center;
  margin-top: 34px;
  font-style: italic;
  color: var(--teksti-i-bute);
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 16px; }
.about-text p { margin: 0 0 16px; }
.about-stats {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 24px 0 0;
  flex-wrap: wrap;
}
.about-stats li { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--serif); font-size: 2rem; color: var(--terracota); }
.about-stats span { font-size: 0.82rem; color: var(--teksti-i-bute); text-transform: uppercase; letter-spacing: 1px; }
.about-card {
  background: var(--terracota);
  color: var(--krem-i-nxehte);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--hije);
  position: relative;
  text-align: center;
}
.about-card .quote-mark { font-family: var(--serif); font-size: 4rem; color: var(--ari); line-height: 0.5; display: block; height: 34px; }
.about-card p { font-family: var(--serif); font-size: 1.35rem; font-style: italic; margin: 14px 0; }
.quote-by { font-size: 0.85rem; color: rgba(247,236,214,0.8); }

/* ---------- Gallery ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  margin: 0;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hije-e-bute);
  display: flex;
  align-items: flex-end;
}
.tile figcaption {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(30, 14, 8, 0.72));
}
.tile-1 { background: linear-gradient(135deg, #7a2e1d, #a8442c); }
.tile-2 { background: linear-gradient(135deg, #5b6135, #7d8446); }
.tile-3 { background: linear-gradient(135deg, #c99a3c, #a8442c); }
.tile-4 { background: linear-gradient(135deg, #5c2013, #7a2e1d); }
.tile-5 { background: linear-gradient(135deg, #8a6d3b, #5b6135); }
.tile-6 { background: linear-gradient(135deg, #a8442c, #c99a3c); }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 10px, transparent 10px 20px);
}

/* ---------- Hours ---------- */
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hours-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 12px; }
.hours-text p { color: var(--teksti-i-bute); margin: 0; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--leter);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hije-e-bute);
}
.hours-table th, .hours-table td { padding: 16px 20px; text-align: left; }
.hours-table th { font-family: var(--serif); color: var(--teksti); font-weight: 600; }
.hours-table td { text-align: right; color: var(--terracota); font-weight: 600; }
.hours-table tr:not(:last-child) { border-bottom: 1px solid var(--vije); }

/* ---------- Forms ---------- */
.forms-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 34px;
  align-items: start;
}
.form-box {
  background: var(--leter);
  border: 1px solid var(--vije);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--hije-e-bute);
}
.form-box h2 { font-size: 1.6rem; margin: 0 0 6px; }
.form-intro { color: var(--teksti-i-bute); font-size: 0.92rem; margin: 0 0 22px; }
.form-login { background: var(--krem); }
.field { margin-bottom: 16px; }
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; }
.field-small { max-width: 110px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--teksti);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--vije);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.98rem;
  background: #fff;
  color: var(--teksti);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracota-drite);
  box-shadow: 0 0 0 3px rgba(168, 68, 44, 0.15);
}
.field textarea { resize: vertical; }
.form-error {
  color: #a8281c;
  background: #f7dcd6;
  border: 1px solid #e0a89f;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.88rem;
  margin: 0 0 16px;
}
.form-hint { font-size: 0.82rem; color: var(--teksti-i-bute); text-align: center; margin: 14px 0 0; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-block { font-style: normal; line-height: 1.9; }
.contact-block p { margin: 0 0 6px; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-map {
  background: var(--gjelber-ullire);
  background-image:
    linear-gradient(135deg, #5b6135, #6f763f),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 22px, transparent 22px 44px);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--hije-e-bute);
}
.map-pin { font-size: 2.6rem; }
.map-label { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 1px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--terracota-thelle);
  color: rgba(247, 236, 214, 0.85);
  padding: 34px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ari); margin: 0; }
.footer-legal { font-size: 0.82rem; margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(247, 236, 214, 0.85); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--gjelber-ullire);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--hije);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 60;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast-err { background: #a8281c; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--leter);
    border-bottom: 1px solid var(--vije);
    padding: 8px 22px 18px;
    box-shadow: var(--hije);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--vije); }
  .nav-login { text-align: center; margin-top: 10px; }

  .about-inner,
  .hours-inner,
  .forms-grid,
  .contact-inner { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hours-table td { text-align: right; }
}

@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .field-small { max-width: none; }
  .hero-inner { padding: 56px 22px 64px; }
  .section { padding: 52px 0; }
}
