/*
Theme Name: Dorothee Beltmann
Theme URI: https://dorothee-beltmann.de
Author: Dorothee Beltmann
Author URI: https://dorothee-beltmann.de
Description: Custom WordPress theme for Dorothee Beltmann - Hebamme in Münster
Version: 1.3.12
License: GPL v2 or later
Text Domain: dorothee-beltmann
*/

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

/* Root variables for consistent design */
:root {
  /* Core Colors */
  --primary-color: #1f3e96;        /* Cornflower blue */
  --accent-color: #c8e4c3;         /* Light green - only used in hero */
  --background-main: #f5e6d3;      /* Warm beige */
  --white: #ffffff;                /* White */
  
  /* Derived Colors */
  --primary-dark: #162d6b;         /* Darker blue for hover states */
  --text-on-background: #1f3e96;  /* Blue text on beige */
  --text-on-white: #1f3e96;       /* Blue text on white */
  --text-on-primary: #ffffff;     /* White text on blue */
  
  /* Layout */
  --max-width: 1280px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-on-background);
  line-height: 1.6;
  background-color: var(--background-main);
  overflow-x: hidden;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-color);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-on-background);
  line-height: 1.8;
  font-family: 'Open Sans', sans-serif;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing */
.section {
  padding: 3.5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: calc(1rem - 2px) calc(2.5rem - 2px);
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 0;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--text-on-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
  padding: calc(1rem - 2px) calc(2.5rem - 2px);
  border-radius: 0;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-on-primary);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

/* Footer text fix - must override general p styling */
.footer p,
.footer .footer-content p {
  color: var(--white) !important;
  margin-bottom: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-main);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}