/* ==========================================================================
   Rietdekkersbedrijf Ad Sol - Complete Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary: #8B7355;
  --secondary: #D4A574;
  --accent: #C17817;
  --dark: #2C2416;
  --light: #F5F1E8;
  
  /* Extended Palette */
  --primary-light: #a89078;
  --primary-dark: #6d5a44;
  --accent-light: #d99332;
  --accent-dark: #9a5f12;
  --dark-80: rgba(44, 36, 22, 0.8);
  --dark-90: rgba(44, 36, 22, 0.9);
  --light-90: rgba(245, 241, 232, 0.9);
  
  /* Greys */
  --grey-100: #f8f7f5;
  --grey-200: #e8e5df;
  --grey-300: #d1cdc5;
  --grey-400: #aba79f;
  --grey-500: #7a766e;
  --grey-600: #5a5650;
  --grey-700: #3d3a34;
  --grey-800: #2a2722;
  --grey-900: #1a1815;
  
  /* Semantic Colors */
  --success: #4a7c59;
  --warning: #d4a574;
  --error: #a84432;
  --info: #5a7d9a;
  
  /* Typography */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Source Sans 3', sans-serif;
  
  /* Fluid Typography Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
  --text-5xl: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  
  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.65rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 5rem);
  --space-3xl: clamp(4rem, 2.5rem + 7.5vw, 7rem);
  
  /* Layout */
  --container-max: 1280px;
  --container-md: 960px;
  --container-sm: 720px;
  --section-padding: var(--space-2xl);
  
  /* Effects */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(44, 36, 22, 0.05);
  --shadow-md: 0 4px 6px rgba(44, 36, 22, 0.08), 0 2px 4px rgba(44, 36, 22, 0.06);
  --shadow-lg: 0 10px 25px rgba(44, 36, 22, 0.12), 0 5px 10px rgba(44, 36, 22, 0.08);
  --shadow-xl: 0 20px 40px rgba(44, 36, 22, 0.15), 0 10px 20px rgba(44, 36, 22, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 400ms ease-in-out;
  
  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: var(--space-md);
  max-width: 70ch;
}

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

.lead {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.6;
  color: var(--grey-700);
}

.small {
  font-size: var(--text-sm);
}

.text-center {
  text-align: center;
}

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

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

.text-light {
  color: var(--light);
}

.text-dark {
  color: var(--dark);
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  padding: var(--space-lg);
  border-left: 4px solid var(--accent);
  background: var(--grey-100);
  margin: var(--space-xl) 0;
  color: var(--grey-700);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

section {
  padding: var(--section-padding) 0;
}

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

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background: transparent;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--light-90);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-base);
  letter-spacing: -0.02em;
}

.navbar-brand:hover {
  color: var(--primary);
}

.navbar-brand span {
  color: var(--accent);
}

.navbar.scrolled .navbar-brand {
  font-size: var(--text-xl);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar-menu a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--accent);
  transition: transform var(--transition-base);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-menu a:hover {
  color: var(--primary);
}

.navbar-menu a.active {
  color: var(--accent);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: var(--z-fixed);
}

.navbar-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  transition: all var(--transition-base);
  border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    gap: var(--space-md);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .navbar-menu a {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--text-lg);
  }
  
  .navbar-menu a::after {
    display: none;
  }
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-full {
  min-height: 100vh;
}

.hero-half {
  min-height: 60vh;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-content h1,
.hero-content p,
.hero-content .lead {
  color: var(--light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {