* {
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
  font-family: "Ogg Trial", Book-Italic;
}

html {
  scroll-behavior: smooth;
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  background-color: #120C1A;
  opacity: 1;
  background: #120C1A
    radial-gradient(#552e7153 10%, transparent 1%);
    background-size: 20px 20px;
  color: #E6CAE8;
  text-align: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background:  transparent;
  padding: 0rem;

  z-index: 1000;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left, .nav-right {
  display: flex;
}

#currentPath {
  display: inline-block;
  font-weight: bold;
  color: white;
}

.blink {
  animation: blink 3.5s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Optional: style links */
#currentPath a {
  color: white;
  text-decoration: none;
}

.pathway,
.nav {
  margin: 0;
  padding: 0;
}

.pathway ul{
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none; 
}

.pathway li {
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 0rem;
}

nav ul {
  display: flex;
  gap: 0rem;
  list-style: none;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  color: #b38f8c;
  transform: translateY(-2px);
}


/* Hero */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero span {
  color: #A380B3;
}

.hero img {
  width: 45px;
  height: 45px;
  object-fit:contain;
}

.hero svg{
  display: inline;
  padding: 0%;
  margin-right: 5px;
  margin-left: 5px;
  transition:0.3s ease;
}

.hero svg:hover{
  transform: translateY(-5px);
}

.hero button {
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #552E71;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: "Ogg Trial", Ogg-Text-TRIAL, Book-Italic, Arial, sans-serif;
}

.hero button:hover {
  background: #a32bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(203, 56, 248, 0.4);
}

/* Sections */
section {
  padding: 2rem 2rem;
  max-width: 900px;
  background-color: transparent;
  text-align: left;
  scroll-margin-top: 80px;
}

section h2,
section h3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section h2.visible,
section h3.visible {
  opacity: 1;
  transform: translateY(0);
}

section#home,
section#projects,
section#cards, 
section#contact{
  background-color: transparent;
  margin: auto;
}


.cards{
  display: flex;
  padding: 0;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.location{
  width: 300px;
  padding: 0.5rem;
  background-color:#120C1A;
  border-radius: 12px;
  border: 0.1px solid #A380B3;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 10px 12px #020617;
}

.location img {
  width: 100%;
  height: 150px;
  object-fit:cover;
  border-radius: 18px;
}

.skills{
  width: 300px;
  padding: 0.5rem;
  background-color:#120C1A;
  border-radius: 12px;
  border: 0.1px solid #A380B3;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 10px 12px #020617;
}

.skills img {
  width: 40px;
  height: 40px;
  padding: 0rem;
  object-fit:contain;
  transition: 0.3s ease;
}

.skill {
  width: 40px;
  height: 40px;
  padding: 0%;
  position: relative;
  display: inline-block;
}

.bubble {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);

  background: #A380B3;
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;

  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

/* arrow */
.bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #A380B3 transparent transparent transparent;
}

.skill:hover .bubble {
  opacity: 1;
}

/* Projects */
.projects-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.CalorieScope {
  background: #020617;
  max-width: 400px;
  max-height: 600px;
  padding: 1rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(192, 112, 44, 1);
  justify-content: center;
}

.CalorieScope:hover {
  transform: translateY(-5px);
}

.CalorieScope a {
  color: #BE6F2A;
  text-decoration: none;
  display: block;
  padding: 0rem;
}

.CalorieScope img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
  justify-content: center;
}

.contact{
  display: flex;
  width: 100%;
  background-color: #120C1A;
  border: 1px solid#A380B3;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.links svg{
  display: inline;
  padding: 0%;
  margin-right: 5px;
  margin-left: 5px;
  transition:0.3s ease;
}

.links svg:hover{
  transform: translateY(-5px);
}

/* Footer */
footer {
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem;
  background: #1A1025;
  text-align: left;
}