/*
Theme Name: The Jam Lounge Open Now
Theme URI: https://jamlounge.co.uk/
Author: The Jam Lounge
Description: A simple starter website theme for The Jam Lounge, Wakefield. Built for an open venue with contact form placeholder and Venue 23 link.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jam-lounge
*/

:root {
  --jam-black: #080808;
  --jam-bg: #12100e;
  --jam-panel: #1e1a16;
  --jam-panel-soft: #2a211b;
  --jam-cream: #f5e4bd;
  --jam-muted: #d5c4a6;
  --jam-red: #b33425;
  --jam-green: #526a55;
  --jam-line: rgba(245, 228, 189, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jam-black);
  color: var(--jam-cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.jam-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(179,52,37,0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(82,106,85,0.22), transparent 34%),
    linear-gradient(180deg, #161210 0%, #090909 62%);
}

.jam-wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.jam-topbar {
  padding: 14px 0;
  color: var(--jam-muted);
  border-bottom: 1px solid rgba(245,228,189,0.12);
  font-size: 0.95rem;
}

.jam-topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.jam-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
  overflow: hidden;
}

.jam-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.54) 52%, rgba(8,8,8,0.80) 100%),
    var(--jam-hero-image, none) center/cover no-repeat;
  opacity: 0.34;
  filter: saturate(0.85) contrast(1.1);
}

.jam-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.jam-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(179,52,37,0.9);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jam-title {
  margin: 0 0 22px;
  font-size: clamp(3.3rem, 8.4vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.jam-title span {
  display: block;
  color: var(--jam-red);
}

.jam-intro {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--jam-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.jam-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.jam-button,
.jam-button-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.jam-button {
  background: var(--jam-red);
  color: #fff;
}
.jam-button:hover,
.jam-button:focus { background: #c74333; }

.jam-button-alt {
  border: 1px solid var(--jam-line);
  color: var(--jam-cream);
}
.jam-button-alt:hover,
.jam-button-alt:focus { background: rgba(245,228,189,0.08); }

.jam-panel {
  background: rgba(30,26,22,0.90);
  border: 1px solid var(--jam-line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.jam-logo-card {
  padding: 22px;
  margin-bottom: 22px;
  background: #cbcbcb;
  border-radius: 24px;
  text-align: center;
}

.jam-logo-card img {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 18px;
}

.jam-panel h2,
.jam-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: 0.05em;
  line-height: 1.12;
  text-transform: uppercase;
}

.jam-panel p,
.jam-section p {
  margin: 0 0 16px;
  color: var(--jam-muted);
}

.jam-info-line {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--jam-line);
}

.jam-section {
  padding: 74px 0;
  border-top: 1px solid rgba(245,228,189,0.12);
  background: rgba(0,0,0,0.18);
}

.jam-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.jam-small-card {
  padding: 24px;
  background: var(--jam-panel);
  border: 1px solid var(--jam-line);
  border-radius: 22px;
}

.jam-small-card h3 {
  margin: 0 0 10px;
  color: var(--jam-cream);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jam-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.jam-map-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--jam-cream);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.jam-form-panel {
  padding: 28px;
  background: var(--jam-panel);
  border: 1px solid var(--jam-line);
  border-radius: 22px;
}

.jam-form-placeholder {
  padding: 24px;
  color: var(--jam-muted);
  background: rgba(0,0,0,0.22);
  border: 1px dashed rgba(245,228,189,0.45);
  border-radius: 18px;
}

.jam-form-placeholder code {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 10px;
  color: var(--jam-cream);
  background: #111;
  border-radius: 8px;
  white-space: normal;
}

.jam-footer {
  padding: 28px 0;
  color: var(--jam-muted);
  background: #060606;
  border-top: 1px solid rgba(245,228,189,0.12);
  font-size: 0.94rem;
}

.jam-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 880px) {
  .jam-hero { min-height: auto; padding: 48px 0 60px; }
  .jam-grid,
  .jam-cards,
  .jam-contact-grid { grid-template-columns: 1fr; }
  .jam-panel,
  .jam-form-panel { padding: 20px; }
}

@media (max-width: 520px) {
  .jam-wrap { width: min(100% - 26px, 1140px); }
  .jam-title { font-size: 3rem; }
  .jam-button,
  .jam-button-alt { width: 100%; }
  .jam-topbar { font-size: 0.86rem; }
}
