/*-------------------------------------
  Base & Reset
-------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

html, body {
  background: #333;
  width: 100%;
  min-height: 100%;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 16px;
}

/*-------------------------------------
  Global Layout & Components (No Theming)
-------------------------------------*/

/* All images: cover and full width */
img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero (global) */
.hero {
  padding: 4rem 2rem;
}

/* Buddy (global) */
.buddy {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #00FF0D;
  color: #181A1C;
}

/* Squares / Project Tiles (global) */
.square, .square-project {
  aspect-ratio: 1/1;
  background: #000;
  color: #00FF0D;
  box-shadow:
    8px 8px 16px rgba(0,0,0,0.5),
    -8px -8px 16px rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 5px;
  overflow: hidden;
  overflow-y: auto;
}
.square-project {
  transition: box-shadow 0.3s;
}
.square-project:hover {
  box-shadow:
    inset 0 0 10px #00FF0D,
    0 0 5px #00FF0D;
}
.half-square {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Navigation & Footer */
.header {
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background: #181A1C;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.3vh;
  width: 100%;
  height: 100%;
}

.nav-item,
.nav-item-active {
  background-color: #333;
  font-size: clamp(0.8rem, 1vh + 0.5vw, 1rem);
  color: #00FF0D;
  padding: 0.4vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
}

.nav-item:hover {
  background-color: #111;
  box-shadow: inset 0 0 10px #00FF0D, 0 0 5px #00FF0D;
  color: #fff;
  transform: scale(1.03);
}

.nav-item-active {
  background-color: #222;
  box-shadow: inset 0 0 10px #00FF0D, 0 0 5px #00FF0D;
  color: #00FF0D;
  transform: scale(1.01);
}

.nav-item-active:hover {
  background-color: #00FF0D;
  box-shadow: inset 0 0 10px #00FF0D, 0 0 5px #00FF0D;
  color: #000;
  transform: scale(1.03);
}

.footer {
    border-radius: 0;
    width: 100%;
}

/* Filters & Range (global) */
.filter-container {
  font-size: clamp(0.8rem,1vh+0.5vw,1rem);
  color: #00FF0D;
}
.filtering {
  display: flex;
  gap: 0.3vh;
}

/* Back to Top (global) */
.back-to-top, .back-to-bottom {
  position: fixed;
  right: 2rem;
  background: #00FF0D;
  color: #181A1C;
  border-radius: 50%;
  padding: 0.75rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 3px #000;
}

.back-to-top {
    bottom: 2rem;
}

.back-to-bottom {
    top: 2rem;
}

.back-to-top:hover, .back-to-bottom:hover {
  background: #333;
  color: #fff;
  box-shadow: 1px 1px 6px #000;
}

/* Error/Warning (global) */
/* Success Message */
.success-color {
    color: #00FF0D; /* Groen voor succes */
}

/* Error Message */
.error-color {
    color: #CF0000; /* Rood voor fouten */
}

/* Utility (global) */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*-------------------------------------
  Primary Section (dark background)
-------------------------------------*/
.pri-section {
  background: #181A1C;
  color: #FFFFFF;
  padding: 4rem 2rem;
  box-shadow:
    0 8px 20px -5px rgba(24,26,28,0.7),
    0 0 25px rgba(24,26,28,0.5);
  border-radius: 10px;
  min-width: 50vw;
}

.pri-section h1,
.pri-section h2,
.pri-section h3,
.pri-section h4,
.pri-section p {
  color: #00FF0D;
}

/* Pri-section links */
.pri-section a {
  display: inline-block;
  background: #00FF0D;
  color: #181A1C;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  margin: 0.2rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.pri-section a:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 0 5px #00FF0D;
}

/* Buttons in Pri-Section */
.pri-section button,
.pri-section input[type=submit] {
  background: #00FF0D;
  color: #181A1C;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.pri-section button:hover,
.pri-section input[type=submit]:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 0 5px #00FF0D;
}

/* Project Button in Pri-Section */
.project-button {
  position: relative;
  display: inline-block;
  padding: 0.8rem 5rem;
  font-size: 1rem;
  background-color: #00FF0D;
  color: #181A1C;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.project-button::after {
  content: ' >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  color: #00FF0D;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-button:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 0 5px #00FF0D;
}
.project-button:hover::after {
  opacity: 1;
  animation: scroll-arrows 3s linear infinite;
}
@keyframes scroll-arrows {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Inputs in Pri-Section */
.pri-section input[type=text],
.pri-section input[type=email],
.pri-section input[type=password],
.pri-section input[type=url],
.pri-section input[type=search],
.pri-section input[type=tel],
.pri-section input[type=number],
.pri-section input[type=date],
.pri-section textarea,
.pri-section select {
  width: 100%;
  background: #141516;
  color: #00FF0D;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 1rem;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow:
    inset 3px 3px 6px rgba(0,0,0,0.8),
    inset -3px -3px 6px rgba(255,255,255,0.05);
}
.pri-section input::placeholder,
.pri-section textarea::placeholder {
  color: #747C89;
}
.pri-section input:focus,
.pri-section textarea:focus,
.pri-section select:focus {
  outline: none;
  background: #111112;
  box-shadow:
    0 0 5px #00FF0D;
}

/* Checkbox in Pri-Section */
.pri-section input[type=checkbox] {
  width: auto;
  height: auto;
  accent-color: #00FF0D;
  margin-right: 0.5rem;
  transform: scale(1.2);
  cursor: pointer;
}

/* Select & Option in Pri-Section */
.pri-section option {
  background: #181A1C;
  color: #00FF0D;
}


/*-------------------------------------
  Secondary Section (Green background)
-------------------------------------*/
.sec-section {
  background: #00FF0D;
  color: #181A1C;
  padding: 4rem 2rem;
  box-shadow:
    0 8px 20px -5px rgba(0,0,0,0.7),
    0 0 25px rgba(0,0,0,0.5);
  border-radius: 10px;
  min-width: 50vw;
}

.sec-section h1,
.sec-section h2,
.sec-section h3,
.sec-section h4,
.sec-section p {
  color: #181A1C;
}

/* Links in Sec-Section */
.sec-section a {
  display: inline-block;
  background: #181A1C;
  color: #00FF0D;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  margin: 0.2rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.sec-section a:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 0 5px #000;
}

/* Buttons in Sec-Section (including submit) */
.sec-section button,
.sec-section input[type=submit] {
  background: #181A1C;
  color: #00FF0D;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.sec-section button:hover,
.sec-section input[type=submit]:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 0 5px #000;
}

/* Inputs in Sec-Section */
.sec-section input[type=text],
.sec-section input[type=email],
.sec-section input[type=password],
.sec-section input[type=url],
.sec-section input[type=search],
.sec-section input[type=tel],
.sec-section input[type=number],
.sec-section input[type=date],
.sec-section textarea,
.sec-section select {
  width: 100%;
  background: #009E00;
  color: #181A1C;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 1rem;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow:
    inset 3px 3px 6px rgba(0,0,0,0.3),
    inset -3px -3px 6px rgba(255,255,255,0.1);
}
.sec-section input::placeholder,
.sec-section textarea::placeholder {
  color: #181A1C;
  opacity: 0.7;
}
.sec-section input:focus,
.sec-section textarea:focus,
.sec-section select:focus {
  outline: none;
  background: #008F00;
  box-shadow:
    0 0 5px #000;
}

/* Checkbox in Sec-Section */
.sec-section input[type=checkbox] {
  width: auto;
  height: auto;
  accent-color: #00FF0D;
  margin-right: 0.5rem;
  transform: scale(1.2);
  cursor: pointer;
}

/* Select & Option in Sec-Section */
.sec-section option {
  background: #008F00;
  color: #181A1C;
}







/* Styling for the projects container */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 2px;
}

.project-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: scroll;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  background-color: #333;
  width: 400px;
  aspect-ratio: 1;
  display: grid;
  justify-content: space-evenly;
  align-items: center;
}

