/* Site Theme: jardin-veranda-pergola.be — "Jardin zen minimal" */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #F9FAF7;
  --theme-bg-alt: #F3F4F6;
  --theme-text: #4B5563;
  --theme-text-light: #6B7280;
  --theme-heading: #2D3B2D;
  --theme-accent: #65A30D;
  --theme-accent-hover: #4D7C0F;
  --theme-accent-light: #ECFCCB;
  --theme-wood: #A0845C;
  --theme-wood-light: #D4C4A8;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #E5E7EB;
  --theme-font-heading: 'Playfair Display', Georgia, serif;
  --theme-font-body: 'Source Sans 3', -apple-system, sans-serif;
  --theme-radius: 0.375rem;
  --theme-radius-lg: 0.5rem;
  --theme-shadow: 0 1px 4px rgba(107, 127, 74, 0.06);
  --theme-shadow-hover: 0 6px 20px rgba(107, 127, 74, 0.1);
  --theme-transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  line-height: 1.2;
}

/* Hero — zen garden feel */
.hero-section {
  background: linear-gradient(180deg, var(--theme-bg) 0%, #EDE9E0 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

/* Zen sand ripple pattern */
.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M0 10 Q50 0 100 10 Q150 20 200 10' fill='none' stroke='%23A0845C' stroke-width='0.5' stroke-opacity='0.2'/%3E%3C/svg%3E");
  background-size: 200px 20px;
  background-repeat: repeat-x;
  animation: zenRipple 12s linear infinite;
  pointer-events: none;
}

@keyframes zenRipple {
  0% { background-position: 0 0; }
  100% { background-position: 200px 0; }
}

.hero-section h1 {
  color: var(--theme-heading);
  font-size: 2.75rem;
  font-style: italic;
  font-weight: 400;
}

.hero-section h1 strong {
  font-style: normal;
  font-weight: 700;
}

/* Gentle breathing animation */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.005); }
}

.hero-section {
  animation: breathe 6s ease-in-out infinite;
}

/* Cards — subtle zen */
.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(-2px);
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Buttons — olive muted */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-family: var(--theme-font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 127, 74, 0.2);
}

/* Wood accent dividers */
hr {
  border: none;
  height: 1px;
  background: var(--theme-wood-light);
  margin: 2.5rem 0;
}

/* h2 with olive underline */
h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--theme-accent);
  margin-top: 0.75rem;
  transition: width var(--theme-transition);
}

h2:hover::after {
  width: 80px;
}

/* 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-wood);
}

/* Form inputs */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  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;
}

/* Footer */
footer {
  background-color: var(--theme-heading) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; animation: none; }
  .hero-section h1 { font-size: 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;
}

