/* =========================================================
   Honolulu Restaurants Online — Unified Site Styles
   Restores restaurant header/menu styling and supports:
   directory listings, promos, shop cards, featured pages,
   and Get Featured upgrade pages.
   ========================================================= */

:root {
  --site-blue: #0b4f77;
  --site-navy: #062a4f;
  --site-deep: #031b33;
  --site-gold: #d8ad45;
  --site-gold-light: #f7d774;
  --site-light: #eef6fb;
  --site-white: #ffffff;
  --site-border: #c8ddea;
  --site-muted: #5d6977;
  --site-shadow: rgba(3, 27, 51, 0.14);
  --site-soft-shadow: 0 6px 18px rgba(3, 27, 51, 0.14);
  --maxw: 960px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--site-light);
  color: #102033;
  line-height: 1.5;
}
a { color: var(--site-navy); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header and main menu */
.site-header,
body > header.site-header {
  background: linear-gradient(to bottom, #0d5f8a, #073e68 60%, #031b33);
  color: #fff8e7;
  text-align: center;
  padding: 18px 12px 14px;
  border-bottom: 3px solid var(--site-gold);
}
.site-header-inner { max-width: var(--maxw); margin: 0 auto; }
.network-label,
.network-note {
  margin: 0 0 .35rem;
  color: var(--site-gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header h1,
body > header.site-header h1 {
  margin: 0;
  color: #fff8e7;
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 1.1;
}
.tagline, .site-url { margin: .25rem 0 0; }
.site-header a { color: var(--site-gold); }

.main-nav,
nav.main-nav {
  background: var(--site-navy);
  border-bottom: 2px solid var(--site-deep);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 12px;
  text-align: center;
}
.main-nav a {
  color: #fff8e7;
  font-weight: 800;
  padding: .38rem .2rem;
  border-radius: 999px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
}
.main-nav a.featured-nav-link {
  background: linear-gradient(135deg, #f7d774, #d9a441);
  color: var(--site-navy) !important;
  border-radius: 999px;
  padding: .55rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  text-decoration: none;
}
.main-nav a.featured-nav-link:hover {
  background: linear-gradient(135deg, #ffe493, #e5b750);
  color: var(--site-deep) !important;
}

/* Banners and containers */
.hero-banner {
  width: 100%;
  margin: .9rem auto .8rem;
  padding: 0 12px;
}
.hero-banner img {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.container,
.featured-main {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem;
}
.content-page,
.featured-upgrade-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}
.content-card,
.site-intro,
.intro-box {
  margin: 0 auto 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, white, #eef8fc);
  border: 1px solid var(--site-border);
  box-shadow: var(--site-soft-shadow);
}
.site-intro { text-align: center; }
.site-intro h2,
.intro-box h2,
.content-card h2 {
  margin: 0 0 .45rem;
  color: var(--site-navy);
  font-size: clamp(1.35rem, 4vw, 2rem);
}
.eyebrow {
  color: var(--site-blue);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .4rem !important;
}

/* Buttons */
.button,
.cta-button,
.stripe-button,
.featured-upgrade-button,
.buy-button,
#share-btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--site-navy);
  color: #fff8e7 !important;
  border: none;
  border-radius: 999px;
  padding: .65rem 1rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.16);
  cursor: pointer;
}
.button:hover,
.cta-button:hover,
.stripe-button:hover,
.featured-upgrade-button:hover,
.buy-button:hover,
#share-btn:hover,
button[type="submit"]:hover {
  text-decoration: none;
  opacity: .92;
}
.button-primary { background: var(--site-navy); color: #fff8e7 !important; }
.button-secondary {
  background: #fff8e7;
  color: var(--site-navy) !important;
  border: 1px solid rgba(6,42,79,.22);
}
.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

/* Directory filters and listings */
.share-container { text-align: center; padding: 10px 12px 0; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  background: #e2f0f8;
  border: 1px solid var(--site-border);
  border-radius: 10px;
}
#town-search-container,
#specialty-search-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-bar label { font-weight: 800; color: var(--site-navy); }
.filter-bar select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--site-blue);
  background: white;
  color: var(--site-navy);
  font-weight: 700;
}
.letters-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0;
}
.letters-index a {
  padding: .4rem .6rem;
  background: #dfeff8;
  color: var(--site-navy);
  border-radius: 6px;
  font-size: .85rem;
  border: 1px solid var(--site-border);
}
.letter-section { margin-top: 2rem; }
.letter-section h2 {
  margin-bottom: .5rem;
  border-bottom: 2px solid var(--site-blue);
  padding-bottom: .25rem;
  color: var(--site-navy);
}
ul.restaurant-list { list-style: none; padding: 0; margin: 0; }
ul.restaurant-list li {
  background: white;
  margin: .5rem 0;
  padding: .75rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--site-shadow);
  border: 1px solid var(--site-border);
}
ul.restaurant-list li a.name { font-weight: 800; color: var(--site-navy); }
ul.restaurant-list li a.address,
ul.restaurant-list li a.phone {
  display: block;
  font-size: .85rem;
  margin-top: .2rem;
  color: var(--site-muted);
}
#restaurant-list a.featured-pill,
.featured-pill {
  display: inline-flex;
  margin-left: .5rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--site-gold);
  background: var(--site-deep);
  color: var(--site-gold) !important;
  font-size: .78rem;
  font-weight: 900;
}

