/*
Theme: Stichting Buitenhof
Author: Evinn
Version: 1.0
*/
:root{
  --primary-color:#b9da72;
  --text-color: #333333;
  --bg-color:#f0f0f0;
  --heading-bg-color:#1B3A29/*#4a7c2e*/;
  --accent-color:#ff6f61;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

/* Common styles for all headings */
h2, h3, h4 {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.75em;
}

/* H2 Styling */
h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  border-bottom: 2px solid var(--heading-bg-color);
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* H3 Styling */
h3 {
  font-size: 2rem;
  color: var(--text-color);
  position: relative;
  padding-left: 15px;
}

h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background-color: var(--heading-bg-color);
}

/* H4 Styling */
h4 {
  font-size: 1.5rem;
  color: var(--text-color);
  font-weight: 600;
}

h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--heading-bg-color);
  margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
}

.sidebar{
    text-align: center;
}

h4 > a{
    text-decoration: none;
    color: var(--text-color);
}

.button{
    background-color: var(--accent-color) !important;
    border: 0px !important;
    color:white !important;
}
.button:hover{
    color:white !important;
}

.footer{
  background-color: var(--heading-bg-color);
  color:white;
  margin-top: 1rem;
}
footer a{
  color: white !important;
}

.navbar {
    padding: 15px 0;
    /*background-color:rgba(0, 75, 0, 0.1);*/
  }
  
  .navbar-brand img {
    max-height: 50px;
  }
  
  @media (max-width: 992px) {
    .navbar-nav {
      text-align: center;
    }
  }

  .headerimage{
    background-size: cover;
    background-position: center;
    height: 250px;
    position: relative;
  }
  
  .headerspace{
    height: 50px;
  }

  .copyright-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

  li > a{
    font-size:small !important;
  }

  li > a:hover{
    text-decoration: underline !important;
  }

/* Frequently Asked Questions section */
.faq-container {
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  background-color: var(--primary-color);
}

.faq-question:hover {
  background-color: var(--primary-color);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--heading-bg-color);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  background-color: white;
  color: #333;
}

.faq-answer.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media screen and (max-width: 600px) {
  .faq-container {
      width: 100%;
      margin: 0;
      border-radius: 0;
  }
}

/* News */
.column-content {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.linkcolor{
  color:var(--primary-color);
  font-size:small;
  font-weight: bold;
}

/* Link content */
.column-links-content{
  /*background-color: rgba(127,140,141,0.1);
  background-color: #e8d5b4;*/
  margin-bottom: 20px;
  /*border-left: 1px solid black;*/
}

.linkheader{
  width:100%;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--heading-bg-color);
  color:white;
}

.headerbg{
  background-color: var(--heading-bg-color);
}

.nav-link{
  font-weight: bold;
  color:white;
}

@media (min-width: 992px) {
  #navbarNav {
    display: flex;
    justify-content: center;
  }

  .navbar-nav {
    flex-direction: row;
  }

  .nav-item {
    margin: 0 10px;
  }
}

.nav-link.active {
  background-color: var(--primary-color);
  border-radius: 8px;
  color: white !important;
  padding: 8px 16px !important;
}

.nav-link:hover {
  transition: background-color 0.3s ease;
  text-decoration: none !important;
  color:var(--primary-color);
}

.is-form-style input.is-search-input {
  border-radius: 5px;
}

.is-search-icon {
  background-color: var(--primary-color);
  border-radius: 5px;
  margin-left: 5px;
}
/*Portfolio page */
.portfolio-container {
    margin: 0 auto;
}

.masonry-grid {
    columns: 4 250px;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
  position: relative;
}

.modal-image-container {
  width: 100%;
  margin-bottom: 20px;
}

#modalImage {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.modal-info {
  padding: 20px 0;
}

.modal-info h2 {
  margin: 0 0 10px 0;
  color: #333;
}

.modal-info p {
  margin: 0 0 10px 0;
  color: #666;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
  cursor: pointer;
}

.close:hover {
  color: var(--heading-bg-color);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .masonry-grid {
      columns: 3 250px;
  }
}

@media (max-width: 900px) {
  .masonry-grid {
      columns: 2 250px;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
      columns: 1 250px;
  }
  
  .modal-content {
      margin: 15px;
      width: auto;
  }
}

