/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow-x: hidden;
  background-color: #000000;

}


/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(45, 1, 79, 0.777);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(57, 26, 86, 0.222);
  z-index: 1000;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.8em;
  color: #00f2ff;
}

.top-nav {
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  pointer-events: auto;
}

.top-nav a:hover {
  color: #a855f7;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
}

.hero,
.hero-card,
.hero-card-picture {
  position: relative;
  z-index: 1;
}

.hero-card-picture {
  background: transparent;
  padding: 0;
}

.hero-card {
  border-radius: 20px;
  background: rgba(45, 1, 79, 0.697);
  border: 1px solid rgb(26, 2, 50);
  max-width: 900px;
  min-height: 150px;
  min-width: 100px;
  text-align: center;
  padding: 20px 24px;
  padding-top: auto;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-image {
  border: 2px solid #00f2ff;
  width: 100%;
  height: 100%;
  border-radius: 10%;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
}

.hero-image:hover {
  box-shadow: 0 0 20px #00f2ff;
}

.hero-card:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

.about.hero-card {
  transition: box-shadow 0.3s ease;
}

.hero-name {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #f0f0f0;
  font-family: 'Pacifico', cursive;
}

.hero-title {
  font-size: 1rem;
  color: #ccc;
}

.about {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  text-align: center;
}

.about h2 {
  text-align: center;
  color: #f0f0f0;
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  padding-bottom: 10px;
}

/* Projects Section */
.projects {
  max-width: 1250px;
  width: 95%;
  margin: auto;
  padding: 20px 20px;
  margin-top: 2vh;
  margin-bottom: 2vh;
  border-radius: 20px;
  background: rgba(45, 1, 79, 0.697);
}

.projects h2 {
  font-size: 1.6em;
  color: #00f2ff;
  margin: 30px 0;
  text-align: center;
}

.project-button {
  background: rgba(62, 31, 90, 0.665);
  border-radius: 16px;
  padding: 20px;
  margin: auto;
  margin-bottom: 30px;
  transition: 0.4s ease;
  width: 98%;
}

.project-button h3 {
  margin-bottom: 4px;
  margin-top: 15px;
}

.project-button p {
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 0.95rem;
}

.project-description{
  font-size: 0.5vw;
  padding-top: 20px;
}

.project-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(113, 56, 165, 0.378);
}

.project-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.status-label {
  font-size: 0.9em;
  color: #bb86fc;
  padding: 5px 12px;
  border: 1px solid #a855f7;
  border-radius: 20px;
  background: rgba(138, 43, 226, 0.1);
}

.github-link {
  color: #bb86fc;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid #a855f7;
  background: transparent;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.github-link:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
  border-color: #bb86fc;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
}

.explore-projects {
  display: flex;
  justify-content: center;
}

.explore-btn {
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
  margin: 20px 0;
}

.explore-projects a {
  text-decoration: none;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 40px;
  color: #bb86fc;
  border: 1px solid #a855f7;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s ease;
}

.explore-projects a:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
  border-color: #bb86fc;
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(36, 2, 63, 0.774);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgb(26, 2, 50);
  padding: 15px 0;
  z-index: 1000;
}

.footer-nav {
  display: flex;
  justify-content: space-around;
  max-width: 600px;
  margin: auto;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #00f2ff;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s;
}

.nav-btn:hover {
  color: #a855f7;
}

.nav-btn i {
  font-size: 1.3em;
}

/* Mobile view */
@media (max-width: 1023px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    max-width: 100%;
    margin: auto;
    padding: 0 15px;
  }

  .top-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
    border: 1px solid rgb(26, 2, 50);
    z-index: 999;
  }

  .top-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-image {
    border-radius: 50%;
    max-height: 250px;
    max-width: 250px;
    width: 100%;
    height: auto;
  }

  .hero-card {
    margin: 10px 0;
    width: 100%;
    max-width: 500px;
    min-width: unset;
    padding: 15px 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .about.hero-card {
    margin-top: 0px;
  }

  .hero-card-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1;
    grid-row: 1;
    margin-top: 5vh;
    margin-bottom: 2vh;
  }

  .projects {
    margin-top: 3vh;
    width: 95%;
    max-width: 500px;
    min-width: unset;
    padding: 15px 20px;
    margin-left: auto;
    margin-right: auto; 
  }

  .project-description{
  width: 100%;
}

  .projects h2 {
    font-size: 1.5rem;
  }

  .project-button {
    padding: 15px;
  }

  .project-button h3 {
    font-size: 1.1rem;
  }

  .project-button p {
    font-size: 0.9rem;
  }

  .site-header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 1.4em;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 0.9rem;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .about {
    font-size: 0.95rem;
  }

  .scroll-down {
    display: none;
  }
}

/* Desktop view */
@media (min-width:1024px){
  .hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    max-width: 1300px;
    margin: auto;
    margin-top: 7vh;
    margin-bottom: 10vh;
    gap: 5vh;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-card-picture {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .project-button {
    max-width: 100%;
  }

.hero {
  position: relative;
  padding-bottom: 120px;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #00f2ff;
  border-radius: 50%;
  color: #00f2ff;
  font-size: 1.5em;
  text-decoration: none;
  background: rgba(0, 242, 255, 0.1);
}
}