/* Promo cards */
.letter-promo-slot { margin: 12px 0 20px; }
.promo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--site-border);
  box-shadow: 0 2px 10px var(--site-shadow);
  max-width: 440px;
}
.promo-image-link {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}
.promo-image { width: 100%; height: 100%; object-fit: cover; }
.promo-content { min-width: 0; line-height: 1.2; }
.promo-title { margin: 0 0 2px; font-size: 1rem; color: var(--site-navy); }
.promo-title a { color: var(--site-navy); }
.promo-text { margin: 0 0 6px; font-size: .86rem; color: var(--site-muted); }
.promo-button {
  display: inline-block;
  padding: 6px 10px;
  font-size: .84rem;
  border-radius: 10px;
  background: var(--site-navy);
  color: #fff8e7 !important;
  font-weight: 800;
  text-decoration: none;
}
.promo-button:hover { text-decoration: none; opacity: .92; }
.loading-message, .error-message { padding: 1rem 0; font-weight: 700; }
.error-message { color: #b00020; }

/* Shop page */
.shop-page .shop-container,
.shop-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .85rem;
  background: #ffffff;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--site-shadow);
  text-align: center;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #f7fbfd;
  margin: 0 auto .65rem;
}
.product-card h3 {
  margin: .25rem 0 .35rem;
  color: var(--site-navy);
  font-size: 1rem;
}
.product-description { color: #263b4c; font-size: .9rem; }
.product-card .price { margin: .3rem 0 .7rem; color: var(--site-muted); font-weight: 800; }
.product-card .buy-button { margin-top: auto; width: 100%; }

/* Featured Restaurants page */
.featured-intro,
.sample-featured-examples { text-align: center; }
.featured-page-note { margin-top: .35rem !important; }
.featured-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.sample-featured-list { margin-top: 1rem; }
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: 0 6px 18px var(--site-shadow);
  max-width: 100%;
}
.featured-image { background: #dfeff8; overflow: hidden; min-height: 0; }
.featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: 280px;
}
.featured-content { min-width: 0; padding: 1rem 1.1rem; }
.featured-town {
  color: var(--site-blue);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .03em;
  margin-bottom: .3rem;
  text-transform: uppercase;
}
.featured-name {
  color: var(--site-navy);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.15;
  margin: 0 0 .35rem;
}
.featured-address { color: var(--site-muted); font-weight: 800; margin: 0 0 .55rem; }
.featured-description { color: #263b4c; margin: 0 0 .75rem; }
.featured-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .75rem 0; }
.featured-tag {
  background: #e2f0f8;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-navy);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  padding: .24rem .62rem;
}
.featured-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.featured-links a {
  background: var(--site-navy);
  border-radius: 999px;
  color: #fff8e7 !important;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 900;
  padding: .45rem .7rem;
}
.featured-links a:hover { opacity: .93; text-decoration: none; }
.empty-featured-message {
  background: #fff8e7;
  border: 1px solid rgba(216, 173, 69, .45);
  border-radius: 14px;
  color: #263b4c;
  margin-top: 1rem;
  padding: .9rem 1rem;
}
.back-to-listings { color: var(--site-navy); font-weight: 900; margin: 1rem 0 0; text-align: center; }

