/* traditionalFoods.css — recipe and tavern guide for Kavaja cuisine */
:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #102a43;
  --muted: #5a6b7d;
  --accent: #d97706;
  --sand: #f7ebd5;
  --border: rgba(16, 42, 67, 0.1);
  --shadow: 0 18px 38px rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav__brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
}

.hero-banner {
  width: 100%;
  padding: 2.75rem 1.5rem 2rem;
  background-image: linear-gradient(180deg, rgba(255, 250, 244, 0.75) 0%, rgba(248, 239, 225, 0.68) 36%, rgba(244, 227, 195, 0.65) 100%),
    url("../assets/foto.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-copy {
  max-width: 62ch;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  line-height: 1.05;
}

.hero__text {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1.35rem 1.5rem 0;
}

.tab {
  appearance: none;
  border: 1px solid rgba(16, 42, 67, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tab.active,
.tab:hover,
.tab:focus-visible {
  border-color: rgba(217, 119, 6, 0.24);
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.08);
  transform: translateY(-1px);
}

.active::after {
  display: none;
}

.grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}

.card {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(16, 42, 67, 0.12);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #f4e7d3;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.tier {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.06);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.card__title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.row--space {
  justify-content: space-between;
}

.row--spread {
  justify-content: space-between;
  gap: 1rem;
}

.stars {
  display: inline-flex;
  align-items: center;
  color: #d97706;
  letter-spacing: 0.05em;
  font-size: 0.96rem;
}

.score {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.detail {
  color: var(--muted);
  font-size: 0.94rem;
}

.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16, 42, 67, 0.12);
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2rem;
  }

  .hero-banner {
    padding: 3rem 2rem 2.4rem;
  }
}