/* ============================================================
   PROJECT LOBSTERLAND — Static Site Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #F5ECD7;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #2B3A42;
  -webkit-font-smoothing: antialiased;
}

a { color: #E8714A; text-decoration: none; }
a:hover { color: #2B3A42; }
img { max-width: 100%; height: auto; display: block; }

/* --- Header --- */
.site-header {
  background-color: #F7C07A;
  padding: 28px 32px;
  text-align: center;
}

.site-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 400;
  color: #2B3A42;
  letter-spacing: -0.3px;
  margin: 0;
}

.site-header h1 a { color: #2B3A42; text-decoration: none; }
.site-header h1 a:hover { opacity: 0.85; }

.site-header .tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  color: rgba(43, 58, 66, 0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* --- Nav (Option B) --- */
.site-nav {
  background: #F5ECD7;
  border-bottom: 1px solid rgba(43,58,66,0.10);
  display: flex;
  justify-content: center;
  gap: 0;
}

.site-nav a {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  color: #2B3A42;
  padding: 12px 28px;
  text-decoration: none;
  opacity: 0.6;
  border-bottom: 3px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover { opacity: 1; color: #2B3A42; }
.site-nav a.active { opacity: 1; border-bottom: 3px solid #3DADA8; }

/* --- Review Grid --- */
.review-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 28px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .review-grid { grid-template-columns: 1fr; padding: 20px 16px 40px; }
}

.review-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.review-card a { text-decoration: none; color: inherit; display: block; }

.review-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.review-card .card-body { padding: 14px 16px 18px; }

.review-card .teal-bar {
  width: 28px;
  height: 2px;
  background-color: #3DADA8;
  border-radius: 2px;
  margin-bottom: 10px;
}

.review-card .restaurant-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 400;
  color: #2B3A42;
  margin: 0 0 4px;
  line-height: 1.3;
}

.review-card .location {
  font-size: 13px;
  color: #8B6A3E;
  letter-spacing: 0.04em;
  margin: 0;
}

.review-card.coming-soon { opacity: 0.55; cursor: default; }
.review-card.coming-soon a { pointer-events: none; }
.review-card .visit-date {
  font-size: 13px;
  color: #bbb;
  letter-spacing: 0.03em;
  margin: 2px 0 0;
}

.review-card .coming-soon-label {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* --- Review Page --- */
.review-hero {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.review-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 28px 48px;
}

.review-meta {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(43,58,66,0.15);
  padding-bottom: 20px;
}

.review-meta h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  color: #2B3A42;
  margin: 0 0 8px;
  line-height: 1.2;
}

.review-meta .meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.review-meta .location { font-size: 14px; color: #8B6A3E; letter-spacing: 0.04em; }
.review-meta .date { font-size: 13px; color: #aaa; letter-spacing: 0.03em; }

.review-body .teal-bar {
  width: 32px;
  height: 2px;
  background-color: #3DADA8;
  border-radius: 2px;
  margin-bottom: 24px;
}

.review-body p {
  font-size: 17px;
  line-height: 1.8;
  color: #2B3A42;
  margin-bottom: 20px;
}

.review-body p em { font-style: italic; color: #5A7280; }

.full-photo {
  margin: 16px 0;
}

.full-photo img {
  width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .review-content { padding: 24px 16px 40px; }
  .review-meta h2 { font-size: 24px; }
}

/* --- Ratings Block (Option C — dots) --- */
.ratings-block {
  margin-top: 40px;
  border-top: 1px solid rgba(43,58,66,0.15);
  padding-top: 28px;
}

.ratings-block .ratings-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  color: #8B6A3E;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ratings-table {
  width: 100%;
  border-collapse: collapse;
}

.ratings-table tr {
  border-bottom: 1px solid rgba(43,58,66,0.08);
}

.ratings-table tr:last-child { border-bottom: none; }

.ratings-table td {
  padding: 9px 0;
  vertical-align: middle;
}

.ratings-table .cat {
  font-size: 14px;
  color: #8B6A3E;
  width: 44%;
}

.ratings-table .dots-cell {
  width: auto;
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0D5C0;
  flex-shrink: 0;
}

.dot.filled { background: #3DADA8; }

.ratings-table .num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  color: #2B3A42;
  text-align: right;
  padding-left: 12px;
  white-space: nowrap;
}

.ratings-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid rgba(43,58,66,0.15);
}

.ratings-total .total-label {
  font-size: 12px;
  color: #8B6A3E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ratings-total .total-value {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #2B3A42;
}

.ratings-total .total-max {
  font-size: 14px;
  color: #bbb;
}

.rating-price {
  font-size: 12px;
  color: #bbb;
  text-align: right;
  margin-top: 10px;
}

/* --- Rankings Page (Option A — leaderboard rows) --- */
.rankings-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 28px 48px;
}

.rankings-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
  color: #2B3A42;
  margin-bottom: 6px;
}

.rankings-content .rankings-sub {
  font-size: 13px;
  color: #8B6A3E;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.rank-list { list-style: none; }

.rank-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(43,58,66,0.08);
}

.rank-list li:last-child { border-bottom: none; }

.rank-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: #3DADA8;
  text-align: center;
  line-height: 1;
}

.rank-info .name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: #2B3A42;
  margin: 0 0 3px;
  font-weight: 400;
}

.rank-info .name a { color: #2B3A42; text-decoration: none; }
.rank-info .name a:hover { color: #E8714A; }

.rank-info .loc {
  font-size: 12px;
  color: #8B6A3E;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}

.rank-info .rank-dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.rank-info .rank-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E0D5C0;
  flex-shrink: 0;
}

.rank-info .rank-dots .dot.filled { background: #3DADA8; }

.rank-score {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #2B3A42;
  text-align: right;
  white-space: nowrap;
  line-height: 1;
}

.rank-score .max {
  font-size: 13px;
  color: #bbb;
}

.rank-price {
  font-size: 11px;
  color: #bbb;
  text-align: right;
  margin-top: 4px;
}

.no-review-badge {
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(43,58,66,0.06);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .rank-list li { grid-template-columns: 32px 1fr auto; gap: 10px; }
  .rank-score { font-size: 22px; }
  .rankings-content { padding: 24px 16px 40px; }
}

/* --- Footer --- */
.site-footer {
  background-color: #F5ECD7;
  border-top: 1px solid rgba(43,58,66,0.12);
  text-align: center;
  padding: 24px;
}

.site-footer a {
  font-size: 12px;
  color: #2B3A42;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.site-footer a:hover { color: #E8714A; }

.site-footer .copyright {
  font-size: 11px;
  color: #bbb;
  margin-top: 8px;
}
