/* Base stylesheet: shared rules used across pages (header, footer, body layout) */

main {
  flex: 1;
}

body {
  background: radial-gradient(circle at top left, #3a3a3a, #222);
  background-size: 200% 200%;
  animation: bgMove 12s ease infinite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer {
  margin-top: auto;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 208, 0, 0.15);
  color: #d9d9d9;
  padding: 1rem 0;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer::before {
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 208, 0, 0.35),
    transparent
  );
  margin-bottom: 1rem;
}

.navbar {
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 208, 0, 0.35);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.navbar-brand {
  color: #ffd000;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.nav-link {
  color: #d9d9d9;
  position: relative;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffd000;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background-color: #ffd000;
  transition: width 0.25s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/* Shared avatar/photo style used on contact and whoami panels */
.personal-photo {
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  border: 2px solid rgba(255, 208, 0, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.personal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
