﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

.Body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}

.Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 100px;
  background-color: #ffffff;
  position: sticky;
  top: 0px;
  box-shadow: 5px 5px 10px gray;
  flex-wrap: wrap;
  z-index: 99;
  width: 100%;
}

.Logo {
  width: 160px;
  height: auto;
}

.Navigation {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  font-family: Arial;
  flex-wrap: wrap;
}

.Navigation a {
  margin-left: 0px 30px;
  text-decoration: none;
  color: #2b994c;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.2s ease;
}

.Navigation a:hover {
  color: #2a7f62;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.SecondHeader {
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px;
  font-size: 12px;
  background-color: rgb(247, 247, 247);
  box-shadow: 5px 5px 5px rgb(115, 128, 117);
  position: relative;
  z-index: 98;
  color: #2b994c;
  text-align: center;
}

.HeroImage {
  width: 100%;
  height: auto;
  display: block;
}

.Section {
  margin: 0;
  padding: 0;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Slider {
  width: 100%;
  height: 60vh;
  border-radius: 0px;
  overflow: hidden;
}

.Slide {
  width: 500%;
  height: 500px;
  display: flex;
}

.Slide input {
  display: none;
}

.st {
  width: 20%;
  transition: 2s;
}

.st img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.Nav-Manual {
  position: absolute;
  width: 800px;
  margin-top: -40px;
  justify-content: center;
  display: flex;
}

.Manual-Button {
  border: 2px solid #2b994c;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}

.Manual-Button:not(:last-child) {
  margin-right: 30px;
}

.Manual-Button:hover {
  background-color: #2a7f62;
}

#radio1:checked ~.first {
  margin-left: 0;
}

#radio2:checked ~.first {
  margin-left: -20%;
}

#radio3:checked ~.first {
  margin-left: -40%;
}

.Nav-Auto {
  position: absolute;
  width: 800px;
  margin-top: 460px;
  display: flex;
  justify-content: center;
}

.Nav-Auto div {
  border: 2px solid #2a7f62;
  padding: 5px;
  border-radius: 10px;
  transition: 1s;
}

.Nav-Auto div:not(:last-child) {
  margin-right: 30px;
  justify-content: center;
}

#radio1:checked ~ .Nav-Auto .a-b1 {
  background-color: orange;
}

#radio2:checked ~ .Nav-Auto .a-b2 {
  background-color: orange;
}

#radio3:checked ~ .Nav-Auto .a-b3 {
  background-color: orange;
}

/* ========================= */
/* HAMBURGER MENU */
/* ========================= */

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  z-index: 100;
  margin-left: auto;
  /* Button */
  padding: 6px 10px;
  border-radius: 3px;
  background: #f8f8f8;
}

.menu-icon:hover {
  background: #eaeaea;
}

.menu-icon .close {
  display: none;
}

#menu-toggle:checked + .menu-icon .open {
  display: none;
}

#menu-toggle:checked + .menu-icon .close {
  display: block;
}

/* ========================= */
/* MOBILE DROPDOWN ANIMATION */
/* ========================= */

@media (max-width: 1000px) {

  .Header {
    display: flex;
    position: sticky;
    top: 0px;
    gap: 10px;
    padding: 10px;
    align-items: center;
  }

  .Logo {
    width: 120px;
  }

  .menu-icon {
    display: block;
    box-shadow: 3px 3px 3px gray;
  }

  .Navigation {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);

    /* ANIMATION SETUP */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;

    /* FIX Desktop centering */
    position: absolute;
    left: 0;
    transform: none;
  }

  .Navigation a {
    padding: 15px;
    border-top: 1px solid #eee;
    font-size: 16px;
    margin-left: 0;
  }

  /* OPEN STATE (smooth drop + rise) */
  #menu-toggle:checked ~ .Navigation {
    display: flex;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
}