/* ====== GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.5;
  font-size: 14px;
}

/* ====== FLOAT ANIMATION ====== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== HEADER ====== */
header {
  background: #1f1f1f;
  padding: 15px;
  text-align: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

header h1 {
  font-family: "Playfair Display", serif;
  letter-spacing: 1px;
  font-size: 1.8rem;
}

.highlight { color: #c9c9c9; }
.highlighted { color: #4d0a0a; }

/* ====== NAVIGATION ====== */
.nav-bar ul {
  list-style: none;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.nav-bar a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-bar a:hover,
.nav-bar a.active {
  color: white;
  border-bottom: 2px solid #c9c9c9;
  padding-bottom: 2px;
}

/* ====== MAIN ====== */
main {
    position: absolute;
    top: 70px;
    height: calc(100vh - 140px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ====== INTRO SECTION ====== */
.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 90%;
    max-width: 1200px;
    transform: scale(1.12);
    animation: fadeInUp 0.8s forwards;   /* <— FLOATING */
}

.about-container p {
  text-align: justify;
}

/* Profile photo (also floats slightly slower for effect) */
.profile-photo {
    width: 480px;
    height: 480px;
    border-radius: 20%;
    object-fit: cover;
    border: 3px solid #c9c9c9;
    animation: fadeInUp 0.8s forwards;  /* <— FLOATING */
}

/* Description box */
.description-box {
    background: white;
    padding: 45px;
    border-radius: 10px;
    width: 900px;
    height: 500px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.description-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.7rem;
    margin-bottom: 14px;
}

.description-box p {
    font-size: 2.20rem;
    line-height: 1.6;
}

/* ====== FOOTER NAV BUTTONS ====== */
footer.footer-nav {
    position: fixed;
    right: 20px;     /* align to right */
    bottom: 20px;    /* keep bottom spacing */
    left: auto;      /* remove centering */
    display: flex;
    justify-content: flex-end; /* align items to the right */
    gap: 20px;
    padding: 0;
    z-index: 10;
}

/* Buttons */
footer.footer-nav .nav-btn {
    padding: 18px 36px;
    background: #333;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover */
footer.footer-nav .nav-btn:hover {
    background: #555;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* Disable scroll */
html, body {
  overflow: hidden;
  height: 100%;
}
