/*
Theme Name: Astra Child v3
Theme URI: https://example.com
Description: Derde versie van Astra child theme met moderne layout inspiratie van nl.legal
Author: Moorman Tech
Template: astra
Version: 1.0
*/

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

/* Algemene Structuur & Reset */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography - Verbeterd */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: #003EA8;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00CFFF;
}

/* Section Styling - Meer ruimte */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003EA8;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* STICKY HEADER STYLING - Behouden en verbeterd */
.site-header,
header,
#masthead,
.main-header {
  background: #003EA8 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  border: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Gradient bar bovenaan header */
.site-header::before,
header::before,
#masthead::before,
.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #007BFF, #00CFFF);
  z-index: 1001;
}

/* Body padding voor sticky header */
body {
  padding-top: 90px;
}

.admin-bar .site-header,
.admin-bar header,
.admin-bar #masthead,
.admin-bar .main-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar header,
  .admin-bar #masthead,
  .admin-bar .main-header {
    top: 46px;
  }

  body {
    padding-top: 70px;
  }
}

/* Logo en navigatie styling */
.site-branding,
.logo-container,
.site-logo {
  padding: 18px 0 15px;
}

.main-navigation ul li,
.primary-menu li,
.menu-item {
  margin: 0 15px;
  position: relative;
}

.main-navigation ul li a,
.primary-menu li a,
.menu-item a {
  color: white !important;
  font-weight: 500 !important;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.main-navigation ul li a:hover,
.primary-menu li a:hover,
.menu-item a:hover {
  color: #00CFFF !important;
}

.main-navigation ul li a::after,
.primary-menu li a::after,
.menu-item a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #00CFFF;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.main-navigation ul li a:hover::after,
.primary-menu li a:hover::after,
.menu-item a:hover::after {
  width: 100%;
}

/* Dropdown menus */
.main-navigation ul ul,
.sub-menu {
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-top: 10px;
}

.main-navigation ul ul li a,
.sub-menu li a {
  color: #333 !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
}

.main-navigation ul ul li a:hover,
.sub-menu li a:hover {
  background-color: #f9f9fa;
  color: #003EA8 !important;
}

.custom-logo,
.site-logo img {
  max-height: 60px;
  width: auto;
}

.shrink .custom-logo,
.shrink .site-logo img {
  max-height: 50px;
}

/* Hero Sectie - Verbeterd met moderne styling */
.hero {
  background: linear-gradient(135deg, #003EA8 0%, #007BFF 100%);
  color: white;
  padding: 8rem 0;
  text-align: center;
  margin: 0;
  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
  max-width: 900px;
}

.hero-overlay p {
  max-width: 600px;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button - Moderne styling */
.cta-button,
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  display: inline-block;
  background: white;
  color: #003EA8;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
}

.cta-button:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #003EA8;
}

.btn-secondary,
button.btn-secondary {
  background-color: transparent;
  color: #007BFF;
  border: 2px solid #007BFF;
  padding: 10px 23px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #007BFF;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.buttons a {
  margin: 0;
}

/* PDCA Sectie - Modernere kaarten zoals nl.legal */
.pdca-section {
  padding: 6rem 0;
  background: white;
}

.pdca-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pdca-box {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.pdca-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.pdca-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007BFF, #003EA8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.pdca-icon img {
  max-width: 40px;
  height: auto;
  filter: brightness(0) invert(1);
}

.pdca-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003EA8;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdca-box p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95em;
}

.pdca-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #6b7280;
  line-height: 1.6;
  text-align: center;
}

/* Home Columns - Verbeterde kaart styling */
.home-columns {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.column {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.column-blue {
  background: linear-gradient(135deg, #003EA8 0%, #007BFF 100%);
  color: white;
}

.column-blue h2 {
  color: white;
  font-size: 2em;
  margin-bottom: 20px;
}

.column-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.column-cta a {
  margin-top: 20px;
  display: inline-block;
}

/* Diensten kaarten - Moderne styling */
.services-section {
  padding: 6rem 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card,
.dienstkaart {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.service-card:hover,
.dienstkaart:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card h3,
.dienstkaart h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003EA8;
  margin-bottom: 1rem;
}

.service-card p,
.dienstkaart p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: #007BFF;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #003EA8;
}

/* Quote Section - Nieuwe sectie zoals nl.legal */
.quote-section {
  background: linear-gradient(135deg, #003EA8 0%, #007BFF 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.quote-author {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* USP lijst - Verbeterd */
.usp-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usp-lijst li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  padding-left: 30px;
  position: relative;
}

.usp-lijst li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007BFF;
  font-weight: bold;
  font-size: 1.2em;
}

/* Contact Sectie - Verbeterd */
.contact-section {
  padding: 6rem 0;
  background: white;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-button {
  display: inline-block;
  background: linear-gradient(135deg, #007BFF, #003EA8);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  outline: none;
}

/* Footer - Behouden en verbeterd */
.site-footer {
  margin-top: auto;
  background-color: #003EA8;
  color: white;
  padding: 60px 20px 40px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #007BFF, #00CFFF);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col strong {
  font-size: 1.2em;
  margin-bottom: 15px;
  display: block;
}

.footer-col a {
  color: #8BB8FF;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: white;
  font-size: 1.5em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #00CFFF;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Success and error messages */
.success-message {
  background-color: #DFF2BF;
  color: #4F8A10;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 5px solid #4F8A10;
}

.error-message {
  background-color: #FFBABA;
  color: #D8000C;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 5px solid #D8000C;
}

/* Formulier styling */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #DC3545;
}

.form-error {
  color: #DC3545;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

/* Quick contact form styling */
.quick-contact-form input,
.quick-contact-form textarea {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.quick-contact-form input::placeholder,
.quick-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.quick-contact-form .btn-primary {
  width: 100%;
  background-color: white;
  color: #003EA8;
}

.quick-contact-form .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
}

/* "Ons" pagina styling - Behouden */
.page-template-page-ons .hero {
  background: linear-gradient(135deg, #003EA8 0%, #007BFF 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-template-page-ons .hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.page-template-page-ons .hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.page-template-page-ons .section {
  padding: 4rem 0;
  margin-bottom: 30px;
}

.page-template-page-ons .wie-zijn-wij {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.page-template-page-ons .missie-visie {
  background-color: #f8f9fa;
  padding: 2.5rem;
  border-radius: 16px;
}

.page-template-page-ons .content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.page-template-page-ons .missie,
.page-template-page-ons .visie {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-template-page-ons .waarden-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.page-template-page-ons .waarde {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-template-page-ons .waarde:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.page-template-page-ons .team,
.page-template-page-ons .ervaring {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  .page-template-page-ons .content-row {
    flex-direction: column;
  }
  
  .page-template-page-ons .missie,
  .page-template-page-ons .visie {
    flex-basis: 100%;
  }
}

@media (max-width: 600px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  section {
    padding: 4rem 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}