/* Get Featured upgrade page */
.featured-upgrade-page {
  max-width: 1120px;
  padding: 1rem 1rem 2rem;
}
.featured-upgrade-hero {
  margin: 0 0 1rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(247, 215, 116, .38), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #e8f3fa 58%, #d9edf7 100%);
  border: 1px solid var(--site-border);
  box-shadow: 0 10px 26px rgba(3, 27, 51, .14);
}
.featured-upgrade-hero-inner { max-width: 820px; }
.featured-upgrade-hero h1 {
  margin: .2rem 0 .55rem;
  color: var(--site-navy);
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.05;
}
.hero-intro {
  margin: 0;
  color: #263b4c;
  font-size: clamp(1rem, 2.3vw, 1.22rem);
  max-width: 720px;
}
.content-section {
  margin: 1rem 0;
  padding: clamp(1rem, 3vw, 1.35rem);
  background: #ffffff;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  box-shadow: 0 6px 18px var(--site-shadow);
}
.content-section h2 {
  margin: 0 0 .65rem;
  color: var(--site-navy);
  font-size: clamp(1.35rem, 3.3vw, 2rem);
}
.content-section p { color: #263b4c; }
.featured-upgrade-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1rem;
  align-items: stretch;
}
.content-copy { min-width: 0; }
.notice-box {
  margin-top: 1rem;
  padding: .95rem 1rem;
  background: #fff8e7;
  border: 1px solid rgba(216, 173, 69, .55);
  border-radius: 16px;
}
.notice-box p { margin: .35rem 0 0; }
.featured-price-card {
  padding: 1.15rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff8e7 0%, #ffffff 70%);
  border: 2px solid rgba(216, 173, 69, .72);
  box-shadow: 0 10px 22px rgba(3, 27, 51, .15);
}
.price-card-label {
  margin: 0;
  color: var(--site-blue);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.price-card-price {
  margin: .25rem 0 .45rem;
  color: var(--site-navy) !important;
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}
.price-card-price span {
  display: block;
  margin-top: .25rem;
  color: var(--site-muted);
  font-size: .98rem;
  font-weight: 800;
}
.benefit-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit-card,
.step-card {
  min-width: 0;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  border: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(3, 27, 51, .08);
}
.benefit-card h3,
.step-card h3 {
  margin: 0 0 .4rem;
  color: var(--site-navy);
  font-size: 1.05rem;
}
.benefit-card p,
.step-card p { margin: 0; color: #263b4c; }
.step-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: .55rem;
  border-radius: 50%;
  background: var(--site-navy);
  color: #fff8e7;
  font-weight: 900;
}
.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(247, 215, 116, .28), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #eef8fc 100%);
}
.final-cta p { max-width: 720px; margin-left: auto; margin-right: auto; }
.small-note {
  margin-top: .75rem !important;
  color: var(--site-muted) !important;
  font-size: .9rem;
}

/* Forms */
.form {
  background: #ffffff;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: var(--site-soft-shadow);
  padding: 1.1rem;
}
.form label { display: block; margin-top: .75rem; color: var(--site-navy); font-weight: 900; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: .62rem;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  font: inherit;
}
.form textarea { min-height: 120px; }

/* Footer */
.site-footer {
  margin-top: 24px;
  padding: 12px 8px 16px;
  background: var(--site-deep);
  color: #fff8e7;
  text-align: center;
  font-size: .85rem;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--site-gold); }

/* Responsive */
@media (min-width: 720px) {
  .featured-card { grid-template-columns: 38% 62%; }
  .featured-image img { height: 100%; min-height: 100%; max-height: none; aspect-ratio: auto; }
}
@media (max-width: 920px) {
  .featured-upgrade-intro { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header h1 { font-size: 1.42rem; }
  .main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: .88rem;
    white-space: normal;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: 8px 6px;
  }
  .main-nav a.featured-nav-link { color: var(--site-navy) !important; }
  .hero-banner { padding: 0; }
  .hero-banner img { border-radius: 0; }
  .site-intro,
  .intro-box,
  .content-card { text-align: left; }
  .site-intro h2,
  .intro-box h2 { text-align: center; }
  .promo-card { max-width: 100%; }
  .promo-image-link { flex-basis: 72px; width: 72px; height: 72px; }
  .promo-title { font-size: .94rem; }
  .promo-text,
  .promo-button { font-size: .8rem; }
  .featured-main,
  .featured-upgrade-page { padding: .75rem; }
  .featured-content { padding: .95rem; }
  .featured-links a,
  .cta-button,
  .button,
  .stripe-button,
  .featured-upgrade-button { width: 100%; }
  .benefit-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .product-card img { height: 150px; }
}


/* =========================================================
   Honolulu / O‘ahu theme overrides
   ========================================================= */
:root {
  --site-blue: #087f8c;
  --site-navy: #04384a;
  --site-deep: #022b35;
  --site-gold: #f2c14e;
  --site-gold-light: #ffe08a;
  --site-light: #eefaf8;
  --site-border: #b9e1dd;
  --site-shadow: rgba(2, 43, 53, 0.16);
}
.site-header,
body > header.site-header {
  background: linear-gradient(135deg, #04384a 0%, #087f8c 52%, #0b6e8f 100%);
}
.content-card,
.site-intro,
.intro-box {
  background: linear-gradient(135deg, #ffffff, #ecfffb);
}
.main-nav a.featured-nav-link,
.button-primary,
#share-btn,
button[type="submit"] {
  background: linear-gradient(135deg, #f2c14e, #d99c2b);
  color: #04384a !important;
}
.letter-section h2 {
  border-bottom-color: #087f8c;
}
.featured-pill {
  background: linear-gradient(135deg, #f2c14e, #d99c2b);
  color: #04384a !important;
}
