/* --- VARIABLES & BASE LAYOUT --- */
:root {
  --bg-color: #fff5ec;
  --header-bg: #d8bf9f;
  --sidebar-bg: #321A16;
  --text-light: #fffff0;
  
  --font-heading: "Spicy Rice", serif;
  --font-subheading: "Agbalumo", system-ui, sans-serif;
  --font-body: "Indie Flower", cursive, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* --- SIDEBAR COMPONENT --- */
.side-bar {
  background-color: var(--sidebar-bg);
  width: 60px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
  transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden; 
  padding-top: 25px;
}

.side-bar:hover {
  width: 220px; 
}

.menu-icon-container {
  width: 60px;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.hamburger-icon-img {
  width: 100%;
  height: auto;
  max-width: 28px; 
  max-height: 28px; 
  object-fit: contain; 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-bar:hover .hamburger-icon-img {
  transform: scale(1.1) translateY(2px) rotate(-10deg);
}

.sidebar-title,
.sidebar-nav {
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-bar:hover .sidebar-title,
.side-bar:hover .sidebar-nav {
  opacity: 1;
  visibility: visible;
}

.sidebar-title {
  color: var(--text-light); 
  font-family: var(--font-heading);   
  font-weight: 400;
  font-size: 1.4rem;                  
  margin: 0 0 25px 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 240, 0.65); 
  text-decoration: none;
  font-family: var(--font-body); 
  font-size: 1.3rem;                    
  padding: 12px 25px;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-light); 
  background-color: rgba(255, 255, 240, 0.08);
}

/* --- HEADER SECTION --- */
.header {
  width: 100%;
  min-height: 105px;
  background-color: var(--header-bg);
  padding: 1rem 2rem 1rem 85px; 
  display: flex;
  align-items: center;
}

.title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-light);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: 0.5px;
}

.subtitle {
  font-family: var(--font-subheading);
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0.95;
  font-style: italic;
  padding-left: 0.2rem;
}

/* --- HOME PAGE & POEM CARD --- */
.home-page-container {
  margin-left: 60px; 
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.side-bar:hover ~ .home-page-container {
  transform: translateX(80px);
}

.poem-wrapper {
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.card-badge {
  font-family: sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(50, 26, 22, 0.4);
  display: block;
  margin-bottom: 20px;
}

.poem-card {
  background-color: #FCFAF5;
  border: 1px solid rgba(50, 26, 22, 0.08); 
  border-radius: 4px;
  padding: 50px 45px;
  box-shadow: 0 15px 35px rgba(50, 26, 22, 0.04);
}

.poem-title {
  font-family: var(--font-heading);
  color: var(--sidebar-bg); 
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 35px 0;
}

.poem-body {
  display: inline-block;
  text-align: left;
}

.poem-body p {
  font-family: var(--font-body);
  font-size: 1.55rem;
  color: #383531;
  margin: 12px 0;
  line-height: 1.5;
}

.author-box {
  margin-top: 40px;
}

.author-decor {
  display: block;
  color: rgba(50, 26, 22, 0.2);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.author-name {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: rgba(56, 53, 49, 0.8);
  margin: 0;
  font-style: italic;
}

/* --- WELCOME BANNER --- */
.welcome-banner {
  margin-left: 60px;
  background-color: var(--sidebar-bg);
  padding: 50px 20px;
  text-align: center;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.side-bar:hover ~ .welcome-banner {
  transform: translateX(40px);
}

.banner-content {
  max-width: 650px;
  margin: 0 auto;
}

.banner-heading {
  font-family: var(--font-subheading);
  color: var(--text-light);
  font-size: 2.4rem;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.banner-subtext {
  font-family: var(--font-body);
  color: rgba(255, 255, 240, 0.75);
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.4;
}

/* --- SCROLLBAR & CURSOR --- */
html {
  scrollbar-width: none !important;
}

body {
  overflow-y: scroll;
}

::-webkit-scrollbar {
  width: 14px !important;  
  height: 14px !important; 
  display: block !important;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:start,
::-webkit-scrollbar-button:end,
::-webkit-scrollbar-button:decrement,
::-webkit-scrollbar-button:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar-track {
  background: var(--bg-color) !important;
  border-radius: 0 !important;
}

::-webkit-scrollbar-thumb {
  background-color: var(--sidebar-bg) !important;
  border-radius: 0 !important;
  border: none !important;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #231210 !important; 
}

html, body {
  cursor: url('images/hover.png') 0 0, auto !important;
}

a, 
button, 
.nav-link,
.prompt-submit-btn,
.menu-icon-container,
.next-profile-btn {
  cursor: url('images/click.png') 0 0, pointer !important;
}

/* --- ABOUT US PAGE STYLING --- */
.about-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-page-container.hidden {
  display: none !important;
}

.side-bar:hover ~ main .about-page-container {
  transform: translateX(60px);
}

.profile-layout {
  background-color: #ffffff;
  border: 1px solid rgba(50, 26, 22, 0.06);
  box-shadow: 0 15px 40px rgba(50, 26, 22, 0.02);
  display: flex;
  flex-direction: row;
  border-radius: 2px;
  overflow: hidden;
}

.profile-sidebar-accent {
  background-color: #FCFAF5;
  width: 200px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px dashed rgba(50, 26, 22, 0.1);
  text-align: center;
}

.aesthetic-stamp {
  font-family: var(--font-heading); 
  color: var(--sidebar-bg);
  font-size: 1.2rem;
  border: 2px solid var(--sidebar-bg);
  padding: 6px 12px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.profile-role {
  font-family: sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(50, 26, 22, 0.5);
}

.bio-article {
  flex: 1;
  padding: 50px 60px;
}

.bio-heading {
  font-family: var(--font-subheading); 
  color: var(--sidebar-bg);
  font-size: 2.6rem;
  margin: 0 0 30px 0;
  line-height: 1.1;
}

.bio-body p {
  font-family: var(--font-body); 
  font-size: 1.5rem;
  color: #383531;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 20px;
}

.author-picture-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.picture-label {
  font-family: sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a09592;
}

.representative-picture-box {
  width: 100%;
  max-width: 480px;
  height: 320px;
  background-color: #ffffff;
  border: 1px solid rgba(50, 26, 22, 0.08);
  box-shadow: 0 8px 25px rgba(50, 26, 22, 0.02);
  padding: 12px;
  border-radius: 2px;
}

.represent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #FCFAF5;
}

@media (max-width: 680px) {
  .profile-layout {
    flex-direction: column;
  }
  .profile-sidebar-accent {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed rgba(50, 26, 22, 0.1);
    padding: 30px 20px;
  }
  .bio-article {
    padding: 40px 30px;
  }
}

/* --- PROFILE NAVIGATION FOOTER --- */
.profile-navigation-footer {
  max-width: 900px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.nav-hint-text {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #a09592;
  text-transform: lowercase;
  font-style: italic;
  padding-right: 4px;
}

.next-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background-color: transparent;
  border: none;
  border-bottom: 2px dashed rgba(50, 26, 22, 0.15);
  padding: 4px 8px;
  transition: border-bottom-color 0.3s ease;
}

.btn-label {
  font-family: var(--font-subheading);
  color: var(--sidebar-bg);
  font-size: 1.6rem;
}

.arrow-icon {
  font-size: 1.8rem;
  color: var(--sidebar-bg);
  line-height: 1;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.next-profile-btn:hover {
  border-bottom-color: var(--sidebar-bg);
}

.next-profile-btn:hover .arrow-icon {
  transform: translateX(6px) scale(1.1);
}