/*
Theme Name: The Cream Team
Theme URI: https://thecreamteam.be/
Author: The Cream Team
Description: WordPress thema voor The Cream Team pop-up parties.
Version: 1.0.0
Text Domain: the-cream-team
*/

:root {
  --bg: #222;
  --bg-deep: #151515;
  --panel: #2d2d2d;
  --panel-soft: #363636;
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff7fb;
  --muted: #cfc3c9;
  --hot: #ff2f8e;
  --hot-dark: #b80052;
  --cream: #ffd4e6;
  --silver: #b7b7b7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 47, 142, 0.12), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(255, 212, 230, 0.1), transparent 24%),
    var(--bg);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(24, 24, 24, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  width: var(--container);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links .nav-cta {
  color: var(--text);
  background: linear-gradient(135deg, var(--hot-dark), var(--hot));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--text);
}

.section {
  padding: 96px 0;
}

.strip {
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.92), rgba(39, 39, 39, 0.9));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 76px 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("logo_noLady.jpeg");
  background-size: cover;
  background-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.96), rgba(21, 21, 21, 0.68), rgba(21, 21, 21, 0.93)),
    linear-gradient(0deg, var(--bg), transparent 38%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.12);
}

.hero-media:empty {
  filter: grayscale(0.45) contrast(1.12);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 44px;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: clamp(4.4rem, 12vw, 9.5rem);
  line-height: 0.88;
  text-shadow: 0 0 34px rgba(255, 47, 142, 0.22);
}

h2 {
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  color: #f22783;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 700px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
}

.hero-copy p:not(.eyebrow) {
  max-width: 750px;
}

.hero-actions,
.guestbook-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.button.primary {
  background: linear-gradient(135deg, var(--hot-dark), var(--hot));
  box-shadow: 0 16px 42px rgba(255, 47, 142, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card,
.price-box,
.map-panel,
.agenda-card,
.plugin-panel,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
}

.hero-card img {
  width: 180px;
  margin-bottom: 24px;
}

.hero-card-logo {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.hero-card strong,
.hero-card span,
.hero-card a {
  display: block;
}

.hero-card strong {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.hero-card span {
  margin: 6px 0 18px;
  color: var(--muted);
}

.hero-card a,
.mail-link {
  color: var(--cream);
  font-weight: 800;
  word-break: break-word;
}

.section-heading {
  margin-bottom: 34px;
}

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

.price-box {
  min-height: 190px;
  padding: 28px;
  display: grid;
  align-content: end;
}

.price-box.featured {
  border-color: rgba(255, 47, 142, 0.52);
  background: linear-gradient(145deg, rgba(255, 47, 142, 0.3), rgba(255, 255, 255, 0.06));
}

.price-box span {
  color: var(--cream);
  font-weight: 900;
  text-transform: uppercase;
}

.price-box strong {
  margin-top: 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.note {
  max-width: 850px;
  margin: 26px 0 0;
  font-weight: 700;
}

.note.small {
  margin-top: 8px;
  color: var(--silver);
  font-size: 0.95rem;
  font-weight: 600;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
}

address {
  margin: 26px 0 18px;
  color: var(--text);
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.5;
}

.map-panel {
  overflow: hidden;
}

.map-panel iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  filter: grayscale(1) invert(0.88) contrast(0.88);
}

.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.muted {
  max-width: 560px;
}

.agenda-card,
.plugin-panel {
  padding: 24px;
}

.agenda-card ul,
.plugin-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-card li,
.plugin-panel li {
  padding: 14px 16px;
  border-left: 3px solid var(--hot);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-weight: 800;
}

.plugin-panel form,
.plugin-panel table,
.plugin-panel iframe,
.plugin-panel .wp-block-shortcode {
  width: 100%;
}

.plugin-panel input,
.plugin-panel select,
.plugin-panel textarea {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.plugin-panel input,
.plugin-panel select {
  min-height: 44px;
}

.plugin-panel button,
.plugin-panel input[type="submit"] {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--hot-dark), var(--hot));
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
}

summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--hot);
  font-size: 1.55rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.guestbook-band {
  padding: 52px 0;
  background: linear-gradient(135deg, #101010, #3a1d2b 55%, #151515);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.guestbook-inner {
  justify-content: space-between;
}

.guestbook-inner .plugin-panel {
  min-width: min(100%, 420px);
  flex: 1;
}

.guestbook-inner h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

footer {
  padding: 30px 0;
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(20, 20, 20, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-grid,
  .pricing,
  .location-grid,
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 430px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    max-width: 190px;
  }

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

  .hero {
    padding: 54px 0;
  }

  .hero-card,
  .price-box,
.agenda-card,
.plugin-panel {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .guestbook-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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