.project-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
}

/* General styling for the services grid */
.services-grid {
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  list-style: none;
}

.service-item {
  background: #22262C;
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.service-item h3,
.service-item p {
  color: #fff;
}

/* Removing redundant .ul and .li classes */
ul, li {
  list-style: none;
}

/* Formulieren */
.contact-form, .login-form {
  display: flex;
  flex-direction: column;
}

.form-field {
  margin-bottom: 15px;
}

/* Zoek- en Filter Formulier */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: space-evenly;
  align-items: center;
}

.search-form .form-field {
  flex: 1 1 200px;
}

.search-form .button {
  flex: 1 1 100px;
}

/* Paginering */
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  text-decoration: none;
  color: #007BFF;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pagination .current-page {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

/* Rating Formulier */
.rating-form {
  margin-top: 10px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.rating-form select, .rating-form textarea {
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.rating-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.ratings {
  margin-top: 10px;
}

.ratings h3 {
  margin-bottom: 10px;
}

.single-rating {
  background-color: #f1f1f1;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
}

/* Others */
.business-tag {
  display: inline-block;
  background-color: #ff9800;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  margin-left: 5px;
}

.inbox-outbox {
  display: flex;
  justify-content: space-evenly;
  align-items: start;
  padding: 2px;
  overflow-x: scroll;
  max-height: 525px;
}

.profile-info {
    display: grid;
}



/* Individual Box Styling */
.box-inbox, .box-outbox {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}
/* Heading Styling */
.inbox h2, .outbox h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* Timestamp Styling */
.timestamp {
    font-size: 0.9em;
    color: #888;
    margin-top: -10px;
    margin-bottom: 10px;
}
/* Error Message Styling */
.error-color {
    color: red;
    text-align: center;
    margin: 20px 0;
}
/* Success Message Styling */
.success-color {
    color: green;
    text-align: center;
    margin: 20px 0;
}