/*
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.1
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 {
  display: grid;
  width: 134px;
  height: 134px;
  place-items: center;
  padding: 22px 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.brand-kicker {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 25px;
  line-height: 0.86;
}

.brand-name strong {
  color: var(--pink);
  display: block;
}

.brand-payoff {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
  text-transform: none;
}

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

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

.main-nav a {
  position: relative;
  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 {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 160px max(24px, calc((100vw - var(--max)) / 2)) 86px;
}

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

.pink-slab-left {
  left: -10vw;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.pink-slab-right {
  right: -13vw;
  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;
}

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 {
  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 {
  background: rgba(0, 0, 0, 0.34);
  color: #ffffff;
}

.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 {
  columns: 2 280px;
  column-gap: 42px;
  color: var(--muted);
  font-size: 18px;
}

.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-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  display: grid;
  overflow: hidden;
  min-height: 410px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.work-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.work-card div {
  padding: 22px;
}

.feature-card {
  grid-column: span 2;
  grid-row: span 2;
}

.feature-card img {
  height: 560px;
}

.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-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;
  padding: 16px 10px 12px;
  box-shadow: none;
}

.brand-small .brand-kicker {
  font-size: 8px;
}

.brand-small .brand-name {
  font-size: 18px;
}

.brand-small .brand-payoff {
  font-size: 10px;
}

.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;
    padding: 17px 11px 13px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-payoff {
    font-size: 10px;
  }

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

  .feature-card {
    grid-column: span 2;
    grid-row: auto;
  }

  .feature-card img,
  .work-card img {
    height: 320px;
  }
}

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

  .feature-card {
    grid-column: auto;
  }

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