/*
Theme Name: Creatieve Vrienden
Theme URI: https://showcase.creatievevrienden.nl/
Author: Creatieve Vrienden
Description: Custom one-page theme voor Creatieve Vrienden met WordPress-menu, portfolio-module en Gravity Forms contactblok.
Version: 1.0.20
Text Domain: creatieve-vrienden
*/

:root {
  --pink: #ec008c;
  --pink-dark: #b90070;
  --ink: #181818;
  --muted: #5c5c5c;
  --line: #dddddd;
  --paper: #ffffff;
  --wash: #f7f7f5;
  --cyan: #12a8d8;
  --lime: #a7c83b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateX(-50%);
  pointer-events: none;
}

.brand,
.main-nav,
.menu-toggle {
  pointer-events: auto;
}

.brand {
  width: 134px;
  height: 134px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  transform: rotate(-4deg);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 4px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: linear-gradient(180deg, transparent 0 170px, var(--pink) 170px, var(--pink-dark) 560px, transparent 560px);
  padding: 160px max(24px, calc((100vw - var(--max)) / 2)) 86px;
}

.pink-slab {
  position: absolute;
  z-index: 0;
  top: 170px;
  width: max(34vw, calc((100vw - var(--max)) / 2 + 380px));
  height: 390px;
  background: linear-gradient(180deg, var(--pink), var(--pink-dark));
}

.pink-slab-left {
  left: min(-10vw, calc((var(--max) - 100vw) / 2));
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.pink-slab-right {
  right: min(-13vw, calc((var(--max) - 100vw) / 2));
  clip-path: polygon(0 28%, 100% 14%, 100% 100%, 0 100%);
}

.hero-media {
  position: absolute;
  z-index: 1;
  inset: 0 calc((100vw - min(var(--max), 100vw)) / 2);
  max-height: 650px;
  overflow: hidden;
  background: var(--wash);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.12) 38%, rgba(0, 0, 0, 0.58) 100%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-left: clamp(42px, 5vw, 76px);
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72), 0 5px 15px rgba(0, 0, 0, 0.24);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  margin-bottom: 12px;
  font-size: clamp(54px, 8vw, 106px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
}

h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1;
}

.hero-content p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 10px;
  border: 2px solid currentColor;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  font-family: Impact, "Arial Narrow", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  border-color: var(--pink);
  background: var(--pink);
  color: #ffffff;
}

.button-ghost {
  isolation: isolate;
  border-color: transparent;
  background: var(--ink);
  color: var(--ink);
  line-height: 1;
}

.button-ghost::before {
  position: absolute;
  z-index: 0;
  inset: 2px;
  background: #ffffff;
  clip-path: inherit;
  content: "";
}

.button-ghost span {
  position: relative;
  z-index: 1;
}

.band,
.services,
.friends,
.proposition {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.band {
  background: var(--wash);
}

.intro {
  display: grid;
  grid-template-columns: minmax(250px, 390px) 1fr;
  gap: 50px;
}

.section-heading {
  max-width: 760px;
}

.intro .section-heading {
  max-width: 390px;
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p {
  margin-bottom: 0;
}

.proposition {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 50px;
  align-items: start;
  background: var(--ink);
  color: #ffffff;
}

.proposition-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #e7e7e7;
  font-size: 18px;
}

.proposition-points {
  display: grid;
  gap: 14px;
}

.proposition-points article {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-left: 8px solid var(--pink);
  background: rgba(255, 255, 255, 0.08);
}

.proposition-points article:nth-child(2) {
  border-color: var(--cyan);
}

.proposition-points article:nth-child(3) {
  border-color: var(--lime);
}

.proposition-points strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.proposition-points span {
  color: #e7e7e7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border-top: 8px solid var(--pink);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.service-card:nth-child(2) {
  border-color: var(--cyan);
}

.service-card:nth-child(3) {
  border-color: var(--lime);
}

.service-card span {
  display: block;
  margin-bottom: 50px;
  color: #bdbdbd;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 44px;
  line-height: 1;
}

.work .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.work-showcase {
  display: grid;
  gap: 28px;
}

.work-feature,
.work-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  min-height: 430px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  min-height: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card:hover {
  border-color: rgba(236, 0, 140, 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.case-shot {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e8e8e8;
}

.case-shot::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.08));
  content: "";
  pointer-events: none;
}

