/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    animation: fadeIn 1.5s ease-in; /* Add fade-in animation */
}

.container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.bold {
    font-weight: bold;
}
.menu {
    background-color: rgba(27, 31, 34); 
    color: #fff;
    width: 250px;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu ul li {
    margin-bottom: 10px;
}

.menu ul li a {
    display: block;
    min-width: 7.5rem;
    height: 2.75rem;
    line-height: 2.75rem;
    padding: 0 1.25rem 0 1.45rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    border-bottom: 0;
    text-decoration: none;
    color: white;
}

.menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.075);
    transition: background-color 0.3s ease;
}

.menu ul li a.active {
    background-color: rgba(255, 255, 255, 0.175);
}

.logo img {
    width: 200px; /* Set the logo width to 200px */
    margin-bottom: 20px;
}

.content {
    flex: 1;
    padding: 20px;
    margin-left: 250px; /* Add left margin equal to the menu width */
}

/* Header elements in all caps */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Bold weight for headers */
    text-transform: uppercase; /* Headers in uppercase */
}

h1 {
    margin-top: 30px;
}

/* Regular font weight for other text */
p, li {
    font-weight: 400; /* Regular weight for paragraphs */
    text-transform: none; /* No transformation for regular text */
}

.menu-toggle {
    display: block;
    color: white; 
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: rgba(27, 31, 34);
    width: 33px;
    height: 33px;
    border-radius: 10px;
    text-align: center;
}

.content img {
    width: 95%;
}

@media screen and (max-width: 768px) {
    .menu {
        transform: translateX(-100%);
        width: 100%;
    }

    h1 {
        margin-top: 50px;
    }

    .logo {
        text-align: center;
    }


    .menu ul li a {
        text-align: center;
    }

    .menu.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0; /* Remove left margin for smaller screens */
    }

    .menu-toggle {
        display: block; /* Hamburger icon visible on all screens */
    }

    .team_members {
           display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr !important;
        }

        .mission_images {
    flex-direction: column;
}
}

@media screen and (min-width: 769px) {
    .menu {
        transform: translateX(0); /* Always visible on large screens */
    }

    .menu-toggle {
        display: none; /* Hide hamburger icon on larger screens */
    }

    .content {
        margin-left: 250px; /* Ensure space for menu on large screens */
    }



}

.team_members {
           display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
        }

.team_members p {
    text-align: center;
}

.member {
    
}
.member a {
    color: #26402b;
}
.name_heading {
    font-weight: bold;
    min-height: 30px;
    text-align: center;
}

.team_members img
{
    width: 150px;
    display: block;
    margin: auto;
    border-top-right-radius: 30px;
    border-top: 3px solid #26402b;
}

.heading_team {
    color: #26402b;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.thumbnail {
  width: 200px;
  height: 180px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  background: #f9f9f9;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.thumbnail img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.carousel-content {
  position: relative;
  max-width: 70%;
  margin: 5% auto;
  background: white;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  background-color: transparent;
  color: white;
}

.carousel-content img {
  max-height: 65vh;
  height: auto;
  border-radius: 6px;
  width: auto !important;
}

.carousel-nav button {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin: 0 1rem;
}

.close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
r: pointer;
}


.social-icons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.icon-block {
  text-align: center;
  width: 25%;
}

.icon-block a {
  color: #4e624a;
  text-decoration: none;
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
}


.icon-block a span {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.icon-block a:hover {
  color: #2e3e2a;
}

.social-icons {
    display: flex !important;
    margin-top: 3rem;
}

.member-icons {
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
  font-size: 1.8rem;
  justify-content: center;
}

.member-icons a {
  color: #4e624a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.member-icons a:hover {
  color: #2e3e2a;
}

/* Ensure members are centered and spaced nicely */
.member {
  padding: 1rem;
  text-align: center;
}

.member img {
  max-width: 100%;
  height: auto;
}

/* Responsive grid for team members */
@media screen and (max-width: 1024px) {
  .team_members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .team_members {
    grid-template-columns: 1fr;
  }

  .member-icons {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .member-icons a {
    font-size: 1.5rem;
  }
}
 footer {
            background: linear-gradient(to right, white, rgba(27, 31, 34, 1), white);
            color: white;
            text-align: center;
            padding: 0.5rem 0;
            font-size: 0.9rem;
            margin-top: 40px;
        }

        .legend-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 320px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.legend-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: middle;
}

.legend-icon.green {
  background-color: #009900; /* зелено - Hidden Gems */
}

.legend-icon.blue {
  background-color: #0099cc; /* плаво - Остала стабла */
}

.legend-icon.orange {
  background-color: #cc3300; /* наранџасто - Осушена стабла */
}

/*novo*/

.language-switch {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.language-switch a {
    color: #fff;
    text-decoration: underline;
    margin: 0 5px;
    cursor: pointer;
}

.active_lang {
    color: #a2dba2 !important;
}

.mission_images {
    display: flex;
}

.content p a {
    color: green;
}