/* ================================
   VAN DER BOUW CONSTRUCTIES
   Premium Construction Website Design
   ================================ */

:root {
  /* Colors - Premium Blue & Gold palette */
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-primary-dark: #020617;
  
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;
  --color-accent-dark: #d97706;
  
  --color-secondary: #3b82f6;
  --color-secondary-light: #60a5fa;
  
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-neutral-300: #cbd5e1;
  --color-neutral-400: #94a3b8;
  --color-neutral-500: #64748b;
  --color-neutral-600: #475569;
  --color-neutral-700: #334155;
  --color-neutral-800: #1e293b;
  --color-neutral-900: #0f172a;
  
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font-sans);
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Layout */
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1200px;
  --max-width-2xl: 1400px;
  
  --container-padding: clamp(1.25rem, 5vw, 3rem);
  
  /* Borders */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
}

/* ================================
   RESET & BASE
   ================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-neutral-700);
  background-color: var(--color-white);
  min-height: 100vh;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.25rem, 5vw, var(--font-size-5xl));
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, var(--font-size-4xl));
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, var(--font-size-2xl));
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-neutral-600);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-500);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-light);
}

strong {
  font-weight: var(--font-weight-semibold);
}

/* ================================
   LAYOUT
   ================================ */

.container {
  width: 100%;
  max-width: var(--max-width-xl);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: var(--max-width-md);
}

.container-wide {
  max-width: var(--max-width-2xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--color-neutral-50);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: var(--color-neutral-300);
}

/* ================================
   TOP BAR
   ================================ */

.top-bar {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
}

.top-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.top-bar__badge {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius-full);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xs);
}

.top-bar__divider {
  color: var(--color-neutral-500);
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar__phone {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.top-bar__phone:hover {
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .top-bar__left span:not(.top-bar__badge) {
    display: none;
  }
  .top-bar__divider {
    display: none;
  }
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-neutral-200);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.site-logo__name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-600);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-neutral-100);
}

.nav-link__icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-link[aria-expanded="true"] .nav-link__icon {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin-top: var(--space-xs);
  padding: var(--space-sm);
  background: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
  list-style: none;
}

.dropdown__menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-neutral-700);
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

.dropdown__link:hover {
  background: var(--color-neutral-100);
  color: var(--color-primary);
}

/* Responsive Nav - Hide links on smaller screens but keep CTA */
@media (max-width: 900px) {
  .nav-list {
    display: none;
  }
  .main-nav .btn {
    font-size: var(--font-size-sm);
    padding: var(--space-sm) var(--space-md);
  }
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero .lead {
  color: var(--color-neutral-300);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-3xl) 0;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__cta {
    flex-direction: column;
  }
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
  background: var(--color-primary);
  color: var(--color-neutral-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__grid--simple {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .footer__grid,
  .footer__grid--simple {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer__section h3 {
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
}

.footer__section p,
.footer__section a {
  color: var(--color-neutral-400);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-relaxed);
}

.footer__section a:hover {
  color: var(--color-accent);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--border-radius-xl);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.footer__cta h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.footer__bottom {
  border-top: 1px solid var(--color-neutral-800);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-neutral-500);
}

/* ================================
   FLOATING ACTION BUTTON
   ================================ */

.fab {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-lg);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.fab__button {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-full);
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.fab__button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.fab__button--secondary {
  background: var(--color-white);
  color: var(--color-primary);
}

@media (min-width: 769px) {
  .fab {
    display: none;
  }
}

/* ================================
   UTILITIES
   ================================ */

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Print */
@media print {
  .top-bar, .site-header, .fab, .btn { display: none !important; }
  .hero { background: none; color: var(--color-black); padding: var(--space-xl) 0; }
}
