/* Site Theme: aanbouw-metselwerken.nl — "Warm masonry" */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #FBF7F2;
  --theme-bg-alt: #F5E6D3;
  --theme-text: #4A3728;
  --theme-text-light: #7A6A5A;
  --theme-heading: #3E2723;
  --theme-accent: #D97706;
  --theme-accent-hover: #B45309;
  --theme-accent-light: #FEF3C7;
  --theme-sand: #F5E6D3;
  --theme-wood-dark: #3E2723;
  --theme-card-bg: #FFFCF8;
  --theme-card-border: #E8D8C8;
  --theme-font-heading: 'Lora', Georgia, serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 0.5rem;
  --theme-radius-lg: 0.75rem;
  --theme-shadow: 0 2px 8px rgba(62, 39, 35, 0.06);
  --theme-shadow-hover: 0 8px 24px rgba(200, 121, 65, 0.12);
  --theme-transition: 0.3s ease;
}

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.2;
}

/* Hero — warm brick texture overlay */
.hero-section {
  background: linear-gradient(160deg, var(--theme-sand) 0%, #E8D0B8 50%, var(--theme-accent-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

/* Brick pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48'%3E%3Crect width='42' height='24' x='0' y='0' fill='none' stroke='%23C87941' stroke-width='0.3' stroke-opacity='0.12'/%3E%3Crect width='42' height='24' x='42' y='0' fill='none' stroke='%23C87941' stroke-width='0.3' stroke-opacity='0.12'/%3E%3Crect width='42' height='24' x='21' y='24' fill='none' stroke='%23C87941' stroke-width='0.3' stroke-opacity='0.12'/%3E%3Crect width='21' height='24' x='0' y='24' fill='none' stroke='%23C87941' stroke-width='0.3' stroke-opacity='0.12'/%3E%3Crect width='21' height='24' x='63' y='24' fill='none' stroke='%23C87941' stroke-width='0.3' stroke-opacity='0.12'/%3E%3C/svg%3E");
  background-size: 84px 48px;
  pointer-events: none;
}

.hero-section h1 {
  color: var(--theme-heading);
  font-size: 2.75rem;
  font-weight: 700;
}

/* Cards — warm shadows */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  transition: all var(--theme-transition);
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-3px);
  border-color: var(--theme-accent-light);
}

/* Terracotta top accent on card */
.card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-accent-light));
  border-radius: var(--theme-radius-lg) var(--theme-radius-lg) 0 0;
  margin: -1px -1px 0;
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Buttons — terracotta warm */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 2px 8px rgba(200, 121, 65, 0.25);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 121, 65, 0.3);
}

/* Warm texture on hero heading */
@keyframes warmGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(200, 121, 65, 0.1); }
  50% { text-shadow: 0 0 30px rgba(200, 121, 65, 0.2); }
}

.hero-section h1 {
  animation: warmGlow 4s ease-in-out infinite;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
  font-weight: 700;
}

/* 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);
  background: var(--theme-card-bg);
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-accent-light);
  outline: none;
}

/* Warm dividers */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-accent-light), transparent);
  margin: 2rem 0;
}

/* Footer */
footer {
  background-color: var(--theme-wood-dark) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 2rem; animation: none; }
  .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;
}

