/* Site Theme: warmtepomp-isolatie.nl — "Organique biophilique" */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #F5F0EB;
  --theme-bg-alt: #EDE8E1;
  --theme-text: #4A4A4A;
  --theme-text-light: #7A7A7A;
  --theme-heading: #2D3B2D;
  --theme-accent: #059669;
  --theme-accent-hover: #047857;
  --theme-accent-light: #D1FAE5;
  --theme-wood: #D4B896;
  --theme-wood-dark: #B89B78;
  --theme-card-bg: #FDFBF8;
  --theme-card-border: #E0D8CE;
  --theme-font-heading: 'Playfair Display', Georgia, serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 2rem;
  --theme-radius-sm: 1.25rem;
  --theme-shadow: 0 2px 8px rgba(107, 142, 107, 0.08);
  --theme-shadow-hover: 0 8px 24px rgba(107, 142, 107, 0.14);
  --theme-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  line-height: 1.25;
}

/* Hero — biophilic with leaf pattern overlay */
.hero-section {
  background: linear-gradient(170deg, var(--theme-bg) 0%, #E8E0D5 50%, var(--theme-accent-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  border-radius: 0 0 3rem 3rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 Q50 30 40 50 Q30 30 40 10Z' fill='%236B8E6B' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  animation: leafDrift 20s linear infinite;
}

@keyframes leafDrift {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.hero-section h1 {
  color: var(--theme-heading);
  font-size: 2.75rem;
  font-style: italic;
}

/* Cards — organic rounded */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  transition: box-shadow var(--theme-transition), transform var(--theme-transition);
  overflow: hidden;
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-3px);
}

/* Organic divider between sections */
section {
  position: relative;
}

section:nth-child(even) {
  background-color: var(--theme-bg-alt);
  border-radius: 3rem;
  margin: 1rem 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Buttons — sage green organic */
.btn-primary,
button[type="submit"],
.cta-button {
  background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-hover)) !important;
  color: #fff !important;
  border: none;
  border-radius: 3rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 2px 8px rgba(107, 142, 107, 0.2);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 142, 107, 0.3);
}

/* Wood accent borders */
.border-t, .border-b, hr {
  border-color: var(--theme-wood) !important;
  opacity: 0.5;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: var(--theme-accent-hover);
}

/* Form inputs */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-sm);
  background: var(--theme-card-bg);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px var(--theme-accent-light);
  outline: none;
}

/* Footer */
footer {
  background-color: var(--theme-heading) !important;
  border-radius: 3rem 3rem 0 0;
  margin-top: 2rem;
}

/* Breathing animation for accent elements */
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.hero-section .text-emerald-600,
.hero-section .text-green-600 {
  animation: breathe 4s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; border-radius: 0 0 2rem 2rem; }
  .hero-section h1 { font-size: 1.875rem; }
  section:nth-child(even) { border-radius: 2rem; }
  .card:hover { transform: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3.25rem; }
}


/* === Nav & Template Color Harmonization === */
nav a[href="#devis-form"] {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border-color: var(--theme-accent) !important;
}
nav a[href="#devis-form"]:hover {
  background-color: var(--theme-accent-hover) !important;
  border-color: var(--theme-accent-hover) !important;
}

