/* Site Theme: keuken-badkamer-renovatie.nl — "Scandinave chaleureux" */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --theme-bg: #FDF8F3;
  --theme-bg-alt: #F5E6D3;
  --theme-text: #4A4039;
  --theme-text-light: #7A7068;
  --theme-heading: #3D342D;
  --theme-accent: #D97706;
  --theme-accent-hover: #B45309;
  --theme-accent-dark: #92400E;
  --theme-pink: #F2D0D0;
  --theme-pink-dark: #E4AEAE;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #F0E6DA;
  --theme-font-heading: 'Nunito', -apple-system, sans-serif;
  --theme-font-body: 'Nunito', -apple-system, sans-serif;
  --theme-radius: 1.25rem;
  --theme-radius-lg: 1.75rem;
  --theme-shadow: 0 4px 12px rgba(152, 216, 200, 0.1);
  --theme-shadow-hover: 0 8px 28px rgba(152, 216, 200, 0.18);
  --theme-transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 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: 700;
  line-height: 1.25;
}

/* Hero — pastel gradient with rounded shapes */
.hero-section {
  background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-pink) 50%, var(--theme-bg-alt) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  border-radius: 0 0 3rem 3rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: floatBubble 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: floatBubble 6s ease-in-out infinite reverse;
}

@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 10px); }
}

.hero-section h1 {
  color: var(--theme-heading);
  font-size: 2.5rem;
  font-weight: 800;
}

/* Cards — playful 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-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(-6px) scale(1.01);
}

/* Bounce-in animation for scroll reveals */
@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  60% { transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.card {
  animation: bounceIn 0.5s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }

/* Sections — rounded containers */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
  border-radius: var(--theme-radius-lg);
  margin: 1rem 0.5rem;
  padding: 2rem 1rem;
}

/* Buttons — mint green rounded */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent-dark) !important;
  color: #fff !important;
  border: none;
  border-radius: 3rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 4px 12px rgba(91, 168, 150, 0.25);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(91, 168, 150, 0.35);
}

/* Pink accents for secondary elements */
.badge, .tag, .chip {
  background-color: var(--theme-pink);
  color: var(--theme-heading);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent-dark);
  font-weight: 800;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent-dark);
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: var(--theme-pink-dark);
}

/* Form inputs */
input, select, textarea {
  border: 2px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  background: #fff;
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px rgba(152, 216, 200, 0.2);
  outline: none;
}

/* Footer */
footer {
  background-color: var(--theme-heading) !important;
  border-radius: 3rem 3rem 0 0;
  margin-top: 2rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; border-radius: 0 0 2rem 2rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .card:hover { transform: translateY(-2px); }
  section:nth-child(even) { border-radius: 1rem; margin: 0.5rem 0; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3rem; }
}


/* === 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;
}

