:root {
      --dark-gray: #2E2E2E;
      --sage: #A8BDB0;
      --beige: #F5F1E6;
      --black: #1C1C1C;
      --light-gray: #CCCCCC;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    max-width: 100%;
}
body,html {
  overflow-x: hidden;
}

h1,h2,h3,h4 {
    font-family: 'Poppins', sans-serif;
}
p, li, a, button {
    font-family: 'Montserrat', sans-serif
}
li {
    list-style: none;
}

nav {
  position: fixed;        /* statt sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--dark-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

nav img {
    width: 110px;
    padding-left: 15px;
}
.menu {
    display: flex;
    z-index: 999;
}
.menu a {
    text-decoration: none;
    color: white;
    padding: 0 15px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--sage);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.menu a:hover::after {
  width: 80%;
}

.menu a:hover {
  color: var(--sage);
}


/* Burger Icon */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding-right: 20px;
  z-index: 10;
}

.burger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.3s ease;
}

/* Menü Slide Animation */
@media (max-width: 768px), (max-height: 500px) {
  .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-gray);
    flex-direction: column;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 5;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .burger {
    display: flex;
  }

  .menu li {
    padding: 1rem 0;
  }
}

