/*
Theme Name: Pub Three Sisters Inspired
Theme URI: https://example.com/
Author: (Your name)
Author URI: https://example.com/
Description: A clean, pub-style WordPress theme inspired by a sports pub layout (hero, sport calendar, menu, gallery, contact, reservations). Edit content in Pages + Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pub-three-sisters-inspired
Tags: one-column, custom-logo, custom-menu, featured-images, block-styles
*/

/* ---- Base ---- */
:root{
  --bg: #0f1412;
  --surface: #141c18;
  --surface-2:#1a241f;
  --text: #f3f5f4;
  --muted:#b8c2bd;
  --accent:#c9a24a; /* brass */
  --line: rgba(255,255,255,.12);
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 10% 0%, rgba(201,162,74,.16), transparent 40%),
              radial-gradient(1000px 700px at 90% 10%, rgba(255,255,255,.06), transparent 38%),
              var(--bg);
  line-height:1.5;
}
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }
img{ max-width:100%; height:auto; display:block; }

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }
.section{ padding:64px 0; }
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{ padding:22px; }
.grid{ display:grid; gap:18px; }
.grid.two{ grid-template-columns: 1.1fr .9fr; }
.grid.three{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){
  .grid.two{ grid-template-columns: 1fr; }
  .grid.three{ grid-template-columns: 1fr; }
  .section{ padding:46px 0; }
}

/* ---- Header ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(15,20,18,.72);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand .site-title{ font-weight:800; letter-spacing:.2px; }
.brand .site-tagline{ color:var(--muted); font-size:.9rem; margin-top:2px; }
.brand-text{ display:flex; flex-direction:column; }
.custom-logo{ width:44px; height:44px; border-radius:12px; overflow:hidden; }
.nav{
  display:flex; align-items:center; gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{ color:var(--muted); font-weight:600; font-size:.95rem; }
.nav a:hover{ color:var(--text); }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background: linear-gradient(180deg, rgba(201,162,74,.95), rgba(201,162,74,.7));
  color:#1a1206;
  border-color: rgba(201,162,74,.45);
}
.btn.small{ padding:8px 12px; font-size:.92rem; }

/* ---- Hero ---- */
.hero{
  padding:34px 0 10px;
}
.hero-wrap{
  overflow:hidden;
  border-radius: calc(var(--radius) + 10px);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(201,162,74,.16), rgba(255,255,255,.05));
  position:relative;
}
.hero-media{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:.28;
  filter:saturate(1.1);
}
.hero-content{
  position:relative;
  padding:54px 26px;
}
.hero h1{
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin:0 0 10px;
  letter-spacing:-.4px;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 56ch;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.pill{
  font-size:.9rem;
  color:var(--muted);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:999px;
  padding:8px 12px;
}

/* ---- Typography helpers ---- */
.h2{
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin:0 0 10px;
}
.lead{ color:var(--muted); margin:0; max-width: 70ch; }
.kicker{ color:var(--accent); font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:.78rem; }

/* ---- Fixture list ---- */
.fixture{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:14px;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.fixture:first-child{ border-top:0; padding-top:0; }
.fixture .meta{ color:var(--muted); font-size:.92rem; }
.badge{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:.85rem;
}

/* ---- Gallery ---- */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gallery a{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.gallery a:nth-child(1){ grid-column: span 7; }
.gallery a:nth-child(2){ grid-column: span 5; }
.gallery a:nth-child(3){ grid-column: span 4; }
.gallery a:nth-child(4){ grid-column: span 8; }
@media(max-width:900px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery a{ grid-column:auto !important; }
}

/* ---- Footer ---- */
.site-footer{
  border-top:1px solid var(--line);
  padding:28px 0;
  background: rgba(0,0,0,.18);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:18px;
}
.footer-grid h3{ margin:0 0 10px; font-size:1rem; }
.footer-grid p, .footer-grid a{ color:var(--muted); }
.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.9rem;
}
@media(max-width:900px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---- WP content ---- */
.entry-content{ color:var(--text); }
.entry-content p{ color:var(--muted); }
.entry-content h2, .entry-content h3{ color:var(--text); }
.wp-block-button__link{ border-radius:999px !important; }
