/* Site Theme: zonnepaneel-batterij.nl — "Clean corporate premium" */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --theme-bg: #FAFAF5;
  --theme-bg-alt: #F5F5EE;
  --theme-text: #334155;
  --theme-text-light: #64748B;
  --theme-heading: #1E3A5F;
  --theme-accent: #1E3A5F;
  --theme-accent-hover: #162D4A;
  --theme-gold: #C5A55A;
  --theme-gold-light: #E8D9A8;
  --theme-gold-hover: #B39445;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #E8E4DA;
  --theme-font-heading: 'Inter', -apple-system, sans-serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 0.375rem;
  --theme-radius-lg: 0.5rem;
  --theme-shadow: 0 1px 4px rgba(30, 58, 95, 0.06);
  --theme-shadow-hover: 0 4px 16px rgba(30, 58, 95, 0.1);
  --theme-transition: 0.25s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Hero — navy dashboard-like grid */
.hero-section {
  background: linear-gradient(160deg, #1E3A5F 0%, #0F2744 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 165, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 165, 90, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-section h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.75);
}

/* Gold accent line under hero */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-gold), transparent);
}

/* Cards — premium flat */
.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: box-shadow var(--theme-transition), transform var(--theme-transition);
  position: relative;
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-2px);
}

/* Gold top border on cards */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--theme-gold);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--theme-transition);
}

.card:hover::before {
  opacity: 1;
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Buttons — navy with gold accent */
.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;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.875rem 1.75rem;
  transition: all var(--theme-transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

/* Gold underline on active links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  border-bottom-color: var(--theme-gold);
}

/* Stats — counter animation ready */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-gold);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Gold accent dividers */
hr, .border-t {
  border-color: var(--theme-gold-light) !important;
}

/* Form inputs */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  background: var(--theme-bg);
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
  outline: none;
}

/* Counter pulse animation */
@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.stat-number:hover {
  animation: counterPulse 0.5s ease;
}

/* Footer — navy */
footer {
  background-color: #0F2744 !important;
  border-top: 2px solid var(--theme-gold);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .card:hover { transform: none; }
  .card::before { display: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 5.5rem 2rem; }
  .hero-section h1 { font-size: 3rem; }
}
