/*
Theme Name: Advinity Consulting
Theme URI: https://advinity.nl
Author: Advinity Consulting
Author URI: https://advinity.nl
Description: Official website theme for Advinity Consulting — boutique management consultancy based in the Netherlands. Specialising in service management, contract management and process management.
Version: 1.0.0
License: Private
Text Domain: advinity
Tags: consulting, business, minimal, bilingual
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --navy: #0f1f3d;
  --navy-light: #1a3260;
  --gold: #b89a5e;
  --gold-light: #d4b87a;
  --off-white: #f8f7f4;
  --mid: #6b7280;
  --border: #e5e2da;
  --text: #1a1a2e;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: var(--mid); letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  margin-left: 1rem;
}
.lang-btn {
  padding: 5px 12px; font-size: 0.8rem; font-weight: 500;
  background: none; border: none; cursor: pointer;
  color: var(--mid); transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--navy); color: #fff; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 3rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: var(--navy);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--navy); max-width: 580px; margin-bottom: 1.75rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: var(--mid);
  max-width: 460px; line-height: 1.8; margin-bottom: 2.75rem;
}
.btn-primary {
  display: inline-block;
  background: var(--navy); color: #fff;
  padding: 14px 36px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--navy); transition: all 0.25s;
  margin-right: 1rem;
}
.btn-primary:hover { background: transparent; color: var(--navy); }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 14px 36px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--navy); transition: all 0.25s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero-stats {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  padding: 3rem 4rem;
  display: flex; flex-direction: column; gap: 2.5rem; z-index: 1;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: #fff; line-height: 1;
}
.stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px;
}

/* =========================================================
   SECTION BASE
   ========================================================= */
.site-section { padding: 6rem 3rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
  color: var(--navy); line-height: 1.2; margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--mid);
  max-width: 560px; line-height: 1.8;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-section { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--navy); margin-top: 4rem;
}
.service-card {
  padding: 2.75rem 2.25rem;
  border-right: 2px solid var(--navy);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--navy); }
.service-card:hover .service-icon { color: var(--gold); }
.service-card:hover .service-name { color: #fff; }
.service-card:hover .service-desc { color: rgba(255,255,255,0.6); }
.service-card:hover .service-num { color: rgba(255,255,255,0.08); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300;
  color: rgba(15,31,61,0.06);
  position: absolute; top: -10px; right: 20px;
  line-height: 1; transition: color 0.3s;
  pointer-events: none; user-select: none;
}
.service-icon {
  font-size: 1.75rem; color: var(--gold);
  margin-bottom: 1.25rem; display: block; transition: color 0.3s;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.75rem; transition: color 0.3s;
}
.service-desc {
  font-size: 0.9rem; color: var(--mid);
  line-height: 1.75; transition: color 0.3s;
}

/* =========================================================
   APPROACH
   ========================================================= */
.approach-section { background: var(--navy); }
.approach-section .section-title { color: #fff; }
.approach-section .section-sub { color: rgba(255,255,255,0.6); }
.approach-section .section-tag { color: var(--gold-light); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 4rem;
}
.step {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--gold);
  line-height: 1; margin-bottom: 1rem;
}
.step-name { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-visual {
  height: 420px; background: var(--navy);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.about-visual-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem; font-weight: 300; color: rgba(255,255,255,0.07);
  text-align: center; line-height: 1.1; user-select: none;
}
.about-visual-badge {
  position: absolute; bottom: 2rem; right: 2rem;
  background: var(--gold); padding: 1rem 1.5rem;
}
.badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 300; color: #fff; line-height: 1;
}
.badge-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px;
}
.about-values { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.value-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: 0.65rem; flex-shrink: 0;
}
.value-text strong { display: block; font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.value-text span { font-size: 0.875rem; color: var(--mid); }

/* =========================================================
   TEAM
   ========================================================= */
.team-section { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--navy); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: rgba(255,255,255,0.35);
  border: 3px solid var(--gold);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: var(--navy); }
.team-role { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin: 4px 0 0.75rem; }
.team-bio { font-size: 0.875rem; color: var(--mid); line-height: 1.75; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-section .section-title { color: #fff; }
.contact-section .section-sub { color: rgba(255,255,255,0.55); }
.contact-section .section-tag { color: var(--gold-light); }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { color: var(--gold); font-size: 1.1rem; margin-top: 3px; }
.contact-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.contact-val { color: #fff; font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; padding: 12px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
  border-radius: 0; -webkit-appearance: none; appearance: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--navy); color: #fff; }
.btn-gold {
  background: var(--gold); color: #fff;
  padding: 14px 32px; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.25s; width: 100%; margin-top: 0.5rem;
}
.btn-gold:hover { background: var(--gold-light); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.4);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(255,255,255,0.7); }
.footer-logo span { color: var(--gold); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .site-section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-bg { width: 100%; clip-path: polygon(0 65%, 100% 50%, 100% 100%, 0 100%); }
  .hero-stats { position: static; transform: none; flex-direction: row; padding: 2.5rem 0 0; flex-wrap: wrap; gap: 2rem; }
  .stat-num { font-size: 2.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 2px solid var(--navy); }
  .service-card:last-child { border-bottom: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .step:nth-child(even) { border-right: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 260px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .hero-title { font-size: 2.5rem; }
  .btn-primary, .btn-outline { display: block; text-align: center; margin-right: 0; margin-bottom: 0.75rem; }
}
