/* ===== Wama Live - light redesign shell ===== */

/* ===== Fonts (local Poppins) ===== */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poppins Regular"), local("Poppins-Regular"),
    url(/s/poppins/v15/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff) format("woff");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Poppins Medium"), local("Poppins-Medium"),
    url(/s/poppins/v15/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff) format("woff");
}

/* ===== Reset / base ===== */
:root {
  --accent: #1e202f;
  --accent-light: #2c2f45;
  --bg: #fefefe;
  --bg-soft: #f0f0f0;
  --text: #1e202f;
  --muted: #6b7180;
  --green: #38a169;
  --green-soft: #c6f6d5;
  --line: #e3e5ea;
  --radius: 12px;
  --wrap: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.4em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent);
  color: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}
.site-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: 0.2s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}
.nav-toggle-label span::before {
  top: -8px;
}
.nav-toggle-label span::after {
  top: 8px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  transition: 0.15s;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 820px) {
  .nav-toggle-label {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--accent);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-toggle:checked ~ .main-nav {
    max-height: 360px;
  }
}

/* ===== Page header (sections / articles) ===== */
.page-header {
  background: var(--accent);
  color: #fff;
  padding: 48px 0;
}
.page-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}
.page-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== Main content area ===== */
main {
  flex: 1 0 auto;
}
.section {
  padding: 48px 0;
}
.romlicontainer {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1e202f 0%, #2c2f45 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin-bottom: 10px;
}
.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 28px;
}

/* ===== Section title bar ===== */
.section-title {
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(20px, 3vw, 30px);
  padding: 22px 20px;
  margin: 0;
}

/* ===== Event cards grid (homepage) ===== */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 32, 47, 0.08);
}
.card__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: #d7dade;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
  flex: 1;
}
.badge {
  align-self: flex-start;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 500;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}
.card__title {
  font-size: 22px;
  margin: 4px 0 0;
}
.card__artist {
  color: var(--muted);
  font-weight: 500;
}
.card__desc {
  font-size: 15px;
  color: #444;
  margin: 4px 0 16px;
}
.card .btn {
  margin-top: auto;
}

/* ===== Event detail (show / compra) ===== */
.event {
  display: flex;
  flex-wrap: wrap;
}
.event__media,
.event__info {
  flex: 1 1 360px;
  padding: 48px 32px;
}
.event__media {
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.event__media img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(30, 32, 47, 0.18);
}
.event__info {
  background: var(--bg-soft);
}
.event__date {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 4px;
}
.event__artist {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
}
.event__name {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 400;
  color: #3a3d4d;
  margin: 4px 0 20px;
}
.event__price {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  padding: 8px 22px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.event__desc {
  white-space: pre-line;
  color: #3a3d4d;
  margin: 0 0 24px;
}
.event__status {
  display: inline-block;
  background: #e6e8ee;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
}

/* ===== Intro / about block ===== */
.intro {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}
.intro h2 {
  font-size: clamp(24px, 4vw, 34px);
}
.intro p {
  max-width: 680px;
  margin: 0 auto 16px;
  color: rgba(255, 255, 255, 0.82);
}

/* ===== Blog (r-template_blog.php) ===== */
.blog-container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 6px 20px rgba(30, 32, 47, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30, 32, 47, 0.12);
}
.blog-title {
  font-size: 19px;
  margin: 0 0 10px;
}
.blog-title a:hover {
  color: var(--green);
}
.blog-preview p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* ===== Footer ===== */
.site-footer {
  flex-shrink: 0;
  background: #16171f;
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 20px;
  text-align: center;
}
.site-footer__social {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.site-footer__social svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.site-footer__copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.romlifooter {
  margin-top: 16px;
}
