/* ---------- Base layout ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111827;
  background: #f3f4f6;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Hero background & header ---------- */

.page {
  position: relative;
  flex: 1;
  background: #f3f4f6;
}

/* Big blurred background image behind the hero */
.page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  background-image: url("/mnt/data/9d17408f-656a-46bb-bfda-e526408c9ab5.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}

/* Transparent header over the hero image */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1rem 0;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f9fafb;
}

/* Brand / logo */

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #ef4444;
  background: rgba(248, 250, 252, 0.15);
  position: relative;
}

/* little "roof" icon */
.brand__logo::before {
  content: "";
  position: absolute;
  inset: 8px 8px 10px 8px;
  border-radius: 4px 4px 2px 2px;
  border: 2px solid #ef4444;
  border-top: 0;
}

.brand__logo::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 6px;
  border-top: 2px solid #ef4444;
  transform: skewX(-20deg);
}

.brand__name {
  font-weight: 700;
  font-size: 1.25rem;
  color: #f9fafb;
}

/* Top navigation */

.topnav a {
  font-size: 0.95rem;
  color: #e5e7eb;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.15s, color 0.15s;
}

.topnav a:hover {
  background: rgba(15, 23, 42, 0.25);
  color: #ffffff;
}

/* ---------- Main / hero text ---------- */

.main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 1.5rem 3rem;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Large "MadDining" title like the screenshot */

.panel__title {
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #000000;
}

/* Hero subtitle text */

.panel > p {
  max-width: 640px;
  margin: 0.25rem 0;
  font-size: 0.98rem;
}

.muted {
  color: #e5e7eb;
}

.panel a {
  color: #fbbf24;
  font-weight: 500;
}

.panel a:hover {
  text-decoration: underline;
}

/* Push cards area down a bit from hero text */
.cards {
  width: 100%;
  margin-top: 2.5rem;
}

/* ---------- Card grid ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 3fr));
  gap: 40px;

}

/* Single card */

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Fake image area at top of each card */
.card::before {
  content: "";
  display: block;
  height: 0px;
  background-image: url("/mnt/data/9d17408f-656a-46bb-bfda-e526408c9ab5.png");
  background-size: cover;
  background-position: center;
}

/* Card hover effect */

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

/* Card content */

.card__title {
  margin: 0.85rem 1.25rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.card__text {
  margin: 0 1.25rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4b5563;
  white-space: pre-line; /* keeps your address on two lines */
}

/* Optional: simple rating row under the text to mimic stars */
.card__text::after {
  content: "🟊🟊🟊🟊🟊";
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #f97316;
}

/* Footer area inside card */

.card__footer {
  margin-top: auto;
  padding: 0.75rem 1.25rem 1.1rem;
  display: flex;
  justify-content: flex-end;
}

/* "Learn more" button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: #ef4444;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease,
    box-shadow 0.1s ease;
}

.btn:hover {
  background: #dc2626;
  box-shadow: 0 8px 18px rgba(248, 113, 113, 0.45);
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */

.footer {
  background: #c5050c;
  color: #ffffff;
  padding: 1.2rem 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.85rem;
}

.hero-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-bottom: 2px solid #c5050c;
}
/*Search bar */ 

.search-container {
    display: flex;
    justify-content: center;
    margin-top: -25px;
}

.search-bar {
    width: 1000px;
    max-width: 6000px;
    padding: 14px 20px;
    border-radius: 40px;
    border: 2px solid #c5050c;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(197, 5, 12, 0.15);
    font-size: 16px;
    color: #333;
}

.search-bar:focus {
    outline: none;
    box-shadow: 0 0 6px #c5050c;
}
