/* Wine Boy List — Global Styles */

:root {
  --teal: #0c2e26;
  --teal-light: #143d33;
  --orange: #ff783a;
  --parchment: #f5e6d3;
  --parchment-dark: #e8d5be;
  --navy: #041522;
  --brown: #4f2c15;
  --wine-red: #90162b;
  --cream: #faf6f1;
  --white: #ffffff;
  --grey-light: #e8e0d6;
  --grey-mid: #a89a8c;
  --grey-text: #6b5e52;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  min-height: 100vh;
}

/* === HEADER === */
.site-logo {
  display: block;
  margin: 0 auto 0.5rem;
  max-width: 200px;
  height: auto;
}

.site-header {
  background-color: var(--teal);
  color: var(--parchment);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.site-header h1 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--parchment);
  margin-bottom: 0.25rem;
}

.site-header .subtitle {
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  font-style: italic;
}

.site-header .address {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-top: 0.5rem;
}

/* === NAV === */
.site-nav {
  background-color: var(--teal-light);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--parchment);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  background-color: var(--orange);
  color: var(--white);
}

.site-nav a.active {
  background-color: var(--orange);
  color: var(--white);
}

/* === DISCOUNT BANNER === */
.discount-banner {
  background-color: var(--parchment);
  border-bottom: 2px solid var(--orange);
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* === MAIN CONTENT === */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* === CATEGORY HEADERS === */
.category-header {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
}

.category-header:first-child {
  margin-top: 1rem;
}

.category-header h2 {
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* === REGION SUBHEADERS === */
.region-header {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--grey-light);
}

/* === WINE CARD === */
.wine-card {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-light);
}

.wine-card:last-child {
  border-bottom: none;
}

.wine-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.wine-name {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.wine-name .producer {
  color: var(--teal);
}

.wine-meta {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--grey-text);
  white-space: nowrap;
}

.wine-price {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wine-red);
  white-space: nowrap;
}

.wine-grape {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 0.3rem;
}

.wine-description {
  font-family: 'Georgia', serif;
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.65;
  margin-top: 0.4rem;
}

.wine-badge {
  display: inline-block;
  font-family: 'Arial', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.badge-organic {
  background-color: #2d6a4f;
  color: var(--white);
}

/* === BEER LIST STYLES === */
.brewery-section {
  margin-bottom: 2rem;
}

.brewery-header {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--grey-light);
}

.beer-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  gap: 1rem;
}

.beer-info {
  flex: 1;
}

.beer-name {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}

.beer-style {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--grey-text);
}

.beer-details {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.beer-price {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wine-red);
  white-space: nowrap;
}

/* === FOODIE FRIDAY === */
.menu-category {
  margin-bottom: 2rem;
}

.menu-category-header {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--grey-light);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  gap: 1rem;
}

.menu-item-name {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--navy);
}

.menu-item-abv {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.menu-item-price {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wine-red);
  white-space: nowrap;
}

/* === LOADING === */
.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--grey-mid);
  font-style: italic;
}

.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--grey-light);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === FOOTER === */
.site-footer {
  background-color: var(--teal);
  color: var(--grey-mid);
  text-align: center;
  padding: 1.5rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--orange);
  text-decoration: none;
}

.site-footer .footer-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--grey-mid);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .site-logo { max-width: 120px; }
  .content { padding: 1rem; }
  .wine-top { flex-direction: column; gap: 0.25rem; }
  .wine-price { align-self: flex-start; }
  .category-header h2 { font-size: 1.4rem; }
}

/* === PRINT === */
@media print {
  body { background: white; font-size: 10pt; }
  .site-header { background: none; color: black; padding: 0.5rem 0; border-bottom: 2px solid #0c2e26; }
  .site-logo { max-width: 120px; }
  .site-header .subtitle { color: #ff783a; }
  .site-header .address { color: #333; }
  .site-nav { display: none; }
  .discount-banner { border: 1px solid #ccc; background: #f9f5f0; }
  .content { max-width: 100%; padding: 0; }
  .wine-card { page-break-inside: avoid; }
  .category-header { page-break-after: avoid; }
  .region-header { page-break-after: avoid; }
  .brewery-section { page-break-inside: avoid; }
  .site-footer { display: none; }
  .wine-price { color: #333; }
  .beer-price, .menu-item-price { color: #333; }
  a { color: inherit; text-decoration: none; }
}
