/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-family: 'Oswald', Arial;
  overflow-x: hidden;
}

/* Page Loading Delay */
body {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

body.fade-in {
  opacity: 1;
}

.logo-container {
  height: 27px;
}

/* Header */
.header {
  height: 80px;
  margin-left: 3rem;
  margin-right: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

/* Overlay that dims the rest of the screen */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Hamburger icon */
.hamburger {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  background: black;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Force hamburger to show as white X in dropdown */
.hamburger.open span {
  background-color: white;
}

/* Hamburger transforms to X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

/* Close button inside dropdown */
.close-btn {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: none;
}

.logo {
  height: 30px;
  cursor: pointer;
}

.navbar-right .nav_links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.contact-button {
  background-color: black;
  color: white;
  font-weight: 500;
}

.nav-button {
  position: relative;
  text-decoration: none;
  color: black;
  padding-bottom: 0;
  font-weight: 500;
}

.nav-button.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: black;
  border-radius: 50%;
}

.nav_links li a {
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;;
  font-family: "Manrope";
  padding: 7px 15px;
  border-radius: 30px;
  transition: background-color 0.2s;
}

/* Footer */
footer {
  font-size: 16px;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  flex-shrink: 0;
}


/* Mobile styles */
@media (max-width: 810px) {
  html, body {
    height: auto;
    overflow-y: auto;
  }
  
  .header {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  
  .hamburger {
    display: flex;
  }

  .nav-button.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  }

  .navbar-right {
    display: none;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar-right.open {
  display: flex;
  transform: translateX(0);
  }

  .navbar-right.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }

  .navbar-right .nav_links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .navbar-right .nav_links li a {
    color: white;
    font-size: 1.5rem;
  }

  footer {
  font-size: 12px;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  flex-shrink: 0;
  }
}


