/*
Theme Name: Divine Draught Den
Theme URI: https://example.com/divine-draught-den
Author: Divine Draught Den
Description: A premium alcohol-free karaoke lounge theme built around the Divine Draught Den visual identity.
Version: 1.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: divine-draught-den
*/

:root {
  --ddd-navy: #041333;
  --ddd-navy-2: #061b47;
  --ddd-gold: #f1bf55;
  --ddd-gold-light: #ffe28f;
  --ddd-cream: #fff9ec;
  --ddd-teal: #4fc7bf;
  --ddd-coral: #ff7468;
  --ddd-muted: rgba(255, 249, 236, 0.74);
  --ddd-border: rgba(241, 191, 85, 0.26);
  --ddd-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --ddd-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ddd-cream);
  background:
    radial-gradient(circle at 50% 8%, rgba(11, 46, 110, 0.84), transparent 34rem),
    linear-gradient(180deg, var(--ddd-navy-2), var(--ddd-navy) 36rem, #020a20);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration-color: rgba(241, 191, 85, 0.62);
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.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;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(241, 191, 85, 0.18);
  background: rgba(4, 19, 51, 0.88);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.section-inner {
  width: min(var(--ddd-max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(241, 191, 85, 0.3);
}

.brand__name {
  display: grid;
  color: var(--ddd-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 700;
  line-height: 0.95;
}

.brand__tagline {
  color: var(--ddd-muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--ddd-muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--ddd-navy);
  background: var(--ddd-gold);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ddd-navy);
  background: linear-gradient(135deg, var(--ddd-gold-light), var(--ddd-gold));
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--ghost {
  color: var(--ddd-cream);
  border-color: rgba(255, 249, 236, 0.32);
  background: rgba(255, 249, 236, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 8vw, 96px) 0 clamp(52px, 8vw, 84px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 19, 51, 0.98) 0%, rgba(4, 19, 51, 0.75) 52%, rgba(4, 19, 51, 0.38) 100%),
    url("assets/images/hero-wide.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% -10%;
  z-index: -1;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(79, 199, 191, 0.23), transparent 62%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ddd-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  color: var(--ddd-gold-light);
  font-size: clamp(4.2rem, 11vw, 9rem);
  letter-spacing: 0;
}

h2 {
  color: var(--ddd-gold-light);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h3 {
  color: var(--ddd-cream);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.hero__copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ddd-muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__art {
  width: min(100%, 470px);
  margin-inline: auto;
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.46));
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  border: 1px solid var(--ddd-border);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ddd-cream);
  background: rgba(255, 249, 236, 0.07);
  font-size: 0.9rem;
}

.section {
  padding: clamp(58px, 8vw, 100px) 0;
}

.section--band {
  background: rgba(255, 249, 236, 0.045);
  border-block: 1px solid rgba(241, 191, 85, 0.16);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--ddd-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.09), rgba(255, 249, 236, 0.035));
  box-shadow: var(--ddd-shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--ddd-navy);
  background: var(--ddd-gold);
  font-weight: 900;
}

.feature p {
  margin: 14px 0 0;
  color: var(--ddd-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.05);
  box-shadow: var(--ddd-shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.menu-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 249, 236, 0.14);
}

.menu-item strong {
  color: var(--ddd-cream);
  font-size: 1.08rem;
}

.menu-item span {
  color: var(--ddd-gold-light);
  font-weight: 800;
}

.menu-item p {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  color: var(--ddd-muted);
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  overflow: hidden;
}

.event-strip div {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid rgba(241, 191, 85, 0.2);
  background: rgba(255, 249, 236, 0.055);
}

.event-strip div:last-child {
  border-right: 0;
}

.event-strip span {
  display: block;
  margin-bottom: 20px;
  color: var(--ddd-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.055);
  box-shadow: var(--ddd-shadow);
}

.post-card__media {
  display: block;
  overflow: hidden;
  background: rgba(255, 249, 236, 0.06);
  text-decoration: none;
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__body {
  padding: 24px;
}

.post-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--ddd-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.post-card h3 a,
.post-card__link {
  text-decoration: none;
}

.post-card p {
  margin: 14px 0 20px;
  color: var(--ddd-muted);
}

.post-card__link {
  color: var(--ddd-gold-light);
  font-weight: 800;
}

.empty-posts {
  padding: 28px;
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.055);
}

.empty-posts p {
  margin: 12px 0 0;
  color: var(--ddd-muted);
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 78px);
  border: 1px solid var(--ddd-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(4, 19, 51, 0.98), rgba(4, 19, 51, 0.68)),
    url("assets/images/hero-wide.png") center / cover no-repeat;
  box-shadow: var(--ddd-shadow);
}

.cta p {
  max-width: 630px;
  margin: 18px 0 28px;
  color: var(--ddd-muted);
  font-size: 1.12rem;
}

.waitlist-embed {
  max-width: 540px;
  margin-top: 24px;
}

.waitlist-embed form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waitlist-embed input[type="email"],
.waitlist-embed input[type="text"] {
  flex: 1 1 220px;
  min-height: 44px;
  border: 1px solid rgba(255, 249, 236, 0.32);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ddd-cream);
  background: rgba(255, 249, 236, 0.1);
  font: inherit;
  font-size: 0.95rem;
}

.waitlist-embed input::placeholder {
  color: rgba(255, 249, 236, 0.58);
}

.waitlist-embed button,
.waitlist-embed input[type="submit"] {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 18px;
}

.waitlist-embed__fallback {
  padding: 16px 18px;
  border: 1px solid rgba(255, 249, 236, 0.24);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.08);
}

.site-main--content {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.entry-header {
  margin-bottom: 32px;
}

.entry-content {
  color: var(--ddd-muted);
}

.entry-content > * + * {
  margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
  color: var(--ddd-gold-light);
}

.wp-block-image,
.wp-block-quote {
  margin-inline: 0;
}

.site-footer {
  border-top: 1px solid rgba(241, 191, 85, 0.18);
  background: rgba(2, 10, 32, 0.86);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  color: var(--ddd-muted);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ddd-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.site-footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

@media (max-width: 900px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .primary-menu {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .split,
  .feature-grid,
  .event-strip,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    max-width: 360px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(241, 191, 85, 0.2);
  }

  .event-strip div:last-child {
    border-bottom: 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header__inner,
  .section-inner,
  .site-main--content {
    width: min(100% - 28px, var(--ddd-max));
  }

  .brand__name {
    font-size: 1.4rem;
  }

  .brand__tagline {
    font-size: 0.64rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .wp-block-button__link {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5.4rem);
  }
}
