/* ========================================
   CUSTOM STYLES FOR MANOJ SHAKYA WEBSITE
   Hyde Theme Compatible (theme-base-08)
   ======================================== */

/* ===== TOP NAVIGATION BAR ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ae2929; /* Hyde dark sidebar color */
  padding: 0.75rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 42rem; /* Slightly wider without sidebar */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-brand a:hover {
  color: #e25440;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  color: rgba(242, 230, 231, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  border-bottom-color: none; /* Hyde theme-08 accent */
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.nav-toggle:hover {
  color: #e25440;
}

/* ===== CONTENT AREA (No Sidebar) ===== */
.content.container {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem !important; /* Top padding for fixed header */
}

/* Profile section (now in main content) */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e25440;
  flex-shrink: 0;
}

.profile-info h1 {
  margin: 0 0 0.25rem 0;
  font-size: 1.75rem;
  color: #202020;
}

.profile-info .title {
  color: #555;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
}

.profile-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Content typography */
.content h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #202020;
  border-bottom: 2px solid #e25440;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem 0;
  color: #333;
}

.content ul {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.content li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
  color: #444;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 48rem) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ae2929; /* Hyde dark sidebar color */
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-item {
    padding: 0.6rem 0;
    border-bottom: none;
    font-size: 1.25rem;
  }
  
  .nav-item:hover,
  .nav-item.active {
    border-bottom: none;
    color: #e25440;
    background: rgba(226, 84, 64, 0.1);
    padding-left: 0.5rem;
    border-radius: 4px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .profile-img {
    width: 100px;
    height: 100px;
  }
  
  .content.container {
    padding: 4.5rem 1rem 2rem !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .top-nav {
    position: static;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
  }
  .nav-item {
    color: #aa2727 !important;
    border-bottom: none !important;
  }
  .content.container {
    padding-top: 1rem !important;
  }
}