/* Hoofdstijlen voor Dkavo Finanzbildungs-Blog */
:root {
  --primary-color: #1e88e5;
  --secondary-color: #546e7a;
  --accent-color: #42a5f5;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #757575;
  --white: #ffffff;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

/* Header en navigatie */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--light-gray);
  z-index: 1000;
}

.progress-bar {
  height: 4px;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.1s ease;
}

header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-top: 4px;
}

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

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 0.5rem;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 500;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero sectie */
.hero {
  padding: 5rem 0;
  background: linear-gradient(120deg, #e0f7fa, #bbdefb);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: var(--light-gray);
}

/* Featured sectie */
.featured {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Informatie sectie */
.info {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

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

.info-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.info-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-box h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Call to action sectie */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--light-gray);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p, 
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Contactpagina stijlen */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 3rem 0;
}

.contact-info {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  margin-right: 1rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Blog pagina stijlen */
.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 0;
}

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--medium-gray);
}

.blog-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-post h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-meta {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.blog-meta span {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.blog-meta span svg {
  margin-right: 0.5rem;
}

.blog-content {
  margin-bottom: 1.5rem;
}

.blog-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.blog-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Pagina voor één blogbericht */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.single-post-header {
  margin-bottom: 2rem;
}

.single-post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.single-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  margin: 2rem 0 1rem;
  color: var(--secondary-color);
}

.single-post-content ul, 
.single-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.single-post-content img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

.single-post-content blockquote {
  background-color: var(--light-gray);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
}

.spell-check-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.spell-check-btn:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.spell-check-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Over ons pagina */
.about-container {
  padding: 3rem 0;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.team-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-info p:nth-child(2) {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-gray);
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary-color);
}

.team-social a:hover svg {
  fill: var(--white);
}

.team-social svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary-color);
  transition: var(--transition);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: none;
  z-index: 1000;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

.modal h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Responsive styling */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
  
  .cta p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 1.5rem;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .featured, .info, .cta {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
  }
  
  .single-post-header h1 {
    font-size: 2rem;
  }
}