.case-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.case-shot a {
  display: block;
  height: 100%;
  color: inherit;
  cursor: pointer;
}

.work-card:hover .case-shot img,
.work-feature:hover .case-shot img {
  transform: scale(1.035);
}

.case-shot-large {
  min-height: 430px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 22px 22px;
}

.work-feature .case-copy {
  justify-content: center;
  padding: 42px;
}

.work-feature h3 {
  font-size: clamp(46px, 5vw, 78px);
}

.work-card h3 {
  font-size: 34px;
  line-height: 0.95;
}

.case-copy p:not(.tag) {
  margin-top: 10px;
  color: var(--muted);
}

.tag {
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.friends {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 50px;
  align-items: center;
}

.friends-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.text-link,
.mail-link {
  color: var(--pink);
  font-weight: 800;
}

.friends-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.friends-frame img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 62%;
}

.name-card {
  position: absolute;
  right: auto;
  bottom: -10px;
  left: 42px;
  width: min(330px, calc(100% - 84px));
  padding: 18px 20px;
  background: var(--pink);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
}

.name-card strong {
  display: block;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 32px;
  line-height: 0.95;
  text-transform: uppercase;
}

.name-card span {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
  padding: 44px;
  border: 8px solid var(--pink);
  background: #ffffff;
}

.contact-panel p {
  color: var(--muted);
}

.mail-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-fallback {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-fallback p {
  margin: 0;
}

.contact-form .gform_wrapper {
  margin: 0;
}

.contact-form .gform_fields {
  gap: 14px;
}

.contact-form .gfield_label {
  color: var(--muted);
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--pink);
  outline: none;
}

.contact-form .gform_button,
.contact-form input[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 10px;
  border: 0;
  background: var(--pink);
  color: #ffffff;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  cursor: pointer;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  outline: none;
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-size: 18px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 54px 24px 42px;
  text-align: center;
}

.brand-small {
  width: 96px;
  height: 96px;
  box-shadow: none;
}

.site-footer p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 72px;
  }

  .brand {
    width: 104px;
    height: 104px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 48px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: var(--pink);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    display: none;
    min-width: 210px;
    align-items: stretch;
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 18px;
  }

  .hero {
    min-height: 680px;
    padding-top: 140px;
  }

  .hero-media {
    inset: 0;
    max-height: 620px;
  }

  .pink-slab {
    top: 250px;
    height: 320px;
  }

  .intro,
  .proposition,
  .section-heading,
  .friends,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-feature {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .case-shot,
  .case-shot-large {
    min-height: 320px;
  }

  .intro-copy {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-rows: 300px auto;
  }

  .work-card .case-shot {
    height: 300px;
    min-height: 0;
  }

  .work-card .case-copy {
    position: relative;
    z-index: 1;
    min-height: 0;
    background: #ffffff;
  }

  .work-card h3 {
    margin-top: 0;
    font-size: 32px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 640px;
    padding: 132px 18px 52px;
  }

  .hero-content {
    padding-left: 14px;
  }

  .hero-media img {
    object-position: 61% 50%;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 44px;
  }

  .band,
  .services,
  .friends,
  .proposition {
    padding: 64px 18px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-feature .case-copy,
  .case-copy {
    padding: 22px;
  }

  .case-shot,
  .case-shot-large {
    min-height: 235px;
  }

  .work-card {
    grid-template-rows: 235px 1fr;
  }

  .work-card .case-shot {
    height: 235px;
  }

  .service-card {
    min-height: 220px;
  }

  .friends-frame,
  .friends-frame img {
    min-height: 430px;
  }

  .name-card {
    bottom: 14px;
    left: 18px;
    width: calc(100% - 36px);
    padding: 18px;
  }

  .contact-panel {
    padding: 24px;
    border-width: 6px;
  }

  .mail-link {
    font-size: 18px;
  }
}
