/* ============================================================
   SPEC ARTIST MANAGEMENT — STIJLGIDS (DESKTOP-ONLY)
   ============================================================ */

/* === Root variabelen === */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f8f8f8;
  --color-text: #111;
  --color-accent: #E9C48C;
  --font-base: 'Poppins', sans-serif;
  --font-alt: 'Jost', sans-serif;
  --radius: 12px;
}

/* === Basis layout === */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  word-wrap: break-word;
}

/* === Scroll progress-bar === */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--color-accent);
  z-index: 200;
  transition: width .25s ease;
}

/* === Scrollbar === */
html {
  scrollbar-color: var(--color-accent) #f5f5f5;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 10px; }
::-webkit-scrollbar-track { background: #f5f5f5; }

/* === Container === */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

/* ============================================================
   HEADER / NAVIGATIE
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
  z-index: 100;
  border-bottom: 1px solid rgba(233,196,140,0.25);
  height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  transition: color .3s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition: width .3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.nav-list a:hover,
.nav-list a.active { color: var(--color-accent); }

/* === Hamburger knop (desktop verborgen) === */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
  position: relative;
}
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* ============================================================
   HERO / PUZZEL LOGO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  padding: 6rem 1.25rem 4rem;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
  padding: 2.25rem;
  border: 1px solid rgba(233,196,140,0.25);
  max-width: 380px;
  width: 100%;
}
.logo-puzzle {
  position: relative;
  width: clamp(180px, 40vw, 300px);
}
.logo-puzzle img {
  width: 100%;
  display: block;
  height: auto;
}

/* === Puzzelanimatie === */
.piece { position: absolute; top: 0; left: 0; opacity: 0; }
.piece1 { clip-path: inset(0 50% 50% 0); }
.piece2 { clip-path: inset(0 0 50% 50%); }
.piece3 { clip-path: inset(50% 50% 0 0); }
.piece4 { clip-path: inset(50% 0 0 50%); }
.hero-logo { opacity: 0; transition: opacity .6s; }

@keyframes movePiece1 { 0%{transform:translate(-120%,-120%);opacity:0;}100%{transform:translate(0,0);opacity:1;} }
@keyframes movePiece2 { 0%{transform:translate(120%,-120%);opacity:0;}100%{transform:translate(0,0);opacity:1;} }
@keyframes movePiece3 { 0%{transform:translate(-120%,120%);opacity:0;}100%{transform:translate(0,0);opacity:1;} }
@keyframes movePiece4 { 0%{transform:translate(120%,120%);opacity:0;}100%{transform:translate(0,0);opacity:1;} }

.animate-logo .piece1 { animation: movePiece1 1s ease forwards; }
.animate-logo .piece2 { animation: movePiece2 1s ease forwards .1s; }
.animate-logo .piece3 { animation: movePiece3 1s ease forwards .2s; }
.animate-logo .piece4 { animation: movePiece4 1s ease forwards .3s; }

.logo-puzzle.finished .hero-logo { opacity: 1; }
.logo-puzzle.finished .piece { opacity: 0; }

/* ============================================================
   SECTIES
   ============================================================ */
.section {
  padding: 5rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section h2 {
  font-family: var(--font-alt);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}
.section p {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  padding-inline: 1.5rem;
}

/* ============================================================
   CONTACTFORMULIER
   ============================================================ */
#contact .container {
  max-width: 1000px;
  margin: 0 auto;
  padding-inline: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.contact-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(233,196,140,0.25);
}
.btn {
  background: var(--color-accent);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  font-size: 1rem;
  font-weight: 500;
}
.btn:hover {
  background: #d7ae6b;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #111;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 2px;
  background: var(--color-accent);
}
.site-footer p {
  margin: 0 auto;
  max-width: 100%;
}
.site-footer a {
  color: var(--color-accent);
  text-decoration: none;
  margin-left: 0.25rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: #d7ae6b;
}

/* Header altijd vast + geen overlap met hero */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }
body { padding-top: 4.75rem; } /* compenseert vaste header hoogte */

/* === Contact Form 7 styling – identiek aan originele form === */
.wpcf7-custom form,
.wpcf7 form,
.wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.wpcf7 label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--color-text, #111);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent, #E9C48C);
  box-shadow: 0 0 0 2px rgba(233,196,140,.25);
}

.wpcf7-submit {
  background: var(--color-accent, #E9C48C);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  transition: background 0.3s, transform 0.3s;
}

.wpcf7-submit:hover {
  background: #d7ae6b;
  transform: translateY(-2px);
}

/* Responsiveness consistent met je originele form */
@media (max-width: 768px) {
  .wpcf7-custom form { width: 100%; }
}

/* ===== CF7 OVERRIDES — maak contactformulier identiek aan originele HTML ===== */

/* Forceer links uitlijnen in de contact-sectie (overrulet .section p { text-align:center; }) */
#contact.section p { 
  text-align: left !important;
  padding-inline: 0 !important;
  margin: 0 0 1.2rem !important;
  max-width: 800px !important;
}

/* CF7 structuur op links + full-width velden */
#contact .wpcf7-form {
  text-align: left !important;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#contact .wpcf7-form p {
  margin: 0 0 1.2rem !important;
  text-align: left !important;
}

#contact .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Labels zoals in je HTML */
#contact .wpcf7-form label {
  display: block;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--color-text);
  text-align: left !important;
}

/* Velden identiek aan .contact-form */
#contact .wpcf7 input[type="text"],
#contact .wpcf7 input[type="email"],
#contact .wpcf7 input[type="tel"],
#contact .wpcf7 textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
  color: var(--color-text);
  box-sizing: border-box;
  transition: border-color .3s, box-shadow .3s;
}

#contact .wpcf7 input:focus,
#contact .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(233,196,140,.25);
}

/* Verstuur-knop 100% breed zoals .btn */
#contact .wpcf7 input[type="submit"],
#contact .wpcf7 .wpcf7-submit {
  display: inline-block;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background .3s, transform .3s;
}

#contact .wpcf7 input[type="submit"]:hover,
#contact .wpcf7 .wpcf7-submit:hover {
  background: #d7ae6b;
  transform: translateY(-2px);
}

/* Meldingen consistent */
#contact .wpcf7-not-valid-tip { color: #c00; font-size: .875rem; }
#contact .wpcf7 .wpcf7-response-output {
  margin-top: 1rem; padding: .75rem 1rem; border-radius: 10px; font-size: .95rem;
}
#contact .wpcf7 form.sent .wpcf7-response-output {
  background: #e7f9ed; border: 1px solid #b3e0c7; color: #0a4226;
}
#contact .wpcf7 form.invalid .wpcf7-response-output {
  background: #fde7e7; border: 1px solid #f1b3b3; color: #700;
}

