/*
Theme Name: AIDA Inspired
Author: Merijn Maene
Description: Minimalistisch WordPress thema geïnspireerd door ESSolutions, in zwart-wit stijl.
Version: 1.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aida-inspired
*/

/*
          FONTS
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Open+Sans:wght@400;600&display=swap');

/*
            BASISSTIJLEN
*/
:root {
  --accent-green: #7d9585;
  --accent-green-light: #2f3f4f;
  --line-color: #7d9585;
  /* Alternatieven, complementair = 
  donker groen: #2f4f4f
  bordeau: #4f2f2f
  donkerblauw: #2f3f4f
  */
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: var(--accent-green-light);
}

p, .entry-content, .sidebar p {
  text-align: justify;
}

/*
              TYPOGRAFIE
*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: #000;
  margin-top: 0;
  margin-bottom: 0.4em;
  line-height: 1.2;
}

p {
  margin-bottom: 0.8em;
  color: #000;
}

/*
       SITE STRUCTUUR
 */
.site {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  /*border-bottom: 1px solid var(--line-color);*/
}

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

header .logo a {
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

header .logo img {
  display: block;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: max-height 0.2s ease-in-out;
}

/* Navigatie */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.nav a:hover {
  color: #808080;
}

footer a {
  color: var(--accent-green);
}

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

/*
         LAYOUT (COLUMNS & CONTENT)
*/
.columns {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.content-area {
  flex: none;
  max-width: 600px;
  margin: 0 auto;
}

.content-area p {
  line-height: 1.6;
  margin-bottom: 1em;
}

/*
            SIDEBAR
*/
.sidebar {
  flex: 1.5;
  display: flex;
  flex-direction: column;
}

.sidebar section {
  margin-bottom: 2rem;
  border: none;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 0.95rem;
  line-height: 1.6;
}

.sidebar section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #000;
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 0.25rem;
}

.sidebar input[type="search"],
.sidebar input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-color);
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.sidebar input[type="submit"] {
  margin-top: 0.5rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.sidebar input[type="submit"]:hover {
  background: var(--accent-green) !important;
}

.sidebar a:hover {
  color: var(--accent-green-light);
  border-bottom: 1px solid var(--line-color);
}

/*
          BLOG POSTS
*/
article {
  margin-bottom: 2rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 8px;
}

.entry-meta {
  color: #808080;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.entry-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.entry-title a {
  text-decoration: none;
  color: var(--accent-green);
  border-bottom: 1px solid transparent;
}

.entry-title a:hover {
  color: var(--accent-green);
  border-bottom: 1px solid transparent;
}

.blog-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-color);
}

.blog-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

/*
          FOOTER
*/
footer.footer,
.site-footer {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--accent-green);
  color: #808080;
  font-size: 0.85rem;
  margin-top: 2rem;
}

/*
            CONTACT FORM 7
 */
.wpcf7 form .wpcf7-form-control {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 1rem !important;
  color: #000 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.wpcf7 form .wpcf7-form-control:focus {
  border-color: #808080 !important;
  outline: none !important;
}

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

.wpcf7 form input[type="submit"],
.wpcf7 form button[type="submit"],
.wpcf7 form .wpcf7-submit:hover,
.wpcf7 form .wpcf7-submit {
  background: var(--accent-green) !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1rem !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.2s ease-in-out !important;
}

.wpcf7 form .wpcf7-submit:hover {
  background: #808080 !important;
}

/*
        RESPONSIVE DESIGN
*/

/* Tablets (tot 1024px) */
@media (max-width: 1024px) {
  .columns {
    flex-direction: row;
    gap: 2rem;
  }

  .content-area {
    max-width: 90%;
  }

  header .logo img {
    max-height: 90px;
  }
}

/* Smartphones (tot 768px) */
@media (max-width: 768px) {
  header.site {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .columns {
    flex-direction: column;
    gap: 2rem;
  }

  .content-area,
  .sidebar {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .sidebar section {
    padding: 1rem;
  }

  header .logo img {
    max-height: 60px;
  }
}

/* Kleine smartphones (tot 480px) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  header .logo a {
    font-size: 1.25rem;
  }

  .sidebar section h3 {
    font-size: 1.05rem;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .menu-toggle {
     background: none;
     border: none;
     font-size: 1.8rem;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-left: auto;
     line-height: 1;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .nav.active ul {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .content-area {
    max-width: 750px;
  }
}

/* groene lijnen */
hr,
.sidebar section,
.sidebar section h3,
.widget,
.widget-title,
input[type="search"],
.search-form,
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
  border-color: var(--line-color) !important;
}

/* Sidebar-secties & widgettitels */
.sidebar section h3,
.widget-title {
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}

/* Zoekveld */
input[type="search"] {
  border: 1px solid var(--line-color);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  background: #fff;
  transition: border-color 0.2s ease-in-out;
}

input[type="search"]:focus {
  border-color: var(--accent-green);
  outline: none;
}

/* Algemene <hr> lijnen */
hr {
  border: none;
  border-top: 1px solid var(--line-color);
  margin: 1.5rem 0;
}

/* Blog-sectie — blijft ook 1px voor consistentie */
.blog-section {
  border-top: 1px solid var(--line-color);
  margin-top: 3rem;
  padding-top: 2rem;
}