/* ═══════════════════════════════════════════════════════════════
   VHM B.V. — Corporate Website Stylesheet
   Design: Swiss-Inspired Corporate Modernism
   Colors: Forest Green (#2D5A3D) + Copper (#B87333) + Warm White (#FAFAF8)
   Fonts: DM Serif Display (headings) + Source Sans 3 (body)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  background-color: #FAFAF8;
  color: #2D3748;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.1;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ─── Container ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ─── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f0ee; }
::-webkit-scrollbar-thumb { background: #7a9a82; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5a7a62; }

/* ─── Header ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e8e4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner { height: 80px; }
}

.header-logo img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img { height: 64px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-actions { gap: 1.5rem; }
}

/* ─── Language Toggle ──────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid #c5d5c8;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
}

.lang-btn {
  padding: 6px 12px;
  transition: all 0.2s ease;
  color: #4A5568;
}

.lang-btn:hover {
  background: #f0f5f1;
}

.lang-btn.active {
  background: #2D5A3D;
  color: #fff;
}

/* ─── Contact Nav Button ───────────────────────────────────────── */
.nav-contact-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #2D5A3D;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-contact-btn:hover {
  background: #245032;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (min-width: 640px) {
  .nav-contact-btn { display: inline-flex; }
}

/* ─── SVG Icons (inline) ───────────────────────────────────────── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }

/* ─── Hero Section ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { min-height: 100vh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,40,28,0.88), rgba(20,40,28,0.7), rgba(20,40,28,0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B87333;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 1.875rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #B87333;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-copper:hover {
  background: #a06429;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Hero diagonal edge */
.hero-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-edge svg {
  width: 100%;
  display: block;
}

/* ─── Section Styles ───────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}

.section-alt {
  background: rgba(240,245,241,0.3);
}

.section-dark {
  background: #1a3324;
}

.section-darker {
  background: #152a1e;
}

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.section-label-center {
  justify-content: center;
}

.section-label-line {
  width: 40px;
  height: 2px;
  background: #B87333;
}

.section-label-text {
  color: #B87333;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Section heading */
.section-heading {
  font-size: 1.875rem;
  color: #2D3748;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) { .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }

.section-heading-center {
  text-align: center;
}

.section-heading-white {
  color: #fff;
}

/* ─── About Section ────────────────────────────────────────────── */
.about-content {
  max-width: 56rem;
  margin: 0 auto;
}

.about-text {
  font-size: 1.125rem;
  color: #5a6a72;
  line-height: 1.8;
}

.about-text p + p {
  margin-top: 1.5rem;
}

/* ─── Service Cards ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(45,55,72,0.06);
  transition: all 0.5s ease;
}

.service-card:hover {
  box-shadow: 0 8px 40px rgba(45,55,72,0.12);
}

.service-card-img {
  position: relative;
  height: 208px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.25rem;
  color: #2D3748;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .service-card-body h3 { font-size: 1.5rem; }
}

.service-card-body p {
  color: #5a6a72;
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  color: #B87333;
  font-weight: 500;
  transition: color 0.2s;
}

.service-card-link:hover {
  color: #8a5a28;
}

/* ─── Why Choose Us Cards ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.why-card {
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e8e8e4;
  background: #fff;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .why-card { padding: 2rem; }
}

.why-card:hover {
  border-color: #7a9a82;
  box-shadow: 0 4px 24px rgba(45,90,61,0.08);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e8f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
  color: #2D5A3D;
}

.why-card:hover .why-card-icon {
  background: #2D5A3D;
  color: #fff;
}

.why-card h3 {
  font-size: 1.125rem;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .why-card h3 { font-size: 1.25rem; }
}

.why-card p {
  color: #6b7c85;
  line-height: 1.7;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .why-card p { font-size: 1rem; }
}

/* ─── Contact Section (Homepage) ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .contact-card { padding: 2rem; }
}

a.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(184,115,51,0.4);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184,115,51,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #B87333;
  transition: background 0.3s;
}

a.contact-card:hover .contact-card-icon {
  background: rgba(184,115,51,0.25);
}

.contact-card-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.contact-card-value {
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.contact-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem 0;
  background: #152a1e;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-divider {
  color: rgba(255,255,255,0.2);
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

/* ─── Scroll Animations ────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Contact Page ─────────────────────────────────────────────── */
.page-content {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .page-content { padding-top: 9rem; }
}

.page-narrow {
  max-width: 48rem;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2D5A3D;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #245032;
}

.page-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.page-heading h1 {
  font-size: 1.875rem;
  color: #1a3324;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-heading h1 { font-size: 2.25rem; }
}

.page-heading p {
  color: #5a6a72;
  font-size: 1.125rem;
}

/* Contact info cards */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e8e4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

a.contact-info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #7a9a82;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a3324;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.contact-info-text strong {
  display: block;
  color: #2D3748;
  font-size: 1rem;
  font-weight: 600;
}

