* {
  box-sizing: border-box;
}

/* HEADER STYLE */
header {
  text-align: center;
  font-size: 30px;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black, 0 0 5px rgba(0, 0, 0, 0.5);
  background-image: url(assets/dezedan.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}
.logo {
  margin: auto;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}
/*h1 {
  padding-top: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 65px;
  color: #f3f3f3;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000,
    2px 2px 0 #000, 0 0 10px #054e23, 0 0 20px #0c3b20, 0 0 30px #0a0a0a;
}
*/

nav {
  background-color: rgba(58, 104, 60, 0.85);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  width: 100%;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-family: "Cormorant Garamond";
  padding: 10px 15px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: rgba(5, 61, 9, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* Sidebar container */
.sidebar {
  position: fixed;
  top: 50%;
  right: -80px; /* hidden off-screen */
  transform: translateY(-50%);
  width: 80px;
  height: 350px;
  background-color: #d9f1e1;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  padding: 20px 10px;
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 20px 0 0 20px;
}

/* When sidebar is open */
.sidebar.active {
  right: 0;
}

/* Touch zone to open sidebar */
.touch-zone {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 300px;
  z-index: 999;
  cursor: pointer;
}

/* Sidebar handle indicator */
.sidebar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px; /* just outside sidebar */
  transform: translateY(-50%);
  width: 8px;
  height: 80px;
  background: linear-gradient(180deg, #527761, #0f9d58);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 0 10px #06e764;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1010; /* above sidebar */
}

.sidebar:hover::before {
  background: linear-gradient(180deg, #0f9d58, #06e764);
  box-shadow: 0 0 15px #0f9d58;
}

/* Sidebar links (cursor options) */
.sidebar a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cursor icons */
.sidebar img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease;
  cursor: pointer;
  border-radius: 8px;
}

.sidebar img:hover {
  transform: scale(1.2);
}

/* Active cursor icon styling */
.sidebar img.active {
  transform: scale(1.3);
  box-shadow: 0 0 20px #0f9d58;
  filter: drop-shadow(0 0 5px #06e764);
  border: 2px solid #0f9d58;
  background-color: #d9f1e1;
}

/* Custom cursor classes to be toggled on body */

/* Default cursor */
body.cursor-default {
  cursor: url("assets/planticonsprout.png"), auto;
}

/* Pointer cursor */
body.cursor-pointer {
  cursor: url("assets/bloemboeketmuis.png"), auto;
}

/* Crosshair cursor */
body.cursor-crosshair {
  cursor: url("assets/icons8-leaf-30.png"), auto;
}

/* Custom cursor example with image */
body.cursor-custom1 {
  cursor: url("assets/plantcur1.cur"), auto;
}

body.cursor-custom2 {
  cursor: url("assets/piranaplant.ico"), auto;
}

/* HOOFDPAGINA STYLE*/
main {
  background-color: rgba(58, 104, 60, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

/* HOMEPAGE STYLE*/
.boxomcontent {
  text-align: center;
  background-color: rgba(252, 252, 252, 0.85);
  border-radius: 10px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  border: 4px solid #262b27;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
}
.welkomhometitel {
  letter-spacing: -1px;
  color: black;
  font-family: "Cormorant Garamond", serif;
  font-style: bold;
  font-size: 40px;
  text-align: center;
  margin: auto;
  padding-bottom: 20px;
}
.welkom-tekst {
  line-height: 27px;
  border-radius: 10px;
  font-family: "Lora";
  font-size: 18px;
  margin: auto;
  max-width: 700px;
  color: black;
  width: 100%;
}

.monsteravideo {
  border-radius: 10px;
  margin: auto;
  max-width: 900px;
  color: black;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  max-width: 800px;
}

/* MIJN PLANTEN STYLE*/
.plant-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-image: url("assets/blaadjesachtergrond.jpg");
  border-radius: 10px;
  padding: 20px;
  margin: 10px auto;
  max-width: 1000px;
  width: 100%;
  flex-wrap: wrap;
}

.plant-photo {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
}

.plant-info {
  max-width: 400px;
  width: 100%;
}

.plant-info h3 {
  font-size: 30px;
  font-family: "Cormorant Garamond", serif;
  color: rgba(58, 104, 60, 1);
  margin-bottom: 10px;
  text-align: left;
}

.plant-info ul {
  list-style-type: none;
  padding: 0;
}

.plant-info li {
  font-family: "Lora", serif;
  color: black;
  margin-bottom: 6px;
  text-align: left;
  line-height: 23px;
}
.plant-info em {
  display: block;
  font-style: italic;
  color: #555;
  font-size: 18px;
  text-align: left;
}
.label {
  letter-spacing: -0.5px;
  font-weight: bold;
  color: #000000;
}
/* Plant Picker style*/
#plantSearch {
  width: 100%;
  padding: 10px 10px;
  font-size: 16px;
  border: 2px solid rgba(5, 61, 9, 1);
  border-radius: 10px;
  outline: none;
}
#searchResults {
  padding: 10px;
  border: 2px solid rgba(5, 61, 9, 1);
  border-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  font-family: Lora;
}
#searchResults .plant-result {
  padding: 5px;
  cursor: pointer;
  transition: background-color 0.5s;
  border-radius: 10px;
}
#searchResults .plant-result:hover {
  background-color: rgba(58, 104, 60, 0.5);
  border-radius: 10px;
}

/* OVER MIJ STYLE*/

.robverlindenpf {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: auto;
}

/* FOOTER STYLE*/
footer {
  font-size: 20px;
  font-family: "Lora";
  text-align: center;
  background-color: rgba(58, 104, 60, 0.85);
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  padding: 5px;
  margin-top: 25px;
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.social-icons img {
  border: none;
  max-width: 40px;
  width: 100%;
  height: auto;
}
.disclaimer {
  color: black;
  font-size: 20px;
  text-decoration: none;
  font-style: bold;
  font-style: italic;
}
/* MEDIA QUERY*/
@media (max-width: 480px) {
  header {
    margin-bottom: 20px;
  }
  footer {
    margin-top: 20px;
    font-size: 15px;
  }
  nav ul {
    flex-direction: column;
    gap: 5px;
  }

  nav ul li a {
    padding: 8px 12px;
    font-size: 30px;
  }
  .boxomcontent {
    padding: 10px;
  }
  h2 {
    font-size: 15px;
  }
}
