/*
Theme Name: Only Sandwiches
Theme URI: https://only-sandwiches.com
Author: Digital Wall Consultancy
Description: Custom WordPress theme for sandwich reviews, ratings, maps, and community content.
Version: 0.1.0
License: Proprietary
Text Domain: only-sandwiches
*/

:root {
  --bread-50: #fff7e8;
  --bread-100: #ffe9c7;
  --toast: #f59b22;
  --ocean-50: #e8fbff;
  --ocean-100: #c8f5ff;
  --ocean-300: #55daf2;
  --ocean-500: #00b7dc;
  --ocean-700: #087c9d;
  --ocean-900: #062b73;
  --pickle: #63c62f;
  --tomato: #f02018;
  --onion: #8f35c9;
  --mustard: #ffd21e;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(6, 43, 115, 0.18);
  --glow: 0 18px 60px rgba(0, 183, 220, 0.26);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ocean-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 183, 220, 0.20), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(255, 210, 30, 0.22), transparent 30rem),
    linear-gradient(180deg, var(--bread-50) 0%, var(--ocean-50) 100%);
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(200,245,255,.8); background: rgba(255,247,232,.86); backdrop-filter: blur(18px); }
.header-inner, .container { width: min(100% - 3rem, 72rem); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .75rem 0; }
.logo img { height: 4rem; width: auto; display: block; filter: drop-shadow(0 2px 2px rgba(6,43,115,.12)); }
.nav { display: flex; gap: 1.5rem; align-items: center; font-size: .86rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.nav a { text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--ocean-500); }
.pill { display: inline-flex; border-radius: 999px; background: rgba(0,183,220,.10); color: var(--ocean-700); padding: .45rem .8rem; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; padding: 3rem 0; }
.eyebrow { display: inline-flex; border-radius: 999px; background: rgba(0,183,220,.10); color: var(--ocean-700); border: 1px solid rgba(85,218,242,.5); padding: .5rem 1rem; font-size: .86rem; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .92; margin: 1rem 0 0; letter-spacing: -.055em; font-weight: 1000; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; margin: 0; letter-spacing: -.035em; font-weight: 1000; }
p { line-height: 1.65; }
.lead { font-size: 1.25rem; color: rgba(6,43,115,.74); max-width: 43rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; border-radius: 999px; padding: .75rem 1.5rem; font-weight: 900; text-decoration: none; background: var(--ocean-900); color: var(--ocean-50); box-shadow: var(--glow); }
.button.outline { background: rgba(255,255,255,.7); color: var(--ocean-900); border: 1px solid var(--ocean-300); box-shadow: none; }
.logo-card, .panel { border-radius: 2rem; background: rgba(255,255,255,.80); box-shadow: var(--shadow); border: 1px solid var(--ocean-100); backdrop-filter: blur(12px); }
.logo-card { padding: 1.25rem; }
.panel { padding: 1.5rem; margin: 1.5rem 0; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.card { display: block; background: rgba(255,255,255,.92); border-radius: 1.5rem; padding: 1.25rem; text-decoration: none; border: 1px solid var(--ocean-100); box-shadow: 0 2px 8px rgba(6,43,115,.06); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-.25rem); box-shadow: var(--glow); }
.card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.card-source, .meta-label { color: var(--ocean-500); font-size: .75rem; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; }
.card h3 { font-size: 1.25rem; margin: .5rem 0 0; line-height: 1.1; }
.rating { background: var(--mustard); color: var(--ocean-900); border-radius: 999px; padding: .25rem .75rem; font-weight: 1000; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { border-radius: 999px; background: var(--ocean-50); color: var(--ocean-700); border: 1px solid var(--ocean-100); padding: .25rem .7rem; font-size: .78rem; font-weight: 800; }
.review-layout { padding: 3rem 0; max-width: 48rem; }
.review-title { font-size: clamp(2.7rem, 7vw, 5rem); }
.review-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.review-gallery img { border-radius: 1.5rem; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.specs div { background: rgba(255,255,255,.78); border: 1px solid var(--ocean-100); border-radius: 1rem; padding: .9rem; }
.specs dt { font-weight: 900; }
.specs dd { margin: .25rem 0 0; color: rgba(6,43,115,.74); }
.content { font-size: 1.08rem; line-height: 1.75; }
.footer { margin-top: 4rem; padding: 2rem 0; color: rgba(6,43,115,.65); }
@media (max-width: 860px) { .hero, .grid, .specs, .review-gallery { grid-template-columns: 1fr; } .nav { display: none; } .logo img { height: 3.25rem; } }