.contact-info-text span {
  display: block;
  color: #5a6a72;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Form */
.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #e8e8e4;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-row-2 { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-of-type {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #FAFAF8;
  color: #2D3748;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2D5A3D;
  box-shadow: 0 0 0 3px rgba(45,90,61,0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: #2D5A3D;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: #245032;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Alert messages */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.alert-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}

.alert-success p {
  color: #1b5e20;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.alert-error p {
  color: #b91c1c;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Legal Pages (Terms & Privacy) ────────────────────────────── */
.legal-meta {
  font-size: 0.875rem;
  color: #6b7c85;
  margin-bottom: 2.5rem;
}

.legal-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #e8e8e4;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .legal-card { padding: 2.5rem; }
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.legal-section p {
  color: #5a6a72;
  line-height: 1.8;
}

/* ─── Bilingual: hide/show ─────────────────────────────────────── */
[data-lang-en] { display: none; }
[data-lang-nl] { display: none; }

html[lang="en"] [data-lang-en] { display: revert; }
html[lang="nl"] [data-lang-nl] { display: revert; }

/* For inline elements */
span[data-lang-en], a[data-lang-en] { display: none; }
span[data-lang-nl], a[data-lang-nl] { display: none; }

html[lang="en"] span[data-lang-en],
html[lang="en"] a[data-lang-en] { display: inline; }
html[lang="nl"] span[data-lang-nl],
html[lang="nl"] a[data-lang-nl] { display: inline; }

/* For block elements */
p[data-lang-en], div[data-lang-en], h1[data-lang-en], h2[data-lang-en], h3[data-lang-en] { display: none; }
p[data-lang-nl], div[data-lang-nl], h1[data-lang-nl], h2[data-lang-nl], h3[data-lang-nl] { display: none; }

html[lang="en"] p[data-lang-en],
html[lang="en"] div[data-lang-en],
html[lang="en"] h1[data-lang-en],
html[lang="en"] h2[data-lang-en],
html[lang="en"] h3[data-lang-en] { display: block; }

html[lang="nl"] p[data-lang-nl],
html[lang="nl"] div[data-lang-nl],
html[lang="nl"] h1[data-lang-nl],
html[lang="nl"] h2[data-lang-nl],
html[lang="nl"] h3[data-lang-nl] { display: block; }

/* For flex containers */
div.flex-lang[data-lang-en] { display: none; }
div.flex-lang[data-lang-nl] { display: none; }
html[lang="en"] div.flex-lang[data-lang-en] { display: flex; }
html[lang="nl"] div.flex-lang[data-lang-nl] { display: flex; }

/* For grid containers */
div.grid-lang[data-lang-en] { display: none; }
div.grid-lang[data-lang-nl] { display: none; }
html[lang="en"] div.grid-lang[data-lang-en] { display: grid; }
html[lang="nl"] div.grid-lang[data-lang-nl] { display: grid; }
