/* === RESET AND BASICS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(223, 174, 111);
  color: aliceblue;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

/* === NAVIGATION BAR === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(72, 47, 10);
  height: 50px;
  padding: 0 15px;
}

nav .left {
  font-size: 2rem;
  color: aliceblue;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: aliceblue;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: rgb(80, 118, 39);
  font-size: 1.03rem;
}

/* === HAMBURGER MENU === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: aliceblue;
  border-radius: 2px;
}

/* === GENERAL SECTIONS === */
section {
  padding: 5% 10%;
  margin: 80px auto 30px;
  border-radius: 15px;
  max-width: 1000px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* === HOME SECTION === */
#home {
  background-image: url('Aayushma Timalsina.jpg'); /* Ensure this image exists */
  background-size: cover;
  background-position: center center;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: aliceblue;
  position: relative;
}
section:not(#home) {
  padding: 4% 5%;
  margin: 80px auto 30px;
  border-radius: 15px;
  max-width: 95%;
  width: 85%;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.overlay-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
}

.overlay-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  white-space: normal;
}

.brown {
  color: #ffcc99;
}

/* === ABOUT SECTION === */
#about {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

#about h2, #education h2, #skills h2, #contact h2 {
  font-size: 2.5rem;
  color: #ffd28c;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd28c;
  padding-bottom: 10px;
  position: relative;
  z-index: 2;
}

#about p, #contact p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* === EDUCATION SECTION === */
#education {
  background-color: rgba(50, 50, 50, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-left: 10px solid #ffd28c;
}

/* === SKILLS SECTION === */
#skills {
  background-color: rgba(80, 80, 80, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style-type: none;
  padding: 0;
}

#skills ul li {
  font-size: 1.2rem;
  background-color: #482f0a;
  border-radius: 10px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

#skills ul li:hover {
  background-color: #5a3d12;
}

/* === CONTACT SECTION === */
#contact {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#contact a img {
  width: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgb(18, 126, 135);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 999;
}

/* === STEP NAVIGATION === */
.step-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 15px;
}

.step-nav button {
  padding: 8px 16px;
  background-color: #482f0a;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px;
}

.step-nav button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* === MAP CONTAINERS === */
#map, #journeyMap, #routeMap {
  height: 500px;
  border: 3px solid #482f0a;
  border-radius: 15px;
  margin-top: 20px;
  color: #222;
}

.route-nav {
  text-align: center;
  margin: 10px;
}

/* === MEDIA QUERIES FOR RESPONSIVENESS === */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 50px;
    right: 15px;
    background-color: rgb(72, 47, 10);
    flex-direction: column;
    width: 150px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  nav ul.active {
    max-height: 300px;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .overlay-text h1 {
    font-size: 2.2rem;
  }

  #skills ul {
    flex-direction: column;
    align-items: center;
  }

  .step-nav {
    flex-direction: column;
  }
}
#contact {
  color: black !important;
}
section p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f2f2f2;
}

#contact p {
  color: #000;
}
