﻿:root {
  /* --red: #E63946; */
  --yellow: #F6BD60;
  --beige: #F7EDE2;
  --green: #84A59D;
  --black: #111111;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Fuzzy Bubbles", "Roboto", sans-serif;
  color: var(--black);
  background-color: var(--beige);
  background-image: url('pizza-pattern.webp');
  background-repeat: repeat;
  background-size: 500px;
  background-attachment: fixed;
  background-blend-mode: lighten;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.shell {
  width: 100%;
  max-width: 980px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
}

header h1 {
  margin: 0;
  font-size: 23px;
  color: var(--black);
}

header .lead {
  margin: 0;
  color: var(--green);
  font-size: 16px;
}

header .logo {
  width: 320px;
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 12px;
  transition: width 0.3s ease;
}

@media (max-width: 1024px) {
  header .logo {
    width: 240px;
  }
}

@media (max-width: 680px) {
  header .logo {
    width: 180px;
  }
}

@media (max-width: 480px) {
  header .logo {
    width: 140px;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.card {
  background: var(--white);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card:active {
  transform: scale(0.98);
}

.card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 180px;
  filter: grayscale(40%) contrast(1.1) saturate(0%);
  transition: filter 0.3s ease;
}

.card:hover img {
  filter: grayscale(0%) contrast(1) saturate(100%);
}

.meta h3 {
  margin: 10px 0 6px 0;
  font-size: 18px;
  color: var(--black);
}

.meta p {
  margin: 0;
  color: var(--green);
  font-size: 14px;
}
