/*
Theme Name: Mr.Mack
Theme URI: http://localhost/mrmack
Author: Mr.Mack
Description: Fiatalos, mobilra kész DJ theme Mr.Mack budapesti fekete zenei bulijaihoz.
Version: 1.0.3
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.2
Text Domain: mrmack
*/

:root {
  --bg: #07080d;
  --bg-2: #10131c;
  --card: #171c28;
  --line: rgba(240, 197, 106, 0.22);
  --gold: #f0c56a;
  --gold-deep: #c8963e;
  --text: #f7f4ee;
  --muted: #b7b1a6;
  --blue: #7eb0ff;
  --header: 72px;
  --max: 1120px;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(240, 197, 106, 0.16), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe3a3; }

h1, h2, h3, .wordmark, .nav-toggle {
  font-family: Syne, Outfit, sans-serif;
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a1203;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 13, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(1240px, calc(100% - 1.25rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}
.wordmark span { color: var(--gold); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.site-nav {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 30;
  background: #07080d;
  padding: 1rem 1.25rem 6rem;
  display: none;
  overflow: auto;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.9rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
  font-weight: 600;
}
.btn.header-call { display: none; }

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}
.hero-copy .kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.hero h1 { font-size: clamp(3.2rem, 14vw, 6.4rem); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center 18%;
}
.chips, .venues { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
.chips span, .venues span, .tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(180deg, #ffd98a, var(--gold-deep)); color: #1a1203; }
.btn-gold:hover { color: #1a1203; filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--gold); }

.section { padding: 4.2rem 0; }
section[id] { scroll-margin-top: calc(var(--header) + 12px); }
.section-head { margin-bottom: 1.6rem; max-width: 42rem; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.45rem;
}
.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%); }

.split { display: grid; gap: 1.5rem; }
.story p:last-child { margin-bottom: 0; }
.portrait-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.portrait-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; }
.portrait-card figcaption { padding: 0.8rem 1rem 1rem; color: var(--muted); font-size: 0.92rem; }

.cards, .mix-grid, .gallery, .contact-grid { display: grid; gap: 1rem; }
.card, .mix, .contact-card, .quote, .form-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.card p, .mix p { color: var(--muted); }
.card strong { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

.gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
}
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery figcaption { padding: 0.7rem 0.85rem 0.9rem; color: var(--muted); font-size: 0.9rem; }

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 1rem;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mix iframe { width: 100%; height: 280px; border: 0; border-radius: 14px; }

.quote { border-color: var(--line); }
.quote p { font-size: 1.25rem; color: var(--text); }

.download {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.contact-card a { color: var(--text); font-weight: 700; text-decoration: none; }
.contact-card li { margin: 0.35rem 0; }
.contact-card ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1018;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.choices { display: grid; gap: 0.45rem; }
.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.35rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}
.choice input { width: 1.1rem; height: 1.1rem; min-height: 0; }
.hp { position: absolute; left: -9999px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: 0.35rem; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.notice {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.notice.ok { background: rgba(126, 176, 255, 0.12); border: 1px solid rgba(126, 176, 255, 0.4); }
.notice.err { background: rgba(255, 93, 115, 0.12); border: 1px solid rgba(255, 93, 115, 0.45); }

.site-footer {
  padding: 2rem 0 6.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; }
.site-footer a { color: var(--muted); }

.mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.5rem;
}
.mobile-cta a { text-decoration: none; }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .mix-grid { grid-template-columns: 1fr 1fr; }
  .choices.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .nav-toggle, .mobile-cta { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
  .site-nav ul { display: flex; gap: 0.15rem; align-items: center; }
  .site-nav a {
    border: 0;
    padding: 0.4rem 0.55rem;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .btn.header-call { display: inline-flex; }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: calc(100svh - var(--header));
    padding-top: 2rem;
  }
  .split, .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 2rem; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
