/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #1B083A;

}
/* Base styles for the About section */
.about-me {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 1rem 2rem; /* top padding avoids navbar overlap */
  text-align: center;
  color: #D09CE2;
}

/* Heading styles */
.about-me h1 {
  font-family: "gyst-variable", sans-serif;
  font-variation-settings: "wght" 100;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Paragraph styles */
.about-me p {
  font-family: "montserrat", sans-serif;
  font-weight: 100;
  line-height: 1.6;
  color: #D09CE2;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 600px) {
  .about-me h1 {
    font-size: 2rem;
  }

  .about-me p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}



/* Container padding for the whole page */
.container {
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header container layout */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  pointer-events: none; /* allows interaction to go through unless overridden */
}
.footer {
  text-align: center;
  padding: 1.5rem 0;
  color: #ccc;
  font-family: "montserrat", sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
}

.logo,
.menu-toggle {
  pointer-events: auto;
}


.menu-overlay {
  background-color: #D09CE2;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease;
  opacity: 0;
}

.menu-overlay.active {
  transform: scale(1);
  opacity: 1;
}

.menu-toggle {
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

/* Base bar styles */
.bar {
  position: absolute;
  left: 50%;
  width: 18px;            /* Short bar */
  height: 4px;            /* Thick bar */
  background-color: #D09CE2;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Top bar position */
.bar.top {
  top: 6px;
}

/* Bottom bar position */
.bar.bottom {
  bottom: 6px;
}

/* X (cross) state */
.menu-toggle.active .bar.top {
  transform: translateX(-50%) rotate(45deg);
  top: 10px; /* center vertically */
  background-color: white;
}

.menu-toggle.active .bar.bottom {
  transform: translateX(-50%) rotate(-45deg);
  bottom: auto;
  top: 10px; /* same vertical center */
  background-color: white;
}

/* Responsive scaling */
@media (max-width: 600px) {
  .menu-toggle {
    width: 26px;
    height: 20px;
  }

  .bar {
    width: 16px;
    height: 3.5px;
  }

  .bar.top {
    top: 5px;
  }

  .bar.bottom {
    bottom: 5px;
  }

  .menu-toggle.active .bar.top,
  .menu-toggle.active .bar.bottom {
    top: 8.5px;
  }
}




/* Fullscreen menu overlay (starts hidden) */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #D09CE2;
  z-index: 999;
  transform-origin: top right;
  transform: scale(0);
  transition: transform 0.6s ease-in-out;
  
}

/* Active state (scaled full screen) */
.menu-overlay.active {
  transform: scale(1);
}

/* Nav menu inside overlay */
.menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 4rem;
      font-family: "gyst-variable", sans-serif;
  font-style: normal;
  font-weight:100;
letter-spacing: 0.4px;
    line-height: 80px;
}

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

.menu-content li {
  margin: 1rem 0;
}

.menu-content a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}


/* Logo */
.logo {
  width: clamp(40px, 5vw, 80px);
  height: auto;
  cursor: pointer;
  transition: filter 0.3s ease;
}


/* Responsive tweaks */
@media (max-width: 600px) {
  .menu-icon {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .logo {
    width: 40px;
  }

  .menu-toggle {
    width: 35px;
    height: 8px;
  }

  .navbar {
    padding: 0 1rem;
    top: 1rem;
  }


