
/* Base Styles */
body {
  background-color: #fffaf0;
  color: #2e2e2e;
  font-family: system-ui, sans-serif;
  margin: 0;
}

header, footer {
  background: linear-gradient(to right, #f97316, #ea580c);
  color: white;
  text-align: center;
  padding: 1.5rem 0;
}

nav a {
  color: white;
  font-weight: 600;
  margin-left: 1.25rem;
  text-decoration: none;
}

nav a:hover,
.footer-link:hover {
  text-decoration: underline;
}

.footer-link {
  color: white;
  text-decoration: underline;
}

/* Layout Helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.max-width {
  max-width: 1200px;
  margin: 0 auto;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-spacing {
  padding: 2.5rem 1rem;
}

/* Headings */
h1, h2, h3 {
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.75rem;
  color: #cc5c28;
}

/* Buttons */
.btn-orange {
  background-color: #f97316;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.btn-orange:hover {
  background-color: #ea580c;
}

/* Grid Layout */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Card Component */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Hero Card - no overlay */
.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.hero-title {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  margin: 0;
}

.hero-card.no-padding {
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Restaurant Info */
.restaurant-info {
  background-color: #102a23;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-top: -1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.6;
}

.restaurant-info p {
  margin: 0;
}

.restaurant-info .info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.restaurant-info .info-row p {
  flex: 1 1 48%;
  margin: 0;
}

.rating-stars {
  color: #facc15;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Menu Section */
.menu-section {
  background-color: #cc5c28;
  color: #fff;
  padding: 2rem 1rem;
  border-top: 8px solid #aa4820;
  border-bottom: 8px solid #aa4820;
}

.menu-section h2 {
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  font-size: 1.75rem;
  font-weight: bold;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: #fff7ed;
  color: #4b2e0d;
  border-radius: 8px;
  padding: 1rem;
}

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}


/* Reviews Section */
.review-section {
  background: #fffaf0;
  padding: 2rem 1rem;
  border-top: 8px solid #cc5c28;
}

.review-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Page background */
.restaurant-page-bg {
  background-color: #102a23;
  padding-bottom: 2rem;
}

/* Cream card (Restaurant Details) */
.cream-card {
  background-color: #fffaf0;
  color: #2e2e2e;
  padding: 2rem;
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tag-badge-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background-color: #fff7ed;
  color: #4b2e0d;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
}

.lightbox {
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.8);
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}


.menu-card {
  background: #fff7ed;
  color: #4b2e0d;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.menu-card .image-wrapper {
  position: relative;
}

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.menu-card .menu-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #4b2e0d;
  max-width: calc(100% - 2rem);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* new stuff */

.rating-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.rating-score {
  color: #444;
  font-weight: 600;
}

.restaurant-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.restaurant-info-grid .icon {
  margin-right: 0.5rem;
}

.recommend-label {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.hours-list {
  display: inline-block;
  white-space: pre-line;
  line-height: 1.6;
  margin-left: 0.5rem;
}

.hours-table {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  border-collapse: collapse;
  width: 100%;
}

.hours-table td {
  padding: 0.25rem 0;
  vertical-align: top;
}

/* header updates */

.site-header {
  background-color: #9b4521;
  padding: 1rem 0;
  border-bottom: 4px solid #843b1b;
  color: #fff;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 0 1rem;
}

.nav-left, .nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-center {
  text-align: center;
}

.brand-logo {
  font-family: 'Brush Script MT', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #fdf2e9;
  text-decoration: none;
  line-height: 1;
}

.site-url {
  font-size: 0.85rem;
  color: #f3d8c0;
  margin-top: 0.25rem;
}

.brand-logo {
  font-family: 'Pacifico', cursive;
}

/* Submit Page */

form input, form textarea {
  font-size: 0.95rem;
}

form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Homepage */

.featured-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Restaurants Index */

.featured-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card {
  background: #fffaf0;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: scale(1.02);
}

/* ========== Responsive Layout ========== */

@media (max-width: 768px) {
  .container {
    padding: 1.25rem 1rem;
  }

  .grid-3 {
    grid-template-columns: 1fr; /* Stack cards */
  }

  .hero h2 {
    font-size: 2rem;
  }

  .featured-img,
  .menu-card img,
  .review-card img,
  .hero-image-wrapper img {
    height: auto;
    max-height: 240px;
  }

  .review-section,
  .menu-section {
    padding: 1rem;
  }

  .tag-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
    left: 1rem;
    bottom: 1rem;
  }

  .restaurant-info-grid {
    flex-direction: column;
  }

  .restaurant-info-grid p {
    flex: 1 1 100%;
    margin-bottom: 0.5rem;
  }
}


@media (max-width: 768px) {
  #navMenu a {
    display: block;
    margin-bottom: 0.5rem;
  }

  #navMenu {
    transition: all 0.3s ease-in-out;
  }
}


/* Home Blade Featured Restaurants */

.btn-outline {
  border: 2px solid #256d42;
  color: #256d42;
  background-color: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.btn-outline:hover {
  background-color: #256d42;
  color: white;
}

.review-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Mobile Navigation */
.hamburger {
  display: none;
  font-size: 1.75rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #9b4521;
  padding: 1rem;
}

.mobile-nav a {
  padding: 0.5rem 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #843b1b;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Show/hide rules */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .mobile-nav.show {
    display: flex;
  }

  .nav-container {
    grid-template-columns: 1fr auto;
  }
}

.tag-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.tag-badge {
  background-color: #fff7ed;
  color: #4b2e0d;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

/* Nav Search */

.nav-search {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.search-input {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  width: 220px;
  max-width: 100%;
  outline: none;
}

@media (max-width: 768px) {
  .nav-search {
    margin-top: 1rem;
  }

  .search-input {
    width: 100%;
  }
}

.aa-ItemTitle {
  font-weight: bold;
  color: #333;
}

.aa-ItemSubtitle {
  font-size: 0.85rem;
  color: #666;
}

